]> sourceware.org Git - glibc.git/blame - ChangeLog
S390: Define SIZE_MAX as unsigned long (BZ #16712).
[glibc.git] / ChangeLog
CommitLineData
26011b5c
SL
12014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 [BZ #16712]
4 * sysdeps/s390/s390-32/bits/wordsize.h
5 (__WORDSIZE32_SIZE_ULONG): New define.
6 * sysdeps/s390/s390-64/bits/wordsize.h
7 (__WORDSIZE32_SIZE_ULONG): Likewise.
8 * sysdeps/generic/stdint.h (SIZE_MAX):
9 Define as UL if __WORDSIZE32_SIZE_ULONG.
10
a2d86bf1
SL
112014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12
13 [BZ #16713]
14 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15 (__glibc_reserved0): New variable.
16 (sa_flags): Change type to int.
17
78b6eebc
SL
182014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19
20 * posix/Makefile (before-compile): Use += before-compile instead
21 of a :=.
22
f1399b5a
SL
232014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24
25 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27
a071766e
AS
282014-03-20 Andreas Schwab <schwab@suse.de>
29
30 [BZ #16743]
31 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32 non-matching result from nscd.
33
27c673b8
SP
342014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35
36 * scripts/bench.py: Moved to ...
37 * benchtests/scripts/bench.py: ... here.
38 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39
44152e4b
AS
402014-03-24 Andreas Schwab <schwab@suse.de>
41
42 [BZ #16002]
43 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
44 alloca_account and account alloca use for struct in6ailist.
45
b376a11a
JM
462014-03-24 Joseph Myers <joseph@codesourcery.com>
47
48 [BZ #16284]
49 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
50 rounding mode to recompute results that overflow to infinity or
51 underflow to zero.
52 * math/auto-libm-test-in: Don't mark tests as expected to fail for
53 bug 16284.
54 * math/auto-libm-test-out: Regenerated.
55 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
56 (ccosh_test): Likewise.
57 (csin_test_data): Use plus_oflow.
58 (csin_test): Use ALL_RM_TEST.
59 (csinh_test_data): Use plus_oflow.
60 (csinh_test): Use ALL_RM_TEST.
61 * sysdeps/i386/fpu/libm-test-ulps: Update.
62 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63
f7be7376
JM
642014-03-21 Joseph Myers <joseph@codesourcery.com>
65
1ca2d03e
JM
66 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
67 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
68 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
69
f7be7376
JM
70 [BZ #16731]
71 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
72 when x - 1 is zero.
73 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
74 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
75 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
76 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
77 argument is 1.
78 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
79 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
80 zero.
81 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
82 * sysdeps/i386/fpu/libm-test-ulps: Update.
83 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84
fdf4534d
SP
852014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
86
df26ea53
SP
87 * scripts/bench.pl: Remove file.
88 * scripts/bench.py: New benchmark script.
89 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
90 * benchtests/README: Mention python dependency.
91 * scripts/pylintrc: New file.
92 * scripts/pylint: New file.
93
fdf4534d
SP
94 * bits/mathdef.h: Use #ifdef instead of #if.
95 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
96 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
97 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
98 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
99 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
100 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
101
6f23d093
AZ
1022014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
103 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
104
105 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
107 and strpbrk-ppc64 objects.
108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
109 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
110 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
111 multiarch strpbrk for POWER7.
112 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
113 multiarch strpbrk for PPC64.
114 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
115 ifunc selector.
116 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
117 strpbrk for POWER7.
118
8c92dfff
JM
1192014-03-20 Joseph Myers <joseph@codesourcery.com>
120
121 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
122 (atan_test): Likewise.
123 (atanh_test_data): Use NO_TEST_INLINE for two tests.
124 (atanh_test): Use ALL_RM_TEST.
125 (atan2_test_data): Likewise.
126 (cabs_test): Likewise.
127 (cacosh_test): Likewise.
128 (carg_test): Likewise.
129 (casin_test): Likewise.
130 (casinh_test): Likewise.
131 (cbrt_test): Likewise.
132 (csqrt_test): Likewise.
133 (erf_test): Likewise.
134 (erfc_test): Likewise.
135 (pow10_test): Likewise.
136 (exp2_test): Likewise.
137 (hypot_test): Likewise.
138 (j0_test): Likewise.
139 (j1_test): Likewise.
140 (lgamma_test): Likewise.
141 (gamma_test): Likewise.
142 (sincos_test): Likewise.
143 (tanh_test): Likewise.
144 (y0_test): Likewise.
145 (y1_test): Likewise.
146 * sysdeps/i386/fpu/libm-test-ulps: Update.
147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
148
6eaf95cb
AZ
1492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
150
a387428c
SP
151 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
153 and strcspn-ppc64 objects.
154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
155 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
156 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
157 multiarch strcspn for POWER7.
158 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
159 multiarch strcspn for PPC64.
160 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
161 ifunc selector.
162 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
163 strcspn for POWER7.
164
ae3a5dff
JM
1652014-03-20 Joseph Myers <joseph@codesourcery.com>
166
167 * math/gen-libm-test.pl (generate_testfile): Expect only function
168 name as argument to AUTO_TESTS_* and pass results for all rounding
169 modes to parse_args.
170 (parse_auto_input): Separate inputs of automatic tests from
171 outputs before storing in %auto_tests.
172 * math/libm-test.inc (acos_test_data): Update call to
173 AUTO_TESTS_f_f.
174 (acos_test): Use ALL_RM_TEST.
175 (acos_tonearest_test_data): Remove.
176 (acos_test_tonearest): Likewise.
177 (acos_towardzero_test_data): Likewise.
178 (acos_test_towardzero): Likewise.
179 (acos_downward_test_data): Likewise.
180 (acos_test_downward): Likewise.
181 (acos_upward_test_data): Likewise.
182 (acos_test_upward): Likewise.
183 (acosh_test_data): Update call to AUTO_TESTS_f_f.
184 (asin_test_data): Likewise.
185 (asin_test): Use ALL_RM_TEST.
186 (asin_tonearest_test_data): Remove.
187 (asin_test_tonearest): Likewise.
188 (asin_towardzero_test_data): Likewise.
189 (asin_test_towardzero): Likewise.
190 (asin_downward_test_data): Likewise.
191 (asin_test_downward): Likewise.
192 (asin_upward_test_data): Likewise.
193 (asin_test_upward): Likewise.
194 (asinh_test_data): Update call to AUTO_TESTS_f_f.
195 (atan_test_data): Likewise.
196 (atanh_test_data): Likewise.
197 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
198 (cabs_test_data): Update call to AUTO_TESTS_c_f.
199 (carg_test_data): Likewise.
200 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
201 (ccos_test_data): Update call to AUTO_TESTS_c_c.
202 (ccosh_test_data): Likewise.
203 (cexp_test_data): Likewise.
204 (clog_test_data): Likewise.
205 (clog10_test_data): Likewise.
206 (cos_test_data): Update call to AUTO_TESTS_f_f.
207 (cos_test): Use ALL_RM_TEST.
208 (cos_tonearest_test_data): Remove.
209 (cos_test_tonearest): Likewise.
210 (cos_towardzero_test_data): Likewise.
211 (cos_test_towardzero): Likewise.
212 (cos_downward_test_data): Likewise.
213 (cos_test_downward): Likewise.
214 (cos_upward_test_data): Likewise.
215 (cos_test_upward): Likewise.
216 (cosh_test_data): Update call to AUTO_TESTS_f_f.
217 (cosh_test): Use ALL_RM_TEST.
218 (cosh_tonearest_test_data): Remove.
219 (cosh_test_tonearest): Likewise.
220 (cosh_towardzero_test_data): Likewise.
221 (cosh_test_towardzero): Likewise.
222 (cosh_downward_test_data): Likewise.
223 (cosh_test_downward): Likewise.
224 (cosh_upward_test_data): Likewise.
225 (cosh_test_upward): Likewise.
226 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
227 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
228 (ctan_test_data): Likewise.
229 (ctan_test): Use ALL_RM_TEST.
230 (ctan_tonearest_test_data): Remove.
231 (ctan_test_tonearest): Likewise.
232 (ctan_towardzero_test_data): Likewise.
233 (ctan_test_towardzero): Likewise.
234 (ctan_downward_test_data): Likewise.
235 (ctan_test_downward): Likewise.
236 (ctan_upward_test_data): Likewise.
237 (ctan_test_upward): Likewise.
238 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
239 (ctanh_test): Use ALL_RM_TEST.
240 (ctanh_tonearest_test_data): Remove.
241 (ctanh_test_tonearest): Likewise.
242 (ctanh_towardzero_test_data): Likewise.
243 (ctanh_test_towardzero): Likewise.
244 (ctanh_downward_test_data): Likewise.
245 (ctanh_test_downward): Likewise.
246 (ctanh_upward_test_data): Likewise.
247 (ctanh_test_upward): Likewise.
248 (erf_test_data): Update call to AUTO_TESTS_f_f.
249 (erfc_test_data): Likewise.
250 (exp_test_data): Likewise.
251 (exp_test): Use ALL_RM_TEST.
252 (exp_tonearest_test_data): Remove.
253 (exp_test_tonearest): Likewise.
254 (exp_towardzero_test_data): Likewise.
255 (exp_test_towardzero): Likewise.
256 (exp_downward_test_data): Likewise.
257 (exp_test_downward): Likewise.
258 (exp_upward_test_data): Likewise.
259 (exp_test_upward): Likewise.
260 (exp10_test_data): Update call to AUTO_TESTS_f_f.
261 (exp10_test): Use ALL_RM_TEST.
262 (exp10_tonearest_test_data): Remove.
263 (exp10_test_tonearest): Likewise.
264 (exp10_towardzero_test_data): Likewise.
265 (exp10_test_towardzero): Likewise.
266 (exp10_downward_test_data): Likewise.
267 (exp10_test_downward): Likewise.
268 (exp10_upward_test_data): Likewise.
269 (exp10_test_upward): Likewise.
270 (exp2_test_data): Update call to AUTO_TESTS_f_f.
271 (expm1_test_data): Likewise.
272 (expm1_test): Use ALL_RM_TEST.
273 (expm1_tonearest_test_data): Remove.
274 (expm1_test_tonearest): Likewise.
275 (expm1_towardzero_test_data): Likewise.
276 (expm1_test_towardzero): Likewise.
277 (expm1_downward_test_data): Likewise.
278 (expm1_test_downward): Likewise.
279 (expm1_upward_test_data): Likewise.
280 (expm1_test_upward): Likewise.
281 (fma_test_data): Update call to AUTO_TESTS_fff_f.
282 (fma_test): Use ALL_RM_TEST.
283 (fma_towardzero_test_data): Remove.
284 (fma_test_towardzero): Likewise.
285 (fma_downward_test_data): Likewise.
286 (fma_test_downward): Likewise.
287 (fma_upward_test_data): Likewise.
288 (fma_test_upward): Likewise.
289 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
290 (j0_test_data): Update call to AUTO_TESTS_f_f.
291 (j1_test_data): Likewise.
292 (jn_test_data): Update call to AUTO_TESTS_if_f.
293 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
294 (log_test_data): Update call to AUTO_TESTS_f_f.
295 (log10_test_data): Likewise.
296 (log1p_test_data): Likewise.
297 (log2_test_data): Likewise.
298 (pow_test_data): Update call to AUTO_TESTS_ff_f.
299 (pow_tonearest_test_data): Likewise.
300 (sin_test_data): Update call to AUTO_TESTS_f_f.
301 (sin_test): Use ALL_RM_TEST.
302 (sin_tonearest_test_data): Remove.
303 (sin_test_tonearest): Likewise.
304 (sin_towardzero_test_data): Likewise.
305 (sin_test_towardzero): Likewise.
306 (sin_downward_test_data): Likewise.
307 (sin_test_downward): Likewise.
308 (sin_upward_test_data): Likewise.
309 (sin_test_upward): Likewise.
310 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
311 (sinh_test_data): Update call to AUTO_TESTS_f_f.
312 (sinh_test): Use ALL_RM_TEST.
313 (sinh_tonearest_test_data): Remove.
314 (sinh_test_tonearest): Likewise.
315 (sinh_towardzero_test_data): Likewise.
316 (sinh_test_towardzero): Likewise.
317 (sinh_downward_test_data): Likewise.
318 (sinh_test_downward): Likewise.
319 (sinh_upward_test_data): Likewise.
320 (sinh_test_upward): Likewise.
321 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
322 (sqrt_test): Use ALL_RM_TEST.
323 (sqrt_tonearest_test_data): Remove.
324 (sqrt_test_tonearest): Likewise.
325 (sqrt_towardzero_test_data): Likewise.
326 (sqrt_test_towardzero): Likewise.
327 (sqrt_downward_test_data): Likewise.
328 (sqrt_test_downward): Likewise.
329 (sqrt_upward_test_data): Likewise.
330 (sqrt_test_upward): Likewise.
331 (tan_test_data): Update call to AUTO_TESTS_f_f.
332 (tan_test): Use ALL_RM_TEST.
333 (tan_tonearest_test_data): Remove.
334 (tan_test_tonearest): Likewise.
335 (tan_towardzero_test_data): Likewise.
336 (tan_test_towardzero): Likewise.
337 (tan_downward_test_data): Likewise.
338 (tan_test_downward): Likewise.
339 (tan_upward_test_data): Likewise.
340 (tan_test_upward): Likewise.
341 (tanh_test_data): Update call to AUTO_TESTS_f_f.
342 (tgamma_test_data): Likewise.
343 (y0_test_data): Likewise.
344 (y1_test_data): Likewise.
345 (yn_test_data): Update call to AUTO_TESTS_if_f.
346 (main): Do not call removed functions.
347
d71aeee8
JM
3482014-03-19 Joseph Myers <joseph@codesourcery.com>
349
350 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
351 (ldexp_test_data): Remove.
352 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
353 scalbn_test_data.
354 (scalb_test): Use ALL_RM_TEST.
355
baaf1ded
AS
3562014-03-19 Andreas Schwab <schwab@suse.de>
357
358 * nscd/nscd.service: Also invalidate netgroup cache on reload.
359
b1115e91
JM
3602014-03-19 Joseph Myers <joseph@codesourcery.com>
361
362 [BZ #16649]
363 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
364 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
365 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
366 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
367 (__ASSUME_PREADV): Undefine.
368 (__ASSUME_PWRITEV): Likewise.
369
0283ecca
RM
3702014-03-18 Roland McGrath <roland@hack.frob.com>
371
7d375303
RM
372 * bits/mman-linux.h: Add comment about non-Linux use.
373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
374 bits/mman-linux.h resting place.
375
0283ecca
RM
376 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
377 * bits/mman-linux.h: ... here.
378
aebe1003
AZ
3792014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
380
381 * conform/conformtest.pl: Add standard definition when calling C
382 preprocessor on data files.
383 (checknamespace): Remove unused variable.
384
b29b6bb8
JM
3852014-03-18 Joseph Myers <joseph@codesourcery.com>
386
387 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
388 minus_oflow, plus_uflow and minus_uflow in expected results.
389 * math/libm-test.inc (scalbn_test_data): Add more tests of
390 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
391 minus_uflow.
392 (scalbn_test): Use ALL_RM_TEST.
393 (scalbln_test_data): Add more tests of negative arguments. Use
394 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
395 (scalbln_test): Use ALL_RM_TEST.
396
c8f8fa15
RM
3972014-03-18 Roland McGrath <roland@hack.frob.com>
398
399 * scripts/abilist.awk: Ignore symbols marked with .hidden.
400
fede7a5f
WN
4012014-03-18 Will Newton <will.newton@linaro.org>
402
403 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
404 inaccurate comment.
405
80cf0a58
JM
4062014-03-18 Joseph Myers <joseph@codesourcery.com>
407
408 * Makerules [!subdir] (check-abi): Exit with error status if a
409 test failed.
410
b3620862
JM
4112014-03-17 Joseph Myers <joseph@codesourcery.com>
412
413 * math/libm-test.inc (nearbyint_test_data): Include all tests used
414 for rint. Include results for all rounding modes.
415 (nearbyint_test): Use ALL_RM_TEST.
416 (rint_test_data): Include all tests used for nearbyint.
417
788bba36
WN
4182014-03-17 Will Newton <will.newton@linaro.org>
419
04ec140a
WN
420 * nptl/sysdeps/pthread/pthread.h: Revert previous
421 change.
422
7579d8d5
WN
423 * sysdeps/generic/ldsodefs.h: Revert previous
424 change.
425
c15cf13a
WN
426 * libio/genops.c: Revert previous change.
427 * libio/libioP.h: Likewise.
428 * stdio-common/vfprintf.c: Likewise.
429
d0ac1324
WN
430 * sysdeps/generic/math_private.h: Revert previous
431 change.
432
9290130a
WN
433 * sysdeps/generic/math_private.h: Check whether
434 HAVE_RM_CTX is defined with #ifdef rather
435 than #if.
436
afb466fc
WN
437 * argp/argp-fmtstream.h: Check whether
438 __STRICT_ANSI__ is defined with #ifdef rather
439 than #if.
440 * argp/argp.h: Likewise.
441
f7efd7c3
WN
442 * libio/genops.c: Check whether
443 _IO_JUMPS_OFFSET is defined with #ifdef rather
444 than #if.
445 * libio/libioP.h: Likewise.
446 * stdio-common/vfprintf.c: Likewise.
447
53f1bed3
WN
448 * sysdeps/generic/ldsodefs.h: Check whether
449 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
450 than #if.
451
788bba36
WN
452 * nptl/sysdeps/pthread/pthread.h: Check
453 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
454 its value.
455
fcd89ebe
SP
4562014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
457
ae42bbc5
SP
458 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
459 setting O_APPEND.
460 * libio/tst-ftell-active-handler.c (do_append_test): Add a
461 test case.
462
ea33158c
SP
463 [BZ #16680]
464 * libio/fileops.c (_IO_file_open): Seek to end of file but
465 don't cache the offset.
466 (get_file_offset): Remove function.
467 (do_ftell): Use cached offset when available.
468 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
469 don't cache the offset.
470 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
471 case.
472 (do_one_test): Call it.
473 (do_ftell_test): Fix up expected old offset for a+ mode.
474 * libio/wfileops.c (do_ftell_wide): Used cached offset when
475 available.
476
b1dbb426
SP
477 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
478 up test status with function return status.
479 (do_write_test): Likewise.
480 (do_append_test): Likewise.
481
fcd89ebe
SP
482 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
483 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
484 Remove.
485
9962a2d3
JM
4862014-03-17 Joseph Myers <joseph@codesourcery.com>
487
488 * math/gen-libm-test.pl (parse_args): Handle results specified for
489 each rounding mode separately.
490 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
491 tests and results from lrint_tonearest_test_data,
492 lrint_towardzero_test_data, lrint_downward_test_data and
493 lrint_upward_test_data.
494 (lrint_test): Use ALL_RM_TEST.
495 (lrint_tonearest_test_data): Remove.
496 (lrint_test_tonearest): Likewise.
497 (lrint_towardzero_test_data): Likewise.
498 (lrint_test_towardzero): Likewise.
499 (lrint_downward_test_data): Likewise.
500 (lrint_test_downward): Likewise.
501 (lrint_upward_test_data): Likewise.
502 (lrint_test_upward): Likewise.
503 (llrint_test_data): Merge in per-rounding-mode tests and results
504 from llrint_tonearest_test_data, llrint_towardzero_test_data,
505 llrint_downward_test_data and llrint_upward_test_data.
506 (llrint_test): Use ALL_RM_TEST.
507 (llrint_tonearest_test_data): Remove.
508 (llrint_test_tonearest): Likewise.
509 (llrint_towardzero_test_data): Likewise.
510 (llrint_test_towardzero): Likewise.
511 (llrint_downward_test_data): Likewise.
512 (llrint_test_downward): Likewise.
513 (llrint_upward_test_data): Likewise.
514 (llrint_test_upward): Likewise.
515 (rint_test_data): Merge in per-rounding-mode tests and results
516 from rint_tonearest_test_data, rint_towardzero_test_data,
517 rint_downward_test_data and rint_upward_test_data. Add
518 per-rounding-mode results for tests not in those arrays.
519 (rint_test): Use ALL_RM_TEST.
520 (rint_tonearest_test_data): Remove.
521 (rint_test_tonearest): Likewise.
522 (rint_towardzero_test_data): Likewise.
523 (rint_test_towardzero): Likewise.
524 (rint_downward_test_data): Likewise.
525 (rint_test_downward): Likewise.
526 (rint_upward_test_data): Likewise.
527 (rint_test_upward): Likewise.
528 (main): Don't call removed functions.
529
5006148e
RM
5302014-03-14 Roland McGrath <roland@hack.frob.com>
531
532 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
533 "Compiled on ..." crapola. It is anti-useful.
534
d6fe5e58
JM
5352014-03-14 Joseph Myers <joseph@codesourcery.com>
536
537 * scripts/evaluate-test.sh: Handle fourth argument to determine
538 whether test run should stop on failure.
539 * Makeconfig (stop-on-test-failure): New variable.
540 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
541 $(stop-on-test-failure).
542 * Makefile (tests): Give a summary of results from testing and
543 exit with failure status if they include an ERROR or FAIL.
544 (xtests): Likewise.
545 * manual/install.texi (Configuring and compiling): Mention
546 stop-on-test-failure=y.
547 * INSTALL: Regenerated.
548
498a2233
RM
5492014-03-14 Roland McGrath <roland@hack.frob.com>
550
22dbc19d
RM
551 * scripts/versionlist.awk: New file.
552 * Makerules [$(build-shared) = yes]
553 (postclean-generated): Add Versions.def, not Versions.def.v and
554 Versions.def.v.i.
555 ($(common-objpfx)Versions.def.v.i): Target removed.
556 ($(common-objpfx)Versions.def): New target.
557 ($(common-objpfx)Versions.all): Depend on that rather that
558 $(common-objpfx)Versions.def.v.
559 * Versions.def: File removed.
560
498a2233
RM
561 * Makeconfig (+gccwarn): Add -Wundef.
562 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
563 a dl-sysdep.h breaking its contract.
564 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
565 * include/stackinfo.h: New file.
566 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
567 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
568 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
569 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
570 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
571 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
572 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
573 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
574 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
575 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
576 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
577 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
578 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
579 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
580 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
581
c7de5025
AZ
5822014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
583
584 [BZ #16707]
585 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
586 implementation.
587 * math/libm-test.inc (round_test_data): Add more tests.
588
98fb27a3
AZ
5892014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
590
591 [BZ #16706]
592 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
593 implementation.
594 * math/libm-test.inc (nearbyint_test_data): Add more tests.
595
374f7f61
AZ
5962014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597
598 [BZ #16701]
599 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
600 implementation.
601 * math/libm-test.inc (ceil_test_data): Add more tests.
602
4655c291
AZ
6032014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
604
605 * math/libm-test.inc (trunc_test_data): Add more tests related to
606 BZ#16414.
607
d7329d4b
RM
6082014-03-14 Roland McGrath <roland@hack.frob.com>
609
610 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
611 with #if rather than #ifdef.
612 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
613
aa4de9ce
L
6142014-03-14 H.J. Lu <hongjiu.lu@intel.com>
615
616 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
617 first. Disable AVX-512 GCC support if assembler doesn't support
618 it.
619 * sysdeps/x86_64/configure: Regenerated.
620
2e03fae7
CD
6212014-03-13 Carlos O'Donell <carlos@redhat.com>
622
623 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
624 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
625 (__old_pthread_attr_setstack): Likewise.
626 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
627 [!_STACK_GROWS_DOWN]: Likewise.
628
43ca83ec
MF
6292014-03-13 Mike Frysinger <vapier@gentoo.org>
630
631 * config.make.in (have-bash2): Delete.
632 * configure.ac (libc_cv_have_bash2): Delete.
633 * configure: Regenerate.
634 * elf/Makefile (common-ldd-rewrite): Rename to ...
635 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
636 (sh-ldd-rewrite): Delete.
637 (bash-ldd-rewrite): Delete.
638 (have-bash2): Delete checks.
639 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
640
c66e48b4
MF
6412014-03-13 Mike Frysinger <vapier@gentoo.org>
642
643 * config.make.in (have-ksh): Delete.
644 (KSH): Delete.
645 * configure.ac (libc_cv_have_ksh): Delete.
646 * configure: Regenerate.
647
b93834ef
MF
6482014-03-13 Mike Frysinger <vapier@gentoo.org>
649
650 * elf/Makefile: Delete $(have-ksh) check.
651 ($(objpfx)sotruss): Change KSH to BASH.
652 * elf/sotruss.ksh: Rename to ...
653 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
654 function style to match POSIX. Drop ksh vim mode setting.
655
f3a4632a
MF
6562014-03-13 Mike Frysinger <vapier@gentoo.org>
657
658 * manual/time.texi (Specifying the Time Zone with TZ): Change
659 Tuesday to Thursday.
660
5896c8bd
MF
6612014-03-13 Mike Frysinger <vapier@gentoo.org>
662
663 * debug/tst-longjmp_chk2.c: Update header comment.
664 (stackoverflow_handler): Add comment. Call assert on pass value.
665
2d63a517
IZ
6662014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
667
668 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
669 (HAVE_AVX512_ASM_SUPPORT): Likewise.
670 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
671 (La_x86_64_vector): Add zmm.
672 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
673 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
674 ($(objpfx)tst-audit10): New target.
675 ($(objpfx)tst-audit10.out): Likewise.
676 (tst-audit10-ENV): New.
677 (AVX512-CFLAGS): Likewise.
678 (CFLAGS-tst-audit10.c): Likewise.
679 (CFLAGS-tst-auditmod10a.c): Likewise.
680 (CFLAGS-tst-auditmod10b.c): Likewise.
681 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
682 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
683 * sysdeps/x86_64/configure: Regenerated.
684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
685 AVX-512 zmm register support.
686 (_dl_x86_64_save_sse): Likewise.
687 (_dl_x86_64_restore_sse): Likewise.
688 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
689 size vector registers.
690 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
691 (ZMM_SIZE): Likewise.
692 * sysdeps/x86_64/tst-audit10.c: New file.
693 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
694 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
695
44c4e5d5
RM
6962014-03-13 Roland McGrath <roland@hack.frob.com>
697
698 * configure.ac (HAVE_EHDR_START): New check.
699 * configure: Regenerated.
700 * config.h.in (HAVE_EHDR_START): New #undef.
701 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
702 assuming the lowest-addressed segment maps the start of the file.
703
acd6e389
JM
7042014-03-13 Joseph Myers <joseph@codesourcery.com>
705
706 * INSTALL: Regenerated.
707
6f918f36
WN
7082014-03-13 Will Newton <will.newton@linaro.org>
709
710 * manual/setjmp.texi (System V contexts): Improve
711 clarity and grammar of documentation.
712
798212a0
PP
7132014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
714
715 [BZ #16381]
798212a0 716 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 717 (tests-pie): Add tst-pie2.
798212a0
PP
718 * elf/tst-pie2.c: New file.
719 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
720 for ET_EXEC.
721 * elf/rtld.c (map_doit): Load executable as lt_executable.
722 (dl_main): Likewise.
723
abe6d90c
JM
7242014-03-12 Joseph Myers <joseph@codesourcery.com>
725
726 [BZ #16642]
727 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
728 (__ASSUME_PSELECT): Undefine.
729
dd3946c6
AZ
7302014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
731
732 [BZ #16689]
733 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
734 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
735 static build.
736 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
737 selector for static builds.
738
c44496df
SP
7392014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
740
741 [BZ #16695]
742 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
743 key in the buffer.
744
27c7220a
AZ
7452014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
746
747 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
748 selector for static builds.
749
600fa361
JM
7502014-03-11 Joseph Myers <joseph@codesourcery.com>
751
76c96cf7
JM
752 * sysdeps/mips/math_private.h [__mips_hard_float]
753 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
754 libc_feresetround_mips_ctx.
755 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
756 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
757 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
758
600fa361
JM
759 [BZ #16677]
760 * math/s_nextafter.c (__nextafter): Do not return value from
761 overflowing computation.
762 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
763 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
764 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
765 Likewise.
766 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
767 Likewise.
768 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
769 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
770
d7706c32
RM
7712014-03-11 Roland McGrath <roland@hack.frob.com>
772
773 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
774 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
775 Move sfi_sp use from the load-multiple (that no longer sets sp) to
776 the new mov targetting sp.
777
4facea47
AZ
7782014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
779
780 [BZ #16683]
781 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
782 Define it for static builds as well.
783 (NO_BZERO_IMPL): Likewise.
784
e65caf1f
VR
7852014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
786
787 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
788 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
789 multiarch strspn for PPC64.
790 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
791 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
793 (__libc_ifunc_impl_list): Likewise.
794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
795 multiarch optimizations
796 * string/strspn.c (strspn): Using macro to redefine symbol name.
797
ba9cc071
AZ
7982014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
799 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800
801 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
802 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
803 multiarch strncat for PPC64.
804 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
805 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
807 (__libc_ifunc_impl_list): Likewise.
808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
809 multiarch optimizations
810
8b4ff974
SP
8112014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
812
813 [BZ #16639]
814 * nscd/nscd.service: Make service type forking.
815
54b46a4b
AZ
8162014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817
818 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
819 sign in non default rounding modes.
820 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
821
e9996ef7
JM
8222014-03-08 Joseph Myers <joseph@codesourcery.com>
823
824 * math/libm-test.inc (ALL_RM_TEST): New macro.
825 (ceil_test): Use ALL_RM_TEST.
826 (cimag_test): Likewise.
827 (conj_test): Likewise.
828 (copysign_test): Likewise.
829 (cproj_test): Likewise.
830 (creal_test): Likewise.
831 (fabs_test): Likewise.
832 (floor_test): Likewise.
833 (fmax_test): Likewise.
834 (fmin_test): Likewise.
835 (fmod_test): Likewise.
836 (fpclassify_test): Likewise.
837 (frexp_test): Likewise.
838 (ilogb_test): Likewise.
839 (isfinite_test): Likewise.
840 (finite_test): Likewise.
841 (isgreater_test): Likewise.
842 (isgreaterequal_test): Likewise.
843 (isinf_test): Likewise.
844 (isless_test): Likewise.
845 (islessequal_test): Likewise.
846 (islessgreater_test): Likewise.
847 (isnan_test): Likewise.
848 (isnormal_test): Likewise.
849 (issignaling_test): Likewise.
850 (isunordered_test): Likewise.
851 (logb_test): Likewise.
852 (logb_downward_test_data): Remove.
853 (logb_test_downward): Likewise.
854 (lround_test): Use ALL_RM_TEST.
855 (llround_test): Likewise.
856 (modf_test): Likewise.
857 (nexttoward_test): Likewise.
858 (remainder_test): Likewise.
859 (drem_test): Likewise.
860 (remainder_tonearest_test_data): Likewise.
861 (remainder_test_tonearest): Likewise.
862 (drem_test_tonearest): Likewise.
863 (remainder_towardzero_test_data): Likewise.
864 (remainder_test_towardzero): Likewise.
865 (drem_test_towardzero): Likewise.
866 (remainder_downward_test_data): Likewise.
867 (remainder_test_downward): Likewise.
868 (drem_test_downward): Likewise.
869 (remainder_upward_test_data): Likewise.
870 (remainder_test_upward): Likewise.
871 (drem_test_upward): Likewise.
872 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
873 (round_test): Use ALL_RM_TEST.
874 (signbit_test): Likewise.
875 (trunc_test): Likewise.
876 (significand_test): Likewise.
877 (main): Don't call removed functions.
878
bc61d27c
JM
8792014-03-07 Joseph Myers <joseph@codesourcery.com>
880
5c780849
JM
881 [BZ #16674]
882 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
883 || __USE_XOPEN2K8].
884 (ILL_ILLOPN): Likewise.
885 (ILL_ILLADR): Likewise.
886 (ILL_ILLTRP): Likewise.
887 (ILL_PRVOPC): Likewise.
888 (ILL_PRVREG): Likewise.
889 (ILL_COPROC): Likewise.
890 (ILL_BADSTK): Likewise.
891 (FPE_INTDIV): Likewise.
892 (FPE_INTOVF): Likewise.
893 (FPE_FLTDIV): Likewise.
894 (FPE_FLTOVF): Likewise.
895 (FPE_FLTUND): Likewise.
896 (FPE_FLTRES): Likewise.
897 (FPE_FLTINV): Likewise.
898 (FPE_FLTSUB): Likewise.
899 (SEGV_MAPERR): Likewise.
900 (SEGV_ACCERR): Likewise.
901 (BUS_ADRALN): Likewise.
902 (BUS_ADRERR): Likewise.
903 (BUS_OBJERR): Likewise.
904 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
905 (TRAP_TRACE): Likewise.
906 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
907 __USE_XOPEN2K8].
908 (CLD_KILLED): Likewise.
909 (CLD_DUMPED): Likewise.
910 (CLD_TRAPPED): Likewise.
911 (CLD_STOPPED): Likewise.
912 (CLD_CONTINUED): Likewise.
913 (POLL_IN): Likewise.
914 (POLL_OUT): Likewise.
915 (POLL_MSG): Likewise.
916 (POLL_ERR): Likewise.
917 (POLL_PRI): Likewise.
918 (POLL_HUP): Likewise.
919 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
920 Likewise.
921 (ILL_ILLOPN): Likewise.
922 (ILL_ILLADR): Likewise.
923 (ILL_ILLTRP): Likewise.
924 (ILL_PRVOPC): Likewise.
925 (ILL_PRVREG): Likewise.
926 (ILL_COPROC): Likewise.
927 (ILL_BADSTK): Likewise.
928 (FPE_INTDIV): Likewise.
929 (FPE_INTOVF): Likewise.
930 (FPE_FLTDIV): Likewise.
931 (FPE_FLTOVF): Likewise.
932 (FPE_FLTUND): Likewise.
933 (FPE_FLTRES): Likewise.
934 (FPE_FLTINV): Likewise.
935 (FPE_FLTSUB): Likewise.
936 (SEGV_MAPERR): Likewise.
937 (SEGV_ACCERR): Likewise.
938 (BUS_ADRALN): Likewise.
939 (BUS_ADRERR): Likewise.
940 (BUS_OBJERR): Likewise.
941 (BUS_MCEERR_AR): Likewise.
942 (BUS_MCEERR_AO): Likewise.
943 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
944 (TRAP_TRACE): Likewise.
945 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
946 __USE_XOPEN2K8].
947 (CLD_KILLED): Likewise.
948 (CLD_DUMPED): Likewise.
949 (CLD_TRAPPED): Likewise.
950 (CLD_STOPPED): Likewise.
951 (CLD_CONTINUED): Likewise.
952 (POLL_IN): Likewise.
953 (POLL_OUT): Likewise.
954 (POLL_MSG): Likewise.
955 (POLL_ERR): Likewise.
956 (POLL_PRI): Likewise.
957 (POLL_HUP): Likewise.
958 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
959 (ILL_ILLOPN): Likewise.
960 (ILL_ILLADR): Likewise.
961 (ILL_ILLTRP): Likewise.
962 (ILL_PRVOPC): Likewise.
963 (ILL_PRVREG): Likewise.
964 (ILL_COPROC): Likewise.
965 (ILL_BADSTK): Likewise.
966 (FPE_INTDIV): Likewise.
967 (FPE_INTOVF): Likewise.
968 (FPE_FLTDIV): Likewise.
969 (FPE_FLTOVF): Likewise.
970 (FPE_FLTUND): Likewise.
971 (FPE_FLTRES): Likewise.
972 (FPE_FLTINV): Likewise.
973 (FPE_FLTSUB): Likewise.
974 (SEGV_MAPERR): Likewise.
975 (SEGV_ACCERR): Likewise.
976 (BUS_ADRALN): Likewise.
977 (BUS_ADRERR): Likewise.
978 (BUS_OBJERR): Likewise.
979 (BUS_MCEERR_AR): Likewise.
980 (BUS_MCEERR_AO): Likewise.
981 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
982 (TRAP_TRACE): Likewise.
983 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
984 __USE_XOPEN2K8].
985 (CLD_KILLED): Likewise.
986 (CLD_DUMPED): Likewise.
987 (CLD_TRAPPED): Likewise.
988 (CLD_STOPPED): Likewise.
989 (CLD_CONTINUED): Likewise.
990 (POLL_IN): Likewise.
991 (POLL_OUT): Likewise.
992 (POLL_MSG): Likewise.
993 (POLL_ERR): Likewise.
994 (POLL_PRI): Likewise.
995 (POLL_HUP): Likewise.
996 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
997 Likewise.
998 (ILL_ILLOPN): Likewise.
999 (ILL_ILLADR): Likewise.
1000 (ILL_ILLTRP): Likewise.
1001 (ILL_PRVOPC): Likewise.
1002 (ILL_PRVREG): Likewise.
1003 (ILL_COPROC): Likewise.
1004 (ILL_BADSTK): Likewise.
1005 (ILL_BADIADDR): Likewise.
1006 (ILL_BREAK): Likewise.
1007 (FPE_INTDIV): Likewise.
1008 (FPE_INTOVF): Likewise.
1009 (FPE_FLTDIV): Likewise.
1010 (FPE_FLTOVF): Likewise.
1011 (FPE_FLTUND): Likewise.
1012 (FPE_FLTRES): Likewise.
1013 (FPE_FLTINV): Likewise.
1014 (FPE_FLTSUB): Likewise.
1015 (FPE_DECOVF): Likewise.
1016 (FPE_DECDIV): Likewise.
1017 (FPE_DECERR): Likewise.
1018 (FPE_INVASC): Likewise.
1019 (FPE_INVDEC): Likewise.
1020 (SEGV_MAPERR): Likewise.
1021 (SEGV_ACCERR): Likewise.
1022 (SEGV_PSTKOVF): Likewise.
1023 (BUS_ADRALN): Likewise.
1024 (BUS_ADRERR): Likewise.
1025 (BUS_OBJERR): Likewise.
1026 (BUS_MCEERR_AR): Likewise.
1027 (BUS_MCEERR_AO): Likewise.
1028 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1029 (TRAP_TRACE): Likewise.
1030 (TRAP_BRANCH): Likewise.
1031 (TRAP_HWBKPT): Likewise.
1032 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1033 __USE_XOPEN2K8].
1034 (CLD_KILLED): Likewise.
1035 (CLD_DUMPED): Likewise.
1036 (CLD_TRAPPED): Likewise.
1037 (CLD_STOPPED): Likewise.
1038 (CLD_CONTINUED): Likewise.
1039 (POLL_IN): Likewise.
1040 (POLL_OUT): Likewise.
1041 (POLL_MSG): Likewise.
1042 (POLL_ERR): Likewise.
1043 (POLL_PRI): Likewise.
1044 (POLL_HUP): Likewise.
1045 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1046 (ILL_ILLOPN): Likewise.
1047 (ILL_ILLADR): Likewise.
1048 (ILL_ILLTRP): Likewise.
1049 (ILL_PRVOPC): Likewise.
1050 (ILL_PRVREG): Likewise.
1051 (ILL_COPROC): Likewise.
1052 (ILL_BADSTK): Likewise.
1053 (FPE_INTDIV): Likewise.
1054 (FPE_INTOVF): Likewise.
1055 (FPE_FLTDIV): Likewise.
1056 (FPE_FLTOVF): Likewise.
1057 (FPE_FLTUND): Likewise.
1058 (FPE_FLTRES): Likewise.
1059 (FPE_FLTINV): Likewise.
1060 (FPE_FLTSUB): Likewise.
1061 (SEGV_MAPERR): Likewise.
1062 (SEGV_ACCERR): Likewise.
1063 (BUS_ADRALN): Likewise.
1064 (BUS_ADRERR): Likewise.
1065 (BUS_OBJERR): Likewise.
1066 (BUS_MCEERR_AR): Likewise.
1067 (BUS_MCEERR_AO): Likewise.
1068 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1069 (TRAP_TRACE): Likewise.
1070 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1071 __USE_XOPEN2K8].
1072 (CLD_KILLED): Likewise.
1073 (CLD_DUMPED): Likewise.
1074 (CLD_TRAPPED): Likewise.
1075 (CLD_STOPPED): Likewise.
1076 (CLD_CONTINUED): Likewise.
1077 (POLL_IN): Likewise.
1078 (POLL_OUT): Likewise.
1079 (POLL_MSG): Likewise.
1080 (POLL_ERR): Likewise.
1081 (POLL_PRI): Likewise.
1082 (POLL_HUP): Likewise.
1083 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1084 (ILL_ILLOPN): Likewise.
1085 (ILL_ILLADR): Likewise.
1086 (ILL_ILLTRP): Likewise.
1087 (ILL_PRVOPC): Likewise.
1088 (ILL_PRVREG): Likewise.
1089 (ILL_COPROC): Likewise.
1090 (ILL_BADSTK): Likewise.
1091 (FPE_INTDIV): Likewise.
1092 (FPE_INTOVF): Likewise.
1093 (FPE_FLTDIV): Likewise.
1094 (FPE_FLTOVF): Likewise.
1095 (FPE_FLTUND): Likewise.
1096 (FPE_FLTRES): Likewise.
1097 (FPE_FLTINV): Likewise.
1098 (FPE_FLTSUB): Likewise.
1099 (SEGV_MAPERR): Likewise.
1100 (SEGV_ACCERR): Likewise.
1101 (BUS_ADRALN): Likewise.
1102 (BUS_ADRERR): Likewise.
1103 (BUS_OBJERR): Likewise.
1104 (BUS_MCEERR_AR): Likewise.
1105 (BUS_MCEERR_AO): Likewise.
1106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1107 (TRAP_TRACE): Likewise.
1108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1109 __USE_XOPEN2K8].
1110 (CLD_KILLED): Likewise.
1111 (CLD_DUMPED): Likewise.
1112 (CLD_TRAPPED): Likewise.
1113 (CLD_STOPPED): Likewise.
1114 (CLD_CONTINUED): Likewise.
1115 (POLL_IN): Likewise.
1116 (POLL_OUT): Likewise.
1117 (POLL_MSG): Likewise.
1118 (POLL_ERR): Likewise.
1119 (POLL_PRI): Likewise.
1120 (POLL_HUP): Likewise.
1121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1122 (ILL_ILLOPN): Likewise.
1123 (ILL_ILLADR): Likewise.
1124 (ILL_ILLTRP): Likewise.
1125 (ILL_PRVOPC): Likewise.
1126 (ILL_PRVREG): Likewise.
1127 (ILL_COPROC): Likewise.
1128 (ILL_BADSTK): Likewise.
1129 (FPE_INTDIV): Likewise.
1130 (FPE_INTOVF): Likewise.
1131 (FPE_FLTDIV): Likewise.
1132 (FPE_FLTOVF): Likewise.
1133 (FPE_FLTUND): Likewise.
1134 (FPE_FLTRES): Likewise.
1135 (FPE_FLTINV): Likewise.
1136 (FPE_FLTSUB): Likewise.
1137 (SEGV_MAPERR): Likewise.
1138 (SEGV_ACCERR): Likewise.
1139 (BUS_ADRALN): Likewise.
1140 (BUS_ADRERR): Likewise.
1141 (BUS_OBJERR): Likewise.
1142 (BUS_MCEERR_AR): Likewise.
1143 (BUS_MCEERR_AO): Likewise.
1144 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1145 (TRAP_TRACE): Likewise.
1146 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1147 __USE_XOPEN2K8].
1148 (CLD_KILLED): Likewise.
1149 (CLD_DUMPED): Likewise.
1150 (CLD_TRAPPED): Likewise.
1151 (CLD_STOPPED): Likewise.
1152 (CLD_CONTINUED): Likewise.
1153 (POLL_IN): Likewise.
1154 (POLL_OUT): Likewise.
1155 (POLL_MSG): Likewise.
1156 (POLL_ERR): Likewise.
1157 (POLL_PRI): Likewise.
1158 (POLL_HUP): Likewise.
1159 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1160 (ILL_ILLOPN): Likewise.
1161 (ILL_ILLADR): Likewise.
1162 (ILL_ILLTRP): Likewise.
1163 (ILL_PRVOPC): Likewise.
1164 (ILL_PRVREG): Likewise.
1165 (ILL_COPROC): Likewise.
1166 (ILL_BADSTK): Likewise.
1167 (ILL_DBLFLT): Likewise.
1168 (ILL_HARDWALL): Likewise.
1169 (FPE_INTDIV): Likewise.
1170 (FPE_INTOVF): Likewise.
1171 (FPE_FLTDIV): Likewise.
1172 (FPE_FLTOVF): Likewise.
1173 (FPE_FLTUND): Likewise.
1174 (FPE_FLTRES): Likewise.
1175 (FPE_FLTINV): Likewise.
1176 (FPE_FLTSUB): Likewise.
1177 (SEGV_MAPERR): Likewise.
1178 (SEGV_ACCERR): Likewise.
1179 (BUS_ADRALN): Likewise.
1180 (BUS_ADRERR): Likewise.
1181 (BUS_OBJERR): Likewise.
1182 (BUS_MCEERR_AR): Likewise.
1183 (BUS_MCEERR_AO): Likewise.
1184 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1185 (TRAP_TRACE): Likewise.
1186 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1187 __USE_XOPEN2K8].
1188 (CLD_KILLED): Likewise.
1189 (CLD_DUMPED): Likewise.
1190 (CLD_TRAPPED): Likewise.
1191 (CLD_STOPPED): Likewise.
1192 (CLD_CONTINUED): Likewise.
1193 (POLL_IN): Likewise.
1194 (POLL_OUT): Likewise.
1195 (POLL_MSG): Likewise.
1196 (POLL_ERR): Likewise.
1197 (POLL_PRI): Likewise.
1198 (POLL_HUP): Likewise.
1199 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1200 (ILL_ILLOPN): Likewise.
1201 (ILL_ILLADR): Likewise.
1202 (ILL_ILLTRP): Likewise.
1203 (ILL_PRVOPC): Likewise.
1204 (ILL_PRVREG): Likewise.
1205 (ILL_COPROC): Likewise.
1206 (ILL_BADSTK): Likewise.
1207 (FPE_INTDIV): Likewise.
1208 (FPE_INTOVF): Likewise.
1209 (FPE_FLTDIV): Likewise.
1210 (FPE_FLTOVF): Likewise.
1211 (FPE_FLTUND): Likewise.
1212 (FPE_FLTRES): Likewise.
1213 (FPE_FLTINV): Likewise.
1214 (FPE_FLTSUB): Likewise.
1215 (SEGV_MAPERR): Likewise.
1216 (SEGV_ACCERR): Likewise.
1217 (BUS_ADRALN): Likewise.
1218 (BUS_ADRERR): Likewise.
1219 (BUS_OBJERR): Likewise.
1220 (BUS_MCEERR_AR): Likewise.
1221 (BUS_MCEERR_AO): Likewise.
1222 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1223 (TRAP_TRACE): Likewise.
1224 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1225 __USE_XOPEN2K8].
1226 (CLD_KILLED): Likewise.
1227 (CLD_DUMPED): Likewise.
1228 (CLD_TRAPPED): Likewise.
1229 (CLD_STOPPED): Likewise.
1230 (CLD_CONTINUED): Likewise.
1231 (POLL_IN): Likewise.
1232 (POLL_OUT): Likewise.
1233 (POLL_MSG): Likewise.
1234 (POLL_ERR): Likewise.
1235 (POLL_PRI): Likewise.
1236 (POLL_HUP): Likewise.
1237 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1238 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1239
bc61d27c
JM
1240 [BZ #16670]
1241 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1242 before #include of <time.h>.
1243 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1244 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1245 (test-xfail-UNIX98/sched.h/conform): Likewise.
1246
302949e2
MS
12472014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1248
1249 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1250 error absence of trapping exception support.
1251 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1252
a00f522a
JM
12532014-03-07 Joseph Myers <joseph@codesourcery.com>
1254
6f99f280
JM
1255 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1256 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1257 * timezone/Makefile (testdata): Move definition above include of
1258 Rules.
1259 (test-zones): New variable.
1260 (tests-special): Add zone files.
1261 (build-testdata): Use $(evaluate-test).
1262
0b20a9e8
JM
1263 * elf/Makefile (tests-special): Rename tests to end with .out.
1264 ($(objpfx)noload-mem): Likewise.
1265 ($(objpfx)tst-leaks1-mem): Likewise.
1266 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1267 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1268 $(objpfx)test-iconvconfig.out.
1269 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1270 set -e inside subshell and redirect output to file.
1271 * iconvdata/Makefile (generated): Rename tests to end with .out.
1272 Correct type.
1273 (tests-special): Rename tests to end with .out.
1274 ($(objpfx)mtrace-tst-loading): Likewise.
1275 * intl/Makefile (generated): Likewise.
1276 (tests-special): Likewise.
1277 ($(objpfx)mtrace-tst-gettext): Likewise.
1278 * misc/Makefile (generated): Likewise.
1279 (tests-special): Likewise.
1280 ($(objpfx)tst-error1-mem): Likewise.
1281 * nptl/Makefile (tests-special): Likewise.
1282 ($(objpfx)tst-stack3-mem): Likewise.
1283 (generated): Likewise.
1284 * posix/Makefile (generated): Likewise.
1285 (tests-special): Likewise.
1286 (xtests-special): Likewise.
1287 ($(objpfx)tst-fnmatch-mem): Likewise.
1288 ($(objpfx)bug-regex2-mem): Likewise.
1289 ($(objpfx)bug-regex14-mem): Likewise.
1290 ($(objpfx)bug-regex21-mem): Likewise.
1291 ($(objpfx)bug-regex31-mem): Likewise.
1292 ($(objpfx)tst-vfork3-mem): Likewise.
1293 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1294 ($(objpfx)tst-pcre-mem): Likewise.
1295 ($(objpfx)tst-boost-mem): Likewise.
1296 ($(objpfx)bug-ga2-mem): Likewise.
1297 ($(objpfx)bug-glob2-mem): Likewise.
1298 * resolv/Makefile (generate): Likewise.
1299 (tests-special): Likewise.
1300 (xtests-special): Likewise.
1301 (generated): Likewise.
1302 ($(objpfx)mtrace-tst-leaks): Likewise.
1303 ($(objpfx)mtrace-tst-leaks2): Likewise.
1304
265d52ab
JM
1305 * scripts/merge-test-results.sh: New file.
1306 * Makefile (tests-special-notdir): New variable.
1307 (tests): Run merge-test-results.sh.
1308 (xtests): Likewise.
1309 * Rules (tests-special-notdir): New variable.
1310 (xtests-special-notdir): Likewise.
1311 (tests): Run merge-test-results.sh
1312 (xtests): Likewise.
1313
54ee292d
JM
1314 * Makeconfig (test-xfail-name): New variable.
1315 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1316 compute variable name for expected failures.
1317 * conform/Makefile (conformtest-headers-data): New variable.
1318 (conformtest-standards): Likewise.
1319 (conformtest-headers-ISO): Likewise.
1320 (conformtest-headers-ISO99): Likewise.
1321 (conformtest-headers-ISO11): Likewise.
1322 (conformtest-headers-POSIX): Likewise.
1323 (conformtest-headers-XPG3): Likewise.
1324 (conformtest-headers-XPG4): Likewise.
1325 (conformtest-headers-UNIX98): Likewise.
1326 (conformtest-headers-XOPEN2K): Likewise.
1327 (conformtest-headers-POSIX2008): Likewise.
1328 (conformtest-headers-XOPEN2K8): Likewise.
1329 (conformtest-header-list-base): Likewise.
1330 (conformtest-header-list-tests): Likewise.
1331 (conformtest-header-base): Likewise.
1332 (conformtest-header-tests): Likewise.
1333 (tests-special): Add $(conformtest-header-list-tests). If
1334 [$(fast-check) && !$(cross-compiling)], add
1335 $(conformtest-header-tests) instead of
1336 $(objpfx)run-conformtest.out.
1337 (generated): Add $(conformtest-header-list-base). If
1338 [$(fast-check) && !$(cross-compiling)], add
1339 $(conformtest-header-base). Remove previous setting.
1340 ($(conformtest-header-list-tests)): New target.
1341 (test-xfail-run-conformtest): Remove variable.
1342 ($(objpfx)run-conformtest.out): Remove target.
1343 (test-xfail-ISO11/complex.h/conform): New variable.
1344 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1345 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1346 (test-xfail-XPG3/varargs.h/conform): Likewise.
1347 (test-xfail-XPG4/varargs.h/conform): Likewise.
1348 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1349 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1350 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1351 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1352 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1353 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1354 (test-xfail-XPG3/ftw.h/conform): Likewise.
1355 (test-xfail-XPG3/grp.h/conform): Likewise.
1356 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1357 (test-xfail-XPG3/limits.h/conform): Likewise.
1358 (test-xfail-XPG3/pwd.h/conform): Likewise.
1359 (test-xfail-XPG3/search.h/conform): Likewise.
1360 (test-xfail-XPG3/signal.h/conform): Likewise.
1361 (test-xfail-XPG3/stdio.h/conform): Likewise.
1362 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1363 (test-xfail-XPG3/string.h/conform): Likewise.
1364 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1365 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1366 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1367 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1368 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1369 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1370 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1371 (test-xfail-XPG3/termios.h/conform): Likewise.
1372 (test-xfail-XPG3/time.h/conform): Likewise.
1373 (test-xfail-XPG3/unistd.h/conform): Likewise.
1374 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1375 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1376 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1377 (test-xfail-XPG4/netdb.h/conform): Likewise.
1378 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1379 (test-xfail-XPG4/signal.h/conform): Likewise.
1380 (test-xfail-XPG4/stdio.h/conform): Likewise.
1381 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1382 (test-xfail-XPG4/stropts.h/conform): Likewise.
1383 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1384 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1385 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1386 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1387 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1388 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1389 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1390 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1391 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1392 (test-xfail-XPG4/termios.h/conform): Likewise.
1393 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1394 (test-xfail-XPG4/unistd.h/conform): Likewise.
1395 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1396 (test-xfail-POSIX/sched.h/conform): Likewise.
1397 (test-xfail-POSIX/signal.h/conform): Likewise.
1398 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1399 (test-xfail-POSIX/tar.h/conform): Likewise.
1400 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1401 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1402 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1403 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1404 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1405 (test-xfail-UNIX98/sched.h/conform): Likewise.
1406 (test-xfail-UNIX98/signal.h/conform): Likewise.
1407 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1408 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1409 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1410 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1411 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1412 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1413 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1414 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1415 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1416 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1417 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1418 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1419 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1420 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1421 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1422 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1423 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1424 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1425 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1426 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1427 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1428 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1429 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1430 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1431 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1432 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1433 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1434 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1435 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1436 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1437 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1438 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1439 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1440 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1441 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1442 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1443 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1444 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1445 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1446 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1447 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1448 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1449 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1450 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1451 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1452 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1453 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1454 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1455 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1456 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1457 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1458 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1459 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1460 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1461 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1462 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1463 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1464 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1465 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1466 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1467 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1468 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1469 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1470 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1471 (conformtest-cc-flags): Likewise.
1472 ($(conformtest-header-tests): New target.
1473 * conform/check-header-lists.sh: New file.
1474 * conform/run-conformtest.sh: Remove.
1475
a00f522a
JM
1476 * conform/conformtest.pl: Allow ' and \ in values given for
1477 constants.
1478 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1479 inclusion.
1480 [POSIX] (sys/types.h): Likewise.
1481 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1482 inclusion.
1483 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1484 inclusion.
1485 * conform/data/signal.h-data (SIGIO): Remove expectation.
1486 [XPG3] (SIGBUS): Do not expect.
1487 [POSIX || XPG3] (SIGPOLL): Likewise.
1488 [POSIX || XPG3] (SIGPROF): Likewise.
1489 [POSIX || XPG3] (SIGSYS): Likewise.
1490 [XPG3] (SIGTRAP): Likewise.
1491 [POSIX || XPG3] (SIGURG): Likewise.
1492 [POSIX || XPG3] (SIGVTALRM): Likewise.
1493 [POSIX || XPG3] (SIGXCPU): Likewise.
1494 [POSIX || XPG3] (SIGXFSZ): Likewise.
1495 [POSIX] (SA_SIGINFO): Expect.
1496 [XPG3] (siginfo_t): Do not expect type or contents.
1497 [POSIX] (si_pid): Do not expect element.
1498 [POSIX] (si_uid): Likewise.
1499 [POSIX] (si_addr): Likewise.
1500 [POSIX] (si_status): Likewise.
1501 [POSIX] (si_band): Likewise.
1502 [XPG4] (si_value): Likewise.
1503 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1504 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1505 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1506 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1507 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1508 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1509 [POSIX || XPG3] (ILL_COPROC): Likewise.
1510 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1511 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1512 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1513 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1514 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1515 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1516 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1517 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1518 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1519 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1520 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1521 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1522 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1523 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1524 [POSIX || XPG3] (CLD_EXITED): Likewise.
1525 [POSIX || XPG3] (CLD_KILLED): Likewise.
1526 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1527 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1528 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1529 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1530 [POSIX || XPG3] (POLL_IN): Likewise.
1531 [POSIX || XPG3] (POLL_OUT): Likewise.
1532 [POSIX || XPG3] (POLL_MSG): Likewise.
1533 [POSIX || XPG3] (POLL_ERR): Likewise.
1534 [POSIX || XPG3] (POLL_PRI): Likewise.
1535 [POSIX || XPG3] (POLL_HUP): Likewise.
1536 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1537 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1538 (SIG*): Do not allow.
1539 [XPG3] (si_*): Likewise.
1540 [XPG3] (SI_*): Likewise.
1541 [XPG3 || XPG4] (sigev_*): Likewise.
1542 [XPG3 || XPG4] (SIGEV_*): Likewise.
1543 [XPG3 || XPG4] (sival_*): Likewise.
1544 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1545 [POSIX || XPG3] (BUS_*): Likewise.
1546 [POSIX || XPG3] (CLD_*): Likewise.
1547 [POSIX || XPG3] (FPE_*): Likewise.
1548 [POSIX || XPG3] (ILL_*): Likewise.
1549 [POSIX || XPG3] (POLL_*): Likewise.
1550 [POSIX || XPG3] (SEGV_*): Likewise.
1551 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1552 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1553 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1554 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1555 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1556 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1557 Specify type and value.
1558 (TVERSLEN): Likewise.
1559 (REGTYPE): Likewise.
1560 (AREGTYPE): Likewise.
1561 (LNKTYPE): Likewise.
1562 (SYMTYPE): Likewise.
1563 (CHRTYPE): Likewise.
1564 (BLKTYPE): Likewise.
1565 (DIRTYPE): Likewise.
1566 (FIFOTYPE): Likewise.
1567 (CONTTYPE): Likewise.
1568 (TSUID): Likewise.
1569 (TSGID): Likewise.
1570 (TSVTX): Likewise.
1571 (TUREAD): Likewise.
1572 (TUWRITE): Likewise.
1573 (TUEXEC): Likewise.
1574 (TGREAD): Likewise.
1575 (TGWRITE): Likewise.
1576 (TGEXEC): Likewise.
1577 (TOREAD): Likewise.
1578 (TOWRITE): Likewise.
1579 (TOEXEC): Likewise.
1580 [POSIX] (TSVTX): Expect constant.
1581
aa97dee1
JM
15822014-03-06 Joseph Myers <joseph@codesourcery.com>
1583
f214606a
JM
1584 * Makefile (tests): Change dependencies to ....
1585 (tests-special): ... additions to this variable.
1586 (tests): Depend on $(tests-special).
1587 * Makerules (check-abi-list): New variable.
1588 (check-abi): Depend on $(check-abi-list).
1589 [$(subdir) = elf] (tests-special): Add
1590 $(objpfx)check-abi-libc.out.
1591 [$(build-shared) = yes && subdir] (tests-special): Add
1592 $(check-abi-list).
1593 [$(build-shared) = yes && subdir] (tests): Do not depend on
1594 check-abi.
1595 * Rules (tests): Depend on $(tests-special).
1596 (xtests): Depend on $(xtests-special).
1597 * catgets/Makefile (tests): Change dependencies to ....
1598 (tests-special): ... additions to this variable.
1599 * conform/Makefile (tests): Change dependencies to ....
1600 (tests-special): ... additions to this variable.
1601 * elf/Makefile (tests): Change dependencies to ....
1602 (tests-special): ... additions to this variable.
1603 * grp/Makefile (tests): Change dependencies to ....
1604 (tests-special): ... additions to this variable.
1605 * iconv/Makefile (xtests): Change dependencies to ....
1606 (xtests-special): ... additions to this variable.
1607 * iconvdata/Makefile (tests): Change dependencies to ....
1608 (tests-special): ... additions to this variable.
1609 * intl/Makefile (tests): Change dependencies to ....
1610 (tests-special): ... additions to this variable. Also add
1611 $(objpfx)tst-gettext.out.
1612 * io/Makefile (tests): Change dependencies to ....
1613 (tests-special): ... additions to this variable.
1614 * libio/Makefile (tests): Change dependencies to ....
1615 (tests-special): ... additions to this variable.
1616 * malloc/Makefile (tests): Change dependencies to ....
1617 (tests-special): ... additions to this variable.
1618 * misc/Makefile (tests): Change dependencies to ....
1619 (tests-special): ... additions to this variable.
1620 * nptl/Makefile (tests): Change dependencies to ....
1621 (tests-special): ... additions to this variable.
1622 * nptl_db/Makefile (tests): Change dependencies to ....
1623 (tests-special): ... additions to this variable.
1624 * posix/Makefile (tests): Change dependencies to ....
1625 (tests-special): ... additions to this variable.
1626 (xtests): Change dependencies to ....
1627 (xtests-special): ... additions to this variable.
1628 * resolv/Makefile (tests): Change dependencies to ....
1629 (tests-special): ... additions to this variable.
1630 (xtests): Change dependencies to ....
1631 (xtests-special): ... additions to this variable.
1632 * stdio-common/Makefile (tests): Change dependencies to ....
1633 (tests-special): ... additions to this variable.
1634 (do-tst-unbputc): Remove target.
1635 (do-tst-printf): Likewise.
1636 * stdlib/Makefile (tests): Change dependencies to ....
1637 (tests-special): ... additions to this variable.
1638 * string/Makefile (tests): Change dependencies to ....
1639 (tests-special): ... additions to this variable.
1640 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1641 (tests-special): ... additions to this variable.
1642
81700b53
JM
1643 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1644 whole file.
1645 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1646 whole file.
1647 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1648 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1649
2ea18461
JM
1650 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1651 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1652 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1653 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1654 * conform/data/libgen.h-data [XPG3]: Likewise.
1655 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1656 * conform/data/ndbm.h-data [XPG3]: Likewise.
1657 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1658 * conform/data/netdb.h-data [XPG3]: Likewise.
1659 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1660 * conform/data/poll.h-data [XPG3]: Likewise.
1661 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1662 * conform/data/strings.h-data [XPG3]: Likewise.
1663 * conform/data/stropts.h-data [XPG3]: Likewise.
1664 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1665 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1666 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1667 Likewise.
1668 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1669 * conform/data/sys/time.h-data [XPG3]: Likewise.
1670 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1671 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1672 * conform/data/sys/un.h-data [XPG3]: Likewise.
1673 * conform/data/syslog.h-data [XPG3]: Likewise.
1674 * conform/data/ucontext.h-data [XPG3]: Likewise.
1675 * conform/data/utmpx.h-data [XPG3]: Likewise.
1676 * conform/data/varargs.h-data [UNIX98]: Enable file.
1677
355bc986
JM
1678 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1679
215db402
JM
1680 * math/libm-test.inc (struct test_f_f_data): Move expected results
1681 into structure for each rounding mode.
1682 (struct test_ff_f_data): Likewise.
1683 (struct test_ff_f_data_nexttoward): Likewise.
1684 (struct test_fi_f_data): Likewise.
1685 (struct test_fl_f_data): Likewise.
1686 (struct test_if_f_data): Likewise.
1687 (struct test_fff_f_data): Likewise.
1688 (struct test_c_f_data): Likewise.
1689 (struct test_f_f1_data): Likewise.
1690 (struct test_fF_f1_data): Likewise.
1691 (struct test_ffI_f1_data): Likewise.
1692 (struct test_c_c_data): Likewise.
1693 (struct test_cc_c_data): Likewise.
1694 (struct test_f_i_data): Likewise.
1695 (struct test_ff_i_data): Likewise.
1696 (struct test_f_l_data): Likewise.
1697 (struct test_f_L_data): Likewise.
1698 (struct test_fFF_11_data): Likewise.
1699 (RM_): New macro.
1700 (RM_FE_DOWNWARD): Likewise.
1701 (RM_FE_TONEAREST): Likewise.
1702 (RM_FE_TOWARDZERO): Likewise.
1703 (RM_FE_UPWARD): Likewise.
1704 (RUN_TEST_LOOP_f_f): Update references to expected results.
1705 (RUN_TEST_LOOP_2_f): Likewise.
1706 (RUN_TEST_LOOP_fff_f): Likewise.
1707 (RUN_TEST_LOOP_c_f): Likewise.
1708 (RUN_TEST_LOOP_f_f1): Likewise.
1709 (RUN_TEST_LOOP_fF_f1): Likewise.
1710 (RUN_TEST_LOOP_fI_f1): Likewise.
1711 (RUN_TEST_LOOP_ffI_f1): Likewise.
1712 (RUN_TEST_LOOP_c_c): Likewise.
1713 (RUN_TEST_LOOP_cc_c): Likewise.
1714 (RUN_TEST_LOOP_f_i): Likewise.
1715 (RUN_TEST_LOOP_f_i_tg): Likewise.
1716 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1717 (RUN_TEST_LOOP_f_b): Likewise.
1718 (RUN_TEST_LOOP_f_b_tg): Likewise.
1719 (RUN_TEST_LOOP_f_l): Likewise.
1720 (RUN_TEST_LOOP_f_L): Likewise.
1721 (RUN_TEST_LOOP_fFF_11): Likewise.
1722 * math/gen-libm-test.pl (parse_args): Output four copies of
1723 expected results for each test.
1724
67737b8f
JM
1725 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1726 (__ASSUME_UTIMES): Remove.
1727 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1728 (__ASSUME_UTIMES): Likewise.
1729
aa97dee1
JM
1730 * math/gen-auto-libm-tests.c: Update comment on output format.
1731 (output_for_one_input_case): Generate before-rounding and
1732 after-rounding information as conditions on output flags not
1733 floating-point format.
1734 * math/auto-libm-test-out: Regenerated.
1735 * math/gen-libm-test.pl (cond_value): New function.
1736 (or_cond_value): Use cond_value.
1737 (generate_testfile): Handle conditional exceptions.
1738
e6b6a857
JM
17392014-03-05 Joseph Myers <joseph@codesourcery.com>
1740
2f0a0f44
JM
1741 * math/libm-test.inc (max_valid_error): New variable.
1742 (init_max_error): Take new argument specifying whether function
1743 results are exactly determined. Set max_valid_error and bound
1744 other variables for errors based on this argument.
1745 (set_max_error): Do not record results above max_valid_error.
1746 (check_float_internal): Only accept errors of up to 0.5ulps if
1747 also at most max_valid_error.
1748 (START): Take new argument EXACT and pass it to init_max_error.
1749 (acos_test): Update call to START.
1750 (acos_test_tonearest): Likewise.
1751 (acos_test_towardzero): Likewise.
1752 (acos_test_downward): Likewise.
1753 (acos_test_upward): Likewise.
1754 (acosh_test): Likewise.
1755 (asin_test): Likewise.
1756 (asin_test_tonearest): Likewise.
1757 (asin_test_towardzero): Likewise.
1758 (asin_test_downward): Likewise.
1759 (asin_test_upward): Likewise.
1760 (asinh_test): Likewise.
1761 (atan_test): Likewise.
1762 (atanh_test): Likewise.
1763 (atan2_test): Likewise.
1764 (cabs_test): Likewise.
1765 (cacos_test): Likewise.
1766 (cacosh_test): Likewise.
1767 (carg_test): Likewise.
1768 (casin_test): Likewise.
1769 (casinh_test): Likewise.
1770 (catan_test): Likewise.
1771 (catanh_test): Likewise.
1772 (cbrt_test): Likewise.
1773 (ccos_test): Likewise.
1774 (ccosh_test): Likewise.
1775 (ceil_test): Likewise.
1776 (cexp_test): Likewise.
1777 (cimag_test): Likewise.
1778 (clog_test): Likewise.
1779 (clog10_test): Likewise.
1780 (conj_test): Likewise.
1781 (copysign_test): Likewise.
1782 (cos_test): Likewise.
1783 (cos_test_tonearest): Likewise.
1784 (cos_test_towardzero): Likewise.
1785 (cos_test_downward): Likewise.
1786 (cos_test_upward): Likewise.
1787 (cosh_test): Likewise.
1788 (cosh_test_tonearest): Likewise.
1789 (cosh_test_towardzero): Likewise.
1790 (cosh_test_downward): Likewise.
1791 (cosh_test_upward): Likewise.
1792 (cpow_test): Likewise.
1793 (cproj_test): Likewise.
1794 (creal_test): Likewise.
1795 (csin_test): Likewise.
1796 (csinh_test): Likewise.
1797 (csqrt_test): Likewise.
1798 (ctan_test): Likewise.
1799 (ctan_test_tonearest): Likewise.
1800 (ctan_test_towardzero): Likewise.
1801 (ctan_test_downward): Likewise.
1802 (ctan_test_upward): Likewise.
1803 (ctanh_test): Likewise.
1804 (ctanh_test_tonearest): Likewise.
1805 (ctanh_test_towardzero): Likewise.
1806 (ctanh_test_downward): Likewise.
1807 (ctanh_test_upward): Likewise.
1808 (erf_test): Likewise.
1809 (erfc_test): Likewise.
1810 (exp_test): Likewise.
1811 (exp_test_tonearest): Likewise.
1812 (exp_test_towardzero): Likewise.
1813 (exp_test_downward): Likewise.
1814 (exp_test_upward): Likewise.
1815 (exp10_test): Likewise.
1816 (exp10_test_tonearest): Likewise.
1817 (exp10_test_towardzero): Likewise.
1818 (exp10_test_downward): Likewise.
1819 (exp10_test_upward): Likewise.
1820 (pow10_test): Likewise.
1821 (exp2_test): Likewise.
1822 (expm1_test): Likewise.
1823 (expm1_test_tonearest): Likewise.
1824 (expm1_test_towardzero): Likewise.
1825 (expm1_test_downward): Likewise.
1826 (expm1_test_upward): Likewise.
1827 (fabs_test): Likewise.
1828 (fdim_test): Likewise.
1829 (floor_test): Likewise.
1830 (fma_test): Likewise.
1831 (fma_test_towardzero): Likewise.
1832 (fma_test_downward): Likewise.
1833 (fma_test_upward): Likewise.
1834 (fmax_test): Likewise.
1835 (fmin_test): Likewise.
1836 (fmod_test): Likewise.
1837 (fpclassify_test): Likewise.
1838 (frexp_test): Likewise.
1839 (hypot_test): Likewise.
1840 (ilogb_test): Likewise.
1841 (isfinite_test): Likewise.
1842 (finite_test): Likewise.
1843 (isgreater_test): Likewise.
1844 (isgreaterequal_test): Likewise.
1845 (isinf_test): Likewise.
1846 (isless_test): Likewise.
1847 (islessequal_test): Likewise.
1848 (islessgreater_test): Likewise.
1849 (isnan_test): Likewise.
1850 (isnormal_test): Likewise.
1851 (issignaling_test): Likewise.
1852 (isunordered_test): Likewise.
1853 (j0_test): Likewise.
1854 (j1_test): Likewise.
1855 (jn_test): Likewise.
1856 (ldexp_test): Likewise.
1857 (lgamma_test): Likewise.
1858 (gamma_test): Likewise.
1859 (lrint_test): Likewise.
1860 (lrint_test_tonearest): Likewise.
1861 (lrint_test_towardzero): Likewise.
1862 (lrint_test_downward): Likewise.
1863 (lrint_test_upward): Likewise.
1864 (llrint_test): Likewise.
1865 (llrint_test_tonearest): Likewise.
1866 (llrint_test_towardzero): Likewise.
1867 (llrint_test_downward): Likewise.
1868 (llrint_test_upward): Likewise.
1869 (log_test): Likewise.
1870 (log10_test): Likewise.
1871 (log1p_test): Likewise.
1872 (log2_test): Likewise.
1873 (logb_test): Likewise.
1874 (logb_test_downward): Likewise.
1875 (lround_test): Likewise.
1876 (llround_test): Likewise.
1877 (modf_test): Likewise.
1878 (nearbyint_test): Likewise.
1879 (nextafter_test): Likewise.
1880 (nexttoward_test): Likewise.
1881 (pow_test): Likewise.
1882 (pow_test_tonearest): Likewise.
1883 (pow_test_towardzero): Likewise.
1884 (pow_test_downward): Likewise.
1885 (pow_test_upward): Likewise.
1886 (remainder_test): Likewise.
1887 (drem_test): Likewise.
1888 (remainder_test_tonearest): Likewise.
1889 (drem_test_tonearest): Likewise.
1890 (remainder_test_towardzero): Likewise.
1891 (drem_test_towardzero): Likewise.
1892 (remainder_test_downward): Likewise.
1893 (drem_test_downward): Likewise.
1894 (remainder_test_upward): Likewise.
1895 (drem_test_upward): Likewise.
1896 (remquo_test): Likewise.
1897 (rint_test): Likewise.
1898 (rint_test_tonearest): Likewise.
1899 (rint_test_towardzero): Likewise.
1900 (rint_test_downward): Likewise.
1901 (rint_test_upward): Likewise.
1902 (round_test): Likewise.
1903 (scalb_test): Likewise.
1904 (scalbn_test): Likewise.
1905 (scalbln_test): Likewise.
1906 (signbit_test): Likewise.
1907 (sin_test): Likewise.
1908 (sin_test_tonearest): Likewise.
1909 (sin_test_towardzero): Likewise.
1910 (sin_test_downward): Likewise.
1911 (sin_test_upward): Likewise.
1912 (sincos_test): Likewise.
1913 (sinh_test): Likewise.
1914 (sinh_test_tonearest): Likewise.
1915 (sinh_test_towardzero): Likewise.
1916 (sinh_test_downward): Likewise.
1917 (sinh_test_upward): Likewise.
1918 (sqrt_test): Likewise.
1919 (sqrt_test_tonearest): Likewise.
1920 (sqrt_test_towardzero): Likewise.
1921 (sqrt_test_downward): Likewise.
1922 (sqrt_test_upward): Likewise.
1923 (tan_test): Likewise.
1924 (tan_test_tonearest): Likewise.
1925 (tan_test_towardzero): Likewise.
1926 (tan_test_downward): Likewise.
1927 (tan_test_upward): Likewise.
1928 (tanh_test): Likewise.
1929 (tgamma_test): Likewise.
1930 (trunc_test): Likewise.
1931 (y0_test): Likewise.
1932 (y1_test): Likewise.
1933 (yn_test): Likewise.
1934 (significand_test): Likewise.
1935
e6b6a857
JM
1936 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1937 individual tests in comment.
1938 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1939 (prev_max_error): New variable.
1940 (prev_real_max_error): Likewise.
1941 (prev_imag_max_error): Likewise.
1942 (compare_ulp_data): Don't refer to test names in comment.
1943 (find_test_ulps): Remove function.
1944 (find_function_ulps): Likewise.
1945 (find_complex_function_ulps): Likewise.
1946 (init_max_error): Take function name as argument. Look up ulps
1947 for that function.
1948 (print_ulps): Remove function.
1949 (print_max_error): Use prev_max_error instead of calling
1950 find_function_ulps.
1951 (print_complex_max_error): Use prev_real_max_error and
1952 prev_imag_max_error instead of calling find_complex_function_ulps.
1953 (check_float_internal): Take max_ulp parameter instead of calling
1954 find_test_ulps. Don't call print_ulps.
1955 (check_float): Update call to check_float_internal.
1956 (check_complex): Update calls to check_float_internal.
1957 (START): Pass argument to init_max_error.
1958 * math/gen-libm-test.pl (%results): Don't include "kind"
1959 information.
1960 (parse_ulps): Don't handle ulps of individual tests.
1961 (print_ulps_file): Likewise.
1962 (output_ulps): Likewise.
1963 * math/README.libm-test: Update.
1964 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1965 individual tests.
1966 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1967 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1968 * sysdeps/arm/libm-test-ulps: Likewise.
1969 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1970 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1971 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1972 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1973 * sysdeps/microblaze/libm-test-ulps: Likewise.
1974 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1975 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1976 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1977 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1978 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1979 * sysdeps/sh/libm-test-ulps: Likewise.
1980 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1981 * sysdeps/tile/libm-test-ulps: Likewise.
1982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1983
45adef3c
JM
19842014-03-04 Joseph Myers <joseph@codesourcery.com>
1985
1986 * math/libm-test.inc (print_complex_max_error): Check separately
1987 whether real and imaginary errors are within allowed range and
1988 pass 0 to print_complex_function_ulps instead of value within
1989 allowed range.
1990
000232b9
SP
19912014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1992
d4b17258
SP
1993 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1994 formatting.
1995 (get_handles_fopen): Likewise.
1996 (do_write_test): Likewise.
1997
091eff71
SP
1998 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1999
fa3cd248
SP
2000 * libio/fileops.c (do_ftell): Use cached offset when
2001 available.
2002 * libio/iofwide.c (do_ftell_wide): Likewise.
2003 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2004 _IO_file_attach.
2005 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2006
000232b9
SP
2007 [BZ #16532]
2008 * libio/libioP.h (get_file_offset): New function.
2009 * libio/fileops.c (get_file_offset): Likewise.
2010 (do_ftell): Likewise.
2011 (_IO_new_file_seekoff): Split out ftell logic.
2012 * libio/wfileops.c (do_ftell_wide): Likewise.
2013 (_IO_wfile_seekoff): Split out ftell logic.
2014 * libio/tst-ftell-active-handler.c: New test case.
2015 * libio/Makefile (tests): Add it.
2016
116f4d1a
RM
20172014-03-03 Roland McGrath <roland@hack.frob.com>
2018
2019 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2020 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2021
532a6035
SP
20222014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2023
2024 [BZ #16639]
2025 * nscd/connections.c (nscd_init): Call do_exit.
2026 (start_threads): Call do_exit and notify_parent.
2027 (begin_drop_privileges): Call do_exit.
2028 (finish_drop_privileges): Likewise.
2029 * nscd/selinux.c (preserve_capabilities): Likewise.
2030 (install_real_capabilities): Likewise.
2031 (nscd_selinux_enabled): Likewise.
2032 (avc_create_thread): Likewise.
2033 (avc_alloc_lock): Likewise.
2034 (nscd_avc_init): Likewise.
2035 * nscd/nscd.c (parent_fd): New static variable.
2036 (main): Create a pipe between parent and child processes.
2037 Skip closing parent_fd.
2038 (monitor_child): New function.
2039 (do_exit): Likewise.
2040 (notify_parent): Likewise.
2041 * nscd/nscd.h (notify_parent): Likewise.
2042 (do_exit): Likewise.
2043
d6285c9f
CD
20442014-03-03 Carlos O'Donell <carlos@redhat.com>
2045
2046 * malloc/malloc.c (__libc_calloc): Revert last change.
2047
2b85d2a0
AZ
20482014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2049
2050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2051
c7debbdf
RS
20522014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2053
2054 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2056 implementation.
2057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2058 (__libc_ifunc_impl_list): Likewise.
2059 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2060 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2061 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2062 * string/strrchr.c: Define STRRCHR.
2063
235eed86
OB
20642014-02-28 Ondřej Bílka <neleai@seznam.cz>
2065
2066 * benchtest/bench-strtok.c (simple_strtok): Delete.
2067 (strtok_string): Use as benchmark.
2068 * string/strtok (STRTOK): New macro.
2069
8e25d1e7
CD
20702014-02-28 Carlos O'Donell <carlos@redhat.com>
2071
ef563f92
CD
2072 * manual/threads.texi: Add header and standard comments to all
2073 functions.
2074
8e25d1e7
CD
2075 * elf/dl-lookup.c (check_match): New function.
2076 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2077 (do_lookup_x): Remove nested function check_match. Use non-nested
2078 function check_match.
2079
ff71cc37
RM
20802014-02-28 Roland McGrath <roland@hack.frob.com>
2081
f08e9a26
RM
2082 * csu/Makefile (generated, before-compile): Use += rather than =.
2083 * catgets/Makefile (generated, generated-dirs): Likewise.
2084 * debug/Makefile (generated): Likewise.
2085 * dlfcn/Makefile (generated): Likewise.
2086 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2087 * iconvdata/Makefile (before-compile, generated): Likewise.
2088 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2089 * libio/Makefile (generated): Likewise.
2090 * malloc/Makefile (generated): Likewise.
2091 * manual/Makefile (generated, generated-dirs): Likewise.
2092 * misc/Makefile (generated): Likewise.
2093 * posix/Makefile (generated): Likewise.
2094 * resolv/Makefile (generated): Likewise.
2095 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2096 * timezone/Makefile (generated, generated-dirs): Likewise.
2097
ff71cc37
RM
2098 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2099
fe13a20c
AZ
21002014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101
2102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2103 implementation.
2104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2105 POWER8 llround ifunc implementation.
2106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2107 POWER8 implementation.
2108 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2109 POWER8 llround implementation.
2110
1ad8950a
AZ
21112014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2112
2113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2114 implementation.
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2116 POWER8 llrint ifunc implementation.
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2118 POWER8 implementation.
2119 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2120 POWER8 llrint implementation.
2121
cac626d6
AZ
21222014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2123
2124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2125 implementation.
2126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2127 POWER8 finite ifunc implementation.
2128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2129 POWER8 implementation.
2130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2131 Likewise.
2132 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2133 POWER8 finite implementation.
2134 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2135
4393fc11
AZ
21362014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2137
2138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2139 implementation.
2140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2141 POWER8 isinf ifunc implementation.
2142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2143 POWER8 implementation.
2144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2145 Likewise.
2146 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2147 POWER8 isinf implementation.
2148 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2149
487972ae
AZ
21502014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2151
2152 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2153 Add hwcap2 initialization.
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2155 implementation.
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2157 POWER8 isnan ifunc implementation.
2158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2159 POWER8 implementation.
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2161 Likewise.
2162 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2163 POWER8 isnan implementation.
2164 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2165
7d92b787
JY
21662014-02-27 Joey Ye <joey.ye@arm.com>
2167
2168 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2169 (_FP_NANFRAC_Q): Set to zero.
2170
1cadc858
SP
21712014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2172
2173 [BZ #16623]
2174 * math/auto-libm-test-in: New test inputs.
2175 * math/auto-libm-test-out: Regenerate.
2176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2177 and DA.
2178 (__cos): Likewise.
2179 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2180
f8c17e79
JM
21812014-02-27 Joseph Myers <joseph@codesourcery.com>
2182
2183 * scripts/evaluate-test.sh: Take new argument indicating whether
2184 failure is expected.
2185 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2186 indicating whether failure is expected.
2187 * conform/Makefile (test-xfail-run-conformtest): New variable.
2188 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2189 level.
2190 * posix/Makefile (test-xfail-annexc): New variable.
2191 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2192
a5f891ac
JM
21932014-02-26 Joseph Myers <joseph@codesourcery.com>
2194
2195 * argp/Makefile: Include Makeconfig immediately after defining
2196 subdir.
2197 * assert/Makefile: Likewise.
2198 * benchtests/Makefile: Likewise.
2199 * catgets/Makefile: Likewise.
2200 * conform/Makefile: Likewise.
2201 * crypt/Makefile: Likewise.
2202 * csu/Makefile: Likewise.
2203 (all): Remove target.
2204 * ctype/Makefile: Include Makeconfig immediately after defining
2205 subdir.
2206 * debug/Makefile: Likewise.
2207 * dirent/Makefile: Likewise.
2208 * dlfcn/Makefile: Likewise.
2209 * gmon/Makefile: Likewise.
2210 * gnulib/Makefile: Likewise.
2211 * grp/Makefile: Likewise.
2212 * gshadow/Makefile: Likewise.
2213 * hesiod/Makefile: Likewise.
2214 * hurd/Makefile: Likewise.
2215 (all): Remove target.
2216 * iconvdata/Makefile: Include Makeconfig immediately after
2217 defining subdir.
2218 * inet/Makefile: Likewise.
2219 * intl/Makefile: Likewise.
2220 * io/Makefile: Likewise.
2221 * libio/Makefile: Likewise.
2222 (all): Remove target.
2223 * locale/Makefile: Include Makeconfig immediately after defining
2224 subdir.
2225 * login/Makefile: Likewise.
2226 * mach/Makefile: Likewise.
2227 (all): Remove target.
2228 * malloc/Makefile: Include Makeconfig immediately after defining
2229 subdir.
2230 (all): Remove target.
2231 * manual/Makefile: Include Makeconfig immediately after defining
2232 subdir.
2233 * math/Makefile: Likewise.
2234 * misc/Makefile: Likewise.
2235 * nis/Makefile: Likewise.
2236 * nss/Makefile: Likewise.
2237 * po/Makefile: Likewise.
2238 (all): Remove target.
2239 * posix/Makefile: Include Makeconfig immediately after defining
2240 subdir.
2241 * pwd/Makefile: Likewise.
2242 * resolv/Makefile: Likewise.
2243 * resource/Makefile: Likewise.
2244 * rt/Makefile: Likewise.
2245 * setjmp/Makefile: Likewise.
2246 * shadow/Makefile: Likewise.
2247 * signal/Makefile: Likewise.
2248 * socket/Makefile: Likewise.
2249 * soft-fp/Makefile: Likewise.
2250 * stdio-common/Makefile: Likewise.
2251 * stdlib/Makefile: Likewise.
2252 * streams/Makefile: Likewise.
2253 * string/Makefile: Likewise.
2254 * sunrpc/Makefile: Likewise.
2255 (all): Remove target.
2256 * sysvipc/Makefile: Include Makeconfig immediately after defining
2257 subdir.
2258 * termios/Makefile: Likewise.
2259 * time/Makefile: Likewise.
2260 * timezone/Makefile: Likewise.
2261 (all): Remove target.
2262 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2263 subdir.
2264 * wctype/Makefile: Likewise.
2265
5b456e9d
SE
22662014-02-26 Steve Ellcey <sellcey@mips.com>
2267
2268 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2269 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2270 (libc_feholdexcept_setround_mips): Ditto.
2271 (libc_feholdsetround): New.
2272 (libc_feholdsetroundf): New.
2273 (libc_feholdsetroundl): New.
2274 (libc_feupdateenv_test_mips): New.
2275 (libc_feupdateenv_test): New.
2276 (libc_feupdateenv_testf): New.
2277 (libc_feupdateenv_testl): New.
2278 (libc_feresetround): New.
2279 (libc_feresetroundf): New.
2280 (libc_feresetroundl): New.
2281 (libc_fetestexcept_mips): New.
2282 (libc_fetestexcept): New.
2283 (libc_fetestexceptf): New.
2284 (libc_fetestexceptl): New.
2285 (HAVE_RM_CTX): New.
2286 (libc_feholdexcept_setround_mips_ctx): New.
2287 (libc_feholdexcept_setround_ctx): New.
2288 (libc_feholdexcept_setroundf_ctx): New.
2289 (libc_feholdexcept_setroundl_ctx): New.
2290 (libc_fesetenv_mips_ctx): New.
2291 (libc_fesetenv_ctx): New.
2292 (libc_fesetenv_ctxf): New.
2293 (libc_fesetenv_ctxl): New.
2294 (libc_feupdateenv_mips_ctx): New.
2295 (libc_feupdateenv_ctx): New.
2296 (libc_feupdateenvf_ctx): New.
2297 (libc_feupdateenvl_ctx): New.
2298 (libc_feholdsetround_mips_ctx): New.
2299 (libc_feholdsetround_ctx): New.
2300 (libc_feholdsetroundf_ctx): New.
2301 (libc_feholdsetroundl_ctx): New.
2302 (libc_feresetround_mips_ctx): New.
2303 (libc_feresetround_ctx): New.
2304 (libc_feresetroundf_ctx): New.
2305 (libc_feresetroundl_ctx): New.
2306
085d0e35
CD
23072014-02-26 Carlos O'Donell <carlos@redhat.com>
2308
f067bf1f
CD
2309 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2310
085d0e35
CD
2311 * manual/ipc.texi: New file.
2312 * manual/Makefile (chapters): Add ipc.
2313 * manual/job.texi: Add "Inter-Process Communication" to next.
2314 * manual/process.texi: Add "Inter-Process Communication" to prev.
2315
86e58c08
AZ
23162014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317
2318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2319
4248f0da
OB
23202014-02-26 Ondřej Bílka <neleai@seznam.cz>
2321
2322 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2323
cf822e3c
OB
2324 * manual/arith.texi: Fix spaces after sentences.
2325 * manual/charset.texi: Likewise.
2326 * manual/errno.texi: Likewise.
2327 * manual/install.texi: Likewise.
2328 * manual/llio.texi: Likewise.
2329 * manual/locale.texi: Likewise.
2330 * manual/maint.texi: Likewise.
2331 * manual/math.texi: Likewise.
2332 * manual/memory.texi: Likewise.
2333 * manual/message.texi: Likewise.
2334 * manual/probes.texi: Likewise.
2335 * manual/resource.texi: Likewise.
2336 * manual/signal.texi: Likewise.
2337 * manual/socket.texi: Likewise.
2338 * manual/stdio.texi: Likewise.
2339 * manual/string.texi: Likewise.
2340 * manual/time.texi: Likewise.
2341 * manual/users.texi: Likewise.
2342
ade40b10
CD
23432014-02-25 Carlos O'Donell <carlos@redhat.com>
2344
2345 [BZ #16632]
2346 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2347 _DEFAULT_SOURCE is defined.
2348
d0503676
CD
23492014-02-25 Ulrich Drepper <drepper@gmail.com>
2350 Carlos O'Donell <carlos@redhat.com>
2351
2352 [BZ #16613]
2353 * elf/dl-tls.c (_dl_count_modids): New function.
2354 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2355 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2356 audit library and increment generation counter.
2357 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2358 * elf/tst-audit9.c: New file.
2359 * elf/tst-auditmod9a.c: New file.
2360 * elf/tst-auditmod9b.c: New file.
2361 * elf/Makefile: Add rules to build and run tst-audit9.
2362
4cbf380c
FW
23632014-02-25 Florian Weimer <fweimer@redhat.com>
2364
2365 [BZ #15347]
2366 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2367
80a56cc3
WN
23682014-02-25 Will Newton <will.newton@linaro.org>
2369
2370 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2371 (__longjmp): Restore sp and lr before restoring callee
2372 saved registers. Add longjmp and longjmp_target
2373 SystemTap probe point.
2374 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2375 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2376 Define to zero to match jmpbuf layout.
2377 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2378 (__sigsetjmp): Save sp and lr before saving callee
2379 saved registers. Add setjmp SystemTap probe point.
2380
3ea0f74e
SL
23812014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2382
2383 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2384
b04acb26
AS
23852014-02-24 Andreas Schwab <schwab@suse.de>
2386
2387 [BZ #15804]
2388 * elf/pldd.c (wait_for_ptrace_stop): New function.
2389 (main): Call it after attaching.
2390
098ad55c
RM
23912014-02-22 Roland McGrath <roland@hack.frob.com>
2392
d4ec6ae1
RM
2393 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2394 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2395 Versions files is now verboten.
2396 * hurd/Versions (libc: GLIBC_2.0):
2397 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2398 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2399 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2400 * mach/Versions: Likewise.
2401
098ad55c
RM
2402 * csu/Versions: Remove unused %include.
2403 * resolv/Versions: Likewise.
2404
acd7f096
JM
24052014-02-21 Joseph Myers <joseph@codesourcery.com>
2406
f0881698
JM
2407 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2408 ($(objpfx)check-local-headers.out): Likewise.
2409 ($(objpfx)begin-end-check.out): Likewise.
2410 * Makerules (check-abi-%.out): Likewise.
2411 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2412 ($(objpfx)test2.cat): Likewise.
2413 ($(objpfx)de/libc.cat): Likewise.
2414 ($(objpfx)test-gencat.out): Likewise.
2415 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2416 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2417 ($(objpfx)noload-mem): Likewise.
2418 ($(objpfx)tst-pathopt.out): Likewise.
2419 ($(objpfx)tst-rtld-load-self.out): Likewise.
2420 ($(objpfx)tst-array1-cmp.out): Likewise.
2421 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2422 ($(objpfx)tst-array2-cmp.out): Likewise.
2423 ($(objpfx)tst-array3-cmp.out): Likewise.
2424 ($(objpfx)tst-array4-cmp.out): Likewise.
2425 ($(objpfx)tst-array5-cmp.out): Likewise.
2426 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2427 ($(objpfx)check-textrel.out): Likewise.
2428 ($(objpfx)check-execstack.out): Likewise.
2429 ($(objpfx)check-localplt.out): Likewise.
2430 ($(objpfx)order2-cmp.out): Likewise.
2431 ($(objpfx)tst-leaks1-mem): Likewise.
2432 ($(objpfx)tst-leaks1-static-mem): Likewise.
2433 ($(objpfx)tst-initorder-cmp.out): Likewise.
2434 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2435 ($(objpfx)tst-unused-dep.out): Likewise.
2436 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2437 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2438 * iconv/Makefile (test-iconvconfig): Likewise.
2439 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2440 ($(objpfx)iconv-test.out): Likewise.
2441 ($(objpfx)tst-tables.out): Likewise.
2442 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2443 ($(objpfx)tst-gettext.out): Likewise.
2444 ($(objpfx)tst-translit.out): Likewise.
2445 ($(objpfx)tst-gettext2.out): Likewise.
2446 ($(objpfx)tst-gettext4.out): Likewise.
2447 ($(objpfx)tst-gettext6.out): Likewise.
2448 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2449 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2450 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2451 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2452 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2453 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2454 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2455 ($(objpfx)wordexp-tst.out): Likewise.
2456 ($(objpfx)annexc.out): Likewise.
2457 ($(objpfx)tst-fnmatch-mem): Likewise.
2458 ($(objpfx)bug-regex2-mem): Likewise.
2459 ($(objpfx)bug-regex14-mem): Likewise.
2460 ($(objpfx)bug-regex21-mem): Likewise.
2461 ($(objpfx)bug-regex31-mem): Likewise.
2462 ($(objpfx)tst-vfork3-mem): Likewise.
2463 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2464 ($(objpfx)tst-pcre-mem): Likewise.
2465 ($(objpfx)tst-boost-mem): Likewise.
2466 ($(objpfx)tst-getconf.out): Likewise.
2467 ($(objpfx)bug-ga2-mem): Likewise.
2468 ($(objpfx)bug-glob2-mem): Likewise.
2469 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2470 ($(objpfx)mtrace-tst-leaks2): Likewise.
2471 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2472 ($(objpfx)tst-printf.out): Likewise.
2473 ($(objpfx)tst-setvbuf1.out): Likewise.
2474 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2475 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2476 ($(objpfx)tst-fmtmsg.out): Likewise.
2477 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2478 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2479
acd7f096
JM
2480 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2481 * bits/sigaction.h [__USE_MISC]: Likewise.
2482 * bits/waitstatus.h: Update #endif comments.
2483 * ctype/ctype.h: Likewise.
2484 * dirent/dirent.h: Likewise.
2485 [__USE_MISC]: Remove redundant conditionals.
2486 * grp/grp.h: Update #endif comments.
2487 [__USE_GNU]: Remove redundant conditionals.
2488 [__USE_MISC]: Likewise.
2489 * inet/netinet/in.h [__USE_GNU]: Likewise.
2490 * io/sys/stat.h [__USE_MISC]: Likewise.
2491 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2492 * libio/bits/stdio.h: Update #endif comments.
2493 [__USE_MISC]: Remove redundant conditionals.
2494 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2495 * libio/stdio.h: Update #endif comments.
2496 [__USE_MISC]: Remove redundant conditionals.
2497 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2498 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2499 * math/math.h: Update #else and #endif comments.
2500 [__USE_MISC]: Remove redundant conditionals.
2501 * misc/sys/uio.h: Update #endif comments.
2502 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2503 * posix/glob.h [__USE_MISC]: Likewise.
2504 * posix/sys/types.h: Update #endif comments.
2505 [__USE_MISC]: Remove redundant conditionals.
2506 * posix/sys/wait.h: Update #endif comments.
2507 [__USE_MISC]: Remove redundant conditionals.
2508 * posix/unistd.h: Update #endif comments.
2509 [__USE_MISC]: Remove redundant conditionals.
2510 * pwd/pwd.h [__USE_GNU]: Likewise.
2511 [__USE_MISC]: Likewise.
2512 * resolv/netdb.h [__USE_GNU]: Likewise.
2513 * signal/signal.h: Update #endif comments.
2514 [__USE_MISC]: Remove redundant conditionals.
2515 * stdlib/stdlib.h: Update #else and #endif comments.
2516 [__USE_MISC]: Remove redundant conditionals.
2517 [__USE_GNU]: Likewise.
2518 * string/bits/string2.h [__USE_MISC]: Likewise.
2519 * string/string.h: Update #endif comments.
2520 [__USE_MISC]: Remove redundant conditionals.
2521 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2522 Likewise.
2523 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2524 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2525 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2526 Likewise.
2527 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2528 Likewise.
2529 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2530 comments.
2531 [__USE_MISC]: Remove redundant conditionals.
2532 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2533 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2534 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2535 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2536 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2537 Likewise.
2538 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2539 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2540 Likewise.
2541 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2542 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2543 Likewise.
2544 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2545 Likewise.
2546 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2547 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2548 Likewise.
2549 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2550 Likewise.
2551 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2552 * sysdeps/x86/bits/string.h: Update #endif comments.
2553 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2554 conditionals.
2555 * time/sys/time.h: Update #endif comments.
2556 * time/time.h: Likewise.
2557 [__USE_MISC]: Remove redundant conditionals.
2558
a5d82e4e
YG
25592014-02-21 Yury Gribov <y.gribov@samsung.com>
2560
2561 [BZ #16600]
2562 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2563
9a80491d
AS
25642014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2565
2566 * Versions.def (librt): Add GLIBC_2.17.
2567
105fa381
AC
25682014-02-21 Adam Conrad <adconrad@0c3.net>
2569
2570 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2571 synonym for _SYS_AUXV_H to allow direct inclusion.
2572 * sysdeps/sparc/bits/hwcap.h: Likewise.
2573 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2574 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2575 * sysdeps/sparc/sysdep.h: Likewise.
2576
b8cd1c4e
SP
25772014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2578
2579 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2580
bd939d23
RS
25812014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2582
2583 * benchtests/bench-strrchr.c: Print length instead of position.
2584
5d7b57ca
JM
25852014-02-20 Joseph Myers <joseph@codesourcery.com>
2586
bc688c10
JM
2587 [BZ #16611]
2588 * sysdeps/unix/sysv/linux/kernel-features.h
2589 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2590 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2591 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2592 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2593 Likewise.
2594 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2595 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2596 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2597 (__ASSUME_SENDMMSG): Define instead of using previous
2598 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2599 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2600 (__ASSUME_SENDMMSG_SYSCALL): Define.
2601 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2602 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2603 Likewise.
2604 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2605 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2606 Likewise.
2607 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2608 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2609 Likewise.
2610 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2611 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2612 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2613 [__ASSUME_SENDMMSG]: Change conditionals to
2614 [__ASSUME_SENDMMSG_SOCKETCALL].
2615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2616 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2617 Define.
2618 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2619 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2620 Likewise.
2621 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2622 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2623 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2624 [!__ASSUME_SENDMMSG]: Change conditional to
2625 [!__ASSUME_SENDMMSG_SOCKETCALL].
2626 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2627 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2628 Define.
2629
0e31b18c
JM
2630 [BZ #16610]
2631 * sysdeps/unix/sysv/linux/kernel-features.h
2632 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2633 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2634 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2635 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2636 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2637 [__i386__ || __sparc__]
2638 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2639 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2640 (__ASSUME_RECVMMSG): Define instead of using previous
2641 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2642 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2643 (__ASSUME_RECVMMSG_SYSCALL): Define.
2644 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2645 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2646 Likewise.
2647 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2648 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2649 Likewise.
2650 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2651 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2652 Likewise.
2653 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2654 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2655 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2656 [__ASSUME_RECVMMSG]: Change condition to
2657 [__ASSUME_RECVMMSG_SOCKETCALL].
2658 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2659 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2660 Define.
2661 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2662 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2663 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2664 Likewise.
2665 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2666 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2667 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2668 [!__ASSUME_RECVMMSG]: Change condition to
2669 [!__ASSUME_RECVMMSG_SOCKETCALL].
2670 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2671 (__ASSUME_RECVMMSG_SYSCALL): Define.
2672
dd481ccf
JM
2673 [BZ #16609]
2674 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2675 __powerpc__ || __s390__ || __sh__ || __sparc__]
2676 (__ASSUME_SOCKETCALL): Define.
2677 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2678 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2679 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2680 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2681 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2682 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2683 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2684 (__ASSUME_ACCEPT4): Define instead of using previous
2685 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2686 __powerpc__ || __sparc__ || __s390__)] condition.
2687 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2688 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2689 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2690 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2691 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2692 [!__ASSUME_ACCEPT4]: Change condition to
2693 [!__ASSUME_ACCEPT4_SOCKETCALL].
2694 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2695 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2696 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2698 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2699 __ASSUME_ACCEPT4_SYSCALL.
2700 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2701 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2702 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2703 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2704 __ASSUME_ACCEPT4_SYSCALL.
2705 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2706 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2707 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2708 [__ASSUME_ACCEPT4]: Change condition to
2709 [__ASSUME_ACCEPT4_SOCKETCALL].
2710 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2711 (__ASSUME_SOCKETCALL): Define.
2712 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2714 (__ASSUME_SOCKETCALL): Define.
2715 (__ASSUME_ACCEPT4): Remove.
2716 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2717 Define.
2718 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2719 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2720 Likewise.
2721 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2722 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2723
5d7b57ca
JM
2724 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2725 macro.
2726 (HWCAP_ARM_LPAE): Likewise.
2727 (HWCAP_ARM_EVTSTRM): Likewise.
2728 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2729 Add vpfd32, lpae and evtstrm.
2730 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2731 Increase to 22.
2732
63689d61
JM
27332014-02-19 Joseph Myers <joseph@codesourcery.com>
2734
2735 * math/auto-libm-test-in: Add tests of clog10.
2736 * math/auto-libm-test-out: Regenerated.
2737 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2738 * sysdeps/i386/fpu/libm-test-ulps: Update.
2739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2740
ab09bf61
AS
27412014-02-18 Andreas Schwab <schwab@suse.de>
2742
2743 [BZ #16574]
2744 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2745 Store non-zero if the second buffer was newly allocated.
2746 (send_dg): Likewise.
2747 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2748 to send_vc and send_dg.
2749 (res_nsend): Pass NULL for ansp2_malloced.
2750 * resolv/res_query.c (__libc_res_nquery): Add parameter
2751 answerp2_malloced and pass it down to __libc_res_nsend.
2752 (res_nquery): Pass additional NULL to __libc_res_nquery.
2753 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2754 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2755 second answer buffer if answerp2_malloced was set.
2756 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2757 (__libc_res_nquerydomain): Add parameter
2758 answerp2_malloced and pass it down to __libc_res_nquery.
2759 (res_nquerydomain): Pass additional NULL to
2760 __libc_res_nquerydomain.
2761 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2762 additional NULL to __libc_res_nsend and __libc_res_nquery.
2763 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2764 additional NULL to __libc_res_nsearch.
2765 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2766 parameter of __libc_res_nsearch to check for separately allocated
2767 second buffer.
2768 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2769 __libc_res_nquery.
2770 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2771 additional NULL to __libc_res_nquery.
2772 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2773 __libc_res_nsearch.
2774 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2775 * include/resolv.h: Update prototypes of __libc_res_nquery,
2776 __libc_res_nsearch, __libc_res_nsend.
2777
a4fb7861
JM
27782014-02-18 Joseph Myers <joseph@codesourcery.com>
2779
c6af2d89
JM
2780 * math/auto-libm-test-in: Add tests of fma.
2781 * math/auto-libm-test-out: Regenerated.
2782 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2783 (fma_towardzero_test_data): Likewise.
2784 (fma_downward_test_data): Likewise.
2785 (fma_upward_test_data): Likewise.
2786 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2787 mpc_mode.
2788 (rounding_modes): Add values for new field.
2789 (func_calc_method): Add value mpfr_fff_f.
2790 (func_calc_desc): Add mpfr_fff_f union field.
2791 (test_function): Add field exact_args.
2792 (FUNC): Add macro argument EXACT_ARGS.
2793 (FUNC_mpfr_f_f): Update call to FUNC.
2794 (FUNC_mpfr_f_f): Likewise.
2795 (FUNC_mpfr_ff_f): Likewise.
2796 (FUNC_mpfr_if_f): Likewise.
2797 (FUNC_mpc_c_f): Likewise.
2798 (FUNC_mpc_c_c): Likewise.
2799 (test_functions): Add fma. Update calls to FUNC.
2800 (handle_input_arg): Add argument exact_args.
2801 (add_test): Update call to handle_input_arg.
2802 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2803 (output_for_one_input_case): Update call to calc_generic_results.
2804 Recalculate exact zero results in each rounding mode.
2805
a4fb7861
JM
2806 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2807 non-negative before setting low bit.
2808 * math/auto-libm-test-in: Mark one asin test possibly having
2809 spurious underflow.
2810 * math/auto-libm-test-out: Regenerated.
2811 * sysdeps/i386/fpu/libm-test-ulps: Update.
2812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2813
ef114eaf
DH
28142014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2815
2b7f4f2c
SP
2816 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2817 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2818 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2819 * README: Add missing listing for microblaze*-*-linux-gnu.
2820
c70a4b1d
MF
28212014-02-16 Mike Frysinger <vapier@gentoo.org>
2822
2823 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2824 * sysdeps/unix/sysv/linux/ia64: Move directory from
2825 ports/sysdeps/unix/sysv/linux/ia64.
2826 * README: Update listing for ia64-*-linux-gnu.
2827
591aeaf7
TD
28282014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2829 Joseph Myers <joseph@codesourcery.com>
2830
2831 * Makeconfig (test-name): New variable.
2832 (evaluate-test): Likewise.
2833 * Makerules (do-test-clean): Remove .test-result files.
2834 (common-mostlyclean): Likewise.
2835 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2836 * scripts/evaluate-test.sh: New file.
2837
6e89caf1
JM
28382014-02-14 Joseph Myers <joseph@codesourcery.com>
2839
7f98f180
JM
2840 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2841 separate $(objpfx)tst-fopenloc-cmp.out and
2842 $(objpfx)tst-fopenloc-mem.out targets.
2843 (tests): Update dependencies.
2844 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2845 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2846 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2847 (tst-rxspencer-no-utf8-ARGS): New variable.
2848 (tst-rxspencer-no-utf8-ENV): Likewise.
2849 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2850 instead of $(objpfx)tst-rxspencer-mem.
2851 ($(objpfx)tst-rxspencer-mem): Change target to
2852 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2853 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2854 * posix/tst-rxspencer-no-utf8.c: New file.
2855
6e89caf1
JM
2856 * elf/Makefile ($(objpfx)order.out): Remove rule.
2857 [$(run-built-tests) = yes] (tests): Depend on
2858 $(objpfx)order-cmp.out.
2859 ($(objpfx)order-cmp.out): New rule.
2860 [$(run-built-tests) = yes] (tests): Depend on
2861 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2862 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2863 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2864 $(objpfx)tst-array5-static-cmp.out.
2865 ($(objpfx)tst-array1.out): Remove rule.
2866 ($(objpfx)tst-array1-cmp.out): New rule.
2867 ($(objpfx)tst-array1-static.out): Remove rule.
2868 ($(objpfx)tst-array1-static-cmp.out): New rule.
2869 ($(objpfx)tst-array2.out): Remove rule.
2870 ($(objpfx)tst-array2-cmp.out): New rule.
2871 ($(objpfx)tst-array3.out): Remove rule.
2872 ($(objpfx)tst-array3-cmp.out): New rule.
2873 ($(objpfx)tst-array4.out): Remove rule.
2874 ($(objpfx)tst-array4-cmp.out): New rule.
2875 ($(objpfx)tst-array5.out): Remove rule.
2876 ($(objpfx)tst-array5-cmp.out): New rule.
2877 ($(objpfx)tst-array5-static.out): Remove rule.
2878 ($(objpfx)tst-array5-static-cmp.out): New rule.
2879 [$(run-built-tests) = yes] (tests): Depend on
2880 $(objpfx)order2-cmp.out.
2881 ($(objpfx)order2.out): Remove rule.
2882 ($(objpfx)order2-cmp.out): New rule.
2883 ($(objpfx)tst-initorder.out): Remove rule.
2884 [$(run-built-tests) = yes] (tests): Depend on
2885 $(objpfx)tst-initorder-cmp.out.
2886 ($(objpfx)tst-initorder-cmp.out): New rule.
2887 ($(objpfx)tst-initorder2.out): Remove rule.
2888 [$(run-built-tests) = yes] (tests): Depend on
2889 $(objpfx)tst-initorder2-cmp.out.
2890 ($(objpfx)tst-initorder2-cmp.out): New rule.
2891 [$(run-built-tests) = yes] (tests): Depend on
2892 $(objpfx)tst-unused-dep-cmp.out.
2893 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2894 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2895 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2896 on $(objpfx)tst-setvbuf1-cmp.out.
2897 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2898 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2899 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2900 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2901 ($(objpfx)tst-svc.out): Remove rule.
2902 ($(objpfx)tst-svc-cmp.out): New rule.
2903
ed9a38e2
JM
29042014-02-13 Joseph Myers <joseph@codesourcery.com>
2905
2906 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2907 * ctype/ctype.h [__USE_MISC]: Likewise.
2908 * dirent/dirent.h [__USE_MISC]: Likewise.
2909 * grp/grp.h [__USE_MISC]: Likewise.
2910 * io/fcntl.h [__USE_MISC]: Likewise.
2911 * io/sys/stat.h [__USE_MISC]: Likewise.
2912 * libio/stdio.h [__USE_MISC]: Likewise.
2913 * posix/unistd.h [__USE_MISC]: Likewise.
2914 * pwd/pwd.h [__USE_MISC]: Likewise.
2915 * stdlib.h [__USE_MISC]: Likewise.
2916 * string/bits/string2.h [__USE_MISC]: Likewise.
2917 * string/string.h [__USE_MISC]: Likewise.
2918 * time/time.h [__USE_MISC]: Likewise.
2919
d6680619
AS
29202014-02-13 Andreas Schwab <schwab@suse.de>
2921
2922 [BZ #16574]
2923 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2924 second answer buffer if it was separately allocated.
2925
ace614b8
JM
29262014-02-12 Joseph Myers <joseph@codesourcery.com>
2927
743151ae
JM
2928 * sysdeps/mips/math-tests.h: Include <features.h>.
2929 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2930 (ROUNDING_TESTS_long_double): Do not define.
2931 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2932 (EXCEPTION_TESTS_long_double): Likewise.
2933 * sysdeps/mips/mips64/libm-test-ulps: Update.
2934
498afc54
JM
2935 * include/features.h (__USE_BSD): Remove macro definitions.
2936 (__USE_SVID): Likewise.
2937 (_BSD_SOURCE): Likewise.
2938 (_SVID_SOURCE): Likewise.
2939 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2940 from definition of _DEFAULT_SOURCE.
2941 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2942 [_DEFAULT_SOURCE].
2943 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2944 * bits/mman.h [__USE_BSD]: Likewise.
2945 * bits/termios.h [__USE_BSD]: Likewise.
2946 * bits/waitstatus.h [__USE_BSD]: Likewise.
2947 * ctype/ctype.h [__USE_SVID]: Likewise.
2948 * dirent/dirent.h [__USE_BSD]: Likewise.
2949 * grp/grp.h [__USE_SVID]: Likewise.
2950 [__USE_BSD]: Likewise.
2951 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2952 * io/fcntl.h [__USE_BSD]: Likewise.
2953 * io/ftw.h [__USE_BSD]: Likewise.
2954 * io/sys/stat.h [__USE_BSD]: Likewise.
2955 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2956 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2957 * libio/stdio.h [__USE_SVID]: Likewise.
2958 [__USE_BSD]: Likewise.
2959 * math/math.h [__USE_SVID]: Likewise.
2960 [__USE_BSD]: Likewise.
2961 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2962 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2963 * misc/search.h [__USE_SVID]: Likewise.
2964 * misc/sys/mman.h [__USE_BSD]: Likewise.
2965 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2966 * misc/sys/uio.h [__USE_BSD]: Likewise.
2967 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2968 * posix/glob.h [__USE_BSD]: Likewise.
2969 * posix/regex.h [__USE_BSD]: Likewise.
2970 * posix/sys/types.h [__USE_BSD]: Likewise.
2971 [__USE_SVID]: Likewise.
2972 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2973 * posix/sys/wait.h [__USE_BSD]: Likewise.
2974 [__USE_SVID]: Likewise.
2975 * posix/unistd.h [__USE_BSD]: Likewise.
2976 [__USE_SVID]: Likewise.
2977 * pwd/pwd.h [__USE_SVID]: Likewise.
2978 * resolv/netdb.h [__USE_BSD]: Likewise.
2979 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2980 * signal/signal.h [__USE_BSD]: Likewise.
2981 [__USE_SVID]: Likewise.
2982 * socket/sys/socket.h [__USE_BSD]: Likewise.
2983 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2984 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2985 [__USE_SVID]: Likewise.
2986 * string/bits/string2.h [__USE_BSD]: Likewise.
2987 [__USE_SVID]: Likewise.
2988 * string/bits/string3.h [__USE_BSD]: Likewise.
2989 * string/endian.h [__USE_BSD]: Likewise.
2990 * string/string.h [__USE_SVID]: Likewise.
2991 [__USE_BSD]: Likewise.
2992 * string/strings.h [__USE_BSD]: Likewise.
2993 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2994 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2995 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2996 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2997 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2998 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2999 Likewise.
3000 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3001 Likewise.
3002 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3003 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3004 Likewise.
3005 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3006 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3007 Likewise.
3008 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3011 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3012 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3013 Likewise.
3014 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3015 Likewise.
3016 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3017 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3018 * termios/termios.h [__USE_BSD]: Likewise.
3019 * time/sys/time.h [__USE_BSD]: Likewise.
3020 * time/time.h [__USE_BSD]: Likewise.
3021 [__USE_SVID]: Likewise.
3022
dd7b064c
JM
3023 * Makefile (subdir_targets): Remove subdir_lint.out.
3024
a2c4c199
JM
3025 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3026 (do-tst-printf): Likewise.
3027 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3028 $(objpfx)tst-printf.out.
3029
8756f740
JM
3030 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3031
1b6dd3f1
JM
3032 * Makerules (check-abi-%): Change target to
3033 $(objpfx)check-abi-%.out.
3034 (check-abi target): Update dependencies.
3035 (check-abi-pattern variable): Redirect output of diff to $@.
3036 (check-abi variable): Likewise.
3037 * elf/Makefile (check-abi): Update dependencies.
3038
ace614b8
JM
3039 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3040 unused.
3041 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3042 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3043 subnormal range.
3044 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3045 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3046 value has largest subnormal exponent.
3047 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3048 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3049 * sysdeps/aarch64/soft-fp/sfp-machine.h
3050 (_FP_TININESS_AFTER_ROUNDING): New macro.
3051 * sysdeps/alpha/soft-fp/sfp-machine.h
3052 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3053 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3054 Likewise.
3055 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3056 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3057 * sysdeps/mips/soft-fp/sfp-machine.h
3058 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3059 * sysdeps/powerpc/soft-fp/sfp-machine.h
3060 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3061 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3062 Likewise.
3063 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3064 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3066 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3067 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3068 Likewise.
3069
fbfdf9cb
DAS
30702014-02-12 Dylan Alex Simon <dylan@dylex.net>
3071
3072 [BZ #16545]
3073 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3074 model 1.
3075
68b7efaa
RH
30762014-02-12 Richard Henderson <rth@redhat.com>
3077
c70a4b1d 3078 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3079 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3080 * sysdeps/unix/sysv/linux/alpha: Move directory from
3081 ports/sysdeps/unix/sysv/linux/alpha.
3082 * README: Update listing for alpha-*-linux-gnu.
3083
cb4a2928
JM
30842014-02-11 Joseph Myers <joseph@codesourcery.com>
3085
c941736c
JM
3086 * include/features.h: Update comment documenting feature test
3087 macros.
3088 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3089 _DEFAULT_SOURCE.
3090 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3091 (_SVID_SOURCE): Likewise.
3092 (_DEFAULT_SOURCE): Update description of default features.
3093 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3094 with _GNU_SOURCE.
3095 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3096 (S_ISVTX): Likewise.
3097 * manual/math.texi (Mathematical Constants): Likewise.
3098 * manual/signal.texi (Interrupted Primitives): Likewise.
3099 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3100 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3101 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3102 Don't refer to _SVID_SOURCE in warning text.
3103
e8d8d7ec
JM
3104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3105
cb4a2928
JM
3106 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3107 already defined.
3108 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3109 * sysdeps/mips/dl-lookup.c: Remove.
3110 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3111
7e6424e3
AK
31122014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3113
3114 [BZ #16447]
3115 * math/auto-libm-test-in: Add testcase for expl.
3116 * math/auto-libm-test-out: Regenerate.
3117 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3118 calculation of unsafe.
3119 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3120
75eff3fe
MS
31212014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3122
3123 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3124 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3125 ports/sysdeps/unix/sysv/linux/aarch64.
3126 * README: Update listing for aarch64*-*-linux-gnu.
3127
d35f1e80
WN
31282014-02-11 Will Newton <will.newton@linaro.org>
3129
3130 * manual/probes.texi (Mathematical Function Probes): Use
3131 "triggered" instead of "hit".
3132
7b3436d4
WN
31332014-02-11 Will Newton <will.newton@linaro.org>
3134
3135 * manual/probes.texi (Internal Probes): Add documentation
3136 of setjmp, longjmp and longjmp_target probes.
3137
b4f12ca3
WN
31382014-02-11 Will Newton <will.newton@linaro.org>
3139
3140 * include/stap-probe.h: Add comment about probe argument
3141 format.
3142
c13a72b7
WN
31432014-02-11 Will Newton <will.newton@linaro.org>
3144
3145 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3146 definition. (tr_where, tr_freehook, tr_mallochook,
3147 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3148
195b8165
DM
31492014-02-11 David S. Miller <davem@davemloft.net>
3150
3151 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3152 processing int_tests.
3153
2ad7600b
JM
31542014-02-10 Joseph Myers <joseph@codesourcery.com>
3155
3156 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3157 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3158 * sysdeps/unix/sysv/linux/mips: Move directory from
3159 ports/sysdeps/unix/sysv/linux/mips.
3160 * README: Update listing for mips-*-linux-gnu and
3161 mips64-*-linux-gnu.
3162
73588a72
AS
31632014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3164
3165 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3166 * sysdeps/unix/sysv/linux/m68k: Move directory from
3167 ports/sysdeps/unix/sysv/linux/m68k.
3168 * README: Update listing for m68k-*-linux-gnu.
3169
4372980f
CM
31702014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3171
3172 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3173 * sysdeps/unix/sysv/linux/generic: Move directory from
3174 ports/sysdeps/unix/sysv/linux/generic.
3175 * sysdeps/unix/sysv/linux/tile: Move directory from
3176 ports/sysdeps/unix/sysv/linux/tile.
3177 * README: Update listing for tile*-*-linux-gnu.
3178
a1ffb40e
OB
31792014-02-10 Ondřej Bílka <neleai@seznam.cz>
3180
3181 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3182 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3183 * catgets/open_catalog.c (__open_catalog): Likewise.
3184 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3185 * debug/confstr_chk.c: Likewise.
3186 * debug/fread_chk.c (__fread_chk): Likewise.
3187 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3188 * debug/getgroups_chk.c: Likewise.
3189 * debug/mbsnrtowcs_chk.c: Likewise.
3190 * debug/mbsrtowcs_chk.c: Likewise.
3191 * debug/mbstowcs_chk.c: Likewise.
3192 * debug/memcpy_chk.c: Likewise.
3193 * debug/memmove_chk.c: Likewise.
3194 * debug/mempcpy_chk.c: Likewise.
3195 * debug/memset_chk.c: Likewise.
3196 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3197 * debug/strcat_chk.c (__strcat_chk): Likewise.
3198 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3199 * debug/strncat_chk.c (__strncat_chk): Likewise.
3200 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3201 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3202 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3203 * debug/wcpncpy_chk.c: Likewise.
3204 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3205 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3206 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3207 * debug/wcsncpy_chk.c: Likewise.
3208 * debug/wcsnrtombs_chk.c: Likewise.
3209 * debug/wcsrtombs_chk.c: Likewise.
3210 * debug/wcstombs_chk.c: Likewise.
3211 * debug/wmemcpy_chk.c: Likewise.
3212 * debug/wmemmove_chk.c: Likewise.
3213 * debug/wmempcpy_chk.c: Likewise.
3214 * debug/wmemset_chk.c: Likewise.
3215 * dirent/scandirat.c (SCANDIRAT): Likewise.
3216 * dlfcn/dladdr1.c (dladdr1): Likewise.
3217 * dlfcn/dladdr.c (dladdr): Likewise.
3218 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3219 * dlfcn/dlerror.c (__dlerror): Likewise.
3220 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3221 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3222 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3223 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3224 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3225 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3226 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3227 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3228 Likewise.
3229 * elf/dl-conflict.c: Likewise.
3230 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3231 * elf/dl-dst.h: Likewise.
3232 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3233 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3234 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3235 * elf/dl-init.c (call_init, _dl_init): Likewise.
3236 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3237 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3238 _dl_map_object_from_fd, open_verify, open_path,
3239 _dl_map_object): Likewise.
3240 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3241 Likewise.
3242 * elf/dl-minimal.c (__libc_memalign): Likewise.
3243 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3244 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3245 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3246 * elf/dl-sym.c (do_sym): Likewise.
3247 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3248 _dl_tls_get_addr_soft): Likewise.
3249 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3250 * elf/dl-writev.h (_dl_writev): Likewise.
3251 * elf/ldconfig.c (search_dir): Likewise.
3252 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3253 dl_main): Likewise.
3254 * elf/setup-vdso.h (setup_vdso): Likewise.
3255 * grp/compat-initgroups.c (compat_call): Likewise.
3256 * grp/fgetgrent.c (fgetgrent): Likewise.
3257 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3258 * grp/putgrent.c (putgrent): Likewise.
3259 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3260 Likewise.
3261 * hurd/hurdinit.c: Likewise.
3262 * iconvdata/8bit-gap.c (struct): Likewise.
3263 * iconvdata/ansi_x3.110.c : Likewise.
3264 * iconvdata/big5.c : Likewise.
3265 * iconvdata/big5hkscs.c : Likewise.
3266 * iconvdata/cp1255.c: Likewise.
3267 * iconvdata/cp1258.c : Likewise.
3268 * iconvdata/cp932.c : Likewise.
3269 * iconvdata/euc-cn.c: Likewise.
3270 * iconvdata/euc-jisx0213.c : Likewise.
3271 * iconvdata/euc-jp.c: Likewise.
3272 * iconvdata/euc-jp-ms.c : Likewise.
3273 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3274 * iconvdata/gb18030.c : Likewise.
3275 * iconvdata/gbbig5.c (const): Likewise.
3276 * iconvdata/gbgbk.c: Likewise.
3277 * iconvdata/gbk.c : Likewise.
3278 * iconvdata/ibm1364.c : Likewise.
3279 * iconvdata/ibm930.c : Likewise.
3280 * iconvdata/ibm932.c: Likewise.
3281 * iconvdata/ibm933.c : Likewise.
3282 * iconvdata/ibm935.c : Likewise.
3283 * iconvdata/ibm937.c : Likewise.
3284 * iconvdata/ibm939.c : Likewise.
3285 * iconvdata/ibm943.c: Likewise.
3286 * iconvdata/iso_11548-1.c: Likewise.
3287 * iconvdata/iso-2022-cn.c : Likewise.
3288 * iconvdata/iso-2022-cn-ext.c : Likewise.
3289 * iconvdata/iso-2022-jp-3.c: Likewise.
3290 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3291 * iconvdata/iso-2022-kr.c : Likewise.
3292 * iconvdata/iso646.c (gconv_end): Likewise.
3293 * iconvdata/iso_6937-2.c : Likewise.
3294 * iconvdata/iso_6937.c : Likewise.
3295 * iconvdata/iso8859-1.c: Likewise.
3296 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3297 * iconvdata/shift_jisx0213.c : Likewise.
3298 * iconvdata/sjis.c : Likewise.
3299 * iconvdata/t.61.c : Likewise.
3300 * iconvdata/tcvn5712-1.c : Likewise.
3301 * iconvdata/tscii.c: Likewise.
3302 * iconvdata/uhc.c : Likewise.
3303 * iconvdata/unicode.c (gconv_end): Likewise.
3304 * iconvdata/utf-16.c (gconv_end): Likewise.
3305 * iconvdata/utf-32.c (gconv_end): Likewise.
3306 * iconvdata/utf-7.c (base64): Likewise.
3307 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3308 * iconv/gconv_close.c (__gconv_close): Likewise.
3309 * iconv/gconv_open.c (__gconv_open): Likewise.
3310 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3311 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3312 internal_ucs4le_loop_single, ucs4le_internal_loop,
3313 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3314 * iconv/iconv.c (iconv): Likewise.
3315 * iconv/iconv_close.c: Likewise.
3316 * iconv/loop.c (SINGLE): Likewise.
3317 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3318 * include/atomic.h: Likewise.
3319 * inet/inet6_option.c (option_alloc): Likewise.
3320 * intl/bindtextdom.c (set_binding_values): Likewise.
3321 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3322 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3323 * intl/localealias.c (read_alias_file): Likewise.
3324 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3325 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3326 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3327 * libio/fmemopen.c (fmemopen): Likewise.
3328 * libio/iofgets.c (_IO_fgets): Likewise.
3329 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3330 * libio/iofgetws.c (fgetws): Likewise.
3331 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3332 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3333 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3334 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3335 * locale/findlocale.c (_nl_find_locale): Likewise.
3336 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3337 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3338 Likewise.
3339 * locale/setlocale.c (setlocale): Likewise.
3340 * login/programs/pt_chown.c (main): Likewise.
3341 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3342 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3343 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3344 mmap, mmap64, mremap, munmap): Likewise.
3345 * math/e_exp2l.c: Likewise.
3346 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3347 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3348 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3349 * math/s_catan.c (__catan): Likewise.
3350 * math/s_catanf.c (__catanf): Likewise.
3351 * math/s_catanh.c (__catanh): Likewise.
3352 * math/s_catanhf.c (__catanhf): Likewise.
3353 * math/s_catanhl.c (__catanhl): Likewise.
3354 * math/s_catanl.c (__catanl): Likewise.
3355 * math/s_ccosh.c (__ccosh): Likewise.
3356 * math/s_ccoshf.c (__ccoshf): Likewise.
3357 * math/s_ccoshl.c (__ccoshl): Likewise.
3358 * math/s_cexp.c (__cexp): Likewise.
3359 * math/s_cexpf.c (__cexpf): Likewise.
3360 * math/s_cexpl.c (__cexpl): Likewise.
3361 * math/s_clog10.c (__clog10): Likewise.
3362 * math/s_clog10f.c (__clog10f): Likewise.
3363 * math/s_clog10l.c (__clog10l): Likewise.
3364 * math/s_clog.c (__clog): Likewise.
3365 * math/s_clogf.c (__clogf): Likewise.
3366 * math/s_clogl.c (__clogl): Likewise.
3367 * math/s_csin.c (__csin): Likewise.
3368 * math/s_csinf.c (__csinf): Likewise.
3369 * math/s_csinh.c (__csinh): Likewise.
3370 * math/s_csinhf.c (__csinhf): Likewise.
3371 * math/s_csinhl.c (__csinhl): Likewise.
3372 * math/s_csinl.c (__csinl): Likewise.
3373 * math/s_csqrt.c (__csqrt): Likewise.
3374 * math/s_csqrtf.c (__csqrtf): Likewise.
3375 * math/s_csqrtl.c (__csqrtl): Likewise.
3376 * math/s_ctan.c (__ctan): Likewise.
3377 * math/s_ctanf.c (__ctanf): Likewise.
3378 * math/s_ctanh.c (__ctanh): Likewise.
3379 * math/s_ctanhf.c (__ctanhf): Likewise.
3380 * math/s_ctanhl.c (__ctanhl): Likewise.
3381 * math/s_ctanl.c (__ctanl): Likewise.
3382 * math/w_pow.c: Likewise.
3383 * math/w_powf.c: Likewise.
3384 * math/w_powl.c: Likewise.
3385 * math/w_scalb.c (sysv_scalb): Likewise.
3386 * math/w_scalbf.c (sysv_scalbf): Likewise.
3387 * math/w_scalbl.c (sysv_scalbl): Likewise.
3388 * misc/error.c (error_tail): Likewise.
3389 * misc/pselect.c (__pselect): Likewise.
3390 * nis/nis_callback.c (__nis_create_callback): Likewise.
3391 * nis/nis_call.c (__nisfind_server): Likewise.
3392 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3393 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3394 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3395 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3396 * nis/nis_lookup.c (nis_lookup): Likewise.
3397 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3398 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3399 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3400 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3401 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3402 internal_getgrgid_r): Likewise.
3403 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3404 Likewise.
3405 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3406 internal_getpwuid_r): Likewise.
3407 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3408 internal_getspnam_r): Likewise.
3409 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3410 _nss_nis_getaliasbyname_r): Likewise.
3411 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3412 _nss_nis_getntohost_r): Likewise.
3413 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3414 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3415 Likewise.
3416 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3417 internal_nis_gethostent_r, internal_gethostbyname2_r,
3418 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3419 _nss_nis_gethostbyname4_r): Likewise.
3420 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3421 initgroups_netid): Likewise.
3422 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3423 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3424 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3425 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3426 _nss_nis_getprotobynumber_r): Likewise.
3427 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3428 _nss_nis_getsecretkey): Likewise.
3429 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3430 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3431 Likewise.
3432 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3433 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3434 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3435 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3436 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3437 _nss_nis_getspnam_r): Likewise.
3438 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3439 Likewise.
3440 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3441 _nss_nisplus_getntohost_r): Likewise.
3442 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3443 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3444 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3445 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3446 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3447 Likewise.
3448 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3449 _nss_nisplus_getnetbyaddr_r): Likewise.
3450 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3451 _nss_nisplus_getprotobynumber_r): Likewise.
3452 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3453 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3454 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3455 Likewise.
3456 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3457 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3458 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3459 _nss_nisplus_getspnam_r): Likewise.
3460 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3461 * nscd/aicache.c (addhstaiX): Likewise.
3462 * nscd/cache.c (cache_search, prune_cache): Likewise.
3463 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3464 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3465 * nscd/grpcache.c (addgrbyX): Likewise.
3466 * nscd/hstcache.c (addhstbyX): Likewise.
3467 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3468 * nscd/mem.c (gc, mempool_alloc): Likewise.
3469 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3470 Likewise.
3471 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3472 Likewise.
3473 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3474 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3475 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3476 Likewise.
3477 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3479 * nscd/nscd_helper.c (__readvall, open_socket,
3480 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3481 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3482 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3483 * nscd/pwdcache.c (addpwbyX): Likewise.
3484 * nscd/selinux.c (preserve_capabilities): Likewise.
3485 * nscd/servicescache.c (addservbyX): Likewise.
3486 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3487 * posix/fnmatch.c (fnmatch): Likewise.
3488 * posix/getopt.c (_getopt_internal_r): Likewise.
3489 * posix/glob.c (glob, glob_in_dir): Likewise.
3490 * posix/wordexp.c (exec_comm_child): Likewise.
3491 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3492 gaih_getanswer_slice): Likewise.
3493 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3494 * resolv/res_init.c: Likewise.
3495 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3496 * resolv/res_query.c (__libc_res_nquery): Likewise.
3497 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3498 Likewise.
3499 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3500 * stdio-common/perror.c (perror): Likewise.
3501 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3502 * stdio-common/tmpnam.c (tmpnam): Likewise.
3503 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3504 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3505 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3506 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3507 * stdlib/putenv.c (putenv): Likewise.
3508 * stdlib/setenv.c (__add_to_environ): Likewise.
3509 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3510 * stdlib/strtol_l.c (INTERNAL): Likewise.
3511 * string/memmem.c (memmem): Likewise.
3512 * string/strerror.c (strerror): Likewise.
3513 * string/strnlen.c (__strnlen): Likewise.
3514 * string/test-memmem.c (simple_memmem): Likewise.
3515 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3516 * sunrpc/pm_getport.c (__get_socket): Likewise.
3517 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3518 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3519 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3520 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3521 Likewise.
3522 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3523 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3524 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3525 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3526 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3527 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3528 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3529 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3530 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3531 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3532 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3533 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3535 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3536 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3537 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3538 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3539 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3540 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3541 Likewise.
3542 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3543 Likewise.
3544 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3545 Likewise.
3546 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3547 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3548 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3549 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3550 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3551 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3552 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3553 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3555 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3556 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3558 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3559 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3561 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3562 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3563 Likewise.
3564 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3565 Likewise.
3566 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3567 Likewise.
3568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3569 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3570 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3571 Likewise.
3572 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3573 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3574 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3575 * sysdeps/posix/sleep.c: Likewise.
3576 * sysdeps/posix/tempname.c: Likewise.
3577 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3578 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3579 Likewise.
3580 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3581 elf_machine_rela): Likewise.
3582 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3584 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3585 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3586 Likewise.
3587 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3588 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3589 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3590 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3591 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3592 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3593 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3594 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3595 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3596 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3598 elf_machine_lazy_rel): Likewise.
3599 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3601 elf_machine_lazy_rel): Likewise.
3602 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3603 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3604 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3605 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3606 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3607 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3608 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3610 Likewise.
3611 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3612 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3613 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3614 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3615 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3616 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3617 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3618 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3619 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3620 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3621 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3622 Likewise.
3623 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3624 (__posix_fallocate64_l64): Likewise.
3625 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3626 (posix_fallocate): Likewise.
3627 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3628 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3629 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3630 getifaddrs_internal): Likewise.
3631 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3632 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3633 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3634 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3635 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3636 (__posix_fallocate64_l64): Likewise.
3637 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3638 Likewise.
3639 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3640 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3641 Likewise.
3642 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3643 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3644 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3647 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3648 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3649 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3650 Likewise.
3651 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3652 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3653 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3654 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3655 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3656 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3657 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3658 Likewise.
3659 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3660 (posix_fallocate): Likewise.
3661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3662 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3663 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3664 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3665 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3666 Likewise.
3667 * time/asctime.c (asctime_internal): Likewise.
3668 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3669 * time/tzset.c (__tzset_parse_tz): Likewise.
3670 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3671 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3672 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3673 * wcsmbs/wcsmbsload.h: Likewise.
3674
f3d338c9
OB
36752014-02-10 Ondřej Bílka <neleai@seznam.cz>
3676
3677 [BZ #15894]
3678 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3679
bdfe308a
OB
36802014-02-10 Ondřej Bílka <neleai@seznam.cz>
3681
3682 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3683 arena_get2): Remove THREAD_STATS conditionals.
3684 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3685 __malloc_stats, int): Likewise.
3686
d674667c
MF
36872014-02-08 Mike Frysinger <vapier@gentoo.org>
3688
3689 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3690 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3691
6349768c
MF
36922014-02-08 Mike Frysinger <vapier@gentoo.org>
3693
3694 * manual/setjmp.texi: Fix typos/grammar errors.
3695
0b7c7473
MF
36962014-02-08 Mike Frysinger <vapier@gentoo.org>
3697
3698 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3699 Only return early when n is <= 0. Delete unused return statement.
3700
ac8cc9e3
MF
37012014-02-08 Mike Frysinger <vapier@gentoo.org>
3702
3703 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3704 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3705 * debug/tst-longjmp_chk3.c: New file.
3706
c5bb8e23
MF
37072014-02-08 Mike Frysinger <vapier@gentoo.org>
3708
3709 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3710 (test_main): Replace code with set_fortify_handler call.
3711 * debug/test-strcpy_chk.c: Likewise.
3712 * debug/tst-chk1.c: Likewise.
3713 * debug/tst-longjmp_chk.c: Likewise.
3714 * test-skeleton.c: Include fcntl.h & paths.h
3715 (set_fortify_handler): Define.
3716
10444e42
MF
37172014-02-08 Mike Frysinger <vapier@gentoo.org>
3718
3719 * debug/tst-longjmp_chk.c: Add header comment and include
3720 ../test-skeleton.c.
3721 (do_test): Mark static.
3722 (TEST_FUNCTION): Define.
3723
1e805e8d
MF
37242014-02-08 Mike Frysinger <vapier@gentoo.org>
3725
3726 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3727 (IP_PMTUDISC_INTERFACE): Likewise.
3728 (IP_MULTICAST_IF): Likewise.
3729 (IP_MULTICAST_TTL): Likewise.
3730 (IP_MULTICAST_LOOP): Likewise.
3731 (IP_ADD_MEMBERSHIP): Likewise.
3732 (IP_DROP_MEMBERSHIP): Likewise.
3733 (IP_UNBLOCK_SOURCE): Likewise.
3734 (IP_BLOCK_SOURCE): Likewise.
3735 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3736 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3737 (IP_MSFILTER): Likewise.
3738 (MCAST_JOIN_GROUP): Likewise.
3739 (MCAST_BLOCK_SOURCE): Likewise.
3740 (MCAST_UNBLOCK_SOURCE): Likewise.
3741 (MCAST_LEAVE_GROUP): Likewise.
3742 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3743 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3744 (MCAST_MSFILTER): Likewise.
3745 (IP_MULTICAST_ALL): Likewise.
3746 (IP_UNICAST_IF): Likewise.
3747
73f79bb7
MF
37482014-02-08 Mike Frysinger <vapier@gentoo.org>
3749
3750 * timezone/Makefile: Delete $(have-ksh) check.
3751 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3752 * timezone/tzselect.ksh: Add +x mode bits.
3753
8da79b60
MF
37542014-02-08 Mike Frysinger <vapier@gentoo.org>
3755
3756 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3757 (ANON_INODE_FS_MAGIC): Likewise.
3758 (BDEVFS_MAGIC): Likewise.
3759 (BINFMTFS_MAGIC): Likewise.
3760 (BTRFS_TEST_MAGIC): Likewise.
3761 (CRAMFS_MAGIC_WEND): Likewise.
3762 (DEBUGFS_MAGIC): Likewise.
3763 (ECRYPTFS_SUPER_MAGIC): Likewise.
3764 (EXT3_SUPER_MAGIC): Likewise.
3765 (EXT4_SUPER_MAGIC): Likewise.
3766 (FUTEXFS_SUPER_MAGIC): Likewise.
3767 (HOSTFS_SUPER_MAGIC): Likewise.
3768 (HUGETLBFS_MAGIC): Likewise.
3769 (MINIX3_SUPER_MAGIC): Likewise.
3770 (MTD_INODE_FS_MAGIC): Likewise.
3771 (NILFS_SUPER_MAGIC): Likewise.
3772 (OPENPROM_SUPER_MAGIC): Likewise.
3773 (PIPEFS_MAGIC): Likewise.
3774 (PSTOREFS_MAGIC): Likewise.
3775 (QNX6_SUPER_MAGIC): Likewise.
3776 (RAMFS_MAGIC): Likewise.
3777 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3778 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3779 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3780 (SECURITYFS_MAGIC): Likewise.
3781 (SELINUX_MAGIC): Likewise.
3782 (SMACK_MAGIC): Likewise.
3783 (SOCKFS_MAGIC): Likewise.
3784 (SQUASHFS_MAGIC): Likewise.
3785 (STACK_END_MAGIC): Likewise.
3786 (TMPFS_MAGIC): Likewise.
3787 (USBDEVICE_SUPER_MAGIC): Likewise.
3788 (V9FS_MAGIC): Likewise.
3789 (XENFS_SUPER_MAGIC): Likewise.
3790 (CRAMFS_MAGIC): Fix typo in comment.
3791 (EXT2_SUPER_MAGIC): Update comment.
3792 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3793
464263cc
JM
37942014-02-08 Joseph Myers <joseph@codesourcery.com>
3795
c6bfe5c4
JM
3796 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3797 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3798 * sysdeps/unix/sysv/linux/arm: Move directory from
3799 ports/sysdeps/unix/sysv/linux/arm.
3800 * README: Update listing for arm-*-linux-gnueabi.
3801
464263cc
JM
3802 * README: Remove mention of am33.
3803
32749f6c
RM
38042014-02-07 Roland McGrath <roland@hack.frob.com>
3805
3806 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3807 than the comma operator, to avoid "rhs of comma has no effect"
3808 compiler warnings.
3809 (__sigfillset, __sigandset, __sigorset): Likewise.
3810 * include/signal.h (__sigemptyset): Likewise.
3811 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3812
d5b396c1
AM
38132014-02-07 Allan McRae <allan@archlinux.org>
3814
3815 * version.h (RELEASE): Set to "development".
3816 (VERSION): Set to "2.19.90"
3817 * NEWS: Add 2.20 section.
3818
3bfff2ed
CD
38192014-02-06 Carlos O'Donell <carlos@redhat.com>
3820
3821 [BZ #16529]
3822 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3823
ee7cc385
SP
38242014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3825
3826 * manual/contrib.texi: Update entry for Carlos O'Donell,
3827 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3828
f877c4f2
CD
38292014-02-05 Carlos O'Donell <carlos@rehdat.com>
3830
27e839f6
CD
3831 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3832
f877c4f2
CD
3833 * sysdeps/unix/sysv/linux/kernel-features.h
3834 [__LINUX_KERNEL_VERSION >= 0x020621]
3835 (__ASSUME_PROC_PID_TASK_COMM): Define.
3836
68159946
SP
38372014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3838
ba17cdbd
SP
3839 [BZ #16398]
3840 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3841 conversion when destination buffer does not have enough space.
3842 * libio/tst-ftell-partial-wide.c: New test case.
3843 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3844
68159946
SP
3845 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3846 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3847 Leonard and Allan McRae.
3848
2b528732
DM
38492014-02-04 David S. Miller <davem@davemloft.net>
3850
3851 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3852 32-bit.
3853
0ff82463
AZ
38542014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3855
c01603f7
AZ
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3857 file
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3859 New file
3860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3861 file.
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3863 file.
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3865 New file.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3867 file.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3869 file.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3871 New file.
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3873 New file.
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3875 New file.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3877 New file.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3879 New file.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3881 New file.
3882
38832014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3884
0ff82463
AZ
3885 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3886 * shlib-versions: Likewise.
3887
1695c773
AZ
38882014-02-04 Roland McGrath <roland@hack.frob.com>
3889 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3890
3891 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3892 (abilist-pattern): New variable, set to %-le.abilist.
3893
3894 * Makerules (abilist-pattern): New variable.
3895 (vpath): Use $(abilist-pattern) in place of %.abilist.
3896 (check-abi-% pattern rule): Likewise.
3897 (check-abi, update-abi): Likewise.
3898
6c0ce4b4
EW
38992014-02-04 Eric Wong <normalperson@yhbt.net>
3900
3901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3902
dc98b8f5
EW
39032014-02-04 Eric Wong <normalperson@yhbt.net>
3904
3905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3906
481e3524
CD
39072014-02-03 Carlos O'Donell <carlos@redhat.com>
3908
3909 * manual/startup.texi: Add next, previous, and top entries for
3910 the `Program Arguments' and `Environment Variables' nodes.
3911
375592d3
AO
39122014-02-03 Alexandre Oliva <aoliva@redhat.com>
3913
3914 * manual/macros.texi: Add comments before MTASC-safety macros.
3915
f54838ba
AO
3916 * manual/users.texi: Document MTASC-safety properties.
3917
909e12ad
AO
3918 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3919 pthread_getspecific, pthread_setspecific): Format with
3920 @deftypefun, and add @safety note.
3921 * manual/signal.texi: Move comments that analyze the above
3922 functions to their home place.
3923
fd3daba4
AM
39242014-02-03 Allan McRae <allan@archlinux.org>
3925
3926 * po/sl.po: Update Slovenian translation from translation project.
3927
597636d7
AO
39282014-02-02 Alexandre Oliva <aoliva@redhat.com>
3929
3930 * manual/time.texi (timegm): Add missing blank after @c.
3931 Reported by Joseph Myers <joseph@codesourcery.com>.
3932
ee196e3c
AO
39332014-02-01 Alexandre Oliva <aoliva@redhat.com>
3934
3935 * manual/check-safety.sh: New.
3936 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3937
f8d529d5
AO
3938 * manual/terminal.texi: Document MTASC-safety properties.
3939
de55fdf4
AO
3940 * manual/filesys.texi: Document MTASC-safety properties.
3941
c3299c08
AO
3942 * manual/errno.texi: Document MTASC-safety properties.
3943
06e90b14
AO
3944 * manual/intro.texi: Document safety identifiers and
3945 conditionals.
3946
1acd4371
AO
3947 * manual/string.texi (wcstok): Fix prototype.
3948 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3949
23e5b8cb
AO
3950 * manual/time.texi: Document MTASC-safety properties.
3951
11087373
AO
3952 * manual/string.texi: Document MTASC-safety properties.
3953
5da2c93d
AO
3954 * manual/threads.texi: Document MTASC-safety properties.
3955
171e9210
AO
3956 * manual/stdio.texi: Document MTASC-safety properties.
3957
d9e02532
AO
3958 * manual/syslog.texi: Document MTASC-safety properties.
3959
6af8bab7
AO
3960 * manual/sysinfo.texi: Document MTASC-safety properties.
3961
663b02d7
AO
3962 * manual/startup.texi: Document MTASC-safety properties.
3963
973f180b
AO
3964 * manual/socket.texi: Document MTASC-safety properties.
3965
8f3c25c8
AO
3966 * manual/signal.texi: Document MTASC-safety properties.
3967
542210fb
AO
39682014-01-31 Alexandre Oliva <aoliva@redhat.com>
3969
3970 * manual/setjmp.texi: Document MTASC-safety properties.
3971
433c45a2
AO
3972 * manual/search.texi: Document MTASC-safety properties.
3973
c8ce789c
AO
3974 * manual/resource.texi: Document MTASC-safety properties.
3975
19f5d29c
AO
3976 * manual/process.texi: Document MTASC-safety properties.
3977
e2dfb7f4
AO
3978 * manual/platform.texi: Document MTASC-safety properties.
3979
8c1413f5
AO
3980 * manual/pipe.texi: Document MTASC-safety properties.
3981
03483ada
AO
3982 * manual/pattern.texi: Document MTASC-safety properties.
3983
29e7e2df
AO
3984 * manual/message.texi: Document MTASC-safety properties.
3985
9f529d7c
AO
3986 [BZ #12751]
3987 * manual/memory.texi: Document MTASC-safety properties.
3988
27aaa791
AO
3989 * manual/math.texi: Document MTASC-safety properties.
3990
f2d58726
AO
3991 * manual/locale.texi: Document MTASC-safety properties.
3992
2cc3615c
AO
3993 * manual/llio.texi: Document MTASC-safety properties.
3994
d9f0ec97
AO
3995 * manual/libdl.texi: New.
3996
e7c4409a
AO
3997 * manual/lang.texi: Document MTASC-safety properties.
3998
27bdc63c
AO
3999 * manual/job.texi: Document MTASC-safety properties.
4000
a7b90ea9
AO
4001 * manual/getopt.texi: Document MTASC-safety properties.
4002
c49130e3
AO
4003 * manual/ctype.texi: Document MTASC-safety properties.
4004
0d23a5c1
MR
40052014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4006
4007 [BZ #16046]
4008 * csu/libc-tls.c (static_map): Remove variable.
4009 (__libc_setup_tls): Use main executable's link map for TLS data.
4010 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4011 casing for LM_ID_BASE and GL(dl_nns).
4012 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4013 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4014 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4015 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4016 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4017 member.
4018 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4019 l_phnum members.
4020
0037bb60
AO
40212014-01-30 Alexandre Oliva <aoliva@redhat.com>
4022
4023 * manual/debug.texi: Document MTASC-safety properties.
4024
409e00bd
L
40252014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4026
4027 [BZ #16510]
4028 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4029 of __x86_64__ when disabling x87 inline functions.
4030
86e60666
AO
40312014-01-29 Alexandre Oliva <aoliva@redhat.com>
4032
4033 * manual/charset.texi: Document MTASC-safety properties.
4034
76167637
AO
4035 * manual/crypt.texi: Document MTASC-safety properties.
4036
e567f2a0
AO
4037 * manual/conf.texi: Document MTASC-safety properties.
4038
b719dafd
AO
4039 * manual/arith.texi: Document MTASC-safety properties.
4040
4a16c662
AO
4041 * manual/argp.texi: Document MTASC-safety properties.
4042
0a57b83e
AO
4043 * manual/macros.texi: Introduce macros to document multi
4044 thread, asynchronous signal and asynchronous cancellation
4045 safety properties.
4046 * manual/intro.texi: Introduce the properties themselves.
4047
feab2397
KK
40482014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4049
4050 * sysdeps/sh/sh4/Makefile: New file.
4051
1c0d11bc
AS
40522014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4053
4054 * math/gen-libm-test.pl ($srcdir): New variable.
4055 ($auto_input): Use it.
4056
af37a8a3
SP
40572014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4058
d7b00f98
SP
4059 [BZ #16506]
4060 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4061 access beyond array bounds when parsing netgroups file.
4062
af37a8a3
SP
4063 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4064 the old buffer before realloc.
4065
0c00f062
AM
40662014-01-27 Allan McRae <allan@archlinux.org>
4067
4068 * po/fr.po: Update French translation from translation project.
4069
7d69a1b0
KK
40702014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4071
4072 * sysdeps/sh/libm-test-ulps: Regenerate.
4073
6e697ff7
DM
40742014-01-24 David S. Miller <davem@davemloft.net>
4075
4076 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4077
9cadb35c
KK
40782014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4079
4080 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4081 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4082
5d41dadf
SP
40832013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4084
4085 [BZ #16474]
4086 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4087 string pointers after reallocation.
4088
0bad441c
KK
40892014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4090
4091 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4092 __SH4A__ instead of __SH_FPU_ANY__.
4093
7007c661
KK
40942014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4095
4096 * sysdeps/sh/fpu_control.h: New file.
4097 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4098 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4099 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4100 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4101 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4102 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4103 * sysdeps/sh/sys/ucontext.h: Remove.
4104 * sysdeps/sh/sys: Remove directory.
4105
0f0c35e4
AK
41062014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4107
4108 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4109 s390/sys/ucontext.h.
4110 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4111 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4112
4959e284
L
41132014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4114
4115 [BZ #15605]
4116 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4117
d98720e0
AZ
41182014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4119
4120 [BZ#16431]
4121 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4122 Adjust the vDSO correctly for internal calls.
4123 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4124
91cbd0bc
AM
41252014-01-20 Allan McRae <allan@archlinux.org>
4126
4127 * po/ca.po: Update Catalan translation from translation project.
4128
7a02cfad
MF
41292014-01-16 Mike Frysinger <vapier@gentoo.org>
4130
4131 * sysdeps/s390/sotruss-lib.c: New file.
4132
736c304a
AZ
41332014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4134
4135 [BZ#16430]
6e077ee5 4136 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4137 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4138 local calls issues by not having a PLT stub required for IFUNC calls.
4139 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4140
94d0cea0
JM
41412014-01-16 Joseph Myers <joseph@codesourcery.com>
4142
4143 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4144 * math/test-fpucw-static.c: Likewise.
4145
980cb518
SP
41462013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4147
4148 [BZ #16453]
4149 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4150
2393fc01
AZ
41512014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4152
4153 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4154 implementation for powerpc.
4155
d359bcc2
OB
41562014-01-15 Ondřej Bílka <neleai@seznam.cz>
4157
4158 [BZ #14782]
4159 * sysdeps/posix/system.c (__libc_system): Do not enable
4160 asynchronous cancellation.
4161
7beb48cb
AK
41622014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4163
4164 [BZ #16427]
4165 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4166 handling only for numbers special also in the IEEE case.
4167
c20d5bf5
AK
41682014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4169
4170 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4171
e83bd4ee
AM
41722014-01-11 Allan McRae <allan@archlinux.org>
4173
76d0ea69
AM
4174 * po/bg.po: Update Bulgarian translation from translation project.
4175
e83bd4ee
AM
4176 * po/de.po: Update German translation from translation project.
4177
bc2ba20a
RM
41782014-01-10 Roland McGrath <roland@hack.frob.com>
4179
4180 * sysdeps/generic/gcc-compat.h: New file.
4181
649ecea2
SP
41822014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4183
4184 * benchtests/asin-inputs: Correct slow inputs.
4185 * benchtests/acos-inputs: Likewise.
4186
1b19c006
AM
41872014-01-10 Allan McRae <allan@archlinux.org>
4188
a46dab08
AM
4189 * po:sv.po: Update Swedish translation from translation project.
4190
421df74a
AM
4191 * po/vi.po: Update Vietnamese translation from translation project.
4192
d61c51a7
AM
4193 * po/eo.po: Update Esperanto translation from translation project.
4194
0339a319
AM
4195 * po/cs.po: Update Czech translation from translation project.
4196
94ad3e99
AM
4197 * po/nl.po: Update Dutch translation from translation project.
4198
e349ca71
AM
4199 * po/pl.po: Update Polish translation from translation project.
4200
ddf930c1
AM
4201 * po/ru.po: Update Russian translation from translation project.
4202
1b19c006
AM
4203 * po/uk.po: Update Ukrainian translation from translation project.
4204
9f236c49
BM
42052014-01-08 Brooks Moses <bmoses@google.com>
4206
4207 * elf/dl-load.c: Fix comment typo.
4208
cd6701cf
CD
42092014-01-08 Carlos O'Donell <carlos@redhat.com>
4210
4211 * po/header.pot: Rename to...
4212 * po/pot.header: ... this.
4213 * po/Makefile: Use pot.header.
4214
66671c84
YK
42152014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4216 Maxim Kuvyrkov <maxim@kugelworks.com>
4217
4218 [BZ #16394]
cd6701cf
CD
4219 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4220 SRC and DEST against LEN.
66671c84 4221
38f34581
AZ
42222014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4223
4224 [BZ #16414]
4225 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4226 implementation.
4227 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4228
42292014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4230
4231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4232
4c327f2a
JM
42332014-01-08 Joseph Myers <joseph@codesourcery.com>
4234
4235 [BZ #16408]
4236 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4237 for large positive arguments.
4238
b821f414
JM
42392014-01-07 Joseph Myers <joseph@codesourcery.com>
4240
1f0f2067
JM
4241 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4242
a5a326f6
JM
4243 * math/auto-libm-test-in: Mark various tests with
4244 xfail-rounding:ldbl-128ibm.
4245 * math/auto-libm-test-out: Regenerated.
4246
b821f414
JM
4247 [BZ #16407]
4248 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4249 Increase overflow threshold.
4250
94c8a4bc
OB
42512014-01-07 Ondřej Bílka <neleai@seznam.cz>
4252
4253 [BZ #14286]
4254 * stdio-common/vfprintf.c: Check for integer overflow.
4255
87ded0c3
AK
42562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4257
4258 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4259 the first argument and return value of __tls_get_addr_internal.
4260
c5eebdd0
AK
42612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4262
4263 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4264 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4265
05d138ef
AK
42662014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4267
4268 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4269 * sysdeps/s390/rtld-global-offsets.sym: New file.
4270 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4271 GLIBC_2.19 symbol.
4272 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4273 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4274 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4275 ... this.
4276 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4277 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4278 ... this.
4279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4280 Regenerate.
4281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4282 Regenerate.
4283 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4284 halfs of GPRs for high_gprs contexts.
4285 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4286 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4287 field.
4288 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4289 uc_flags field.
4290 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4291 64 bit versions:
4292 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4293 for high GPRs (uc_high_gprs) and for future extensions
4294 (__reserved).
4295 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4296 for future extensions (__reserved).
4297 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4298 64 bit versions:
4299 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4300 SC_HIGHGPRS offset definition.
4301 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4302 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4303
93a45ff1
AK
43042014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4305
4306 * Versions.def: Add GLIBC_2.19 for libpthread.
4307 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4308 siglongjmp for libpthread with GLIBC_2.19 symver.
4309 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4310 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4311 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4312 * sysdeps/s390/__longjmp.c: New file.
4313 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4314 * sysdeps/s390/longjmp.c: New file.
4315 * sysdeps/s390/setjmp.S: New file.
4316 * sysdeps/s390/sigjmp.S: New file.
4317 * sysdeps/s390/v1-longjmp.c: New file.
4318 * sysdeps/s390/v1-setjmp.h: New file.
4319 * sysdeps/s390/v1-sigjmp.c: New file.
4320 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4321 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4322 GLIBC_2.19 version.
4323 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4324 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4325 versioned symbols for ____longjmp_chk.
4326 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4327 Likewise.
4328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4329 Regenerate.
4330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4331 Regenerate.
4332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4333 Regenerate.
4334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4335 Regenerate.
4336 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4337 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4338 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4339 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4340 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4341 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4342 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4343 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4344 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4345 * sysdeps/s390/rtld-__longjmp.c: New file.
4346 * sysdeps/s390/rtld-setjmp.S: New file.
4347
eb3fc44b
JM
43482014-01-06 Joseph Myers <joseph@codesourcery.com>
4349
4350 [BZ #16400]
4351 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4352 Return -__logl (x) for small positive arguments without evaluating
4353 a polynomial.
4354
9341dde4
MF
43552014-01-06 Mike Frysinger <vapier@gentoo.org>
4356
4357 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4358 Rename to ...
4359 (__ptrace_peeksiginfo_args): ... this.
4360 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4361 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4362 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4363
4cff0293
AM
43642014-01-06 Allan McRae <allan@archlinux.org>
4365
4366 * inet/netinet/in.h: Fix typo in comment.
4367
75595dcf
AJ
43682014-01-05 Andreas Jaeger <aj@suse.de>
4369
4370 * sysdeps/i386/fpu/libm-test-ulps: Update.
4371
79c1e109
AM
43722014-01-05 Allan McRae <allan@archlinux.org>
4373
dd804818
AM
4374 * po/libc.pot: Regenerated.
4375
79c1e109
AM
4376 * malloc/memusagestat.c: Fix gettext call formatting.
4377
0c813d1f
SK
43782014-01-04 Sami Kerola <kerolasa@iki.fi>
4379
4380 * nscd/nscd.c: Improve usage() output.
4381
20f4a8d9
MF
43822014-01-04 Mike Frysinger <vapier@gentoo.org>
4383
4384 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4385 * sysdeps/unix/sysv/linux/configure: Regenerated.
4386 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4387 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4388
22562bb2
JM
43892014-01-03 Joseph Myers <joseph@codesourcery.com>
4390
4391 [BZ #16390]
4392 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4393 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4394
d7ad2d9b
AZ
43952014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4396
4397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4398 extra tokens at end of #undef directive.
4399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4400 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4401 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4402
7dd009d8
JM
44032014-01-03 Joseph Myers <joseph@codesourcery.com>
4404
24db925a
JM
4405 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4406
7dd009d8
JM
4407 * math/auto-libm-test-in: Mark various tests with
4408 xfail-rounding:ldbl-128ibm.
4409 * math/auto-libm-test-out: Regenerated.
4410
396e3ecf
JM
44112014-01-02 Joseph Myers <joseph@codesourcery.com>
4412
819e5d50
JM
4413 [BZ #16386]
4414 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4415 numbers with subnormal high part when calculating exponent.
4416
90b6a1e5
JM
4417 [BZ #16385]
4418 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4419 fabs.
4420
396e3ecf
JM
4421 [BZ #16384]
4422 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4423 M_LN2l.
4424 (__ieee754_acoshl): Use __log1pl not __log1p.
4425
6c8dbf00
OB
44262013-01-02 Ondřej Bílka <neleai@seznam.cz>
4427
4428 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4429 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4430 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4431 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4432 Convert to GNU style.
4433 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4434 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4435 memalign_check, __malloc_set_state): Likewise.
4436 * malloc/mallocbug.c (main): Likewise.
4437 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4438 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4439 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4440 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4441 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4442 * malloc/malloc.h: Likewise.
4443 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4444 memalignhook, reallochook, mabort): Likewise.
4445 * malloc/mcheck.h: Likewise.
4446 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4447 mmap64, mremap, munmap, dest): Likewise.
4448 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4449 * malloc/morecore.c (__default_morecore): Likewise.
4450 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4451 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4452 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4453 print_and_abort): Likewise.
4454 * malloc/obstack.h: Likewise.
4455 * malloc/set-freeres.c (__libc_freeres): Likewise.
4456 * malloc/tst-mallocstate.c (main): Likewise.
4457 * malloc/tst-mtrace.c (main): Likewise.
4458 * malloc/tst-realloc.c (do_test): Likewise.
4459
d4124212
SP
44602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4461
9a3c6a6f
SP
4462 [BZ #16366]
4463 * nscd/netgroupcache.c (do_notfound): New function.
4464 (addgetnetgrentX): Use it.
4465
d4124212
SP
4466 [BZ # 16365]
4467 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4468 NSS_STATUS_NOTFOUND.
4469
97b9a009
JM
44702014-01-01 Joseph Myers <joseph@codesourcery.com>
4471
4472 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4474
d4697bc9
AM
44752014-01-01 Allan McRae <allan@archlinux.org>
4476
ddb3687f
AM
4477 * scripts/update-copyrights: Update configure input file suffix.
4478
88726d48
AM
4479 * NEWS: Update copyright year.
4480 * catgets/gencat.c: Likewise.
4481 * csu/version.c: Likewise.
4482 * debug/catchsegv.sh: Likewise.
4483 * debug/pcprofiledump.c: Likewise.
4484 * debug/xtrace.sh: Likewise.
4485 * elf/ldconfig.c: Likewise.
4486 * elf/ldd.bash.in: Likewise.
4487 * elf/pldd.c: Likewise.
4488 * elf/sotruss.ksh: Likewise.
4489 * elf/sprof.c: Likewise.
4490 * iconv/iconv_prog.c: Likewise.
4491 * iconv/iconvconfig.c: Likewise.
4492 * locale/programs/locale.c: Likewise.
4493 * locale/programs/localedef.c: Likewise.
4494 * login/programs/pt_chown.c: Likewise.
4495 * malloc/memusage.sh: Likewise.
4496 * malloc/memusagestat.c: Likewise.
4497 * malloc/mtrace.pl: Likewise.
4498 * manual/libc.texinfo: Likewise.
4499 * nscd/nscd.c: Likewise.
4500 * nss/getent.c: Likewise.
4501 * nss/makedb.c: Likewise.
4502 * posix/getconf.c: Likewise.
4503 * scripts/test-installation.pl: Likewise.
4504
d4697bc9
AM
4505 * All files with FSF copyright notices: Update copyright dates
4506 using scripts/update-copyrights.
4507 * intl/plural.c: Regenerated.
4508 * locale/programs/charmap-kw.h: Likewise.
4509 * locale/programs/locfile-kw.h: Likewise.
4510
c8590f9d
MF
45112013-12-31 Mike Frysinger <vapier@gentoo.org>
4512
4513 * sysdeps/unix/sysv/linux/configure: Regenerated.
4514 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4515 the linux/fanotify.h header.
4516 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4517 HAVE_LINUX_FANOTIFY_H is defined.
4518
b19221b9
SP
45192013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4520
dd1d85e5
SP
4521 * benchtests/cos-inputs: New inputs.
4522 * benchtests/sin-inputs: Likewise.
4523
1acbb90f
SP
4524 * benchtests/atan-inputs: New inputs. Fix name of multiple
4525 precision fallback inputs.
4526
4c012ed3
SP
4527 * benchtests/atanh-inputs: New inputs.
4528 * benchtests/tanh-inputs: Likewise.
4529
eff98324
SP
4530 * benchtests/acosh-inputs: New inputs.
4531 * benchtests/asinh-inputs: Likewise.
4532
ce641152
SP
4533 * benchtests/cosh-inputs: New inputs.
4534 * benchtests/sinh-inputs: Likewise.
4535
b19221b9
SP
4536 * benchtests/acos-inputs: Add more inputs.
4537 * benchtests/asin-inputs: Likewise.
4538
030a4976 45392013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4540
030a4976 4541 [BZ #16375]
9dcc8f11
VS
4542 * manual/arith.texi: Fix spelling.
4543 * manual/charset.texi: Likewise.
4544 * manual/errno.texi: Likewise.
4545 * manual/filesys.texi: Likewise.
4546 * manual/lang.texi: Likewise.
4547 * manual/llio.texi: Likewise.
4548 * manual/locale.texi: Likewise.
4549 * manual/message.texi: Likewise.
4550 * manual/resource.texi: Likewise.
4551 * manual/search.texi: Likewise.
4552 * manual/setjmp.texi: Likewise.
4553 * manual/stdio.texi: Likewise.
4554 * manual/string.texi: Likewise.
4555 * manual/sysinfo.texi: Likewise.
4556 * manual/time.texi: Likewise.
4557
11520a57
CD
45582013-12-27 Carlos O'Donell <carlos@redhat.com>
4559
4560 * po/sl.po: New file.
4561
471103ae
MF
45622013-12-27 Mike Frysinger <vapier@gentoo.org>
4563
4564 * .gitignore: Add core/.gdbinit/.gdb_history.
4565
6c9642ed
AM
45662013-12-27 Allan McRae <allan@archlinux.org>
4567
4568 [BZ #16369]
4569 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4570 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4571
3f637079
BM
45722013-12-24 Brooks Moses <bmoses@google.com>
4573
4574 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4575 all compilers that claim C++98 compliance, not just GCC.
4576 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4577 Likewise.
4578
abc26e99
MK
45792013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4580
4581 * NEWS: Restore accidentally deleted bug-fix entries.
4582
362b47fe
MK
45832013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4584 Ondřej Bílka <neleai@seznam.cz>
4585
4586 [BZ #15073]
4587 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4588 have_lock.
362b47fe 4589
b9bcbbcb
OB
45902013-12-23 Ondřej Bílka <neleai@seznam.cz>
4591
4592 [BZ #12986]
4593 * manual/stdio.texi (String Input Conversions): Clarify that character
4594 classes are not supported.
4595
fb55fcd2
AZ
45962013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4597
4598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4599
ef7344f0
JM
46002013-12-22 Joseph Myers <joseph@codesourcery.com>
4601
4f40e4b3
JM
4602 [BZ #16337]
4603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4604 Calculate results for small negative arguments directly rather
4605 than using reflection formula with special underflow handling.
4606
ef7344f0
JM
4607 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4608 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4609 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4610 (fchflags): Likewise.
4611 (revoke): Likewise.
4612 (setlogin): Likewise.
4613 (sigaltstack): Likewise.
4614 (wait4): Likewise.
4615 (sigblock): Remove.
4616 (sigsetmask): Likewise.
4617 (wait3): Likewise.
4618 (waitpid): Likewise.
4619 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4620 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4621 file.
4622 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4623 * sysdeps/unix/bsd/Makefile: ... here.
4624 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4625 * sysdeps/unix/bsd/Versions: ... here.
4626 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4627 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4628 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4629 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4630 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4631 * sysdeps/unix/bsd/sigblock.c: ... here.
4632 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4633 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4634 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4635 * sysdeps/unix/bsd/sigvec.c: ... here.
4636 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4637 * sysdeps/unix/bsd/tcdrain.c: ... here.
4638 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4639 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4640 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4641 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4642 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4643 * sysdeps/unix/bsd/wait.c: ... here.
4644 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4645 * sysdeps/unix/bsd/wait3.c: ... here.
4646 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4647 * sysdeps/unix/bsd/waitpid.c: ... here.
4648
5b0626b9
JM
46492013-12-21 Joseph Myers <joseph@codesourcery.com>
4650
4651 [BZ #16356]
4652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4653 round-to-nearest for [!USE_AS_EXPM1L].
4654 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4655 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4656 more tests of exp and exp10. Expect some exp10 tests to miss
4657 exceptions or fail in directed rounding modes.
4658 * math/auto-libm-test-out: Regenerated.
4659 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4660 (exp10_test_tonearest): New function.
4661 (exp10_towardzero_test_data): New array.
4662 (exp10_test_towardzero): New function.
4663 (exp10_downward_test_data): New array.
4664 (exp10_test_downward): New function.
4665 (exp10_upward_test_data): New array.
4666 (exp10_test_upward): New function.
4667 (main): Call the new functions.
4668 * sysdeps/i386/fpu/libm-test-ulps: Update.
4669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4670
7fda5682
JM
46712013-12-20 Joseph Myers <joseph@codesourcery.com>
4672
31e3a405
JM
4673 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4674 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4675 * math/auto-libm-test-out: Regenerated.
4676 * math/libm-test.inc (acosh_test_data): Add more tests.
4677 (atanh_test_data): Likewise.
4678 (ceil_test_data): Likewise.
4679 (copysign_test_data): Likewise.
4680 * sysdeps/i386/fpu/libm-test-ulps: Update.
4681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4682
85bff96a
JM
4683 * timezone/checktab.awk: Update from tzcode 2013i.
4684 * timezone/private.h: Likewise.
4685 * timezone/scheck.c: Likewise.
4686 * timezone/tzfile.h: Likewise.
4687 * timezone/tzselect.ksh: Likewise.
4688 * timezone/zdump.c: Likewise.
4689 * timezone/zic.c: Likewise.
4690
b7867a3b
JM
4691 * math/auto-libm-test-in: Add tests of cpow.
4692 * math/auto-libm-test-out: Regenerated.
4693 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4694 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4695 mpc_cc_c.
4696 (func_calc_desc): Add mpc_cc_c union field.
4697 (test_functions): Add cpow.
4698 (special_fill_2pi): New function.
4699 (special_real_inputs): Add 2pi.
4700 (calc_generic_results): Handle mpc_cc_c.
4701 * sysdeps/i386/fpu/libm-test-ulps: Update.
4702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4703
7fda5682
JM
4704 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4705 csqrt, ctan and ctanh.
4706 * math/auto-libm-test-out: Regenerated.
4707 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4708 (TEST_COND_x86): Likewise.
4709 (ccos_test_data): Use AUTO_TESTS_c_c.
4710 (ccosh_test_data): Likewise.
4711 (cexp_test_data): Likewise.
4712 (clog_test_data): Likewise.
4713 (csqrt_test_data): Likewise.
4714 (ctan_test_data): Likewise.
4715 (ctan_tonearest_test_data): Likewise.
4716 (ctan_towardzero_test_data): Likewise.
4717 (ctan_downward_test_data): Likewise.
4718 (ctan_upward_test_data): Likewise.
4719 (ctanh_test_data): Likewise.
4720 (ctanh_tonearest_test_data): Likewise.
4721 (ctanh_towardzero_test_data): Likewise.
4722 (ctanh_downward_test_data): Likewise.
4723 (ctanh_upward_test_data): Likewise.
4724 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4725 mpc_c_c.
4726 (func_calc_desc): Add mpc_c_c union field.
4727 (FUNC_mpc_c_c): New macro.
4728 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4729 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4730 ctanh.
4731 (special_fill_min_subnorm_p120): New function.
4732 (special_real_inputs): Add min_subnorm_p120.
4733 (calc_generic_results): Handle mpc_c_c.
4734 * sysdeps/i386/fpu/libm-test-ulps: Update.
4735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4736
5ff8d60e
SP
47372013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4738
392dd2de
SP
4739 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4740 do_sin_slow): New functions.
4741 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4742 cslow2, csloww1, csloww2): Use the new functions.
4743
84ba214c
SP
4744 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4745 Use M to change sign of result instead of X. Assume X is
4746 positive.
4747 (csloww1): Likewise.
4748 (__sin): Adjust.
4749 (__cos): Adjust.
4750
975195e4
SP
4751 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4752 arguments A and DA.
4753 (__sin): Adjust.
4754 (__cos): Likewise.
4755
5ff8d60e
SP
4756 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4757 (__cos): Likewise.
4758 (sloww1): Don't adjust sign of DX.
4759 (csloww1): Likewise.
4760 (sloww2): Use X directly and don't adjust sign of DX.
4761 (csloww2): Likewise.
4762
eb983568
JM
47632013-12-19 Joseph Myers <joseph@codesourcery.com>
4764
64a17f1a
JM
4765 * math/auto-libm-test-in: Add tests of cabs and carg.
4766 * math/auto-libm-test-out: Regenerated.
4767 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4768 (carg_test_data): Likewise.
4769 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4770 mpc_c_f.
4771 (func_calc_desc): Add mpc_c_f union field.
4772 (test_functions): Add cabs and carg.
4773 (calc_generic_results): Handle mpc_c_f.
4774
eb983568
JM
4775 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4776 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4777 as a macro and a compat symbol.
4778 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4779 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4780 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4781 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4782 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4783 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4784 not use .hidden.
4785 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4786 Likewise.
4787 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4788 Likewise.
4789 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4790 Likewise.
4791 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4792 Likewise.
4793 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4794 Likewise.
4795 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4796 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4797 from GLIBC_2.3.2.
4798
6eeb678a
AZ
47992013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4800
4801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4802
6f6fc482
JM
48032013-12-19 Joseph Myers <joseph@codesourcery.com>
4804
21fea2e2
JM
4805 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4806 trailing whitespace removed.
4807 * scripts/config.guess: Update to version 2013-11-29.
4808 * scripts/config.sub: Update to version 2013-10-01.
4809
6f6fc482
JM
4810 * math/auto-libm-test-in: Add tests of sincos.
4811 * math/auto-libm-test-out: Regenerated.
4812 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4813 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4814 mpfr_f_11.
4815 (func_calc_desc): Add mpfr_f_11 union field.
4816 (test_functions): Add sincos.
4817 (calc_generic_results): Handle mpfr_f_11.
4818 * sysdeps/i386/fpu/libm-test-ulps: Update.
4819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4820
83f5c32d
AS
48212013-12-19 Andreas Schwab <schwab@suse.de>
4822
4823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4824 CALL_MCOUNT.
4825 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4826 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4827 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4828
c688b419
JM
48292013-12-19 Joseph Myers <joseph@codesourcery.com>
4830
335ee092
JM
4831 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4832 * sysdeps/i386/fpu/libm-test-ulps: Update.
4833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4834
f88acd39
JM
4835 [BZ #16293]
4836 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4837 round-to-nearest mode when using frndint.
4838 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4839 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4841 Likewise.
4842 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4843 sinh test to fail.
4844 * math/auto-libm-test-out: Regenerated.
4845 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4846 (TEST_COND_x86): Likewise.
4847 (expm1_tonearest_test_data): New array.
4848 (expm1_test_tonearest): New function.
4849 (expm1_towardzero_test_data): New array.
4850 (expm1_test_towardzero): New function.
4851 (expm1_downward_test_data): New array.
4852 (expm1_test_downward): New function.
4853 (expm1_upward_test_data): New array.
4854 (expm1_test_upward): New function.
4855 (main): Run the new test functions.
4856 * sysdeps/i386/fpu/libm-test-ulps: Update.
4857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4858
c688b419
JM
4859 * include/features.h: Update comment documenting feature test
4860 macros. Mention _DEFAULT_SOURCE in comment.
4861 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4862 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4863 _BSD_SOURCE and _SVID_SOURCE.
4864 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4865 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4866 !_SVID_SOURCE]: Likewise.
4867 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4868 (__USE_POSIX_IMPLICITLY): Define.
4869 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4870 (_POSIX_SOURCE): Undefine and redefine.
4871 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4872 (_POSIX_C_SOURCE): Likewise.
4873 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4874 (Feature Test Macros): Update documentation of default features.
4875
9f6e964c
RS
48762013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4877
4878 * benchtests/Makefile: Add bench-strtok.
4879 * benchtests/bench-strtok.c: New file: strtok benchtest.
4880
ee0a148a
AM
48812013-12-19 Allan McRae <allan@archlinux.org>
4882
4883 * manual/install.texi: Suppress menu for plain text output.
4884 * INSTALL: Regenerated.
4885
b9ab448f
BM
48862013-12-18 Brooks Moses <bmoses@google.com>
4887
4888 [BZ #15846]
4889 * misc/getauxval.c: Include errno.h.
4890 (__getauxval): Set errno to ENOENT if the requested type is not
4891 found.
4892 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4893 don't declare with __attribute_const__.
4894 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4895 * manual/startup.texi: Document that getauxval sets errno.
4896
23776487
JM
48972013-12-18 Joseph Myers <joseph@codesourcery.com>
4898
f889953b
JM
4899 * math/auto-libm-test-in: Add tests of jn and yn.
4900 * math/auto-libm-test-out: Regenerated.
4901 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4902 (yn_test_data): Likewise.
4903 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4904 mpfr_if_f.
4905 (func_calc_desc): Add mpfr_if_f union field.
4906 (FUNC_mpfr_if_f): New macro.
4907 (test_functions): Add jn and yn.
4908 (calc_generic_results): Assert type of second input for
4909 mpfr_ff_f. Handle mpfr_if_f.
4910 (output_for_one_input_case): Disable all checking for arguments
4911 fitting floating-point types in case of an integer argument.
4912 * sysdeps/i386/fpu/libm-test-ulps: Update.
4913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4914
23776487
JM
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4916 Don't expect fegetround reference in libm.so.
4917
cb756c6d
MS
49182013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4919
4920 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4921 $(config-cflags-nofma).
4922
2dec468f
JM
49232013-12-18 Joseph Myers <joseph@codesourcery.com>
4924
5953eb3a
JM
4925 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4926 * math/auto-libm-test-out: Regenerated.
4927
2dec468f
JM
4928 [BZ #16338]
4929 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4930 to determine exponent and adjust argument to have exponent of -1.
4931 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4932 log2.
4933 * math/auto-libm-test-out: Regenerated.
4934 * sysdeps/i386/fpu/libm-test-ulps: Update.
4935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4936
4d84e6ad
OB
49372013-12-18 Ondřej Bílka <neleai@seznam.cz>
4938
4939 * manual/probes.texi: Remove cases when per-thread arenas are
4940 disabled.
4941
1818483b
AS
49422013-12-18 Andreas Schwab <schwab@suse.de>
4943
4944 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4945 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4946 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4947 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4948 * sysdeps/i386/i686/multiarch/Makefile: Update.
4949 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4950
25de95bf
JM
49512013-12-17 Joseph Myers <joseph@codesourcery.com>
4952
4953 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4954 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4955
674762d9
PE
49562013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4957
ed27ed83 4958 [BZ #15968]
0748546f
PE
4959 Support TZ transition times < 00:00:00.
4960 This is needed for version-3 tz-format files; it supports time
4961 stamps past 2037 for America/Godthab (the only entry in the tz
4962 database for which this change is relevant).
4963 * manual/time.texi (TZ Variable): Document transition times
4964 from -167:59:59 through -00:00:01.
4965 * time/tzset.c (tz_rule): Time of day is now signed.
4966 (__tzset_parse_tz): Parse negative time of day.
4967
4480e934
PE
4968 Document TZ transition times >= 25:00:00.
4969 * manual/time.texi (TZ Variable): Document transition times from
4970 25:00:00 through 167:59:59. These are already supported, and this
4971 support will help with version-3 tz-format files.
4972
69947401
PE
4973 * manual/time.texi (TZ Variable): Modernize North America example
4974 to reflect current (i.e., 2007-and-later) daylight saving rules.
4975
674762d9
PE
4976 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4977
7011c262
JM
49782013-12-17 Joseph Myers <joseph@codesourcery.com>
4979
2fc6557e
JM
4980 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4981 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4982 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4984 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4985 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4986 * sysdeps/unix/bsd/clock.c: Likewise.
4987 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4988 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4989 * sysdeps/unix/bsd/init-posix.c: Likewise.
4990 * sysdeps/unix/bsd/poll.c: Likewise.
4991 * sysdeps/unix/bsd/ptsname.c: Likewise.
4992 * sysdeps/unix/bsd/seekdir.c: Likewise.
4993 * sysdeps/unix/bsd/setegid.c: Likewise.
4994 * sysdeps/unix/bsd/seteuid.c: Likewise.
4995 * sysdeps/unix/bsd/setgid.c: Likewise.
4996 * sysdeps/unix/bsd/setrgid.c: Likewise.
4997 * sysdeps/unix/bsd/setruid.c: Likewise.
4998 * sysdeps/unix/bsd/setsid.c: Likewise.
4999 * sysdeps/unix/bsd/setuid.c: Likewise.
5000 * sysdeps/unix/bsd/sigaction.c: Likewise.
5001 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5002 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5003 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5004 * sysdeps/unix/bsd/telldir.c: Likewise.
5005 * sysdeps/unix/bsd/times.c: Likewise.
5006 * sysdeps/unix/bsd/usleep.c: Likewise.
5007
029c7b25
JM
5008 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5009 ($(objpfx)libbsd-compat.a): Remove rule.
5010
7011c262
JM
5011 * include/features.h (__FAVOR_BSD): Do not define.
5012 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5013 features conflicting with POSIX.
5014 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5015 (_BSD_SOURCE): Remove description of not being a subset of other
5016 feature test macros.
5017 * manual/job.texi (getpgrp): Do not document BSD version.
5018 (getpgid): Do not document by reference to BSD getpgrp.
5019 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5020 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5021 * signal/signal.h [__FAVOR_BSD]: Likewise.
5022 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5023 instead of making contents conditional on [__FAVOR_BSD].
5024 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5025
affb6f78
AZ
50262013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027
5028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5029
c88769dd
JM
50302013-12-17 Joseph Myers <joseph@codesourcery.com>
5031
6432a540
JM
5032 [BZ #16314]
5033 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5034 values below 2**-450, not 2**-500.
5035 * math/auto-libm-test-in: Don't allow spurious underflow from
5036 hypot.
5037 * math/auto-libm-test-out: Regenerated.
5038
c88769dd
JM
5039 [BZ #16316]
5040 [BZ #16330]
5041 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5042 values of ha and hb and sort them after adjusting subnormal
5043 arguments.
5044 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5045 Likewise.
5046 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5047 values of ea and eb and sort them after adjusting subnormal
5048 arguments.
5049 * math/auto-libm-test-in: Do not expect some hypot tests of
5050 subnormals to fail. Add more hypot tests.
5051 * math/auto-libm-test-out: Regenerated.
5052
29618f6b
KK
50532013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5054
5055 [BZ #13304]
5056 * sysdeps/sh/s_fma.c: New file.
5057 * sysdeps/sh/s_fmaf.c: New file.
5058 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5059 version.
5060 * sysdeps/sh/Implies: Add sh/soft-fp.
5061
eacfdfbf
RM
50622013-12-16 Roland McGrath <roland@hack.frob.com>
5063
5064 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5065 level of indirection to members `objname', `errstring', `malloced'.
5066 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5067 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5068 it as the __longjmp argument (just pass 1 instead).
5069 (_dl_catch_error): Initialize C with argument pointers and address of
5070 volatile local ERRCODE rather than copying values out of C at return.
5071
ff362e5b
JM
50722013-12-16 Joseph Myers <joseph@codesourcery.com>
5073
5074 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5075 * math/auto-libm-test-out: Regenerated.
5076 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5077 (hypot_test_data): Likewise.
5078 (pow_test_data): Likewise.
5079 (pow_tonearest_test_data): Likewise.
5080 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5081 mpfr_ff_f.
5082 (func_calc_desc): Add mpfr_ff_f union field.
5083 (FUNC_mpfr_ff_f): New macro.
5084 (test_functions): Add atan2, hypot and pow.
5085 (special_fill_min): New function.
5086 (special_fill_minus_min): Likewise.
5087 (special_fill_min_subnorm): Likewise.
5088 (special_fill_minus_min_subnorm): Likewise.
5089 (special_real_inputs): Add min, -min, min_subnorm and
5090 -min_subnorm.
5091 (calc_generic_results): Handle mpfr_ff_f.
5092 * sysdeps/i386/fpu/libm-test-ulps: Update.
5093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5094
5764c27f
WN
50952013-12-16 Will Newton <will.newton@linaro.org>
5096
5097 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5098 (Aligned Memory Blocks): Add documentation for aligned_alloc
5099 and suggest it as an alternative to posix_memalign.
5100 (Hooks for Malloc): Document __memalign_hook is also called
5101 for aligned_alloc. (Summary of Malloc): Add summary for
5102 aligned alloc. Document __memalign_hook is also called
5103 for aligned_alloc.
5104
0a096e44
WN
51052013-12-16 Will Newton <will.newton@linaro.org>
5106
5107 * manual/memory.texi (Malloc Examples): Clarify default
5108 alignment documentation. Suggest posix_memalign rather
5109 than memalign or valloc.
5110 (Aligned Memory Blocks): Remove suggestion to use memalign
5111 or valloc. Remove obsolete comment about BSD.
5112 Document memalign errno values and mark the function obsolete.
5113 Document posix_memalign returned error codes. Mark valloc
5114 as obsolete. (Hooks for Malloc): __memalign_hook is also
5115 called for posix_memalign and valloc.
5116 (Summary of Malloc): Add posix_memalign to function summary.
5117 __memalign_hook is also called for posix_memalign and valloc.
5118
8d561986
SP
51192013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5120
5121 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5122 TAYLOR_SIN.
5123 (__sin): Adjust.
5124 (__cos): Likewise.
5125 (sloww): Use mynumber union. Expand ternary operator into
5126 if-else statements.
5127 (cslow): use mynumber union.
5128
73616a74
AM
51292013-12-16 Allan McRae <allan@archlinux.org>
5130
9e8ac24b
AM
5131 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5132 * configure: Regenerated.
5133
6f8e37eb
AM
5134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5135
8894bad3
AM
5136 [BZ #14120]
5137 * configure.ac: Added --enable-maintainer-mode. Check for
5138 autoconf when enabled.
5139 * configure: Regenerated.
5140
73616a74
AM
5141 * nscd/nscd.service: New file.
5142 * nscd/nscd.tmpfiles: New file.
5143
584b18eb
OB
51442013-12-14 Ondřej Bílka <neleai@seznam.cz>
5145
5146 [BZ #12100]
5147 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5148 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5149 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5150 (strstr): Add __strstr_sse2_unaligned ifunc.
5151 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5152 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5153 (strcasestr): Remove __strcasestr_sse42 ifunc.
5154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5157
8a5c7897
KK
51582013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5159
5160 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5161 * sysdeps/sh/bits/fenv.h: ... here.
5162 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5163
fd712ef3
AZ
51642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5165
5166 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5167
42fcb46c
AZ
51682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5169
5170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5171 hypotf multiarch implementations.
5172 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5173 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5174 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5175 multiarch hypot for PPC64.
5176 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5177 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5178 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5179 multiarch hypotf for PPC64.
5180
83efded4
AZ
51812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5182
5183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5184 modff multiarch implementations.
5185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5188 multiarch modf for PPC64.
5189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5192 multiarch modff for PPC64.
5193
43e246d2
AZ
51942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5195
5196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5197 and logl multiarch implementations.
5198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5201 multiarch logb for PPC64.
5202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5205 multiarch logb for PPC64.
5206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5209 multiarch logb for PPC64.
5210
8fdad123
AZ
52112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212
5213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5214 isinff multiarch implementation.
5215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5216 file.
5217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5219 multiarch isinf for PPC64.
5220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5221 file.
5222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5223 multiarch isinff for PPC64.
5224
1481d706
AZ
52252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5226
5227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5228 finitef multiarch implementation.
5229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5230 file.
5231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5233 multiarch finite for PPC64.
5234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5235 file.
5236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5237 multiarch finitef for PPC64.
5238
5ccd5fc8
AZ
52392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5240
5241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5242 lrint multiarch implementation.
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5244 file.
5245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5247 multiarch llrint for PPC64.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5249 multiarch lrint for PPC64.
5250
2568f3fa
AZ
52512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5252
5253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5254 copysignf multiarch implementation.
5255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5256 file.
5257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5258 file.
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5260 multiarch copysign for PPC64.
5261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5262 multiarch copysignf for PPC64.
5263
1cb341fd
AZ
52642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5265
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5267 multiarch implementation.
5268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5269 file.
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5271 file.
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5273 file.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5275 file.
5276 multiarch llround for PPC64.
5277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5278 multiarch trunc for PPC64.
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5280 multiarch truncf for PPC64.
5281
59a3e194
AZ
52822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5285 multiarch implementation.
5286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5287 file.
5288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5289 file.
5290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5291 file.
5292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5293 file.
5294 multiarch llround for PPC64.
5295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5296 multiarch round for PPC64.
5297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5298 multiarch roundf for PPC64.
5299
357fd3b4
AZ
53002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5301
5302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5303 multiarch implementation.
5304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5305 file.
5306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5307 file.
5308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5309 file.
5310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5311 file.
5312 multiarch llround for PPC64.
5313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5314 multiarch floor for PPC64.
5315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5316 multiarch floorf for PPC64.
5317
96770f12
AZ
53182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5319
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5321 multiarch implementation.
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5323 file.
5324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5325 file.
5326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5327 file.
5328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5329 file.
5330 multiarch llround for PPC64.
5331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5332 multiarch ceil for PPC64.
5333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5334 multiarch ceilf for PPC64.
5335
c3627f6e
AZ
53362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5337
5338 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5339 multiarch implementation.
5340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5341 file.
5342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5343 file.
5344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5345 file.
5346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5347 multiarch llround for PPC64.
5348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5349 multiarch lround for PPC64.
5350
b2284ad7
AZ
53512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5352
5353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5354 multiarch implementation.
5355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5358 file.
5359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5362 multiarch isnan for PPC64.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5364 multiarch isnanf for PPC64.
5365
69bbc63d
AZ
53662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367
5368 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5369 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5370 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5371 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5372 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5374
c24517c9
AZ
53752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5376
5377 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5378 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5381
a52374e8
AZ
53822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5383
5384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5385 multiarch implementations.
5386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5387 (__libc_ifunc_impl_list): Likewise.
5388 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5389 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5390 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5391 multiarch stpcpy for PPC64.
5392
7f5ec113
AZ
53932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5394
5395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5396 multiarch implementations.
5397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5398 (__libc_ifunc_impl_list): Likewise.
5399 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5400 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5401 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5402 multiarch strcpy for PPC64.
5403
e28bcd42
AZ
54042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5405
5406 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5407 redefine function name.
5408 (_wordcopy_fwd_dest_aligned): Likewise.
5409 (_wordcopy_bwd_aligned): Likewise.
5410 (_wordcopy_bwd_dest_aligned): Likewise.
5411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5412 multiarch implementations.
5413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5414 (__libc_ifunc_impl_list): Likewise.
5415 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5416 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5418 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5419 multiarch wcscpy for PPC64.
5420
92cacfce
AZ
54212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5422
5423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5424 multiarch implementations.
5425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5426 (__libc_ifunc_impl_list): Likewise.
5427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5428 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5429 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5430 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5431 multiarch wcscpy for PPC64.
5432
7b714620
AZ
54332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5434
5435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5436 multiarch implementations.
5437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5438 (__libc_ifunc_impl_list): Likewise.
5439 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5440 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5441 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5442 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5443 multiarch wcsrchr for PPC64.
5444
16fd2ae3
AZ
54452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446
5447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5448 multiarch implementations.
5449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5450 (__libc_ifunc_impl_list): Likewise.
5451 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5452 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5453 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5454 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5455 multiarch wcschr for PPC64.
5456
9ee2969b
AZ
54572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5458
5459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5460 multiarch implementations.
5461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5462 (__libc_ifunc_impl_list): Likewise.
5463 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5464 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5465 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5466 multiarch strchrnul for PPC64.
5467
372dc060
AZ
54682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5469
5470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5471 implementations.
5472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5473 (__libc_ifunc_impl_list): Likewise.
5474 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5475 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5476 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5477 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5478 strchr for PPC64.
5479
24c2c3b9
AZ
54802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5483 implementations.
5484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5485 (__libc_ifunc_impl_list): Likewise.
5486 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5487 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5488 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5489 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5490 strncmp for PPC64.
5491
1c92d9a0
AZ
54922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493
5494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5495 multiarch implementations.
5496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5497 (__libc_ifunc_impl_list): Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5499 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5500 strncasecmp for PPC64.
5501 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5502 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5503 multiarch strncasecmp_l for PPC64.
5504
17de3ee3
AZ
55052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5506
5507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5508 multiarch implementations.
5509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5510 (__libc_ifunc_impl_list): Likewise.
5511 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5513 multiarch strcasecmp for PPC64.
5514 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5515 file.
5516 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5517 multiarch strcasecmp_l for PPC64.
5518
62982bf9
AZ
55192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520
5521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5522 implementations.
5523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5524 (__libc_ifunc_impl_list): Likewise.
5525 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5526 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5527 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5528 strnlen for PPC64.
5529
a65f4904
AZ
55302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5531
5532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5533 implementations.
5534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5535 (__libc_ifunc_impl_list): Likewise.
5536 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5537 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5538 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5539 strlen for PPC64.
5540
1fd005ad
AZ
55412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5542
5543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5544 implementations.
5545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5546 (__libc_ifunc_impl_list): Likewise.
5547 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5548 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5549 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5550 rawmemrchr for PPC64.
5551
cd05ba91
AZ
55522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5553
5554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5555 implementation.
5556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5557 (__libc_ifunc_impl_list): Likewise.
5558 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5559 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5560 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5561 memrchr for PPC64.
5562
870f8676
AZ
55632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5564
5565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5566 implementation.
5567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5568 (__libc_ifunc_impl_list): Likewise.
5569 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5570 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5571 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5572 memchr for PPC64.
5573
f00be62b
AZ
55742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5575
5576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5577 implementation.
5578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5579 (__libc_ifunc_impl_list): Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5581 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5582 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5583 mempcpy for PPC64.
5584
8a29a3d0
AZ
55852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5586
5587 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5588 avoid cretion of __bzero symbol.
5589 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5590 Likewise.
5591 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5592 Likewise.
5593 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5594 Likewise.
5595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5596 multiarch implementations.
5597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5598 (__libc_ifunc_impl_list): Likewise.
5599 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5600 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5601 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5602 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5603 bzero for PPC32.
5604 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5605 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5606 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5607 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5608 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5609 memset for PPC64.
5610 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5611
07253fcf
AZ
56122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5613
5614 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5616 implementations.
5617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5618 (__libc_ifunc_impl_list): Likewise.
5619 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5620 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5621 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5622 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5623 memcmp for PPC64.
5624
b5beafbc
AZ
56252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5626
5627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5628 multiarch for POWER/PPC64.
5629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5630 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5631 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5632 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5633 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5634 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5635 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5636 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5637 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5638 memcpy for PPC64.
5639
5e6a4d4b
AZ
56402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641
5642 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5643 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5644 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5646 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5647 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5648 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5649 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5650 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5651 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5652 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5653 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5654 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5655 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5656 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5664
ddfab6dc
KK
56652013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5666
5667 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5668
19b5525e
SP
56692013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5670
5671 * benchtests/Makefile (bench): Add exp2 and log2.
5672 (LDLIBS-bench-exp2): Add -lm.
5673 (LDLIBS-bench-log2): Likewise.
5674 * benchtests/exp2-inputs: New inputs file.
5675 * benchtests/log2-inputs: New inputs file.
5676 * benchtests/log-inputs: Add new inputs.
5677 * benchtests/tan-inputs: Likewise.
5678
196f7f5d
SP
56792013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5680
7a74607f
SP
5681 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5682 definition...
5683 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5684 csloww1, csloww2): ... from here.
5685
196f7f5d
SP
5686 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5687 instead of structures.
5688 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5689 (POLYNOMIAL): Likewise.
5690 (TAYLOR_SLOW): Likewise.
5691 (__sin): Likewise.
5692 (__cos): Likewise.
5693 (slow1): Likewise.
5694 (slow2): Likewise.
5695 (sloww): Likewise.
5696 (sloww1); Likewise.
5697 (sloww2): Likewise.
5698 (bsloww1): Likewise.
5699 (bsloww2): Likewise.
5700 (cslow2): Likewise.
5701 (csloww): Likewise.
5702 (csloww1): Likewise.
5703 (csloww2): Likewise.
5704
0dfa665c
OB
57052013-12-10 Ondřej Bílka <neleai@seznam.cz>
5706
5707 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5708 (__malloc_assert, __libc_realloc, __libc_calloc,
5709 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5710 memcpy and memset.
5711 * malloc/hooks.c (realloc_check): Likewise.
5712
5782a80f
OB
57132013-12-10 Ondřej Bílka <neleai@seznam.cz>
5714
5715 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5716 * malloc/arena.c: Remove PER_THREAD conditional.
5717 [!PER_THREAD]: Remove code.
5718 (ptmalloc_unlock_all2): Likewise.
5719 (ptmalloc_init): Likewise.
5720 (_int_new_arena): Likewise.
5721 (arena_get2): Likewise.
5722 * malloc/hooks.c (__malloc_get_state): Likewise.
5723 (__malloc_set_state): Likewise.
5724 * malloc/malloc.c: Likewise.
5725 (struct malloc_state): Likewise.
5726 (struct malloc_par): Likewise.
5727 (__libc_realloc): Likewise.
5728 (__libc_mallopt): Likewise.
5729
aeb95445
AZ
57302013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5731
5732 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5733
e8349efd
OB
57342013-12-09 Ondřej Bílka <neleai@seznam.cz>
5735
5736 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5737 macro to a function. Check for zero perturb_byte.
5738 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5739
f3eeb3fc
OB
57402013-12-09 Ondřej Bílka <neleai@seznam.cz>
5741
5742 * malloc/malloc.c: (force_reg): Remove.
5743 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5744 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5745 force_reg by atomic_forced_read.
5746 * malloc/arena.c (ptmalloc_init): Likewise.
5747 * malloc/hooks.c (top_check): Likewise.
5748
be2f9009
AZ
57492013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750
5751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5752
e7b914bd
MT
57532013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5754
5755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5756
9f0be4f8
JM
57572013-12-08 Joseph Myers <joseph@codesourcery.com>
5758
5759 * math/auto-libm-test-in: Add tests of lgamma.
5760 * math/auto-libm-test-out: Regenerated.
5761 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5762 (M_LOG_2_SQRT_PIl): Likewise.
5763 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5764 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5765 mpfr_f_f1.
5766 (func_calc_desc): Add mpfr_f_f1 union field.
5767 (ARGS1): New macro.
5768 (ARGS2): Likewise.
5769 (ARGS3): Likewise.
5770 (ARGS4): Likewise.
5771 (RET1): Likewise.
5772 (RET2): Likewise.
5773 (CALC): Likewise.
5774 (FUNC): Likewise.
5775 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5776 (test_functions): Add lgamma.
5777 (calc_generic_results): Handle mpfr_f_f1.
5778 * sysdeps/i386/fpu/libm-test-ulps: Update.
5779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5780
24eeafdb
AZ
57812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782
5783 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5784 __mpn_add_n for PowerPC64/POWER7.
5785 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5786 __mpn_sub_n for PowerPC64/POWER7.
5787
4a2c0fd4
AZ
57882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5789
5790 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5791 __mpn_addmul_1 for PowerPC64.
5792 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5793 __mpn_submul_1 for PowerPC64.
5794 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5795 for PowerPC64.
5796 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5797 for PowerPC64.
5798
4b5b548c
FS
57992013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5800
5801 [BZ #15089]
5802 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5803
0a3ac0aa
AZ
58042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805
5806 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5807
ccdc8438
AZ
58082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5809
5810 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5811 add multiarch folders.
5812 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5813 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5814 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5815 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5816 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5817 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5818 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5819 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5820 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5821 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5822 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5829
2e973d99
AZ
58302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5833 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5835 New file.
5836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5837 New file.
5838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5839 multiarch __ieee754_hypot for PowerPC32.
5840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5841 New file.
5842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5843 New file.
5844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5845 multiarch __ieee754_hypotf for PowerPC32.
5846
2d9470b2
AZ
58472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5848
5849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5850 long_double_symbol only if __logbl is defined.
5851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5852 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5854 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5856 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5857 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5858 path for implementation.
5859 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5860 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5862 logb, and logbl multiarch implementations for PowerPC32.
5863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5864 file.
5865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5866 file.
5867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5868 multiarch logb for PowerPC32.
5869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5870 file.
5871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5872 file.
5873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5874 multiarch logbf for PowerPC32.
5875 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5877 file.
5878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5879 multiarch logbl implementation for PowerPC32.
5880
5212ffce
AZ
58812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882
5883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5884 and modff multiarch implementations.
5885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5886 New file.
5887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5888 New file.
5889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5890 multiarch modf for PowerPC32.
5891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5892 New file.
5893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5894 New file.
5895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5896 multiarch modff for PowerPC32.
5897
79dccf31
AZ
58982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5899
5900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5901 and lrintf multiarch implementations.
5902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5903 New file.
5904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5905 New file.
5906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5907 multiarch lrint for PowerPC32.
5908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5909 file: multiarch lrintf for PowerPC32.
5910
deb66480
AZ
59112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912
5913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5914 and lroundf multiarch implementations.
5915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5916 New file.
5917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5918 New file.
5919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5920 New file.
5921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5922 multiarch lround for PowerPC32.
5923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5924 file: multiarch lroundf for PowerPC32.
5925
264b036b
AZ
59262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5927
5928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5929 copysign and copysignf multiarch implementations.
5930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5931 New file.
5932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5933 New file.
5934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5935 file: multiarch copysign for PowerPC32.
5936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5937 file: multiarch copysignf for PowerPC32.
5938
d47db6c9
AZ
59392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5940
5941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5942 and truncf multiarch implementations.
5943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5944 New file.
5945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5946 file.
5947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5948 multiarch trunc for PowerPC32.
5949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5950 New file.
5951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5952 New file.
5953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5954 multiarch truncf for PowerPC32.
5955
ddb60b5a
AZ
59562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5957
5958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5959 and roundf multiarch implementations.
5960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5961 New file.
5962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5963 file.
5964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5965 multiarch round for PowerPC32.
5966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5967 New file.
5968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5969 New file.
5970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5971 multiarch roundf for PowerPC32.
5972
bedcf49b
AZ
59732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974
5975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5976 and floorf multiarch implementations.
5977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5978 New file.
5979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5980 file.
5981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5982 multiarch floor for PowerPC32.
5983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5984 New file.
5985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5986 New file.
5987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5988 multiarch floorf for PowerPC32.
5989
35ae5b40
AZ
59902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5991
5992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5993 and ceilf multiarch implementations.
5994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5995 New file.
5996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5997 file.
5998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5999 multiarch ceil for PowerPC32.
6000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6001 New file.
6002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6003 file.
6004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6005 multiarch ceilf for PowerPC32.
6006
ae1a4cd9
AZ
60072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6008
6009 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6010 is defined.
6011 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6012 FINITEF is defined.
6013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6014 and finitef multiarch implementations.
6015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6016 New file.
6017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6018 file.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6020 multiarch finite for PowerPC32.
6021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6022 New file.
6023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6024 file: multiarch finitef for PowerPC32.
6025
64fffd65
AZ
60262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6027
6028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6029 and isinff multiarch implementations.
6030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6031 file.
6032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6033 file.
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6035 multiarch isinf for PowerPC32.
6036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6037 New file.
6038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6039 multiarch isinff for PowerPC32.
6040
8e4e7ba2
AZ
60412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
6043 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6044 alias when __isnan is defined.
6045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6046 and isnanf multiarch implementations.
6047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6048 file.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6050 file.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6052 file.
6053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6054 file.
6055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6056 multiarch isnan for PowerPC32.
6057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6058 New file.
6059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6060 New file.
6061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6062 multiarch isnanf for PowerPC32.
6063
ddba588e
AZ
60642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065
6066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6067 and sqrtf multiarch implementations.
6068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6069 file.
6070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6071 file.
6072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6073 multiarch sqrt for PowerPC32.
6074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6075 file.
6076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6077 file.
6078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6079 multiarch sqrtf for PowerPC32.
6080
0f96a2f0
AZ
60812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6082
6083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6084 and llroundf multiarch implementations.
6085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6086 New file.
6087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6088 New file.
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6090 New file.
6091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6092 file: multiarch llround for PowerPC32.
6093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6094 file: multiarch llroundf for PowerPC32.
6095
c9b5d79e
AZ
60962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6097
6098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6099 multiarch PowerPC32 fpu implementations.
6100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6101 New file.
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6103 New file.
6104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6105 multiarch llrint for PowerPC32.
6106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6107 New file.
6108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6109 New file.
6110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6111 file.
6112
9cbb3aab
AZ
61132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114
6115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6116
ea5a72f8
AZ
61172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6118
6119 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6120 file.
6121 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6122 file.
6123 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6124 file.
6125 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6126 multiarch wordcopy for PPC32.
6127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6128 wordcopy objects.
6129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6130 (__libc_ifunc_impl_list): Likewise.
6131 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6132 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6133 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6134 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6135 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6136 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6137
93be09e7
AZ
61382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6139
6140 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6142 file.
6143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6144 file.
6145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6146 file.
6147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6148 multiarch wcscpy for PPC32.
6149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6150 multiarch objects.
6151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6152 (__libc_ifunc_impl_list): Likewise.
6153 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6154 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6155 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6156 sysdeps/powerpc/power6/wcscpy.c.
6157
bb04e529
AZ
61582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6159
6160 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6162 file.
6163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6164 file.
6165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6166 file.
6167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6168 multiarch wcsrchr for PPC32.
6169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6170 multiarch objects.
6171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6172 (__libc_ifunc_impl_list): Likewise.
6173 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6174 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6175 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6176 sysdeps/powerpc/power6/wcsrchr.c.
6177
05b5cd1c
AZ
61782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6179
6180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6181 file.
6182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6183 file.
6184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6186 multiarch wcschr for PPc32.
6187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6188 multiarch objects.
6189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6190 (__libc_ifunc_impl_list): Likewise.
6191 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6192 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6193 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6194 sysdeps/powerpc/power6/wcschr.c.
6195
ba964147
AZ
61962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6197
6198 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6199 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6200 file.
6201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6202 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6203 file: multiarch strchr for PPC32.
6204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6205 multiarch objects.
6206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6207 (__libc_ifunc_impl_list): Likewise.
6208
31c81aaa
AZ
62092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6210
6211 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6212 name.
6213 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6214 file.
6215 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6216 file.
6217 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6218 multiarch strchrnul for PPC32.
6219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6220 multiarch objects.
6221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6222 (__libc_ifunc_impl_list): Likewise.
6223
0d0607d9
AZ
62242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6225
6226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6227 file.
6228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6229 multiarch strncasecmp for PPC32.
6230 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6231 file.
6232 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6233 multiarch strncasecmp_l for PPC32.
6234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6235 strncasecmp multiarch objects.
6236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6237 (__libc_ifunc_impl_list): Likewise.
6238
4dfd5c86
AZ
62392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6240
6241 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6242 file.
6243 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6244 multiarch strncasecmp for PPC32.
6245 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6246 New file.
6247 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6248 multiarch strcasecmp_l for PPC32.
6249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6250 multiarch objects.
6251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6252 (__libc_ifunc_impl_list): Likewise.
6253
a19e01a3
AZ
62542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6255
6256 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6257 file.
6258 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6259 file.
6260 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6261 multiarch strncmp for PPC32.
6262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6263 multiarch objects.
6264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6265 (__libc_ifunc_impl_list): Likewise.
6266
ae9cf7a2
AZ
62672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268
6269 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6270 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6271 file.
6272 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6273 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6275 multiarch objects.
6276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6277 (__libc_ifunc_impl_list): Likewise.
6278
3148bb7d
AZ
62792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280
6281 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6282 file.
6283 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6284 file.
6285 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6287 multiarch objects.
6288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6289 (__libc_ifunc_impl_list): Likewise.
6290
7af8b946
AZ
62912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292
6293 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6294 file.
6295 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6296 file.
6297 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6298 multiarch rawmemchr for PPC32.
6299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6300 multiarch objects.
6301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6302 (__libc_ifunc_impl_list): Likewise.
6303
03a6aa6a
AZ
63042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6305
6306 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6307 file.
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6309 file.
6310 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6311 file: memrchr multiarch for PPC32.
6312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6313 multiarch objects.
6314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6315 (__libc_ifunc_impl_list): Likewise.
6316
1c62e6d9
AZ
63172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6318
6319 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6320 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6321 file.
6322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6323 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6324 multiarch memchr for PPC32.
6325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6326 multiarch objects.
6327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6328 (__libc_ifunc_impl_list): Likewise.
6329
87da8bdb
AZ
63302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6331
6332 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6333 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6334 file.
6335 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6336 file.
6337 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6338 file: multiarch mempcpy for PPC32.
6339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6340 multiarch objects.
6341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6342 (__libc_ifunc_impl_list): Likewise.
6343
20ed4714
AZ
63442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345
6346 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6347 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6348 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6349 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6350 multiarch bzero for PPC32.
6351 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6352 file.
6353 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6354 file.
6355 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6356 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6357 file: multiarch memset for PPC32.
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6360 memset multiarch objects.
6361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6362 (__libc_ifunc_impl_list): Likewise.
6363
ab3e3a46
AZ
63642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6365
6366 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6367 file.
6368 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6370 memcmp for PPC32.
6371 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6373 multiarch objects.
6374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6375 (__libc_ifunc_impl_list): Likewise.
6376
930de6f0
AZ
63772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378
6379 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6380 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6381 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6382 file.
6383 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6384 file.
6385 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6386 file.
6387 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6388 multiarch memcpy for PPC32.
6389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6390 multiarch objects.
6391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6392 (__libc_ifunc_impl_list): Likewise.
6393
4c628e00
AZ
63942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395
6396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6397 support multiarch for POWER/PPC32.
6398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6399 Likewise.
6400 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6402 Implies file to make multiarch folder appers before the fpu and
6403 default folder for power4 configuration.
6404
f4479220
SP
64052013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6406
6407 * scripts/bench.pl: Append volatile keyword to type.
6408
8517800f
KK
64092013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6410
6411 * sysdeps/sh/sotruss-lib.c: New file.
6412 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6413
180138f1
AZ
64142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6415
6416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6417
bbf37bdc
JM
64182013-12-05 Joseph Myers <joseph@codesourcery.com>
6419
e47cc4e0
JM
6420 [BZ #6810]
6421 * math/w_tgamma.c: Include <errno.h>.
6422 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6423 * math/w_tgammaf.c: Include <errno.h>.
6424 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6425 * math/w_tgammal.c: Include <errno.h>.
6426 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6427 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6428 underflow. Add more tgamma tests.
6429 * math/auto-libm-test-out: Regenerated.
6430 * sysdeps/i386/fpu/libm-test-ulps: Update.
6431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6432
bbf37bdc
JM
6433 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6434 sin, sinh, tan, tanh, tgamma, y0 and y1.
6435 * math/auto-libm-test-out: Regenerated.
6436 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6437 (TEST_COND_x86): Likewise.
6438 (M_E2l): Remove macro.
6439 (M_E3l): Likewise.
6440 (M_2_SQRT_PIl): Likewise.
6441 (M_SQRT_PIl): Likewise.
6442 (M_1_DIV_El): Likewise.
6443 (log_test_data): Use AUTO_TESTS_f_f.
6444 (log10_test_data): Likewise.
6445 (log1p_test_data): Likewise.
6446 (log2_test_data): Likewise.
6447 (sin_test_data): Likewise.
6448 (sin_tonearest_test_data): Likewise.
6449 (sin_towardzero_test_data): Likewise.
6450 (sin_downward_test_data): Likewise.
6451 (sin_upward_test_data): Likewise.
6452 (sinh_test_data): Likewise.
6453 (sinh_tonearest_test_data): Likewise.
6454 (sinh_towardzero_test_data): Likewise.
6455 (sinh_downward_test_data): Likewise.
6456 (sinh_upward_test_data): Likewise.
6457 (tan_test_data): Likewise.
6458 (tan_tonearest_test_data): Likewise.
6459 (tan_towardzero_test_data): Likewise.
6460 (tan_downward_test_data): Likewise.
6461 (tan_upward_test_data): Likewise.
6462 (tanh_test_data): Likewise.
6463 (tgamma_test_data): Likewise.
6464 (y0_test_data): Likewise.
6465 (y1_test_data): Likewise.
6466 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6467 (special_real_inputs): Add pi/4.
6468 * sysdeps/i386/fpu/libm-test-ulps: Update.
6469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6470
eb5ad6b9
AZ
64712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472
6473 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6474 "longjmp_target" static probes.
6475 (__longjmp): Rename to __longjmp_symbol.
6476 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6477 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6478 on which longjmp to generate.
6479 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6481 probe.
6482 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6483 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6484 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6485 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6486 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6487 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6489 __longjmp_symbol based on which __longjmp to generate.
6490 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6491 probe.
6492 (setjmp): Rename to setjmp_symbol.
6493 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6494 (_setjmp): Rename to _setjmp_symbol.
6495 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6496 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6497 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6498 which setjmp to generate.
6499 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6500 "longjmp_target" static probes.
6501
d136c6dc
SP
65022013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6503
9298ecba
SP
6504 * benchtests/README: Add note about output arguments.
6505 * benchtests/bench-sincos.c: Remove file.
6506 * benchtests/sincos-inputs: New file.
6507 * scripts/bench.pl: Identify output arguments and define
6508 static variables for them.
6509
232983e9
SP
6510 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6511
d136c6dc
SP
6512 [BZ #15941]
6513 * Makefile (INSTALL): Add install-plain.texi as the primary
6514 dependency.
6515 * manual/install-plain.texi: New file.
6516 * manual/install.texi: Include node directive only for
6517 non-plaintext output.
6518
699ff837
JM
65192013-12-04 Joseph Myers <joseph@codesourcery.com>
6520
ab07cea8
JM
6521 * stdlib/longlong.h: Update from GCC.
6522
699ff837
JM
6523 [BZ #6807]
6524 [BZ #15901]
6525 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6526 * math/w_j0f.c (y0f): Likewise.
6527 * math/w_j0l.c (__y0l): Likewise.
6528 * math/w_j1.c (y1): Likewise.
6529 * math/w_j1f.c (y1f): Likewise.
6530 * math/w_j1l.c (__y1l): Likewise
6531 * math/w_jn.c (yn): Likewise.
6532 * math/w_jnf.c (ynf): Likewise.
6533 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6534 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6535 value for Bessel function domain errors outside _SVID_ mode.
6536 Adjust sign of return value for yn (negative integer, 0).
6537 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6538 by zero in return for negative x and set sign appropriately for
6539 negative n.
6540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6541 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6542 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6543 expectations in error cases.
6544 (y1_test_data): Likewise.
6545 (yn_test_data): Likewise.
6546 * sysdeps/i386/fpu/libm-test-ulps: Update.
6547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6548
5b118558
UW
65492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6550
6551 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6552 "64" to "64-v1". Add "64-v2".
6553 (abi-64-options): Rename to ...
6554 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6555 (abi-64-condition): Rename to ...
6556 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6557 (abi-64-ld-soname): Rename to ...
6558 (abi-64-v1-ld-soname): ... this.
6559 (abi-64-v2-options): Define.
6560 (abi-64-v2-condition): Likewise.
6561 (abi-64-v2-ld-soname): Likewise.
6562 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6563 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6567
61cd8fe4
UW
65682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6569 Alan Modra <amodra@gmail.com>
6570
6571 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6572 New versions for use with the ELFv2 ABI.
6573 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6574 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6575 declaration.
6576 (struct La_ppc64v2_retval): Likewise.
6577 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6578 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6579 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6580 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6581 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6583 Do not save or restore CR.
6584 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6585 (_dl_profile_resolve): Do no save or restore CR. Support extended
6586 return values for ELFv2 ABI. Fix location of FPR return registers.
6587 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6588 updated values for _CALL_ELF == 2.
6589 (La_regs, La_retval, int_retval): Likewise.
6590
8b8a692c
UW
65912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6592
6593 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6594 (FRAME_MIN_SIZE_PARM): Likewise.
6595 (FRAME_BACKCHAIN): Likewise.
6596 (FRAME_CR_SAVE): Likewise.
6597 (FRAME_LR_SAVE): Likewise.
6598 (FRAME_TOC_SAVE): Likewise.
6599 (FRAME_PARM_SAVE): Likewise.
6600 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6601 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6602 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6603 (call_mcount_parm_offset): New macro.
6604 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6605 (PROF): Use symbolic stack frame offsets.
6606 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6607 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6608 Redefine in terms of FRAME_MIN_SIZE.
6609 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6610 (_dl_profile_resolve): Likewise. Update comment.
6611 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6612 symbols stack frame offsets.
6613 (__sigsetjmp): Likewise.
6614 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6615 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6616 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6617 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6618
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6620 (FRAME_BACKCHAIN): Remove.
6621 (FRAME_CR_SAVE): Likewise.
6622 (FRAME_LR_SAVE): Likewise.
6623 (FRAME_COMPILER_DW): Likewise.
6624 (FRAME_LINKER_DW): Likewise.
6625 (FRAME_TOC_SAVE): Likewise.
6626 (FRAME_PARM_SAVE): Likewise.
6627 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6628 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6629 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6631 (CHECK_SP): Use symbolic stack frame offsets.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6633 zone" instead of caller's parameter save area for temp storage.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6635 Likewise. Also, use symbolic stack frame offsets.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6637 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6638 our own stack frame instead of the caller's.
6639 (__socket): Use symbolic stack frame offsets.
6640
122b66de
UW
66412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6642 Alan Modra <amodra@gmail.com>
6643
6644 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6645 Define.
6646 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6647 PPC64_LOCAL_ENTRY_OFFSET): Define.
6648 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6649 New function.
6650 (elf_machine_fixup_plt): Call it.
6651 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6652 reloc arguments.
6653 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6654 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6655 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6656 r2 before calling target.
6657
696caf1d
UW
66582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6659 Alan Modra <amodra@gmail.com>
6660
6661 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6662 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6663 versions of macros to support ELFv2 ABI.
6664 (LOCALENTRY): New macro.
6665 (ENTRY, EALIGN): Use it.
6666 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6667 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6668 fall through into ENTRY entry point.
6669 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6670 Only define if _CALL_ELF != 2.
6671
6672 (elf_machine_matches_host): Verify ABI version matches.
6673 (RTLD_START): Use LOCALENTRY.
6674 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6675 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6676 (PLT_ENTRY_WORDS): New macro.
6677 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6678 (elf_machine_runtime_setup): Support ELFv2 ABI.
6679 (elf_machine_fixup_plt): Likewise.
6680 (elf_machine_plt_conflict): Likewise.
6681 (resolve_ifunc): Likewise.
6682 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6683 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6684 Likewise.
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6686 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6688 (makecontext): Support ELFv2 ABI.
6689 * elf/elf.h (EF_PPC64_ABI): Define.
6690
d31beafa
UW
66912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6692
6693 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6694 New assembler macro.
6695 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6696 [ASSEMBLER] (ENTRY): ... but instead here ...
6697 [ASSEMBLER] (EALIGN): ... and here.
6698 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6699 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6700 [!ASSEMBLER] (ENTRY_2): Use it.
6701 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6702 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6703 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6704 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6705 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6707 Use PPC64_LOAD_FUNCPTR.
6708
b525166b
UW
67092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6710
6711 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6712
7ec07d9a
AM
67132013-12-04 Alan Modra <amodra@gmail.com>
6714
6715 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6716 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6717 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6718 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6719
6720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6721 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6722 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6723 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6724 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6725 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6726
5162e7dd
UW
67272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6728
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6730 (__makecontext): Fix incorrect CFI when backtracing out of
6731 context created via makecontext.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6733 (__setcontext): Fix incorrect CFI during switch to new context.
6734 (__novec_setcontext): Likewise.
6735
19e3372b
OB
67362013-12-04 Ondřej Bílka <neleai@seznam.cz>
6737
6738 [BZ #4772]
6739 * time/strptime_l.c (__strptime_internal): Allow modifiers
6740 in strptime.
6741 * time/tst-strptime.c (day_tests): Add testcase.
6742
6743
ecaf142d
SP
67442013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6745
6746 * scripts/bench.pl: Skip over blank lines.
6747
fbf964ae
PE
67482013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6749
6750 [BZ #926]
6751 * manual/time.texi (Calendar Time): Clarify what timezone functions
6752 use.
6753
fa60a674
AZ
67542013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6757
d674f0ef
OB
67582013-12-04 Ondřej Bílka <neleai@seznam.cz>
6759
6760 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6761 implementation.
6762 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6763 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6764 * debug/memset_chk.c (__memset_chk): Likewise.
6765 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6766 * debug/strncpy_chk.c: Likewise.
6767
17dea188
JM
67682013-12-03 Joseph Myers <joseph@codesourcery.com>
6769
749008ff
JM
6770 [BZ #15268]
6771 [BZ #15425]
6772 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6773 (__ieee754_exp): For possibly underflowing results, check size of
6774 result and force underflow exception if required.
6775 * math/auto-libm-test-in: Add more tests of exp.
6776 * math/auto-libm-test-out: Regenerated.
6777 * sysdeps/i386/fpu/libm-test-ulps: Update.
6778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6779
17dea188
JM
6780 [BZ #16283]
6781 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6782 * math/w_exp2f.c (__exp2f): Likewise.
6783 * math/w_exp2l.c (__exp2l): Likewise.
6784 * math/auto-libm-test-in: Do not allow missing errno on exp2
6785 underflow.
6786 * math/auto-libm-test-out: Regenerated.
6787
b20de2c3
OB
67882013-12-03 Ondřej Bílka <neleai@seznam.cz>
6789
6790 [BZ #16274]
6791 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6792 handle filename validation.
6793 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6794 (do_open): Delete.
6795
d8e2dbe3
JM
67962013-12-03 Joseph Myers <joseph@codesourcery.com>
6797
34e16df5
JM
6798 [BZ #6786]
6799 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6800 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6801 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6802 <float.h>.
6803 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6804 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6805 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6807 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6808 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6809 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6810 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6811 Add more erfc tests.
6812 * math/auto-libm-test-out: Regenerated.
6813 * sysdeps/i386/fpu/libm-test-ulps: Update.
6814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815
d8e2dbe3
JM
6816 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6817 exp2, expm1, j0 and j1.
6818 * math/auto-libm-test-out: Regenerated.
6819 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6820 (erfc_test_data): Likewise.
6821 (exp_test_data): Likewise.
6822 (exp_tonearest_test_data): Likewise.
6823 (exp_towardzero_test_data): Likewise.
6824 (exp_downward_test_data): Likewise.
6825 (exp_upward_test_data): Likewise.
6826 (exp10_test_data): Likewise.
6827 (exp2_test_data): Likewise.
6828 (expm1_test_data): Likewise.
6829 (j0_test_data): Likewise.
6830 (j1_test_data): Likewise.
6831 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6832 (input_flag_type): Add flag_xfail_rounding.
6833 (input_flags): Add xfail-rounding.
6834 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6835 (output_for_one_input_case): Handle flag_xfail_rounding.
6836 * sysdeps/i386/fpu/libm-test-ulps: Update.
6837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6838
18d14251
AJ
68392013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6840
3d2e6075 6841 [BZ #16289]
18d14251
AJ
6842 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6843 division by 0.
6844
520d437b
SP
68452013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6846
6847 [BZ #16195]
6848 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6849 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6850 (STAP_PROBE0): New macro.
6851 (STAP_PROBE1): Likewise.
6852 (STAP_PROBE2): Likewise.
6853 (STAP_PROBE3): Likewise.
6854 (STAP_PROBE4): Likewise.
6855
416e0145
OB
68562013-12-02 Ondřej Bílka <neleai@seznam.cz>
6857
6858 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6859
9d17796a
SE
68602013-12-02 Steve Ellcey <sellcey@mips.com>
6861
6862 * benchtests/Makefile (bench): Add sqrt.
6863 (LDLIBS-bench-sqrt): New.
6864 * benchtests/sqrt-input: New.
6865
f524d6a8
PS
68662013-12-02 Pavel Simerda <psimerda@redhat.com>
6867
639a0ef8
PS
6868 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6869 (GAIH_EAI): Likewise.
6870 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6871 (gaih_inet): Likewise.
6872 (getaddrinfo): Don't use GAIH_EAI.
6873
f524d6a8
PS
6874 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6875 (struct gaih): Remove definition.
6876
df3aedaf
SP
68772013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6878
6879 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6880 Use HERRNOP directly.
6881
1ab19dec
AZ
68822013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6883
b42ad38d 6884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6885
176b0c79
JM
68862013-11-30 Joseph Myers <joseph@codesourcery.com>
6887
6888 * math/gen-auto-libm-tests.c (test_functions): Add more
6889 single-argument functions.
6890 (special_fill_pi_2): New function.
6891 (special_fill_minus_pi_2): Likewise.
6892 (special_fill_pi_6): Likewise.
6893 (special_fill_minus_pi_6): Likewise.
6894 (special_fill_pi_3): Likewise.
6895 (special_fill_2pi_3): Likewise.
6896 (special_fill_e): Likewise.
6897 (special_fill_1_e): Likewise.
6898 (special_fill_e_minus_1): Likewise.
6899 (special_real_inputs): Add more special inputs.
6900 (output_for_one_input_case): Do not require ERANGE on underflow to
6901 zero if round-to-nearest result does not underflow to zero, unless
6902 exact results required.
6903 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6904 atan, atanh, cbrt, cos and cosh.
6905 * math/auto-libm-test-out: Regenerated.
6906 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6907 (acos_tonearest_test_data): Likewise.
6908 (acos_towardzero_test_data): Likewise.
6909 (acos_downward_test_data): Likewise.
6910 (acos_upward_test_data): Likewise.
6911 (acosh_test_data): Likewise.
6912 (asin_test_data): Likewise.
6913 (asin_tonearest_test_data): Likewise.
6914 (asin_towardzero_test_data): Likewise.
6915 (asin_upward_test_data): Likewise.
6916 (asinh_test_data): Likewise.
6917 (atan_test_data): Likewise.
6918 (atanh_test_data): Likewise.
6919 (cbrt_test_data): Likewise.
6920 (cos_test_data): Likewise.
6921 (cos_tonearest_test_data): Likewise.
6922 (cos_towardzero_test_data): Likewise.
6923 (cos_downward_test_data): Likewise.
6924 (cos_upward_test_data): Likewise.
6925 (cosh_test_data): Likewise.
6926 (cosh_tonearest_test_data): Likewise.
6927 (cosh_towardzero_test_data): Likewise.
6928 (cosh_downward_test_data): Likewise.
6929 (cosh_upward_test_data): Likewise.
6930 * sysdeps/i386/fpu/libm-test-ulps: Update.
6931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6932
ffb536d0
JM
69332013-11-29 Joseph Myers <joseph@codesourcery.com>
6934
2a77a467
JM
6935 [BZ #6787]
6936 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6937 * math/w_exp10f.c (__exp10f): Likewise.
6938 * math/w_exp10l.c (__exp10l): Likewise.
6939 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6940 errno settings in existing tests.
6941
ea3bc4e8
JM
6942 [BZ #14032]
6943 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6944 precision control set to double precision.
6945 * sysdeps/i386/fpu/w_sqrt.c: New file.
6946 * math/auto-libm-test-in: Add more tests.
6947 * math/auto-libm-test-out: Update.
6948
0712c9d8
JM
6949 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6950 (sqrt_test_tonearest): New function.
6951 (sqrt_towardzero_test_data): New variable.
6952 (sqrt_test_towardzero): New function.
6953 (sqrt_downward_test_data): New variable.
6954 (sqrt_test_downward): New function.
6955 (sqrt_upward_test_data): New variable.
6956 (sqrt_test_upward): New function.
6957 (main): Call the new functions.
6958
ffb536d0
JM
6959 * math/gen-auto-libm-tests.c: New file.
6960 * math/auto-libm-test-in: Likewise.
6961 * math/auto-libm-test-out: New generated file.
6962 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6963 variables.
6964 (%beautify): Add generated representations of zero.
6965 (top level): Set $auto_input and call parse_auto_input.
6966 (beautify): Remove trailing "f" from hex float constants.
6967 (parse_args): Handle XFAIL_TEST.
6968 (convert_condition): New function.
6969 (or_value): Likewise.
6970 (or_cond_value): Likewise.
6971 (generate_testfile): Handle AUTO_TESTS_* lines.
6972 (parse_auto_input): New function.
6973 * math/libm-test.inc (XFAIL_TEST): New macro.
6974 (ERRNO_UNCHANGED): Update value.
6975 (ERRNO_EDOM): Likewise.
6976 (ERRNO_ERANGE): Likewise.
6977 (IGNORE_RESULT): Likewise.
6978 (TEST_COND_flt_32): New macro.
6979 (TEST_COND_dbl_64): Likewise.
6980 (TEST_COND_ldbl_96_intel): Likewise.
6981 (TEST_COND_ldbl_96_m68k): Likewise.
6982 (TEST_COND_ldbl_128): Likewise.
6983 (TEST_COND_ldbl_128ibm): Likewise.
6984 (TEST_COND_long32): Likewise.
6985 (TEST_COND_long64): Likewise.
6986 (TEST_COND_before_rounding): Likewise.
6987 (TEST_COND_after_rounding): Likewise.
6988 (enable_test): Handle XFAIL_TEST flag.
6989 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6990 with finite results.
6991 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6992 auto-libm-test-out.
6993
acd98a8e
AK
69942013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6995 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6996
6997 [BZ #16214]
6998 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6999 __tls_get_addr_internal instead of __tls_get_offset in order to
7000 avoid GOT pointer dependency. Make rtld export
7001 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7002 __tls_get_addr since we are a __tls_get_offset platform.
7003 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7004 GOT pointer being set up before.
7005 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7006
3c1c46a6
JM
70072013-11-28 Joseph Myers <joseph@codesourcery.com>
7008
7475aef5
JM
7009 * manual/math.texi (Errors in Math Functions): Document accuracy
7010 goals.
7011
8bca7cd8
JM
7012 [BZ #15004]
7013 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7014 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7015 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7016 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7017 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7018 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7019 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7022 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7023 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7024 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7025 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7026 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7027 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7028 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7029
91a1f3fe
JM
7030 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7031 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7032 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7033 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7034 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7035 Likewise.
7036 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7037 Likewise.
7038 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7039 Likewise.
7040 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7041 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7042 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7043 atomic-feupdateenv and flt-rounds.
7044 * sysdeps/powerpc/nofpu/Versions (libc): Add
7045 __atomic_feholdexcept, __atomic_feclearexcept,
7046 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7047 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7048 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7049 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7050 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7051 here.
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7053 Update.
7054
c5df7609
JM
7055 * manual/arith.texi (FP Exceptions): Document that exceptions may
7056 not be raised when matherr is used.
7057 (Math Error Reporting): Document overflow in directed rounding
7058 modes. Document that errno may not be set when finite values are
7059 returned on overflow. Document intent to set errno on underflow
7060 only for underflow to zero.
7061
3c1c46a6
JM
7062 [BZ #16271]
7063 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7064 round-to-nearest then adjust result for other rounding modes.
7065 * include/fenv.h (fegetround): Use libm_hidden_proto.
7066 * math/fegetround.c (fegetround): Use libm_hidden_def.
7067 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7068 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7069 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7070 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7071 Likewise.
7072 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7073 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7074 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7075 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7076
5a4c6d53
SP
70772013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7078
7079 [BZ #16077]
7080 * nss/Versions (libnss_files): Add
7081 _nss_files_gethostbyname3_r.
7082 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7083 New function.
7084 (HOST_DB_LOOKUP): Remove macro.
7085 (_nss_files_gethostbyname_r): Implement function without the
7086 HOST_DB_LOOKUP macro.
7087 (_nss_files_gethostbyname2_r): Likewise.
7088
897b98ba
OB
70892013-11-28 Ondřej Bílka <neleai@seznam.cz>
7090
7091 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7092
6f476861
UB
70932013-11-26 Uros Bizjak <ubizjak@gmail.com>
7094
7095 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7096 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7097 warning.
7098
bd12ab55
AZ
70992013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7100
7101 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7102 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7103 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7104 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7105 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7106 __fe_nomask_env_priv and attribute_hidden.
7107 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7108 (libc_feupdateenv_test_ppc): Likewise.
7109 (libc_feresetround_ppc): Likewise.
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7111 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7112 compat_symbol macro.
7113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7114 (__fe_nomask_env): Likewise.
7115 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7116
52bb6543
OB
71172013-11-26 Ondřej Bílka <neleai@seznam.cz>
7118
7119 * string/Makefile: Remove ifunc tests.
7120 * string/test-string.h: Define TEST_IFUNC.
7121 * string/test-bcopy-ifunc.c: Remove.
7122 * string/test-bzero-ifunc.c: Likewise.
7123 * string/test-memccpy-ifunc.c: Likewise.
7124 * string/test-memchr-ifunc.c: Likewise.
7125 * string/test-memcmp-ifunc.c: Likewise.
7126 * string/test-memcpy-ifunc.c: Likewise.
7127 * string/test-memmem-ifunc.c: Likewise.
7128 * string/test-memmove-ifunc.c: Likewise.
7129 * string/test-mempcpy-ifunc.c: Likewise.
7130 * string/test-memrchr-ifunc.c: Likewise.
7131 * string/test-memset-ifunc.c: Likewise.
7132 * string/test-rawmemchr-ifunc.c: Likewise.
7133 * string/test-stpcpy-ifunc.c: Likewise.
7134 * string/test-stpncpy-ifunc.c: Likewise.
7135 * string/test-strcasecmp-ifunc.c: Likewise.
7136 * string/test-strcasestr-ifunc.c: Likewise.
7137 * string/test-strcat-ifunc.c: Likewise.
7138 * string/test-strchr-ifunc.c: Likewise.
7139 * string/test-strchrnul-ifunc.c: Likewise.
7140 * string/test-strcmp-ifunc.c: Likewise.
7141 * string/test-strcpy-ifunc.c: Likewise.
7142 * string/test-strcspn-ifunc.c: Likewise.
7143 * string/test-strlen-ifunc.c: Likewise.
7144 * string/test-strncasecmp-ifunc.c: Likewise.
7145 * string/test-strncat-ifunc.c: Likewise.
7146 * string/test-strncmp-ifunc.c: Likewise.
7147 * string/test-strncpy-ifunc.c: Likewise.
7148 * string/test-strnlen-ifunc.c: Likewise.
7149 * string/test-strpbrk-ifunc.c: Likewise.
7150 * string/test-strrchr-ifunc.c: Likewise.
7151 * string/test-strspn-ifunc.c: Likewise.
7152 * string/test-strstr-ifunc.c: Likewise.
7153
ab260039 71542013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7155
7156 * benchtests/Makefile: Remove ifunc tests.
7157 * benchtests/bench-string.h: Define TEST_IFUNC.
7158 * benchtests/bench-bcopy-ifunc.c: Remove.
7159 * benchtests/bench-bzero-ifunc.c: Likewise.
7160 * benchtests/bench-memccpy-ifunc.c: Likewise.
7161 * benchtests/bench-memchr-ifunc.c: Likewise.
7162 * benchtests/bench-memcmp-ifunc.c: Likewise.
7163 * benchtests/bench-memcpy-ifunc.c: Likewise.
7164 * benchtests/bench-memmem-ifunc.c: Likewise.
7165 * benchtests/bench-memmove-ifunc.c: Likewise.
7166 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7167 * benchtests/bench-memrchr-ifunc.c: Likewise.
7168 * benchtests/bench-memset-ifunc.c: Likewise.
7169 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7170 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7171 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7172 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7173 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7174 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7175 * benchtests/bench-strcat-ifunc.c: Likewise.
7176 * benchtests/bench-strchr-ifunc.c: Likewise.
7177 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7178 * benchtests/bench-strcmp-ifunc.c: Likewise.
7179 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7180 * benchtests/bench-strcpy-ifunc.c: Likewise.
7181 * benchtests/bench-strcspn-ifunc.c: Likewise.
7182 * benchtests/bench-strlen-ifunc.c: Likewise.
7183 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7184 * benchtests/bench-strncat-ifunc.c: Likewise.
7185 * benchtests/bench-strncmp-ifunc.c: Likewise.
7186 * benchtests/bench-strncpy-ifunc.c: Likewise.
7187 * benchtests/bench-strnlen-ifunc.c: Likewise.
7188 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7189 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7190 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7191 * benchtests/bench-strspn-ifunc.c: Likewise.
7192 * benchtests/bench-strstr-ifunc.c: Likewise.
7193
71942013-11-26 Ondřej Bílka <neleai@seznam.cz>
7195
ab260039
OB
7196 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7197
d1d9eaf4 71982013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7199
d1d9eaf4
OB
7200 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7201 * rt/aio.h: Likewise.
7202 * sysdeps/gnu/bits/utmp.h: Likewise.
7203 * sysdeps/gnu/bits/utmpx.h: Likewise.
7204 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7205 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7206 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7207 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7208 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7209 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7210 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7211 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7212 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7213 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7214 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7215 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7216 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7218 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7219 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7220 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7221 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7222 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7223 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7224 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7225 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7226 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7227 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7228 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7230 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7231 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7232 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7233 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7234 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7235 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7236 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7237 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7238 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7239 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7240 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7241 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7242 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7243 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7244 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7245 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7246
a7624ed9
CD
72472013-11-25 Carlos O'Donell <carlos@redhat.com>
7248
7249 [BZ #16245]
7250 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7251 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7252
63cfe52b
JM
72532013-11-25 Joseph Myers <joseph@codesourcery.com>
7254
7255 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7256 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7257 Likewise.
7258
41e8926a
AZ
72592013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7260
7261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7262 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7263 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7264 (__fesetround): Remove define.
7265 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7266 rounding and exceptions handling.
7267 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7268 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7269 (__fe_nomask_env): Likewise.
7270 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7271 __fegetround instead of fegetround.
7272 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7273 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7274
6851bd4d
RM
72752013-11-21 Roland McGrath <roland@hack.frob.com>
7276
070906ff
RM
7277 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7278 it's there.
7279
6851bd4d
RM
7280 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7281
84ae135d
MI
72822013-11-21 Meador Inge <meadori@codesourcery.com>
7283
7284 [BZ #11157]
7285 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7286 (encrypt_r): Likewise.
7287 * malloc/obstack.h (obstack_free): Likewise.
7288 * posix/unistd.h (encrypt): Likewise.
7289
daf75146
GM
72902013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7291
7292 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7293 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7294 DL_CALL_DT_FINI() that call the functions directly.
7295 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7296 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7297 * elf/dl-fini.c: Likewise.
7298
10ad46bc
OB
72992013-11-20 Ondřej Bílka <neleai@seznam.cz>
7300
7301 * malloc/hooks.c (memalign_check): Add alignment rounding.
7302 * malloc/malloc.c (_mid_memalign): New function.
7303 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7304 Implement by calling _mid_memalign.
7305 * manual/probes.texi (Memory Allocation Probes): Remove
7306 memory_valloc_retry and memory_pvalloc_retry.
7307
f3fd2628
SP
73082013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7309
4712799f
SP
7310 * locale/programs/locarchive.c (open_archive): Add const
7311 qualifier to ARCHIVEFNAME and copy default fname to
7312 DEFAULT_FNAME.
7313
0417b20f
SP
7314 [BZ #15601]
7315 * libio/tst-widetext.input: Rename Oriya to Odia.
7316 * locale/iso-639.def: Likewise.
7317
f3fd2628
SP
7318 * manual/probes.texi (Mathematical Function Probes): Add
7319 documentation for sin, cos, asin and acos probes.
7320 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7321 (__sin32): Add slowasin probe.
7322 (__cos32): Add slowacos probe.
7323 (__mpsin): Add slowsin probe.
7324 (__mpcos): Add slowcos probe.
7325
73c1ce4f
JM
73262013-11-19 Joseph Myers <joseph@codesourcery.com>
7327
7328 [BZ #15483]
7329 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7330 thread-local __sim_exceptions_thread and global
7331 __sim_exceptions_global.
7332 (__sim_disabled_exceptions): Change to thread-local
7333 __sim_disabled_exceptions_thread and global
7334 __sim_disabled_exceptions_global.
7335 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7336 and global __sim_round_mode_global.
7337 (__simulate_exceptions): Use thread-local floating-point state and
7338 set global state from it as needed.
7339 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7340 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7341 __sim_round_mode_thread.
7342 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7343 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7344 and global __sim_exceptions_global.
7345 (__sim_disabled_exceptions): Change to thread-local
7346 __sim_disabled_exceptions_thread and global
7347 __sim_disabled_exceptions_global.
7348 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7349 and global __sim_round_mode_global.
7350 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7351 (SIM_SET_GLOBAL): Likewise.
7352 * sysdeps/powerpc/soft-fp/sfp-machine.h
7353 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7354 __sim_round_mode_thread.
7355 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7356 __sim_disabled_exceptions_thread.
7357 (__sim_exceptions): Change to __sim_exceptions_thread.
7358 (__sim_disabled_exceptions): Change to
7359 __sim_disabled_exceptions_thread.
7360 (__sim_round_mode): Change to __sim_round_mode_thread.
7361 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7362 thread-local floating-point state and set global state from it as
7363 needed.
7364 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7365 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7366 (__sim_disabled_exceptions): Remove extern declaration.
7367 (feenableexcept): Use thread-local floating-point state and set
7368 global state from it as needed.
7369 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7370 extern declaration.
7371 (__sim_disabled_exceptions): Likewise.
7372 (__sim_round_mode): Likewise.
7373 (__fegetenv): Use thread-local floating-point state.
7374 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7375 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7376 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7377 floating-point state and set global state from it as needed.
7378 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7379 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7380 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7381 Likewise.
7382 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7383 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7384 Likewise.
7385 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7386 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7387 Use __sim_round_mode_thread.
7388 * math/test-fenv-tls.c: New file.
7389 * math/Makefile (tests): Add test-fenv-tls.
7390 ($(objpfx)test-fenv-tls): Depend on
7391 $(common-objpfx)nptl/libpthread.so.
7392
b5449b12
AS
73932013-11-19 Andreas Schwab <schwab@suse.de>
7394
7395 * locale/programs/locale.c (show_info): Decode wordarray elements.
7396 * locale/categories.def (LC_MONETARY): Add element for
7397 _NL_MONETARY_CRNCYSTR.
7398 * locale/C-monetary.c (conversion_rate): New variable.
7399 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7400 element.
7401
e186536b
CM
74022013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7403
7404 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7405 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7406
5c349950
PP
74072013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7408
7409 * elf/Makefile (tst-auxv): New test.
7410 * elf/tst-auxv.c: New
7411 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7412
699df45b
JM
74132013-11-18 Joseph Myers <joseph@codesourcery.com>
7414
7415 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7416 (hidden_proto): Caller changed.
7417 (hidden_tls_proto): New macro.
7418 (libc_hidden_tls_proto): Likewise.
7419 (rtld_hidden_tls_proto): Likewise.
7420 (libm_hidden_tls_proto): Likewise.
7421 (libresolv_hidden_tls_proto): Likewise.
7422 (librt_hidden_tls_proto): Likewise.
7423 (libdl_hidden_tls_proto): Likewise.
7424 (libnss_files_hidden_tls_proto): Likewise.
7425 (libnsl_hidden_tls_proto): Likewise.
7426 (libnss_nisplus_hidden_tls_proto): Likewise.
7427 (libutil_hidden_tls_proto): Likewise.
7428
b7589107
OB
74292013-11-18 Ondřej Bílka <neleai@seznam.cz>
7430
7431 [BZ #10253]
7432 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7433 (decompose_rpath): Defer expansion to fillin_rpath.
7434 (_dl_init_paths): Pass linkmap to fillin_rpath.
7435
250c23bd
RS
74362013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7437
7438 * benchtests/Makefile: Add strsep.
7439 * benchtests/bench-strsep.c: New file: strsep benchtest.
7440 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7441
a7931fcf
AS
74422013-11-18 Andreas Schwab <schwab@suse.de>
7443
7444 * locale/programs/locale.c (show_info) [case byte]: Check for
7445 '\377' instead of '\177'.
7446 * locale/C-monetary.c (not_available): Always use "\377".
7447 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7448 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7449 detect unavailable sign_posn locale elements.
7450 * locale/localeconv.c (__localeconv): For grouping and
7451 mon_grouping handle "\177" and "\377" like no grouping.
7452 (INT_ELEM): New macro. Use it to set all numeric members.
7453 * locale/programs/ld-monetary.c (monetary_read)
7454 <tok_mon_grouping>: Normalize single -1 to the empty string.
7455 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7456 Likewise.
7457
728dab0e
OB
74582013-11-07 Ondřej Bílka <neleai@seznam.cz>
7459
7460 [BZ #16055]
7461 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7462 when we match (nil).
7463 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7464
66294491
JM
74652013-11-16 Joseph Myers <joseph@codesourcery.com>
7466
ce665817
JM
7467 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7468 (NO_TEST_INLINE): Update value.
7469 (ERRNO_UNCHANGED): Likewise.
7470 (ERRNO_EDOM): Likewise.
7471 (ERRNO_ERANGE): Likewise.
7472 (IGNORE_RESULT): Likewise.
7473 (check_float_internal): Check signs of NaN results if
7474 TEST_NAN_SIGN used.
7475 (check_complex): Pass TEST_NAN_SIGN flag through to second
7476 check_float_internal call.
7477 (copysign_test_data): Add tests with quiet NaNs as second
7478 argument. Use TEST_NAN_SIGN.
7479 (fabs_test_data): Add test of negative quiet NaN argument. Use
7480 TEST_NAN_SIGN.
7481 (signbit_test_data): Add tests of quiet NaN argument.
7482 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7483
ee1466a9
JM
7484 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7485 $ignore_result.
7486 (parse_args): Handle function results specified as IGNORE.
7487 * math/libm-test.inc (IGNORE_RESULT): New macro.
7488 (check_float_internal): Do not check numerical result if flag
7489 IGNORE_RESULT set.
7490 (check_complex): Pass through IGNORE_RESULT to second
7491 check_float_internal call.
7492 (check_int): Do not check numerical result if flag IGNORE_RESULT
7493 set.
7494 (check_long): Likewise.
7495 (check_bool): Likewise.
7496 (check_longlong): Likewise.
7497 (lrint_test_data): Add tests of infinite and NaN arguments.
7498 (lrint_tonearest_test_data): Likewise.
7499 (lrint_towardzero_test_data): Likewise.
7500 (lrint_downward_test_data): Likewise.
7501 (lrint_upward_test_data): Likewise.
7502 (llrint_test_data): Likewise.
7503 (llrint_tonearest_test_data): Likewise.
7504 (llrint_towardzero_test_data): Likewise.
7505 (llrint_downward_test_data): Likewise.
7506 (llrint_upward_test_data): Likewise.
7507 (lround_test_data): Likewise.
7508 (llround_test_data): Likewise.
7509
14407b7e
JM
7510 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7511 (ERRNO_UNCHANGED): Update value.
7512 (ERRNO_EDOM): Likewise.
7513 (ERRNO_ERANGE): Likewise.
7514 (NO_TEST_INLINE_FLOAT): New macro.
7515 (NO_TEST_INLINE_DOUBLE): Likewise.
7516 (enable_test): New function.
7517 (RUN_TEST_f_f): Check enable_test before running test.
7518 (RUN_TEST_2_f): Likewise.
7519 (RUN_TEST_fff_f): Likewise.
7520 (RUN_TEST_c_f): Likewise.
7521 (RUN_TEST_f_f1): Likewise.
7522 (RUN_TEST_fF_f1): Likewise.
7523 (RUN_TEST_fI_f1): Likewise.
7524 (RUN_TEST_ffI_f1): Likewise.
7525 (RUN_TEST_c_c): Likewise.
7526 (RUN_TEST_cc_c): Likewise.
7527 (RUN_TEST_f_i): Likewise.
7528 (RUN_TEST_f_i_tg): Likewise.
7529 (RUN_TEST_ff_i_tg): Likewise.
7530 (RUN_TEST_f_b): Likewise.
7531 (RUN_TEST_f_b_tg): Likewise.
7532 (RUN_TEST_f_l): Likewise.
7533 (RUN_TEST_f_L): Likewise.
7534 (RUN_TEST_fFF_11): Likewise.
7535 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7536 conditionals.
7537 (cosh_test_data): Likewise.
7538 (exp_test_data): Likewise.
7539 (expm1_test_data): Likewise.
7540 (hypot_test_data): Likewise.
7541 (pow_test_data): Likewise.
7542 (sinh_test_data): Likewise.
7543 (tanh_test_data): Likewise.
7544 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7545 flags argument.
7546
ca07f197
JM
7547 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7548 tests with quiet NaN input and output.
7549 (acosh_test_data): Likewise.
7550 (asin_test_data): Likewise.
7551 (asinh_test_data): Likewise.
7552 (atan_test_data): Likewise.
7553 (atanh_test_data): Likewise.
7554 (atan2_test_data): Likewise.
7555 (cbrt_test_data): Likewise.
7556 (cos_test_data): Likewise.
7557 (cosh_test_data): Likewise.
7558 (erf_test_data): Likewise.
7559 (erfc_test_data): Likewise.
7560 (exp_test_data): Likewise.
7561 (exp10_test_data): Likewise.
7562 (exp2_test_data): Likewise.
7563 (expm1_test_data): Likewise.
7564 (hypot_test_data): Likewise.
7565 (j0_test_data): Likewise.
7566 (j1_test_data): Likewise.
7567 (jn_test_data): Likewise.
7568 (lgamma_test_data): Likewise.
7569 (log_test_data): Likewise.
7570 (log10_test_data): Likewise.
7571 (log1p_test_data): Likewise.
7572 (log2_test_data): Likewise.
7573 (pow_test_data): Likewise.
7574 (scalb_test_data): Likewise.
7575 (sin_test_data): Likewise.
7576 (sincos_test_data): Likewise.
7577 (sinh_test_data): Likewise.
7578 (tan_test_data): Likewise.
7579 (tanh_test_data): Likewise.
7580 (tgamma_test_data): Likewise.
7581 (y0_test_data): Likewise.
7582 (y1_test_data): Likewise.
7583 (yn_test_data): Likewise.
7584
66294491
JM
7585 [BZ #16167]
7586 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7587 argument being NaN and avoid computations with second argument in
7588 that case.
7589 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7590 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7591 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7592
1820b143
CL
75932013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7594
7595 * locale/iso-639.def: Add Chitwani Tharu (the).
7596
714bd261
AS
75972013-11-14 Andreas Schwab <schwab@suse.de>
7598
7599 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7600 word instead of empty string.
7601
7ab44563
AZ
76022013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7603
7604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7605 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7607 (__fe_nomask_env): Likewise.
7608
e8470ea2
SE
76092013-11-13 Steve Ellcey <sellcey@mips.com>
7610
7611 * benchtests/bench-timing.h: Include time.h.
7612
17c1d9f0
L
76132013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7614
7615 [BZ #15997]
7616 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7617 to 3.4.0 for x32.
7618 * sysdeps/unix/sysv/linux/configure: Regenerated.
7619
9310c284
JM
76202013-11-13 Joseph Myers <joseph@codesourcery.com>
7621
7622 [BZ #16151]
7623 * stdlib/strtod_l.c (round_and_return): Do not consider
7624 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7625 exponent one less than half the least subnormal exponent.
7626 * stdlib/test-strtod-round-data: Add more tests.
7627 * stdlib/tst-strtod-round.c (tests): Regenerated.
7628
7a2ad8cf
AZ
76292013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630
7631 [BZ #14143]
7632 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7633 (__fe_mask_env): Likewise.
7634 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7635 libm_hidden_proto and add function prototype.
7636 (__fe_mask_env): Add function prototype.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7638 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7640 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7642 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7643
50727aa7
MS
76442013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7645
b2f386c1 7646 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7647 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7648
a615be46
MS
76492013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7650
7651 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7652 of htab_find_slot().
7653
7ddace62
DM
76542013-11-11 David S. Miller <davem@davemloft.net>
7655
7656 [BZ #16150]
7657 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7658 symbol in the non-vis3 case in static builds.
7659 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7660 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7661 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7662 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7663
9182aa67
JK
76642013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7665
7666 [BZ #387]
7667 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7668 it is empty.
7669
450a2e2d
AZ
76702013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7671
b2f386c1
SP
7672 * benchtests/Makefile: Add bench-strtod.
7673 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7674
8ec3f656
AS
76752013-11-11 Andreas Schwab <schwab@suse.de>
7676
7677 [BZ #16153]
7678 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7679 terminating NUL in key length.
7680
76a9b998
AZ
76812013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682
7683 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7684 Add artificial ODP entry for vDSO symbol for PPC64.
7685 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7686 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7687
e4368156
OB
76882013-11-07 Ondřej Bílka <neleai@seznam.cz>
7689
7690 [BZ #15374]
7691 * nss/getent.c (services_keys): Recognize services starting with digit.
7692
8d6bb57c
DM
76932013-11-06 David S. Miller <davem@davemloft.net>
7694
7695 [BZ #15985]
7696 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7697 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7698
e256c421
WN
76992013-11-06 Will Newton <will.newton@linaro.org>
7700
7701 * manual/memory.texi (Malloc Examples): Remove register
7702 keyword from examples.
7703
f6e12daa 77042013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7705
f6e12daa 7706 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7707
9d880655
AS
77082013-11-04 Joseph Myers <joseph@codesourcery.com>
7709
fd2f9486 7710 [BZ #6981]
9d880655
AS
7711 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7712 depending on [__GCC_IEC_559 > 0].
7713 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7714 depending on [__GCC_IEC_559_COMPLEX > 0].
7715
ae129d3c
CL
77162013-11-03 Chris Leonard <cjl@sugarlabs.org>
7717
7718 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7719 to iso-639.def.
7720
4a15c2a4 77212013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7722
7723 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7724
8b35e35d
OB
77252013-11-01 Ondřej Bílka <neleai@seznam.cz>
7726
7727 [BZ #16112]
7728 * malloc/malloc (malloc_info): Do not handle first bin as
7729 special case.
7730
1d70fd6c
CL
77312013-11-01 Chris Leonard <cjl@sugarlabs.org>
7732
7733 * locale/iso-639.def: Add Central Nahuatl (nhn).
7734
8c5c2600
BH
77352013-11-01 Bruno Haible <bruno@clisp.org>
7736
7737 [BZ #7003]
7738 * manual/math.texi (BSD Random): Specify range upper bound as
7739 in POSIX.
7740
da5579c2
CL
77412013-10-31 Chris Leonard <cjl@sugarlabs.org>
7742
7743 * locale/iso-639.def: Add Meadow Mari (mhr).
7744
5d30d853
OB
77452013-10-31 Ondřej Bílka <neleai@seznam.cz>
7746
7747 [BZ #14752], [BZ #15763]
7748 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7749 Validate name.
7750 * rt/tst_shm.c: Add test for escaping directory.
7751
a4966c61
AS
77522013-10-31 Andreas Schwab <schwab@suse.de>
7753
8a43e768 7754 [BZ #15917]
a4966c61
AS
7755 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7756 followed by 'x' as part of digit sequence.
7757 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7758
28d708c4
MAP
77592013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7760
7761 [BZ #16037]
7762 * configure.ac: allow GNU Make 4.0 and greater.
7763 * configure: Regenerated.
7764
a56ee40b
WN
77652013-10-30 Will Newton <will.newton@linaro.org>
7766
7767 [BZ #16038]
7768 * malloc/hooks.c (memalign_check): Limit alignment to the
7769 maximum representable power of two.
7770 * malloc/malloc.c (__libc_memalign): Likewise.
7771 * malloc/tst-memalign.c (do_test): Add test for very
7772 large alignment values.
7773 * malloc/tst-posix_memalign.c (do_test): Likewise.
7774
c6e4925d
OB
77752013-10-30 Ondřej Bílka <neleai@seznam.cz>
7776
7777 [BZ #11087]
7778 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7779 (munmap_chunk): Likewise.
7780 (mremap_chunk): Likewise.
7781
77822013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7783
8a43e768 7784 [BZ #15799]
bbea82f7
OB
7785 * stdlib/div.c (div): Remove obsolete code.
7786 * stdlib/ldiv.c (ldiv): Likewise.
7787 * stdlib/lldiv.c (lldiv): Likewise.
7788
977f4b31
SP
77892013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7790
7791 [BZ #16071]
7792 * nss/nss_files/files-XXX.c (get_contents_ret): New
7793 enumerator.
7794 (get_contents): New function.
7795 (internal_getent): Use it. Expand size of LINEBUFLEN.
7796
cb8a6dbd
MF
77972013-10-30 Mike Frysinger <vapier@gentoo.org>
7798
7799 * configure.in: Moved to ...
7800 * configure.ac: ... here. Change reference to configure.in
7801 to configure.ac.
7802 * sysdeps/arm/preconfigure.ac: ... here.
7803 configure.in to configure.ac.
7804 * sysdeps/gnu/configure.in: Moved to ...
7805 * sysdeps/gnu/configure.ac: ... here.
7806 * sysdeps/i386/configure.in: Moved to ...
7807 * sysdeps/i386/configure.ac: ... here.
7808 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7809 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7810 * sysdeps/mach/configure.in: Moved to ...
7811 * sysdeps/mach/configure.ac: ... here.
7812 * sysdeps/mach/hurd/configure.in: Moved to ...
7813 * sysdeps/mach/hurd/configure.ac: ... here.
7814 * sysdeps/powerpc/configure.in: Moved to ...
7815 * sysdeps/powerpc/configure.ac: ... here.
7816 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7817 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7818 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7819 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7820 * sysdeps/s390/s390-32/configure.in: Moved to ...
7821 * sysdeps/s390/s390-32/configure.ac: ... here.
7822 * sysdeps/s390/s390-64/configure.in: Moved to ...
7823 * sysdeps/s390/s390-64/configure.ac: ... here.
7824 * sysdeps/sh/configure.in: Moved to ...
7825 * sysdeps/sh/configure.ac: ... here.
7826 * sysdeps/sparc/configure.in: Moved to ...
7827 * sysdeps/sparc/configure.ac: ... here.
7828 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7829 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7830 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7831 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7832 * sysdeps/x86_64/configure.in: Moved to ...
7833 * sysdeps/x86_64/configure.ac: ... here.
7834 * sysdeps/x86_64/preconfigure.in: Moved to ...
7835 * sysdeps/x86_64/preconfigure.ac: ... here.
7836 * aclocal.m4: Change reference to configure.in to configure.ac.
7837 * config.h.in: Likewise.
7838 * manual/install.texi: Likewise.
7839 * manual/maint.texi: Likewise.
7840 * Makefile: Likewise.
7841 * malloc/Makefile: Likewise.
7842 * nscd/Makefile: Likewise.
7843 * Makeconfig: Change reference to configure.in and
7844 preconfigure.in to configure.ac and preconfigure.ac
7845 respectively.
7846 * INSTALL: Regenerated.
7847 * configure: Likewise.
7848 * sysdeps/gnu/configure: Likewise.
7849 * sysdeps/i386/configure: Likewise.
7850 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7851 * sysdeps/mach/configure: Likewise.
7852 * sysdeps/mach/hurd/configure: Likewise.
7853 * sysdeps/powerpc/configure: Likewise.
7854 * sysdeps/powerpc/powerpc32/configure: Likewise.
7855 * sysdeps/powerpc/powerpc64/configure: Likewise.
7856 * sysdeps/s390/s390-32/configure: Likewise.
7857 * sysdeps/s390/s390-64/configure: Likewise.
7858 * sysdeps/sh/configure: Likewise.
7859 * sysdeps/sparc/configure: Likewise.
7860 * sysdeps/unix/sysv/linux/configure: Likewise.
7861 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7862 * sysdeps/x86_64/configure: Likewise.
7863 * sysdeps/x86_64/preconfigure: Likewise.
7864
36a4953a
AS
78652013-10-29 Andreas Schwab <schwab@suse.de>
7866
7867 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7868
c79a1204
SP
78692013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
dfa1b402
SP
7871 * benchtests/pow-inputs: Add new inputs.
7872
54f73d9c
SP
7873 * benchtests/exp-inputs: Add new inputs.
7874
c79a1204
SP
7875 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7876 conditional check for return value.
7877 (__cos32): Likewise.
7878
67beb545 78792013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7880
7881 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7882 to provide a boost for large inputs with word alignment.
7883 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7884 implementation based on optimized PPC64 strcpy.
7885 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7886 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7887 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7888 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7889
151659f6
OB
78902013-10-25 Ondřej Bílka <neleai@seznam.cz>
7891
482a077e 7892 [BZ #2801]
151659f6
OB
7893 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7894
10b0f26b
OB
78952013-10-25 Ondřej Bílka <neleai@seznam.cz>
7896
7897 [BZ #14876]
7898 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7899 * time/tst-strptime.c (day_tests): Add testcase.
7900
ca42d35e
OB
79012013-10-25 Ondřej Bílka <neleai@seznam.cz>
7902
482a077e 7903 [BZ #14029]
ca42d35e
OB
7904 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7905
52e6d801
FB
79062013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7907
7908 [BZ #16074]
7909 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7910 MAP_FAILED on error.
7911
7cbcdb36
SP
79122013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7913
7914 [BZ #16072]
7915 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7916 heap for large requests.
7917
894f3f10
AM
79182013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7919
7920 [BZ #9954]
7921 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7922 result if the result has no associated interface.
7923 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7924 interface for all 127.X.Y.Z addresses.
7925
b85545a6
CL
79262013-10-24 Chris Leonard <cjl@sugarlabs.org>
7927
7928 * locale/iso-639.def: Add Ligurian (lij)
7929
d1f23d46
OB
79302013-10-21 Ondřej Bílka <neleai@seznam.cz>
7931
7932 [BZ #15825]
7933 * sunrpc/rpc_main.c: Document rpcgen -5.
7934
4db5b08f
MS
79352013-10-19 Michael Stahl <mstahl@redhat.com>
7936
7937 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7938
a471e96a
OB
79392013-10-19 Ondřej Bílka <neleai@seznam.cz>
7940
d1f23d46 7941 [BZ #10278]
a471e96a
OB
7942 * posix/glob.c: Match only directories when trailing slash is present.
7943 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7944 (main): Add testcase.
7945
45c30c61
OB
79462013-10-19 Ondřej Bílka <neleai@seznam.cz>
7947
7948 [BZ #15670]
7949 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7950
484c12fb
CD
79512013-10-18 Carlos O'Donell <carlos@redhat.com>
7952
3d7dc513
CD
7953 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7954 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7955 AUTH_DES and cindex for FIPS 140-2.
7956 (DES Encryption): Add cindex FIPS 46-3.
7957
484c12fb
CD
7958 * locale/locarchive.h (struct locarhandle): Add fname.
7959 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7960 if an optional argument was specified to --list-archive,
7961 otherwise NULL.
7962 * locale/programs/locarchive.c (show_archive_content): Take new
7963 argument fname and pass it via ah.fname to open_archive.
7964 * locale/programs/localedef.h: Update decl.
7965 (open_archive): If AH->fname is non-null, open that file
7966 rather than the default file name, and don't ignore ENOENT.
7967 (create_archive): Set AH.fname to NULL.
7968 (delete_locales_from_archive): Likewise.
7969 (add_locales_to_archive): Likewise.
7970 * locale/programs/locfile.c (write_all_categories): Likewise.
7971
3c8325fb
JM
79722013-10-18 Joseph Myers <joseph@codesourcery.com>
7973 Aldy Hernandez <aldyh@redhat.com>
7974
7975 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7976 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7977 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7978 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7979 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7980 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7981 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7982 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7983 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7984 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7985 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7986 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7987 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7988 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7989 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7990 Likewise.
7991 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7992 Likewise.
7993 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7994 Likewise.
7995 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7996 Likewise.
7997 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7998 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7999 Likewise.
8000 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8001 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8002 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8003 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8004 Likewise.
8005 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8006 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8007 * sysdeps/powerpc/preconfigure: Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8009 Likewise.
8010 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8011 Replace contents of file by #include of <fenv_libc.h>.
8012 * sysdeps/powerpc/soft-fp/sfp-machine.h
8013 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8014 and <sys/prctl.h>.
8015 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8016 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8017 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8018 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8019 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8020 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8022 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8023 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8024 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8025 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8026 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8028 Allow copysignl PLT reference to be missing.
8029
5abe0682
RS
80302013-10-18 Richard Sandiford <richard@codesourcery.com>
8031 Joseph Myers <joseph@codesourcery.com
8032
8033 [BZ #15948]
8034 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8035 single character.
8036 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8037
c7738d08
SP
80382013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8039
8040 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8041 * elf/tst-tls1.c: Likewise.
8042 * elf/tst-tls10.h: Likewise.
8043 * elf/tst-tls14.c: Likewise.
8044 * elf/tst-tls2.c: Likewise.
8045 * elf/tst-tls3.c: Likewise.
8046 * elf/tst-tls4.c: Likewise.
8047 * elf/tst-tls5.c: Likewise.
8048 * elf/tst-tls6.c: Likewise.
8049 * elf/tst-tls7.c: Likewise.
8050 * elf/tst-tls8.c: Likewise.
8051 * elf/tst-tls9.c: Likewise.
8052 * elf/tst-tlsmod1.c: Likewise.
8053 * elf/tst-tlsmod13.c: Likewise.
8054 * elf/tst-tlsmod13a.c: Likewise.
8055 * elf/tst-tlsmod14a.c: Likewise.
8056 * elf/tst-tlsmod16a.c: Likewise.
8057 * elf/tst-tlsmod16b.c: Likewise.
8058 * elf/tst-tlsmod2.c: Likewise.
8059 * elf/tst-tlsmod3.c: Likewise.
8060 * elf/tst-tlsmod4.c: Likewise.
8061 * elf/tst-tlsmod5.c: Likewise.
8062 * elf/tst-tlsmod6.c: Likewise.
8063
0bfcf2c7
OB
80642013-10-18 Ondřej Bílka <neleai@seznam.cz>
8065
8066 [BZ #12486]
8067 * malloc/malloc.c: remove checks for statistics.
8068
264aad1e
OB
80692013-10-17 Ondřej Bílka <neleai@seznam.cz>
8070
8071 [BZ #15277]
8072 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8073 * inet/tst-network.c: Add testcase.
8074
b957ced8
AS
80752013-10-17 Andreas Schwab <schwab@suse.de>
8076
8077 [BZ #15218]
8078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8079 to determine canonical name.
8080
c5d5d574
OB
80812013-10-17 Ondřej Bílka <neleai@seznam.cz>
8082
8083 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8084 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8107 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8108 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8113 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8141
e5c2c2d0
JM
81422013-10-17 Joseph Myers <joseph@codesourcery.com>
8143
8144 [BZ #16041]
8145 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8146 make result into a quiet NaN.
8147
51ca9e29
JM
81482013-10-16 Joseph Myers <joseph@codesourcery.com>
8149
8150 * soft-fp/adddf3.c: Fix horizontal whitespace.
8151 * soft-fp/addsf3.c: Likewise.
8152 * soft-fp/addtf3.c: Likewise.
8153 * soft-fp/divdf3.c: Likewise.
8154 * soft-fp/divsf3.c: Likewise.
8155 * soft-fp/divtf3.c: Likewise.
8156 * soft-fp/double.h: Likewise.
8157 * soft-fp/eqdf2.c: Likewise.
8158 * soft-fp/eqsf2.c: Likewise.
8159 * soft-fp/eqtf2.c: Likewise.
8160 * soft-fp/extenddftf2.c: Likewise.
8161 * soft-fp/extended.h: Likewise.
8162 * soft-fp/extendsfdf2.c: Likewise.
8163 * soft-fp/extendsftf2.c: Likewise.
8164 * soft-fp/extendxftf2.c: Likewise.
8165 * soft-fp/fixdfdi.c: Likewise.
8166 * soft-fp/fixdfsi.c: Likewise.
8167 * soft-fp/fixdfti.c: Likewise.
8168 * soft-fp/fixsfdi.c: Likewise.
8169 * soft-fp/fixsfsi.c: Likewise.
8170 * soft-fp/fixsfti.c: Likewise.
8171 * soft-fp/fixtfdi.c: Likewise.
8172 * soft-fp/fixtfsi.c: Likewise.
8173 * soft-fp/fixtfti.c: Likewise.
8174 * soft-fp/fixunsdfdi.c: Likewise.
8175 * soft-fp/fixunsdfsi.c: Likewise.
8176 * soft-fp/fixunsdfti.c: Likewise.
8177 * soft-fp/fixunssfdi.c: Likewise.
8178 * soft-fp/fixunssfsi.c: Likewise.
8179 * soft-fp/fixunssfti.c: Likewise.
8180 * soft-fp/fixunstfdi.c: Likewise.
8181 * soft-fp/fixunstfsi.c: Likewise.
8182 * soft-fp/fixunstfti.c: Likewise.
8183 * soft-fp/floatdidf.c: Likewise.
8184 * soft-fp/floatdisf.c: Likewise.
8185 * soft-fp/floatditf.c: Likewise.
8186 * soft-fp/floatsidf.c: Likewise.
8187 * soft-fp/floatsisf.c: Likewise.
8188 * soft-fp/floatsitf.c: Likewise.
8189 * soft-fp/floattidf.c: Likewise.
8190 * soft-fp/floattisf.c: Likewise.
8191 * soft-fp/floattitf.c: Likewise.
8192 * soft-fp/floatundidf.c: Likewise.
8193 * soft-fp/floatundisf.c: Likewise.
8194 * soft-fp/floatunditf.c: Likewise.
8195 * soft-fp/floatunsidf.c: Likewise.
8196 * soft-fp/floatunsisf.c: Likewise.
8197 * soft-fp/floatunsitf.c: Likewise.
8198 * soft-fp/floatuntidf.c: Likewise.
8199 * soft-fp/floatuntisf.c: Likewise.
8200 * soft-fp/floatuntitf.c: Likewise.
8201 * soft-fp/fmadf4.c: Likewise.
8202 * soft-fp/fmasf4.c: Likewise.
8203 * soft-fp/fmatf4.c: Likewise.
8204 * soft-fp/gedf2.c: Likewise.
8205 * soft-fp/gesf2.c: Likewise.
8206 * soft-fp/getf2.c: Likewise.
8207 * soft-fp/ledf2.c: Likewise.
8208 * soft-fp/lesf2.c: Likewise.
8209 * soft-fp/letf2.c: Likewise.
8210 * soft-fp/muldf3.c: Likewise.
8211 * soft-fp/mulsf3.c: Likewise.
8212 * soft-fp/multf3.c: Likewise.
8213 * soft-fp/negdf2.c: Likewise.
8214 * soft-fp/negsf2.c: Likewise.
8215 * soft-fp/negtf2.c: Likewise.
8216 * soft-fp/op-1.h: Likewise.
8217 * soft-fp/op-2.h: Likewise.
8218 * soft-fp/op-4.h: Likewise.
8219 * soft-fp/op-8.h: Likewise.
8220 * soft-fp/op-common.h: Likewise.
8221 * soft-fp/quad.h: Likewise.
8222 * soft-fp/single.h: Likewise.
8223 * soft-fp/soft-fp.h: Likewise.
8224 * soft-fp/sqrtdf2.c: Likewise.
8225 * soft-fp/sqrtsf2.c: Likewise.
8226 * soft-fp/sqrttf2.c: Likewise.
8227 * soft-fp/subdf3.c: Likewise.
8228 * soft-fp/subsf3.c: Likewise.
8229 * soft-fp/subtf3.c: Likewise.
8230 * soft-fp/truncdfsf2.c: Likewise.
8231 * soft-fp/trunctfdf2.c: Likewise.
8232 * soft-fp/trunctfsf2.c: Likewise.
8233 * soft-fp/trunctfxf2.c: Likewise.
8234 * soft-fp/unorddf2.c: Likewise.
8235 * soft-fp/unordsf2.c: Likewise.
8236 * soft-fp/unordtf2.c: Likewise.
8237
9ebb0332
JM
82382013-10-15 Joseph Myers <joseph@codesourcery.com>
8239
8240 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8241 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8242
4b1a6d8b
OB
82432013-10-15 Ondřej Bílka <neleai@seznam.cz>
8244
8245 * elf/dl-libc.c: Clear initfini list after freeing.
8246
1e145589
JM
82472013-10-14 Joseph Myers <joseph@codesourcery.com>
8248
8249 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8250 * soft-fp/addsf3.c: Likewise.
8251 * soft-fp/addtf3.c: Likewise.
8252 * soft-fp/divdf3.c: Likewise.
8253 * soft-fp/divsf3.c: Likewise.
8254 * soft-fp/divtf3.c: Likewise.
8255 * soft-fp/double.h: Likewise.
8256 * soft-fp/eqdf2.c: Likewise.
8257 * soft-fp/eqsf2.c: Likewise.
8258 * soft-fp/eqtf2.c: Likewise.
8259 * soft-fp/extenddftf2.c: Likewise.
8260 * soft-fp/extended.h: Likewise.
8261 * soft-fp/extendsfdf2.c: Likewise.
8262 * soft-fp/extendsftf2.c: Likewise.
8263 * soft-fp/extendxftf2.c: Likewise.
8264 * soft-fp/fixdfdi.c: Likewise.
8265 * soft-fp/fixdfsi.c: Likewise.
8266 * soft-fp/fixdfti.c: Likewise.
8267 * soft-fp/fixsfdi.c: Likewise.
8268 * soft-fp/fixsfsi.c: Likewise.
8269 * soft-fp/fixsfti.c: Likewise.
8270 * soft-fp/fixtfdi.c: Likewise.
8271 * soft-fp/fixtfsi.c: Likewise.
8272 * soft-fp/fixtfti.c: Likewise.
8273 * soft-fp/fixunsdfdi.c: Likewise.
8274 * soft-fp/fixunsdfsi.c: Likewise.
8275 * soft-fp/fixunsdfti.c: Likewise.
8276 * soft-fp/fixunssfdi.c: Likewise.
8277 * soft-fp/fixunssfsi.c: Likewise.
8278 * soft-fp/fixunssfti.c: Likewise.
8279 * soft-fp/fixunstfdi.c: Likewise.
8280 * soft-fp/fixunstfsi.c: Likewise.
8281 * soft-fp/fixunstfti.c: Likewise.
8282 * soft-fp/floatdidf.c: Likewise.
8283 * soft-fp/floatdisf.c: Likewise.
8284 * soft-fp/floatditf.c: Likewise.
8285 * soft-fp/floatsidf.c: Likewise.
8286 * soft-fp/floatsisf.c: Likewise.
8287 * soft-fp/floatsitf.c: Likewise.
8288 * soft-fp/floattidf.c: Likewise.
8289 * soft-fp/floattisf.c: Likewise.
8290 * soft-fp/floattitf.c: Likewise.
8291 * soft-fp/floatundidf.c: Likewise.
8292 * soft-fp/floatundisf.c: Likewise.
8293 * soft-fp/floatunsidf.c: Likewise.
8294 * soft-fp/floatunsisf.c: Likewise.
8295 * soft-fp/floatuntidf.c: Likewise.
8296 * soft-fp/floatuntisf.c: Likewise.
8297 * soft-fp/floatuntitf.c: Likewise.
8298 * soft-fp/fmadf4.c: Likewise.
8299 * soft-fp/fmasf4.c: Likewise.
8300 * soft-fp/fmatf4.c: Likewise.
8301 * soft-fp/gedf2.c: Likewise.
8302 * soft-fp/gesf2.c: Likewise.
8303 * soft-fp/getf2.c: Likewise.
8304 * soft-fp/ledf2.c: Likewise.
8305 * soft-fp/lesf2.c: Likewise.
8306 * soft-fp/letf2.c: Likewise.
8307 * soft-fp/muldf3.c: Likewise.
8308 * soft-fp/mulsf3.c: Likewise.
8309 * soft-fp/multf3.c: Likewise.
8310 * soft-fp/negdf2.c: Likewise.
8311 * soft-fp/negsf2.c: Likewise.
8312 * soft-fp/negtf2.c: Likewise.
8313 * soft-fp/op-1.h: Likewise.
8314 * soft-fp/op-2.h: Likewise.
8315 * soft-fp/op-4.h: Likewise.
8316 * soft-fp/op-8.h: Likewise.
8317 * soft-fp/op-common.h: Likewise.
8318 * soft-fp/quad.h: Likewise.
8319 * soft-fp/single.h: Likewise.
8320 * soft-fp/soft-fp.h: Likewise.
8321 * soft-fp/sqrtdf2.c: Likewise.
8322 * soft-fp/sqrtsf2.c: Likewise.
8323 * soft-fp/sqrttf2.c: Likewise.
8324 * soft-fp/subdf3.c: Likewise.
8325 * soft-fp/subsf3.c: Likewise.
8326 * soft-fp/subtf3.c: Likewise.
8327 * soft-fp/truncdfsf2.c: Likewise.
8328 * soft-fp/trunctfdf2.c: Likewise.
8329 * soft-fp/trunctfsf2.c: Likewise.
8330 * soft-fp/trunctfxf2.c: Likewise.
8331 * soft-fp/unorddf2.c: Likewise.
8332 * soft-fp/unordsf2.c: Likewise.
8333 * soft-fp/unordtf2.c: Likewise.
8334
17c48a60
OB
83352013-10-14 Ondřej Bílka <neleai@seznam.cz>
8336
8337 [BZ #15672]
8338 * misc/error.c (error_tail): Fix possible buffer overflow.
8339
cabba934
OB
83402013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8341
8342 [BZ #13028]
8343 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8344 address.
8345
94bf958a
PM
83462013-10-14 P. J. McDermott <pj@pehjota.net>
8347
8348 [BZ #832]
8349 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8350 testing pipefail option.
8351
71b4dea7
JM
83522013-10-12 Joseph Myers <joseph@codesourcery.com>
8353
8354 * soft-fp/double.h: Indent preprocessor directives inside #if.
8355 * soft-fp/extended.h: Likewise.
8356 * soft-fp/op-2.h: Likewise.
8357 * soft-fp/op-4.h: Likewise.
8358 * soft-fp/op-common.h: Likewise.
8359 * soft-fp/quad.h: Likewise.
8360 * soft-fp/single.h: Likewise.
8361 * soft-fp/soft-fp.h: Likewise.
8362
55602758
YC
83632013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8364
8365 * iconv/iconv_prog.c: Fix typos.
8366 * stdio-common/psiginfo-data.h: Likewise.
8367
9cd83302
RT
83682013-10-12 Reuben Thomas <rrt@sc3d.org>
8369
8370 [BZ #15764]
8371 * locale/setlocale.c: Fix typo.
8372
99fd9f47
JM
83732013-10-12 Joseph Myers <joseph@codesourcery.com>
8374
b7ea74f0
JM
8375 [BZ #16036]
8376 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8377 signaling NaN arguments.
8378 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8379 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8380
8a509447
JM
8381 [BZ #14910]
8382 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8383 unordered operands.
8384 * soft-fp/gesf2.c (__gesf2): Likewise.
8385 * soft-fp/getf2.c (__getf2): Likewise.
8386 * soft-fp/ledf2.c (__ledf2): Likewise.
8387 * soft-fp/lesf2.c (__lesf2): Likewise.
8388 * soft-fp/letf2.c (__letf2): Likewise.
8389
98998e9f
JM
8390 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8391 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8392 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8393 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8394 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8395 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8396 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8397 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8398 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8399 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8400 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8401 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8402 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8403 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8404 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8405 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8406 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8407 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8408 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8409 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8410 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8411 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8412 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8413 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8414 * soft-fp/floattidf.c (__floattidf): Likewise.
8415 * soft-fp/floattisf.c (__floattisf): Likewise.
8416 * soft-fp/floattitf.c (__floattitf): Likewise.
8417 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8418 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8419 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8420 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8421 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8422 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8423 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8424 * soft-fp/gesf2.c (__gesf2): Likewise.
8425 * soft-fp/getf2.c (__getf2): Likewise.
8426 * soft-fp/ledf2.c (__ledf2): Likewise.
8427 * soft-fp/lesf2.c (__lesf2): Likewise.
8428 * soft-fp/letf2.c (__letf2): Likewise.
8429
8edc4a11
JM
8430 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8431 Undefine and redefine.
8432 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8433 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8434 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8435 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8436 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8437 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8438 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8439 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8440 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8441 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8442 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8443 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8444 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8445 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8446 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8447
8399acaf
JM
8448 [BZ #16032]
8449 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8450 without decrementing exponent if mantissa >= that for the
8451 denominator, not >.
8452 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8453 denominator, not >. Decrement exponent in < case instead of
8454 incrementing in >= case.
8455 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8456 without decrementing exponent if mantissa >= that for the
8457 denominator, not >.
8458
99fd9f47
JM
8459 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8460 computing saturated result for unsigned overflow.
8461
10e1cf6b
SP
84622013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8463 Jeff Law <law@redhat.com>
8464
8465 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8466 (atan2Mp): Add systemtap probe marker.
8467 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8468 (__ieee754_log): Add systemtap probe marker.
8469 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8470 (atanMp): Add systemtap probe marker.
8471 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8472 (tanMp): Add systemtap probe marker.
8473 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8474 (__slowexp): Add systemtap probe marker.
8475 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8476 (__slowpow): Add systemtap probe marker.
8477 * manual/probes.texi: Document probes.
8478
3d110c7c
EB
84792013-10-11 Eric Biggers <ebiggers3@gmail.com>
8480
8481 [BZ #15362]
8482 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8483 written.
8484 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8485 written.
8486 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8487 written to buffer but not flushed.
8488 * libio/iofwrite_u.c: Likewise.
8489 * libio/iopadn.c: Return bytes returned even if EOF was
8490 encountered.
8491 * libio/iowpadn.c: Likewise.
8492 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8493 if _IO_padn does not write the whole buffer.
8494 [!COMPILE_WPRINTF] (PAD): Likewise.
8495
75b4202a
DM
84962013-10-10 David S. Miller <davem@davemloft.net>
8497
8498 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8499 directory block.
8500
6c6352e6
JM
85012013-10-10 Joseph Myers <joseph@codesourcery.com>
8502
33b853c3
JM
8503 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8504 instead of FSF address.
8505 * soft-fp/fixdfti.c: Likewise.
8506 * soft-fp/fixsfti.c: Likewise.
8507 * soft-fp/fixtfti.c: Likewise.
8508 * soft-fp/fixunsdfti.c: Likewise.
8509 * soft-fp/fixunssfti.c: Likewise.
8510 * soft-fp/fixunstfti.c: Likewise.
8511 * soft-fp/floattidf.c: Likewise.
8512 * soft-fp/floattisf.c: Likewise.
8513 * soft-fp/floattitf.c: Likewise.
8514 * soft-fp/floatuntidf.c: Likewise.
8515 * soft-fp/floatuntisf.c: Likewise.
8516 * soft-fp/floatuntitf.c: Likewise.
8517 * soft-fp/trunctfxf2.c: Likewise.
8518
6c6352e6
JM
8519 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8520 * soft-fp/fixdfti.c: Likewise.
8521 * soft-fp/fixsfti.c: Likewise.
8522 * soft-fp/fixtfti.c: Likewise.
8523 * soft-fp/fixunsdfti.c: Likewise.
8524 * soft-fp/fixunssfti.c: Likewise.
8525 * soft-fp/fixunstfti.c: Likewise.
8526 * soft-fp/floattidf.c: Likewise.
8527 * soft-fp/floattisf.c: Likewise.
8528 * soft-fp/floattitf.c: Likewise.
8529 * soft-fp/floatuntidf.c: Likewise.
8530 * soft-fp/floatuntisf.c: Likewise.
8531 * soft-fp/floatuntitf.c: Likewise.
8532 * soft-fp/trunctfxf2.c: Likewise.
8533
3bf78b71
DM
85342013-10-10 David S. Miller <davem@davemloft.net>
8535
8536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8537
6f10289e
JM
85382013-10-10 Joseph Myers <joseph@codsourcery.com>
8539
bd878fc0
JM
8540 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8541 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8542 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8543 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8544 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8545 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8546 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8547
6f10289e
JM
8548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8549 for NaNs before doing comparisons on argument.
8550 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8551 Likewise.
8552
321e2684
WN
85532013-10-10 Will Newton <will.newton@linaro.org>
8554
8555 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8556 passed to _int_memalign does not overflow.
8557
40fefba1
TR
85582013-10-10 Torvald Riegel <triegel@redhat.com>
8559
8560 * scripts/bench.pl: Add include-sources directive.
8561 * benchtests/README: Update documentation.
8562
2ae21ed2
JM
85632013-10-10 Joseph Myers <joseph@codesourcery.com>
8564
dcc2dd3f
JM
8565 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8566 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8567 instead of FP_INIT_ROUNDMODE.
8568 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8569 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8570
2ae21ed2
JM
8571 [BZ #16034]
8572 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8573 copy class of input value.
8574 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8575 not handle exceptions.
8576 * soft-fp/negsf2.c (__negsf2): Likewise.
8577 * soft-fp/negtf2.c (__negtf2): Likewise.
8578 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8579
cb8f9562
JM
85802013-10-09 Joseph Myers <joseph@codesourcery.com>
8581
8582 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8583 semicolon. From Linux kernel.
8584
5b60c59d
AB
85852013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8586
8587 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8588
b86835ca
YC
85892013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8590
8591 [BZ #156]
8592 * manual/socket.texi: Added statement about buffer
8593 for gethostbyname2_r.
8594
e7044ea7
OB
85952013-10-08 Ondřej Bílka <neleai@seznam.cz>
8596
8597 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8598 Use .p2align directive instead, throughout.
8599 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8600 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8601 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8602 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8603 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8604 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8605 * sysdeps/x86_64/strchr.S: Likewise.
8606 * sysdeps/x86_64/strrchr.S: Likewise.
8607
09544cbc
SP
86082013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8609
88576635
SP
8610 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8611
e7b2d1dd
SP
8612 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8613
09544cbc
SP
8614 * sysdeps/generic/math_private.h (__mpsin1): Remove
8615 declaration.
8616 (__mpcos1): Likewise.
8617 (__mpsin): New argument __range_reduce.
8618 (__mpcos): Likewise.
8619 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8620 (slow): Use __mpsin and __mpcos.
8621 (slow1): Likewise.
8622 (slow2): Likewise.
8623 (sloww): Likewise.
8624 (sloww1): Likewise.
8625 (sloww2): Likewise.
8626 (bsloww): Likewise.
8627 (bsloww1): Likewise.
8628 (bsloww2): Likewise.
8629 (cslow2): Likewise.
8630 (csloww): Likewise.
8631 (csloww1): Likewise.
8632 (csloww2): Likewise.
8633 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8634 range_reduce. Merge in __mpsin1.
8635 (__mpcos): Likewise.
8636 (__mpsin1): Remove.
8637 (__mpcos1): Likewise.
8638
7602d070
JM
86392013-10-07 Joseph Myers <joseph@codesourcery.com>
8640
8641 * locale/loadlocale.c (_nl_intern_locale_data): Use
8642 LOCFILE_ALIGNED_P.
8643 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8644 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8645 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8646 obstack data is appropriately aligned.
8647 (obstack_int32_grow_fast): Likewise.
8648 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8649 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8650 (add_locale_uint32_array): Likewise.
8651
a357259b
SP
86522013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8653
8654 * benchtests/Makefile: Remove ARGLIST and RET variables.
8655 ($(objpfx)bench-%.c): Pass only function name to the script.
8656 * benchtests/README: Update documentation.
8657 * benchtests/acos-inputs: Add new directives.
8658 * benchtests/acosh-inputs: Likewise.
8659 * benchtests/asin-inputs: Likewise.
8660 * benchtests/asinh-inputs: Likewise.
8661 * benchtests/atan-inputs: Likewise.
8662 * benchtests/atanh-inputs: Likewise.
8663 * benchtests/cos-inputs: Likewise.
8664 * benchtests/cosh-inputs: Likewise.
8665 * benchtests/exp-inputs: Likewise.
8666 * benchtests/log-inputs: Likewise.
8667 * benchtests/pow-inputs: Likewise.
8668 * benchtests/rint-inputs: Likewise.
8669 * benchtests/sin-inputs: Likewise.
8670 * benchtests/sinh-inputs: Likewise.
8671 * benchtests/tan-inputs: Likewise.
8672 * benchtests/tanh-inputs: Likewise.
8673 * scripts/bench.pl: Add support for new directives.
8674
9ec1b13d
AM
86752013-10-07 Alan Modra <amodra@gmail.com>
8676
8677 * README: Fix careless merge.
8678
8b7d57cd
AM
86792013-10-05 Alan Modra <amodra@gmail.com>
8680
8681 * NEWS: Mention powerpc64le support and bugs fixed.
8682 * README: Both big-endian and little-endian powerpc64 supported.
8683
7b7bab13
ST
86842013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8685
8686 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8687 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8688 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8689 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8690
d39baad1
RA
86912013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8692
8693 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8694 match prototype.
8695
cd78f7e7
JM
86962013-10-04 Joseph Myers <joseph@codesourcery.com>
8697
29d73d86
JM
8698 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8699 Move -mhard-float appending from
8700 ports/sysdeps/powerpc/powerpc32/Makefile.
8701 [$(with-fp) = yes] (ASFLAGS): Likewise.
8702 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8703 * sysdeps/powerpc/nofpu: Move directory from
8704 ports/sysdeps/powerpc/nofpu.
8705 * sysdeps/powerpc/soft-fp: Move directory from
8706 ports/sysdeps/powerpc/soft-fp.
8707 * sysdeps/powerpc/powerpc32/405: Move directory from
8708 ports/sysdeps/powerpc/powerpc32/405.
8709 * sysdeps/powerpc/powerpc32/440: Move directory from
8710 ports/sysdeps/powerpc/powerpc32/440.
8711 * sysdeps/powerpc/powerpc32/464: Move directory from
8712 ports/sysdeps/powerpc/powerpc32/464.
8713 * sysdeps/powerpc/powerpc32/476: Move directory from
8714 ports/sysdeps/powerpc/powerpc32/476.
8715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8716 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8718 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8720 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8722 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8724 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8725 * README: Update for powerpc-*-linux-gnu software floating point
8726 support in libc.
8727
e246b347
JM
8728 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8729 case to powerpc/powerpc32*.
8730 * sysdeps/unix/sysv/linux/configure: Regenerated.
8731
89c2003e
JM
8732 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8733 (_FPU_MASK_OM): Define as 0x04.
8734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8736 0x00c10080.
8737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8738 0x0000003c.
8739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8740
cd78f7e7
JM
8741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8742 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8743 getcontext_e500.
8744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8745 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8746 setcontext_e500.
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8748 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8749 and setcontext_e500.
8750
c755294d
CL
87512013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8752
8753 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8754
e16d221c
SP
87552013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8756
8757 * manual/threads.texi (Default Thread Attributes): Fix typo.
8758
215c7d43
WN
87592013-10-04 Will Newton <will.newton@linaro.org>
8760
8761 * malloc/Makefile: Add tst-memalign.
8762 * malloc/tst-memalign.c: New file.
8763
27d0461b
WN
8764 * malloc/tst-posix_memalign.c: Add comments.
8765 (do_test): Add comments and call free on all potentially
8766 allocated pointers. Add space after cast.
8767
1bc92709
WN
8768 * malloc/tst-pvalloc.c: Add comments.
8769 (do_test): Add comments and call free on all potentially
8770 allocated pointers. Remove duplicate check for NULL pointer.
8771 Add space after cast.
8772
66a9be9d
WN
8773 * malloc/tst-valloc.c: Add comments.
8774 (do_test): Add comments and call free on all potentially
8775 allocated pointers. Remove duplicate check for NULL pointer.
8776 Add space after cast.
8777
4cb81307
AM
87782013-10-04 Alan Modra <amodra@gmail.com>
8779
8780 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8781 Use stdint types in rather than __attribute__((mode())).
8782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8783
f8e3e9f3
AM
87842013-10-04 Alan Modra <amodra@gmail.com>
8785
8786 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8787 Correct handling of unaligned relocs for little-endian.
8788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8789
8f9ebb08
AM
87902013-10-04 Alan Modra <amodra@gmail.com>
8791
8792 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8793 * configure: Regenerate.
8794 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8795 * shlib-versions: Likewise.
8796
0edf96c2
AM
87972013-10-04 Alan Modra <amodra@gmail.com>
8798
8799 * string/tester.c (test_memrchr): Increment reported test cycle.
8800
e0f7a380
AM
88012013-10-04 Alan Modra <amodra@gmail.com>
8802
8803 * string/test-memcpy.c (do_one_test): When reporting errors, print
8804 string address and don't overrun end of string.
8805
466b0393
AM
88062013-10-04 Alan Modra <amodra@gmail.com>
8807
8808 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8809 insrdi. Make better use of reg selection to speed exit slightly.
8810 Schedule entry path a little better. Remove useless "are we done"
8811 checks on entry to main loop. Handle wrapping around zero address.
8812 Correct main loop count. Handle single left-over word from main
8813 loop inline rather than by using loop_small. Remove extra word
8814 case in loop_small caused by wrong loop count. Add little-endian
8815 support.
8816 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8817 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8818 cache hint.
8819 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8820 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8821 support. Avoid rlwimi.
8822 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8823
3be87c77
AM
88242013-10-04 Alan Modra <amodra@gmail.com>
8825
8826 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8827 insrdi. Formatting.
3be87c77
AM
8828 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8829 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8830 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8831 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8832 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8833 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8834
759cfef3
AM
88352013-10-04 Alan Modra <amodra@gmail.com>
8836
8837 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8838 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8839 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8840 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8841 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8842 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8843 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8844 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8845 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8846 use of regs. Use power7 mtocrf. Tidy function tails.
8847
fe6e95d7
AM
88482013-10-04 Alan Modra <amodra@gmail.com>
8849
8850 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8851 Formatting. Consistently use rXXX register defines or rN defines.
8852 Use early exit labels that avoid restoring unused non-volatile regs.
8853 Make cr field use more consistent with rWORDn compares. Rename
8854 regs used as shift registers for unaligned loop, using rN defines
8855 for short lifetime/multiple use regs.
8856 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8857 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8858 addi 1,1,64 to pop stack frame. Simplify return value code.
8859 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8860
664318c3
AM
88612013-10-04 Alan Modra <amodra@gmail.com>
8862
8863 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8864 support. Correct typos, formatting. Optimize tail. Use insrdi
8865 rather than rlwimi.
8866 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8867 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8868 little-endian support. Correct typos.
8869 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8870 rather than rlwimi.
8871 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8872 in loop and entry code to keep "and." results.
8873 (strchr): Add little-endian support. Comment. Move cntlzd
8874 earlier in tail.
8875 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8876
43b84013
AM
88772013-10-04 Alan Modra <amodra@gmail.com>
8878
8879 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8880 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8881 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8882 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8883
8a7413f9
AM
88842013-10-04 Alan Modra <amodra@gmail.com>
8885
8886 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8887 (rTMP): Define as r11.
8888 (strcmp): Add little-endian support. Optimise tail.
8889 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8890 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8891 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8892 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8893 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8895 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8896
33ee81de
AM
88972013-10-04 Alan Modra <amodra@gmail.com>
8898
8899 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8900 little-endian support. Remove unnecessary "are we done" tests.
8901 Handle "s" wrapping around zero and extremely large "size".
8902 Correct main loop count. Handle single left-over word from main
8903 loop inline rather than by using small_loop. Correct comments.
8904 Delete "zero" tail, use "end_max" instead.
8905 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8906
db9b4570
AM
89072013-10-04 Alan Modra <amodra@gmail.com>
8908
8909 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8910 support. Don't branch over align.
8911 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8912 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8913 support. Rearrange tmp reg use to suit. Comment.
8914 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8915
f7c399cf
AM
89162013-10-04 Alan Modra <amodra@gmail.com>
8917
8918 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8919
0b2c2ace
AM
89202013-10-04 Alan Modra <amodra@gmail.com>
8921
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8923 conditional form of branch and link when obtaining pc.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8925
02f04a6c
AM
89262013-10-04 Alan Modra <amodra@gmail.com>
8927
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8929 HIWORD/LOWORD.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8932
9b874b2f
AM
89332013-10-04 Alan Modra <amodra@gmail.com>
8934
8935 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8936 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8937 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8938 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8939 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8940 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8941 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8942 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8943 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8944 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8945
be1e5d31
AB
89462013-10-04 Anton Blanchard <anton@au1.ibm.com>
8947 Alistair Popple <alistair@ozlabs.au.ibm.com>
8948 Alan Modra <amodra@gmail.com>
8949
8950 [BZ #15723]
8951 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8952 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8953 _dl_hwcap access for little-endian.
8954 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8955 destroy vmx regs when saving unaligned.
8956 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8957 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8958 destroy vmx regs when saving unaligned.
8959
fef13a78
AM
89602013-10-04 Alan Modra <amodra@gmail.com>
8961
8962 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8963 Don't use a union to pack hi/low value.
8964
76a66d51
AB
89652013-10-04 Anton Blanchard <anton@au1.ibm.com>
8966
8967 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8968 for little-endian.
8969 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8970 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8971 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8972 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8973 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8974
6a31fe7f
AM
89752013-10-04 Alan Modra <amodra@gmail.com>
8976
8977 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8978 constants to usual value for .cst8 section, and remove redundant
8979 high address load.
8980 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8981 constant for 0x1p52. Load little-endian words of double from
8982 correct stack offsets.
8983
7b88401f
AM
89842013-10-04 Alan Modra <amodra@gmail.com>
8985
8986 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8987 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8988 words of double from correct stack offsets.
8989 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8990 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8991 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8992 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8993 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8994 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8995 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8996 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8997 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8998 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8999 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9000 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9001 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9002 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9003 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9004 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9005 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9006
9c008155
AM
90072013-10-04 Alan Modra <amodra@gmail.com>
9008
9009 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9010 64-bit int/double union.
9011 (_FPU_SETCW): Likewise.
9012 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9013 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9014
da13146d
AM
90152013-10-04 Alan Modra <amodra@gmail.com>
9016
9017 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9018 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9019
603e8410
AM
90202013-10-04 Alan Modra <amodra@gmail.com>
9021
9022 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9023 use vector int constants.
9024 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9025
4a28b3ca
AB
90262013-10-04 Anton Blanchard <anton@au1.ibm.com>
9027
9028 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9029 array with long long.
9030 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9031 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9032 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9033 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9034 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9035 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9036 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9037 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9038 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9039 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9040 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9041 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9042 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9043
2ca85d2b
AB
90442013-10-04 Anton Blanchard <anton@au1.ibm.com>
9045
9046 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9047 (__signbit): Likewise. Correct for little-endian.
9048 (__signbitl): Call __signbit.
9049 (lrint): Correct for little-endian.
9050 (lrintf): Call lrint.
9051
62a728ae
AM
90522013-10-04 Alan Modra <amodra@gmail.com>
9053
9054 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9055 union 32-bit int array member with 64-bit int array.
9056 (t515, tm256): Double rather than long double.
9057 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9058
32c301df
AM
90592013-10-04 Alan Modra <amodra@gmail.com>
9060
9061 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9062 Delete.
9063 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9064 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9065 version of math_ldbl.h.
9066
650ef4bd
AM
90672013-10-04 Alan Modra <amodra@gmail.com>
9068
9069 [BZ #15734], [BZ #15735]
9070 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9071 all uses of ieee875 long double macros and unions. Simplify test
9072 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9073 ldbl_extract_mantissa value for ix,iy exponents. Properly
9074 normalize after ldbl_extract_mantissa, and don't add hidden bit
9075 already handled. Don't treat low word of ieee854 mantissa like
9076 low word of IBM long double and mask off bit when testing for
9077 zero.
9078 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9079 all uses of ieee875 long double macros and unions. Simplify tests
9080 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9081 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9082 two1022, instead use their values. Recognise that tests for large
9083 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9084 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9085 Rewrite all uses of ieee875 long double macros and unions. Simplify
9086 test for 0.0L and nan. Correct negation.
9087 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9088 ieee875 long double macros and unions. Correct output for large
9089 magnitude x. Correct absolute value calculation.
9090 (__erfcl): Likewise.
9091 * math/libm-test.inc: Add tests for errors discovered in IBM long
9092 double versions of fmodl, remainderl, erfl and erfcl.
9093
765714ca
AM
90942013-10-04 Alan Modra <amodra@gmail.com>
9095
9096 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9097 all uses of ieee854 long double macros and unions. Simplify tests
9098 for long doubles that are fully specified by the high double.
9099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9100 Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9102 Remove dead code too.
9103 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9104 (__ieee754_ynl): Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9108 Remove dead code too.
9109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9112 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9113 Simplify.
9114 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9115 Simplify.
9116 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9119 Comment on variable precision.
9120 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9122 Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9127 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9128
4ebd120c
AM
91292013-10-04 Alan Modra <amodra@gmail.com>
9130
9131 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9132 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9133 all uses of ieee854 long double macros and unions.
9134 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9140 Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9145 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9147 Simplify sign and nan test too.
9148 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9149 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9152 Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9154 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9155 Likewise.
9156 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9157 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9159 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9162
1b6adf88
AM
91632013-10-04 Alan Modra <amodra@gmail.com>
9164
9165 * stdio-common/printf_size.c (__printf_size): Don't use
9166 union ieee854_long_double in fpnum union.
9167 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9168 signbit macro to retrieve sign from long double.
9169 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9170 retrieve sign from long double.
9171 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9172 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9173 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9174 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9175 * math/test-misc.c (main): Don't use union ieee854_long_double.
9176
4cf69995
AM
91772013-10-04 Alan Modra <amodra@gmail.com>
9178
9179 [BZ #15680]
9180 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9181 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9182 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9183 calculation. Remove unnecessary test for denormal exponent.
9184 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9185 Correct handling of denormals. Avoid undefined shift behaviour.
9186 Correct normalisation of low mantissa when low double is denormal.
9187 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9188 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9189 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9190 Correct normalisation of low mantissa. Test for overflow of high
9191 mantissa and normalise.
9192 (ldbl_nearbyint): Use more readable constant for two52.
9193 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9194 (__mpn_construct_long_double): Fix test for overflow of high
9195 mantissa and correct normalisation. Avoid undefined shift.
9196
9605ca6c
AM
91972013-10-04 Alan Modra <amodra@gmail.com>
9198
9199 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9200 (union ibm_extended_long_double): Define as an array of ieee754_double.
9201 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9202 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9203 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9204 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9212
975569d0
JM
92132013-10-03 Joseph Myers <joseph@codesourcery.com>
9214
d3d23756
JM
9215 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9216 page size instead of calling getpagesize.
9217
975569d0
JM
9218 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9219 (LOCFILE_ALIGN_MASK): Likewise.
9220 (LOCFILE_ALIGN_UP): Likewise.
9221 (LOCFILE_ALIGNED_P): Likewise.
9222 * locale/programs/ld-collate.c (collate_output): Use the new
9223 macros instead of __alignof__ (int32_t).
9224 * locale/weight.h (findidx): Likewise.
9225
b1fe1f2b
OB
92262013-10-03 Ondřej Bílka <neleai@seznam.cz>
9227
9228 [BZ #431]
9229 * manual/string.texi: Fix strncat and wcsncat.
9230
5f855e35
BM
92312013-10-03 Brooks Moses <bmoses@google.com>
9232
9233 [BZ #15915]
9234 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9235 * Makerules: ...here, and adjust associated comments.
9236
3cef6009
WN
92372013-10-02 Will Newton <will.newton@linaro.org>
9238
9239 * malloc/Makefile: Add tst-pvalloc.
9240 * malloc/tst-pvalloc.c: New file.
9241
7815420b
WN
92422013-10-02 Will Newton <will.newton@linaro.org>
9243
9244 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9245 improve test coverage.
9246
4868b204
WN
92472013-10-02 Will Newton <will.newton@linaro.org>
9248
9249 * malloc/Makefile: Add tst-posix_memalign.
9250 * malloc/tst-posix_memalign.c: New file.
9251
29c793b3
EB
92522013-10-01 Eric Blake <eblake@redhat.com>
9253
9254 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9255 Use __THROWNL rather than __THROW on static functions.
9256
fd967522
PM
92572013-09-30 Petr Machata <pmachata@redhat.com>
9258
9259 * elf/elf.h (R_AARCH64_ABS16): New macro.
9260 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9261 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9262 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9263 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9264 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9265 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9266 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9267 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9268 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9269 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9270 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9271 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9272 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9273 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9274 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9275 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9276 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9277 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9278 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9279 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9280 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9281 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9282 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9283 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9284 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9285 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9286 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9287 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9288 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9289 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9290 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9291 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9292 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9293 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9294 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9295 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9296 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9297 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9298 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9299 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9300 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9301 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9302 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9303 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9304 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9305 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9306 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9307 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9308 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9309 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9310 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9311 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9312 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9313 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9314 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9315 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9316 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9317 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9318 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9319 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9320 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9321 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9322 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9323 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9324 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9325 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9326 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9327 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9328 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9329 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9330 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9331 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9332 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9333 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9334 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9335 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9336 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9337 (R_AARCH64_TLSDESC_LDR): Likewise.
9338 (R_AARCH64_TLSDESC_ADD): Likewise.
9339 (R_AARCH64_TLSDESC_CALL): Likewise.
9340
b2179107
AS
93412013-09-30 Andreas Schwab <schwab@suse.de>
9342
9343 [BZ #15048]
9344 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9345 the nss database lookup.
9346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9348
47f28d0a
MF
93492013-09-28 Mike Frysinger <vapier@gentoo.org>
9350
9351 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9352
93532013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9354
9355 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9356 ${Bash-specific parameter/pattern/string} parameter expansion.
9357 * sysdeps/unix/make-syscalls.sh: Likewise.
9358
f4518a17
KK
93592013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9360
9361 * sysdeps/sh/stackguard-macros.h: New file.
9362
dc1a95c7
OB
93632013-09-26 Ondřej Bílka <neleai@seznam.cz>
9364
9365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9367 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9368 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9369 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9370 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9371
5ebbff8f
AZ
93722013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9373
9374 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9375 Fix thread ID register.
9376
4fd2cf9f
JM
93772013-09-25 Joseph Myers <joseph@codesourcery.com>
9378
9379 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9380 [POSIX || UNIX98]: Require rather than permitting all symbols from
9381 <time.h>.
9382 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9383 element of struct sched_param.
9384 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9385 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9386 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9387 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9388 constant.
9389
12c22bc4
OL
93902013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9391
9392 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9393 argument calculation.
9394
a03d8ea7
JM
93952013-09-24 Joseph Myers <joseph@codesourcery.com>
9396
9397 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9398 Expect macro.
9399 [POSIX] (pthread_attr_t): Do not require type.
9400 [POSIX] (pthread_cond_t): Likewise.
9401 [POSIX] (pthread_condattr_t): Likewise.
9402 [POSIX] (pthread_key_t): Likewise.
9403 [POSIX] (pthread_mutex_t): Likewise.
9404 [POSIX] (pthread_mutexattr_t): Likewise.
9405 [POSIX] (pthread_once_t): Likewise.
9406 [POSIX] (pthread_t): Likewise.
9407 [POSIX-based standards] (pthread_atfork): Expect function.
9408
6055173a
JM
94092013-09-24 Joseph Myers <joseph@codesourcery.com>
9410 Richard Sandiford <richard@codesourcery.com>
9411
9412 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9413 (swap_endianness_p): New extern variable.
9414 (set_big_endian): New inline function.
9415 (maybe_swap_uint32): Likewise.
9416 (maybe_swap_uint32_array): Likewise.
9417 (maybe_swap_uint32_obstack): Likewise.
9418 * locale/programs/locfile.c: Include <stdbool.h>.
9419 (swap_endianness_p): New variable.
9420 (add_locale_uint32): Call maybe_swap_uint32.
9421 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9422 (write_locale_data): Call maybe_swap_uint32_array.
9423 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9424 maybe_swap_uint32.
9425 (obstack_int32_grow_fast): Likewise.
9426 (output_weightwc): Call maybe_swap_uint32_obstack.
9427 (collate_output): Likewise.
9428 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9429 (OPT_LITTLE_ENDIAN): Likewise.
9430 (options): Add --little-endian and --big-endian options.
9431 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9432 * locale/programs/locarchive.c: Include "locfile.h".
9433 (GET): New macro.
9434 (SET): Likewise.
9435 (INC): Likewise.
9436 (create_archive): Use the new macros to access fields of
9437 structures directly mapped from or written to locale archives.
9438 (oldlocrecentcmp): Likewise.
9439 (enlarge_archive): Likewise.
9440 (insert_name): Likewise.
9441 (add_alias): Likewise.
9442 (add_locale): Likewise.
9443 (delete_locales_from_archive): Likewise.
9444 (show_archive_content): Likewise.
9445 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9446 locale data.
9447
39bf0bb4
RM
94482013-09-24 Roland McGrath <roland@hack.frob.com>
9449
9450 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9451 http://www.gnu.org/doc/freemanuals.texi.
9452 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9453
f02eed10
WN
94542013-09-24 Will Newton <will.newton@linaro.org>
9455
9456 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9457 macro.
9458
a3a6c312
JM
94592013-09-23 Joseph Myers <joseph@codesourcery.com>
9460
9461 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9462 unsigned char.
9463
107375ac
MR
94642013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9465
9466 * manual/threads.texi (POSIX Threads): Fix a typo.
9467
141f3a77
SP
94682013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9469
303e567a
SP
9470 [BZ #14547]
9471 * string/tst-strcoll-overflow.c: New test case.
9472 * string/Makefile (xtests): Add tst-strcoll-overflow.
9473 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9474 cache if string sizes may cause integer overflow.
9475
141f3a77
SP
9476 [BZ #14547]
9477 * string/strcoll_l.c (coll_seq): New members rule, idx,
9478 save_idx and back_us.
9479 (get_next_seq_nocache): New function.
9480 (do_compare_nocache): New function.
9481 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9482 when malloc fails.
9483
c61b4d41
CD
94842013-09-23 Carlos O'Donell <carlos@redhat.com>
9485
0b1f8e35
CD
9486 [BZ #15754]
9487 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9488 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9489 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9490
c61b4d41
CD
9491 [BZ #15754]
9492 * elf/Makefile (tests): Add tst-ptrguard1.
9493 (tests-static): Add tst-ptrguard1-static.
9494 (tst-ptrguard1-ARGS): Define.
9495 (tst-ptrguard1-static-ARGS): Define.
9496 * elf/tst-ptrguard1.c: New file.
9497 * elf/tst-ptrguard1-static.c: New file.
9498 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9499 * sysdeps/i386/stackguard-macros.h: Likewise.
9500 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9501 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9502 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9503 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9504 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9505 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9506
95072013-09-23 Hector Marco <hecmargi@upv.es>
9508 Ismael Ripoll <iripoll@disca.upv.es>
9509 Carlos O'Donell <carlos@redhat.com>
9510
9511 [BZ #15754]
9512 * sysdeps/generic/stackguard-macros.h: Define
9513 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9514 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9515 Define __pointer_chk_guard_local.
9516 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9517 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9518
f5f4e7b4
VV
95192013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9520
9521 [BZ #15859]
9522 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9523
5bb43a43
AS
95242013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9525
9526 * include/string.h (__ffs): Declare as hidden.
9527 * string/ffs.c (__ffs): Define as hidden.
9528 * sysdeps/i386/ffs.c (__ffs): Likewise.
9529 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9530 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9531 * sysdeps/s390/ffs.c (__ffs): Likewise.
9532 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9533
3ea5be54
AO
95342013-09-20 Alexandre Oliva <aoliva@redhat.com>
9535
ffb89e53
AO
9536 * NEWS: Mention malloc probes.
9537
322dea08
AO
9538 * malloc/arena.c (new_heap): New memory_heap_new probe.
9539 (grow_heap): New memory_heap_more probe.
9540 (shrink_heap): New memory_heap_less probe.
9541 (heap_trim): New memory_heap_free probe.
9542 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9543 (systrim): New memory_sbrk_less probe.
9544 * manual/probes.texi: Document them.
9545
655673f3
AO
9546 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9547 * manual/probes.texi: Document it.
9548
35fed6f1
AO
9549 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9550 (__libc_realloc): Add memory_realloc_retry probe.
9551 (__libc_memalign): Add memory_memalign_retry probe.
9552 (__libc_valloc): Add memory_valloc_retry probe.
9553 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9554 (__libc_calloc): Add memory_calloc_retry probe.
9555 * manual/probes.texi: Document them.
9556
6999d38c
AO
9557 * malloc/arena.c (get_free_list): Add probe
9558 memory_arena_reuse_free_list.
9559 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9560 and memory_arena_reuse.
9561 (arena_get2) [!PER_THREAD]: Likewise.
9562 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9563 memory_arena_reuse_realloc.
9564 * manual/probes.texi: Document them.
9565
0653427f
AO
9566 * malloc/malloc.c (__libc_free): Add
9567 memory_mallopt_free_dyn_thresholds probe.
9568 (__libc_mallopt): Add multiple memory_mallopt probes.
9569 * manual/probes.texi: Document them.
9570
3ea5be54
AO
9571 * malloc/malloc.c: Include stap-probe.h.
9572 (__libc_mallopt): Add memory_mallopt probe.
9573 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9574 * manual/probes.texi: New.
9575 * manual/Makefile (chapters): Add probes.
9576 * manual/threads.texi: Set next node.
9577
e35696c3 95782013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9579
e35696c3
CL
9580 [BZ #15963, #13985]
9581 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9582 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9583 Add `Chinese' to `nan' entry name.
9584
4aafb73c
SP
95852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9586
9587 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9588 (POLYNOMIAL): Likewise.
9589 (TAYLOR_SINCOS): Likewise.
9590 (TAYLOR_SLOW): Likewise.
9591 (__sin): Use TAYLOR_SINCOS.
9592 (__cos): Likewise.
9593 (slow): Use TAYLOR_SLOW.
9594 (sloww): Likewise.
9595 (bsloww): Likewise.
9596 (csloww): Likewise.
9597
d84f25c7
LD
95982013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9599
9600 * stdlib/strtod_l.c: Fix buffer overrun.
9601
5eea0404
SP
96022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9603
7849ff93
SP
9604 * benchtests/Makefile (bench): Add sincos.
9605 * benchtests/bench-sincos.c: New file.
9606
cfa3c886
SP
9607 * math/libm-test.inc (cos_test_data): New test inputs.
9608 (sin_test_data): Likewise.
9609
b348e1e3
SP
9610 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9611 macro.
9612 (__sin): Use it.
9613 (__cos): Likewise.
9614 (slow1): Likewise.
9615 (slow2): Likewise.
9616 (sloww1): Likewise.
9617 (sloww2): Likewise.
9618 (bsloww1): Likewise.
9619 (bsloww2): Likewise.
9620 (cslow2): Likewise.
9621 (csloww1): Likewise.
9622 (csloww2): Likewise.
9623
6cce25f8
SP
9624 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9625 function.
9626 (__sin): Use it.
9627 (__cos): Likewise.
9628
5eea0404
SP
9629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9630 gotos.
9631 (__cos): Likewise.
9632
9c21573c
MR
96332013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9634
9635 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9636 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9637 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9638 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9639 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9640 * elf/cache.c (print_entry): Handle the new cache flags.
9641
24d22e65
JM
96422013-09-18 Joseph Myers <joseph@codesourcery.com>
9643 Aldy Hernandez <aldyh@redhat.com>
9644
9645 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9646 Change condition to [_SOFT_FLOAT].
9647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9659 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9662 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9663 declaration.
9664
d13ef066
JM
96652013-09-18 Joseph Myers <joseph@codesourcery.com>
9666
2e071de0
JM
9667 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9668 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9669 (__longjmp): Use LOAD_GP to load saved GPRs.
9670 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9671 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9672 (__sigsetjmp): Use SAVE_GP to save GPRs.
9673
d13ef066
JM
9674 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9675 Do not append -msoft-float.
9676 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9677
97a0650b
SP
96782013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9679
9680 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9681
11ca09e9
JM
96822013-09-17 Joseph Myers <joseph@codesourcery.com>
9683
9684 [BZ #15966]
9685 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9686 (_FPU_GETCW): Use initial "__" on variable and field names but not
9687 on macro parameter name.
9688 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9689 parentheses around reference to macro parameter.
9690
08ffcf34
RS
96912013-09-13 Richard Sandiford <richard@codesourcery.com>
9692
9693 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9694 prototype.
9695 (ctype_startup): Use uint32_t in cast and sizeof for
9696 ctype->charnames.
9697
ae7080d3
JL
96982013-09-11 Jia Liu <proljc@gmail.com>
9699
9700 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9701 __daddr_t_defined.
9702 [__FreeBSD__]: Likewise.
9703
5905e7b3
OB
97042013-09-11 Ondřej Bílka <neleai@seznam.cz>
9705
9706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9707 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9708 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9709 (strchr): Remove __strchr_sse42 ifunc selection.
9710 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9711 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9712
b987c776
WN
97132013-09-11 Will Newton <will.newton@linaro.org>
9714
9715 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9716 parameter to RES. Remove hardcoded 1000 value.
9717 * benchtests/bench-skeleton.c (main): Pass RES parameter
9718 to TIMING_INIT and multiply result by 1000.
9719
ddf985af
AZ
97202013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9721
9722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9723
ffdd3181
AS
97242013-09-11 Andreas Schwab <schwab@suse.de>
9725
9726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9727 if not defined.
9728 (O_TMPFILE) [__USE_GNU]: Define.
9729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9730 Define.
9731
b73ed247
WN
97322013-09-11 Will Newton <will.newton@linaro.org>
9733
9734 [BZ #15857]
9735 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9736 does not overflow.
9737
55e17aad
WN
97382013-09-11 Will Newton <will.newton@linaro.org>
9739
9740 [BZ #15856]
9741 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9742 does not overflow.
9743
1159a193
WN
97442013-09-11 Will Newton <will.newton@linaro.org>
9745
9746 [BZ #15855]
9747 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9748 does not overflow.
9749
5905e7b3 97502013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9751
9752 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9753 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9757
cdfc721b
AM
97582013-09-10 Allan McRae <allan@archlinux.org>
9759
aa04af00
AM
9760 [BZ #15748]
9761 * manual/arith.texi (Parsing of Floats): Clarify
9762 cross-reference.
9763
cdfc721b
AM
9764 [BZ #15849]
9765 * manual/install.texi (Running make install): Mention
9766 --enable-pt-chown.
9767 * INSTALL: Regenerated.
9768
95e7cf29
MR
97692013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9770
9771 * csu/init-first.c (_init): Remove the !SHARED condition around
9772 FPU control word initialization.
9773 * elf/dl-support.c (_dl_fpu_control): New variable.
9774 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9775 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9776 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9777 * math/test-fpucw-static.c: New file.
9778 * math/test-fpucw-ieee.c: New file.
9779 * math/test-fpucw-ieee-static.c: New file.
9780 * math/Makefile (tests): Add `test-fpucw-ieee' and
9781 `$(tests-static)'.
9782 (tests-static): New variable.
9783 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9784 dependency to...
9785 [($(build-shared),yes)]
9786 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9787 ... this.
9788 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9789 New dependency.
9790
83e43bf0
AM
97912013-09-09 Allan McRae <allan@archlinux.org>
9792
a9f5ce09
AM
9793 [BZ #15939]
9794 * manual/string.texi (Collation Functions): Fix typo in
9795 strcoll example.
9796 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9797
34829bc2
AM
9798 [BZ #15893]
9799 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9800
3932737d
AM
9801 [BZ #15892]
9802 * libio/memstream.c (open_memstream): Fix memory leak.
9803 * libio/wmemstream.c (open_wmemstream): Likewise.
9804
83e43bf0
AM
9805 [BZ #15895]
9806 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9807
0c66b8e9
WN
98082013-09-09 Will Newton <will.newton@linaro.org>
9809
9810 * malloc/Makefile: Add tst-realloc to tests.
9811 * malloc/tst-realloc.c: New file.
9812
f6b00fd1
AM
98132013-09-09 Allan McRae <allan@archlinux.org>
9814
9815 [BZ #15844]
9816 * COPYING: Update from GNU website to fix FSF address.
9817 * COPYING.LIB: Likewise.
9818
eec55e16
DM
98192013-09-06 David S. Miller <davem@davemloft.net>
9820
9821 * po/zh_TW.po: Update Chinese (traditional) translation from
9822 translation project.
9823
1ecbb381
RS
98242013-09-06 Richard Sandiford <richard@codesourcery.com>
9825 Joseph Myers <joseph@codesourcery.com>
9826
9827 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9828 "localeinfo.h".
9829 (obstack_chunk_alloc): New macro.
9830 (obstack_chunk_free): Likewise.
9831 (record_offset): New function.
9832 (init_locale_data): Likewise.
9833 (align_locale_data): Likewise.
9834 (add_locale_empty): Likewise.
9835 (add_locale_raw_data): Likewise.
9836 (add_locale_raw_obstack): Likewise.
9837 (add_locale_string): Likewise.
9838 (add_locale_wstring): Likewise.
9839 (add_locale_uint32): Likewise.
9840 (add_locale_uint32_array): Likewise.
9841 (add_locale_char): Likewise.
9842 (start_locale_structure): Likewise.
9843 (end_locale_structure): Likewise.
9844 (start_locale_prelude): Likewise.
9845 (end_locale_prelude): Likewise.
9846 (write_locale_data): Take locale_file structure rather than an
9847 iovec.
9848 * locale/programs/locfile.h: Include "obstack.h".
9849 (struct locale_file): Change to store locale file contents instead
9850 of header.
9851 (init_locale_data): New prototype.
9852 (align_locale_data): Likewise.
9853 (add_locale_empty): Likewise.
9854 (add_locale_raw_data): Likewise.
9855 (add_locale_raw_obstack): Likewise.
9856 (add_locale_string): Likewise.
9857 (add_locale_wstring): Likewise.
9858 (add_locale_uint32): Likewise.
9859 (add_locale_uint32_array): Likewise.
9860 (add_locale_char): Likewise.
9861 (start_locale_structure): Likewise.
9862 (end_locale_structure): Likewise.
9863 (start_locale_prelude): Likewise.
9864 (end_locale_prelude): Likewise.
9865 (write_locale_data): Update prototype.
9866 * locale/programs/3level.h (struct TABLE): Remove result field.
9867 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9868 Use new locale_file interface.
9869 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9870 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9871 * locale/programs/ld-address.c (address_output): Use new
9872 locale_file interface.
9873 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9874 NO_ADD_LOCALE.
9875 (collate_finish): Don't call collseq_table_finalize.
9876 (collate_output): Use new locale_file interface.
9877 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9878 in file.
9879 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9880 (TABLE): Move defines earlier in file.
9881 (ELEMENT): Likewise.
9882 (DEFAULT): Likewise.
9883 (wctrans_table_add): Move macro and inline function earlier in
9884 file.
9885 (struct wctype_table): Move type earlier in file.
9886 (add_locale_wctype_table): New static prototype.
9887 (struct locale_ctype_t): Use logical types instead of struct iovec
9888 pointers for members.
9889 (ctype_output): Use new locale_file interface.
9890 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9891 new locale_file interface.
9892 (allocate_arrays): Update for use of new locale_file interface.
9893 * locale/programs/ld-identification.c (identification_output): Use
9894 new locale_file interface.
9895 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9896 * locale/programs/ld-messages.c (messages_output): Likewise.
9897 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9898 * locale/programs/ld-name.c (name_output): Likewise.
9899 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9900 * locale/programs/ld-paper.c (paper_output): Likewise.
9901 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9902 * locale/programs/ld-time.c (time_output): Likewise.
9903
e029e2e5
AZ
99042013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9905
9906 * benchtests/Makefile: Add memrchr benchmark.
9907 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9908 benchmark as memrchr.
9909 * benchtests/bench-memrchr-ifunc.c: New file.
9910 * benchtests/bench-memrchr.c: New file.
9911
bbf6e8e4
WN
99122013-09-06 Will Newton <will.newton@linaro.org>
9913
9914 * benchtests/Makefile (string-bench): Add memcpy.
9915
6c82a2f8
CD
99162013-09-05 Carlos O'Donell <carlos@redhat.com>
9917 Cong Wang <amwang@redhat.com>
9918
e732c5f0 9919 [BZ #15850]
6c82a2f8
CD
9920 * sysdeps/unix/sysv/linux/bits/in.h
9921 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9922 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9923 before __USE_KERNEL_IPV6_DEFS uses.
9924 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9925 IPPROTO_BEETPH.
9926 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9927 sockaddr_in6, or ipv6_mreq.
9928
5430fc65
AZ
99292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9930
9931 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9932 memory access for final bytes in some large inputs.
9933 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9934
4660856c
AZ
99352013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9936
9937 * string/test-memrchr.c: New file.
9938 * string/test-memrchr-ifunc.c: New file.
9939 * string/Makefile: Add new memrchr testcase.
9940
bb8ea713
MF
99412013-09-05 Mike Frysinger <vapier@gentoo.org>
9942
9943 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9944 fanotify_init returns EPERM.
9945
b92a20b5
JM
99462013-09-04 Joseph Myers <joseph@codesourcery.com>
9947
9948 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9949 errors.
9950 (top level): Treat second token from macro or constant entries for
9951 allowed headers as allowed.
9952 * include/complex.h: Condition internal declarations on
9953 [!_ISOMAC].
9954 * include/fenv.h: Condition include of <stdbool.h> and internal
9955 declarations on [!_ISOMAC].
7447ccd9
CL
9956
99572013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9958
3e181dda 9959 [BZ #15923]
7447ccd9
CL
9960 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9961
3f2e46a4
JM
99622013-09-04 Joseph Myers <joseph@codesourcery.com>
9963
9964 * configure.in (--enable-versioning): Remove configure option.
9965 (libc_cv_asm_symver_directive): Remove configure test.
9966 (libc_cv_ld_version_script_option): Likewise.
9967 (VERSIONING): Remove variable and AC_SUBST.
9968 (DO_VERSIONING): Remove AC_DEFINE.
9969 * configure: Regenerated.
9970 * config.h.in (DO_VERSIONING): Remove macro.
9971 * Makerules [$(versioning) = yes]: Change conditionals to
9972 [$(build-shared) = yes].
9973 * config.make.in (versioning): Remove variable.
9974 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9975 [$(build-shared) = yes].
9976 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9977 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9978 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9979 [$(build-shared) = yes].
9980 * extra-lib.mk [$(versioning) = yes]: Likewise.
9981 * hurd/Makefile [$(versioning) = yes]: Likewise.
9982 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9983 [SHARED].
9984 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9985 [SHARED].
9986 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9987 [SHARED && !NO_HIDDEN].
9988 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9989 [SHARED].
9990 [SHARED && DO_VERSIONING]: Likewise..
9991 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9992 [$(build-shared) = yes].
9993 * manual/install.texi (--disable-versioning): Remove
9994 documentation.
9995 * INSTALL: Regenerated.
9996 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9997 to [SHARED].
9998 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9999 [$(build-shared) = yes].
10000 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10001 * sysdeps/i386/i686/multiarch/strstr-c.c
10002 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10003 [SHARED && !NO_HIDDEN].
10004 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10005 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10006 * sysdeps/powerpc/powerpc32/dl-machine.c
10007 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10008 * sysdeps/powerpc/powerpc32/sysdep.h
10009 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10010 to [SHARED && PIC && !NO_HIDDEN].
10011 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10012 conditional to [SHARED].
10013
44558701
WN
100142013-09-04 Will Newton <will.newton@linaro.org>
10015
10016 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10017 * benchtests/bench-string.h: Include bench-timing.h instead
10018 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10019 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10020 call to HP_TIMING_DIFF_INIT.
10021 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10022 instead of hp-timing.h macros.
10023 * benchtests/bench-memchr.c: Likewise.
10024 * benchtests/bench-memcmp.c: Likewise.
10025 * benchtests/bench-memcpy.c: Likewise.
10026 * benchtests/bench-memmem.c: Likewise.
10027 * benchtests/bench-memmove.c: Likewise.
10028 * benchtests/bench-memset.c: Likewise.
10029 * benchtests/bench-rawmemchr.c: Likewise.
10030 * benchtests/bench-strcasecmp.c: Likewise.
10031 * benchtests/bench-strcasestr.c: Likewise.
10032 * benchtests/bench-strcat.c: Likewise.
10033 * benchtests/bench-strchr.c: Likewise.
10034 * benchtests/bench-strcmp.c: Likewise.
10035 * benchtests/bench-strcpy.c: Likewise.
10036 * benchtests/bench-strcpy_chk.c: Likewise.
10037 * benchtests/bench-strlen.c: Likewise.
10038 * benchtests/bench-strncasecmp.c: Likewise.
10039 * benchtests/bench-strncat.c: Likewise.
10040 * benchtests/bench-strncmp.c: Likewise.
10041 * benchtests/bench-strncpy.c: Likewise.
10042 * benchtests/bench-strnlen.c: Likewise.
10043 * benchtests/bench-strpbrk.c: Likewise.
10044 * benchtests/bench-strrchr.c: Likewise.
10045 * benchtests/bench-strspn.c: Likewise.
10046 * benchtests/bench-strstr.c: Likewise.
10047
cae16d66
WN
100482013-09-04 Will Newton <will.newton@linaro.org>
10049
10050 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10051
ffa3cd7f
JM
100522013-09-03 Joseph Myers <joseph@codesourcery.com>
10053
10054 [BZ #15427]
10055 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10056 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10057 * math/libm-test.inc (lgamma_test_data): Add more tests.
10058 * sysdeps/i386/fpu/libm-test-ulps: Update.
10059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10060
8f02859f
OB
100612013-09-03 Ondřej Bílka <neleai@seznam.cz>
10062
10063 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10065 Add ifunc.
10066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10067 Add strcmp-sse2-unaligned
10068 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10069
18d43716
MF
100702013-09-02 Mike Frysinger <vapier@gentoo.org>
10071
10072 * Versions.def (libc): Add GLIBC_2.19.
10073
ac444012
MF
100742013-09-02 Mike Frysinger <vapier@gentoo.org>
10075
10076 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10077 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10078
b7835e32
JM
100792013-09-02 Joseph Myers <joseph@codesourcery.com>
10080
10081 [BZ #14155]
10082 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10083 intermediate calculations in recurrence.
10084 (__ieee754_ynf): Likewise.
10085 * math/libm-test.inc (jn_test_data): Do not allow spurious
10086 underflow exception. Add more tests.
10087 (yn_test_data): Add more tests.
10088 * sysdeps/i386/fpu/libm-test-ulps: Update.
10089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10090
8220f4f0
OB
100912013-09-02 Ondřej Bílka <neleai@seznam.cz>
10092
10093 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10094
f24a6d08
OB
100952013-08-30 Ondřej Bílka <neleai@seznam.cz>
10096
10097 * csu/init-first.c: Fix then/than typos.
10098 * locale/programs/ld-collate.c: Likewise.
10099 * locale/programs/linereader.h: Likewise.
10100 * manual/charset.texi: Likewise.
10101 * manual/filesys.texi: Likewise.
10102 * manual/stdio.texi: Likewise.
10103 * manual/string.texi: Likewise.
10104 * stdlib/fmtmsg.c: Likewise.
10105 * sysdeps/i386/stpncpy.S: Likewise.
10106 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10107 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10108 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10109 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10110
382466e0
OB
101112013-08-30 Ondřej Bílka <neleai@seznam.cz>
10112
10113 * elf/dl-open.c: Fix typos.
10114 * iconvdata/gbbig5.c: Likewise.
10115 * iconvdata/iso-2022-jp.c: Likewise.
10116 * iconv/gconv_int.h: Likewise.
10117 * iconv/loop.c: Likewise.
10118 * nis/rpcsvc/nis.h: Likewise.
10119 * resolv/ns_name.c: Likewise.
10120 * stdio-common/vfscanf.c: Likewise.
10121 * streams/stropts.h: Likewise.
10122 * sunrpc/rpc_thread.c: Likewise.
10123 * sysdeps/i386/strpbrk.S: Likewise.
10124 * sysdeps/ieee754/k_standard.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10127 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10128 * sysdeps/mach/hurd/profil.c: Likewise.
10129 * sysdeps/s390/dl-procinfo.h: Likewise.
10130 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10131 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10132 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10133 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10134 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10135
0186c6e9
OB
101362013-08-30 Ondřej Bílka <neleai@seznam.cz>
10137
10138 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10140
d4e16af1
OB
101412013-08-29 Ondřej Bílka <neleai@seznam.cz>
10142
10143 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10144 aix specific files.
10145 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10146 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10147 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10148 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10149 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10150 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10151 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10152 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10153
88335980
TS
101542013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10155 Roland McGrath <roland@hack.frob.com>
10156
10157 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10158 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10159
ed479b02
ST
101602013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10161
10162 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10163 __executable_start symbol instead of _start.
10164
f1cc4c86
TS
101652013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10166
d821f07c
TS
10167 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10168 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10169 Move macros to...
10170 * sysdeps/gnu/ldsodefs.h: ... this new file.
10171
c54290cf
TS
10172 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10173 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10174 instead of ELFOSABI_LINUX.
10175
0007fc9b 10176 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10177 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10178 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10179 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10180 Likewise.
10181 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10182 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10183 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10184 Likewise.
10185 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10186 (ibm_extended_long_double): Add ieee_nan member.
10187 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10188 (do_test): New function.
10189
f1cc4c86
TS
10190 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10191 TEST_TRUNC.
10192 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10193 functions, renamed from truncdfsf_test, trunctfsf_test,
10194 trunctfdf_test.
10195 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10196 functions.
10197 (do_test): Run all these.
10198
6f65e668
OB
101992013-08-29 Ondřej Bílka <neleai@seznam.cz>
10200
10201 * argp/argp-help.c: Fix typos.
10202 * argp/argp-parse.c: Likewise.
10203 * debug/backtracesyms.c: Likewise.
10204 * elf/elf.h: Likewise.
10205 * malloc/malloc.c: Likewise.
10206 * nis/nis_print.c: Likewise.
10207 * resolv/res_comp.c: Likewise.
10208 * stdlib/stdlib.h: Likewise.
10209 * sunrpc/clnt_tcp.c: Likewise.
10210 * sunrpc/clnt_udp.c: Likewise.
10211 * sunrpc/clnt_unix.c: Likewise.
10212 * sysdeps/unix/bsd/ptsname.c: Likewise.
10213 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10214 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10216 Likewise.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10218 Likewise.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10220 Likewise.
6f65e668
OB
10221 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10222
3a309239
SP
102232013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10224
10225 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10227
3b813b29
MF
102282013-08-27 Mike Frysinger <vapier@gentoo.org>
10229
10230 [BZ #15897]
10231 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10232 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10233 ($(objpfx)bug-dl-leaf): New rule.
10234 ($(objpfx)bug-dl-leaf.so): Likewise.
10235 ($(objpfx)bug-dl-leaf.out): Likewise.
10236 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10237 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10238 * dlfcn/bug-dl-leaf.c: New test.
10239 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10240 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10241 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10242 (dlclose): Likewise.
10243 (dlmopen): Likewise.
10244
8cc3269f
RM
102452013-08-27 Roland McGrath <roland@hack.frob.com>
10246
7f9d0034
RM
10247 * include/netdb.h [!_ISOMAC]:
10248 Don't include <tls.h>.
10249 (h_errno, __libc_h_errno): Move declaration and macros out of
10250 [_LIBC_REENTRANT].
10251
fb431262
RM
10252 * include/resolv.h [_RESOLV_H_]:
10253 Don't include <tls.h>.
10254 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10255 * resolv/res_libc.c: Don't include <tls.h>.
10256 (_res): Use __attribute__ ((nocommon)) in place of
10257 __attribute__ ((section (".bss"))).
10258
bd81123a
RM
10259 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10260 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10261
c4e42566
RM
10262 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10263
f890a59b
RM
10264 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10265 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10266
10267 * resolv/res_mkquery.c: Include <sys/time.h>.
10268
5d1f0a09
RM
10269 * inet/ifreq.c: Moved to ...
10270 * sysdeps/unix/ifreq.c: ... here.
10271 * inet/ifreq.c: New file, true stub version.
10272
6fcf28b3
RM
10273 * socket/sa_len.c: New file.
10274 * socket/Makefile (aux): Add it.
10275 * sysdeps/unix/sysv/linux/Makefile
10276 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10277 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10278 and #include <socket/sa_len.c>.
10279 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10280 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10281
e041fb8b
RM
10282 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10283 * bits/socket.h: ... here.
10284
8cc3269f
RM
10285 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10286 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10287 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10288
5d228a43
AS
102892013-08-27 Andreas Schwab <schwab@suse.de>
10290
45b8accc
AS
10291 [BZ #15736]
10292 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10293 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10294 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10295 * string/test-strcasecmp.c (test_main): Run tests in several
10296 locales.
10297 * string/test-strncasecmp.c (test_main): Likewise.
10298
5d228a43
AS
10299 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10300 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10301 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10303 (__strncasecmp_ssse3) [PIC]: Likewise.
10304
59d112a4
RM
103052013-08-26 Roland McGrath <roland@hack.frob.com>
10306
53234cc3
RM
10307 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10308
59d112a4
RM
10309 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10310 instead of explicitly declaring xdecrypt.
10311 * nis/nss_nis/nis-publickey.c: Likewise.
10312
595aba70
SP
103132013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10314
10315 [BZ #15890]
10316 * nscd/aicache.c: Include res_hconf.h.
10317 (addhstaiX): Initialize res_hconf.
10318
ffabd393
AS
103192013-08-26 Andreas Schwab <schwab@suse.de>
10320
10321 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10322 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10323
e0a69f5c
SP
103242013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10325
10326 * nscd/aicache.c (addhstaiX): Fix indentation.
10327
8c12f01d
MF
103282013-08-25 Mike Frysinger <vapier@gentoo.org>
10329
10330 * configure.ac: Quote $build_pt_chown test.
10331 * configure: Regenerated.
10332
8fe89494
JM
103332013-08-23 Joseph Myers <joseph@codesourcery.com>
10334
10335 [BZ #15532]
10336 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10337 * math/s_cexpf.c (__cexpf): Likewise.
10338 * math/s_cexpl.c (__cexpl): Likewise.
10339 * math/libm-test.inc (cexp_test_data): Correct expected return
10340 value for NaN + i0. Add another test.
10341
75b181d6
DM
103422013-08-22 David S. Miller <davem@davemloft.net>
10343
10344 * po/ca.po: Update Catalan translation from translation project.
936241e4 10345 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10346
acd06bb1
JM
103472013-08-21 Joseph Myers <joseph@codesourcery.com>
10348
10349 [BZ #15797]
10350 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10351 is infinite, not alongside NaN test.
10352 * math/s_fdimf.c (__fdimf): Likewise.
10353 * math/s_fdiml.c (__fdiml): Likewise.
10354 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10355 errno is unchanged.
10356
c0c3f78a
OB
103572013-08-21 Ondřej Bílka <neleai@seznam.cz>
10358
10359 * argp/argp-help.c: Fix typos.
10360 * crypt/speeds.c: Likewise.
10361 * csu/check_fds.c: Likewise.
10362 * elf/dl-load.c: Likewise.
10363 * elf/dl-open.c: Likewise.
10364 * elf/reldep3.c: Likewise.
10365 * elf/reldep.c: Likewise.
10366 * elf/sprof.c: Likewise.
10367 * iconv/iconv_charmap.c: Likewise.
10368 * iconv/skeleton.c: Likewise.
10369 * iconv/strtab.c: Likewise.
10370 * io/lockf64.c: Likewise.
10371 * libio/libioP.h: Likewise.
10372 * resolv/gai_notify.c: Likewise.
10373 * resolv/ns_name.c: Likewise.
10374 * resolv/ns_samedomain.c: Likewise.
10375 * resolv/res_send.c: Likewise.
10376 * stdlib/random.c: Likewise.
10377 * sunrpc/rpc/xdr.h: Likewise.
10378 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10379 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10380 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10381 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10382 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10383 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10385 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10386 * sysdeps/mach/hurd/check_fds.c: Likewise.
10387 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10388 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10389 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10390 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10391 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10392 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10393 * sysdeps/pthread/aio_notify.c: Likewise.
10394 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10395 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10396 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10397 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10398 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10399
46ed1038
LD
104002013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10401
10402 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10403 version if bit_Slow_SSE4_2 is set.
10404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10405 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10406
d400dcac
AZ
104072013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408
10409 [BZ #15867]
10410 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10411 trampoline stack frame information.
10412 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10413 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10414 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10415 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10416 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10417 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10418 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10419 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10420 sa_flags value.
10421 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10422 interrupting a syscall and set with option SA_SIGINFO.
10423
42c8fdd8
JM
104242013-08-20 Joseph Myers <joseph@codesourcery.com>
10425
c980f2f4
JM
10426 [BZ #15531]
10427 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10428 argument is infinite.
10429 * math/s_cprojf.c (__cprojf): Likewise.
10430 * math/s_cprojl.c (__cprojl): Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10432 * math/libm-test.inc (cproj_test_data): Add more tests.
10433
0716c4fc
JM
10434 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10435
42c8fdd8
JM
10436 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10437 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10438 size. Use __ffs to determine corresponding shift.
10439
b31469d0
JM
104402013-08-20 Joseph Myers <joseph@codesourcery.com>
10441 Roland McGrath <roland@hack.frob.com>
10442
10443 * Makefile (INSTALL): Remove trailing blank lines from output of
10444 makeinfo.
10445
4e39af6e
AK
104462013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10447
10448 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10449 Align 32 bit compat elf_greg to 8 bytes.
10450
f315524e
AA
104512013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10452
10453 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10454
1326ba1a
SP
104552013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10456
10457 * string/strcoll_l.c (coll_seq): New structure.
10458 (get_next_seq_cached): New function.
10459 (get_next_seq): New function.
10460 (do_compare): New function.
10461 (STRCOLL): Use GNU style definition. Simplify implementation
10462 by using get_next_seq, get_next_seq_cached and do_compare.
10463
91ce4085
FW
104642013-08-16 Florian Weimer <fweimer@redhat.com>
10465
10466 [BZ #14699]
10467 CVE-2013-4237
10468 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10469 member.
10470 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10471 member.
10472 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10473 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10474 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10475 conditional.
10476 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10477 GETDENTS_64BIT_ALIGNED.
10478 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10479 * manual/filesys.texi (Reading/Closing Directory): Document
10480 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10481 strongly.
10482 * manual/conf.texi (Limits for Files): Add portability note to
10483 NAME_MAX, PATH_MAX.
10484 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10485
ca0a6bc4
AS
104862013-08-13 Andreas Schwab <schwab@suse.de>
10487
10488 [BZ #15749]
10489 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10490 of fabs.
10491 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10492 LDBL_MAX_EXP >= 16384]: Add tests for it.
10493
6c1fd795
DM
104942013-08-12 David S. Miller <davem@davemloft.net>
10495
10496 * version.h (RELEASE): Set to "development".
10497 (VERSION): Set to "2.18.90".
10498 * NEWS: Add 2.19 section.
10499
31ad488d
DM
105002013-08-03 David S. Miller <davem@davemloft.net>
10501
10502 * po/ko.po: Update Korean translation from translation project.
10503
db24e684
DM
105042013-08-01 David S. Miller <davem@davemloft.net>
10505
10506 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10507 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10508 Bilka.
10509
f723285b
DM
105102013-07-30 David S. Miller <davem@davemloft.net>
10511
10512 * po/fr.po: Update French translation from translation project.
10513
3cbc52db
DM
105142013-07-28 David S. Miller <davem@davemloft.net>
10515
30bbc0cc
DM
10516 * po/cs.po: Update Czech translation from translation project.
10517
3cbc52db
DM
10518 * po/sv.po: Update Swedish translation from translation project.
10519
d492e6d0
DM
105202013-07-27 David S. Miller <davem@davemloft.net>
10521
f1a7f492
DM
10522 * po/eo.po: Update Esperanto translation from translation project.
10523
90e62a4a
DM
10524 * po/vi.po: Update Vietnamese translation from translation project.
10525
d492e6d0
DM
10526 * po/de.po: Update German translation from translation project.
10527
d4baa62d
DM
105282013-07-26 David S. Miller <davem@davemloft.net>
10529
641aa7b4
DM
10530 * po/bg.po: Update Bulgarian translation from translation project.
10531
d4baa62d
DM
10532 * po/nl.po: Update Dutch translation from translation project.
10533 * po/pl.po: Update Polish translation from translation project.
10534 * po/ru.po: Update Russian translation from translation project.
10535
61a9dcb9
DM
105362013-07-24 David S. Miller <davem@davemloft.net>
10537
10538 * po/libc.pot: Update.
10539
7b1f8b58
AZ
105402013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541
10542 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10543 variable page size.
10544 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10545 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10546 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10547
a8fc7a03
AK
105482013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10549
10550 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10551
e4608715
CD
105522013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10553 Andreas Schwab <schwab@suse.de>
10554 Roland McGrath <roland@hack.frob.com>
10555 Joseph Myers <joseph@codesourcery.com>
10556 Carlos O'Donell <carlos@redhat.com>
10557
10558 [BZ #15755]
10559 * config.h.in: Define HAVE_PT_CHOWN.
10560 * config.make.in (build-pt-chown): New variable.
10561 * configure.in (--enable-pt_chown): New configure option.
10562 * configure: Regenerate.
10563 * login/Makefile: Include Makeconfig. Build pt_chown only if
10564 build-pt-chown is enabled.
10565 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10566 pt_chown to fix pty ownership.
10567 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10568 CLOSE_ALL_FDS.
10569 * manual/install.texi (Configuring and compiling): Mention
10570 --enable-pt_chown. Add @findex for grantpt.
10571 * INSTALL: Regenerate.
10572
da2d62df
DM
105732013-07-20 David S. Miller <davem@davemloft.net>
10574
10575 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10576 difference between 32-bit and 64-bit.
10577
d7e06450
CD
105782013-07-15 Carlos O'Donell <carlos@redhat.com>
10579
10580 [BZ #15711]
10581 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10582 Avoid system header dependency with -ffreestanding.
10583 ($(objpfx)bits/syscall%d): Likewise.
10584
f959cfd7
DM
105852013-07-13 David S. Miller <davem@davemloft.net>
10586
10587 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10588 underflows from atanl/atan2l due to bug 15319.
10589 (casinh_test_data): Likewise.
10590
c61f8513
DM
105912013-07-07 David S. Miller <davem@davemloft.net>
10592
10593 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10594
72c90ed0
JA
105952013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10596
10597 * sysdeps/i386/fpu/libm-test-ulps: Update.
10598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10599
52dfbe13
SP
106002013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10601
10602 * configure.in (--enable-lock-elision): Fix message text.
10603 * INSTALL: Regenerate.
10604 * configure: Regenerate.
10605
3f169543
AZ
106062013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10607
10608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10609
521c6785
AJ
106102013-07-03 Andreas Jaeger <aj@suse.de>
10611
10612 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10613 define.
10614 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10615 (ptrace_peeksiginfo_args): Add.
10616 (__ptrace_peeksiginfo_flags): Add.
10617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10618 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10619 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10620
d2cc15cb
AM
106212013-07-03 Allan McRae <allan@archlinux.org>
10622
10623 * sysdeps/i386/fpu/libm-test-ulps: Update.
10624
3aaeeca7
DM
106252013-07-02 David S. Miller <davem@davemloft.net>
10626
10627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10628
5314ed1a
MT
106292013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10630
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10632
67338156
JM
106332013-07-02 Joseph Myers <joseph@codesourcery.com>
10634
10635 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10637
1717da59
AK
106382013-07-02 Andi Kleen <ak@linux.intel.com>
10639
10640 * config.h.in (ENABLE_LOCK_ELISION): Add.
10641 * configure.in (--enable-lock-elision): Add option.
10642 * manual/install.texi: Document --enable lock elision.
10643 * configure: Regenerate
10644 * INSTALL: Regenerate.
10645
1c81621c
L
106462013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10647
10648 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10649 SSE4.2 strcasecmp for libc.a.
10650 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10651
77f01ab5
JM
106522013-07-02 Joseph Myers <joseph@codesourcery.com>
10653
10654 [BZ #13304]
10655 * soft-fp/op-common.h (_FP_FMA): New macro.
10656 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10657 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10658 (_FP_MUL_MEAT_1_imm): ... here.
10659 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10660 (_FP_MUL_MEAT_1_wide): ... here.
10661 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10662 (_FP_MUL_MEAT_1_hard): ... here.
10663 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10664 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10665 (_FP_MUL_MEAT_2_wide): ... here.
10666 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10667 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10668 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10669 (_FP_MUL_MEAT_2_gmp): ... here.
10670 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10671 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10672 (_FP_MUL_MEAT_4_wide): ... here.
10673 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10674 (_FP_MUL_MEAT_4_gmp): ... here.
10675 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10676 (_FP_WFRACBITS_DW_S): Likewise.
10677 (_FP_WFRACXBITS_DW_S): Likewise.
10678 (_FP_HIGHBIT_DW_S): Likewise.
10679 (FP_FMA_S): Likewise.
10680 (_FP_FRAC_HIGH_DW_S): Likewise.
10681 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10682 (_FP_WFRACBITS_DW_D): Likewise.
10683 (_FP_WFRACXBITS_DW_D): Likewise.
10684 (_FP_HIGHBIT_DW_D): Likewise.
10685 (FP_FMA_D): Likewise.
10686 (_FP_FRAC_HIGH_DW_D): Likewise.
10687 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10688 (_FP_WFRACBITS_DW_E): Likewise.
10689 (_FP_WFRACXBITS_DW_E): Likewise.
10690 (_FP_HIGHBIT_DW_E): Likewise.
10691 (FP_FMA_E): Likewise.
10692 (_FP_FRAC_HIGH_DW_E): Likewise.
10693 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10694 (_FP_WFRACBITS_DW_Q): Likewise.
10695 (_FP_WFRACXBITS_DW_Q): Likewise.
10696 (_FP_HIGHBIT_DW_Q): Likewise.
10697 (FP_FMA_Q): Likewise.
10698 (_FP_FRAC_HIGH_DW_Q): Likewise.
10699 * soft-fp/fmasf4.c: New file.
10700 * soft-fp/fmadf4.c: Likewise.
10701 * soft-fp/fmatf4.c: Likewise.
10702
6308fd9a
LD
107032013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10704
10705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10706 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10707 Silvermont.
10708 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10709 macro.
10710 (index_Slow_SSE4_2): Likewise.
10711 (index_Prefer_PMINUB_for_stringop): Likewise.
10712 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10713 bit_Slow_SSE4_2 is set.
10714 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10715 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10716
89cd9569
RA
107172013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10718
10719 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10720 rtld_global._dl_hwcap2.
10721 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10722 POWER8.
10723 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10724 POWER8 feature descriptions defined in _dl_hwcap2.
10725 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10726 string handling for POWER8 feature bits.
10727 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10728 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10729 _dl_powerpc_cap_flags.
10730 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10731 * sysdeps/powerpc/rtld-global-offsets.sym
10732 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10733 _dl_hwcap2 in the rtld_global_ro structure.
10734
1ae8bfe0
RA
107352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10736
10737 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10738 hardware capabilities in support of AT_HWCAP2.
10739 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10740 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10741 GLRO(dl_hwcap2).
10742 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10743 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10744 explicitly the unknown a_type display mechanism is used.
10745 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10746 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10747 struct member.
10748 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10749 to macro prototype for AT_HWCAP2 support.
10750 * sysdeps/i386/dl-procinfo.h: Likewise.
10751 * sysdeps/s390/dl-procinfo.h: Likewise.
10752 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10753 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10754 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10755 return -1 for unknown a_type display fallback.
10756 * sysdeps/sparc/dl-procinfo.h: Likewise.
10757 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10758 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10759
8fbec010
JM
107602013-06-28 Joseph Myers <joseph@codesourcery.com>
10761
10762 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10763 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10764
0432680e
PY
107652013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10766
10767 [BZ #12492]
10768 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10769 mprotect making __stack_prot writable.
10770
ce61a2ad
NF
107712013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10772 Joseph Myers <joseph@codesourcery.com>
10773
10774 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10775 as being properly aligned.
10776
f91f1c0f
MR
107772013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10778
3d0f5d0c
MR
10779 * dlfcn/modstatic5.c: New file.
10780 * dlfcn/tststatic5.c: New file.
10781 * dlfcn/Makefile (tests): Add tststatic5.
10782 (tests-static): Likewise.
10783 (modules-names): Add modstatic5.
10784 (tststatic5-ENV): New variable.
10785 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10786
f91f1c0f
MR
10787 [BZ #15022]
10788 * elf/dl-support.c (_dl_main_map): New variable.
10789 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10790 (_dl_nns, _dl_load_adds): Set to 1.
10791 (_dl_initial_searchlist): Refer to _dl_main_map.
10792 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10793 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10794 call to _dl_get_origin.
10795 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10796 around call_map.
10797 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10798 * dlfcn/modstatic3.c: New file.
10799 * dlfcn/tststatic3.c: New file.
10800 * dlfcn/tststatic4.c: New file.
10801 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10802 (tests-static): Likewise.
10803 (modules-names): Add modstatic3.
10804 (tststatic3-ENV, tststatic4-ENV): New variables.
10805 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10806 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10807
cbe7d24b
JM
108082013-06-26 Joseph Myers <joseph@codesourcery.com>
10809
10810 * configure.in (CC): Require GCC version 4.4 or later.
10811 * configure: Regenerated.
10812 * manual/install.texi (Tools for Compilation): Update GCC version
10813 requirement.
10814 * INSTALL: Regenerated.
10815
11b8a0e1
LD
108162013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10817
10818 [BZ #15674]
bb5bb87c
L
10819 * string/test-memcmp.c (check2): New.
10820 (main): Call check2.
10821
11b8a0e1
LD
10822 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10823
b0037103
MR
108242013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10825
10826 [BZ #15022]
10827 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10828 over to...
10829 (dl_open_worker) [!SHARED]: ... here.
10830
c18c701d
RA
108312013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10832
10833 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10834
1d17fa5f
RH
108352013-06-25 Richard Henderson <rth@redhat.com>
10836
10837 * locale/programs/locarchive.c: Include <libc-internal.h>
10838
8fcb833a
JM
108392013-06-25 Joseph Myers <joseph@codesourcery.com>
10840
10841 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10842 trailing whitespace removed.
10843
17db6e8d
MF
108442013-06-24 Mike Frysinger <vapier@gentoo.org>
10845
10846 [BZ #10283]
17db6e8d
MF
10847 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10848 * locale/programs/locarchive.c: Include libc-mmap.h.
10849 (prepare_address_space): Take two new outputs (the mmap base and len).
10850 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10851 values.
10852 (create_archive): Declare new mmap base and len values for
10853 prepare_address_space, and store the result in ah.
10854 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10855 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10856 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10857 Declare new mmap base and len values for
10858 prepare_address_space, and store the result in new_ah.
10859 (open_archive): Declare new mmap base and len values for
10860 prepare_address_space, and store the result in ah.
10861 (close_archive): If ah->mmap_base is not NULL, use that and
10862 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10863 * sysdeps/generic/libc-mmap.h: New file.
10864
d605071e
MF
108652013-06-24 Mike Frysinger <vapier@gentoo.org>
10866
10867 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10868 (ALIGN_UP): Likewise.
10869 (PTR_ALIGN_DOWN): Likewise.
10870 (PTR_ALIGN_UP): Likewise.
10871
2f063a6e
RA
108722013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10873
10874 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10875 entry mapped to PPC_PLATFORM_POWER8.
10876 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10877 POWER8.
10878 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10879 (_dl_string_platform): Add case for exporting platform position for
10880 POWER8.
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10882 search path to sysdeps/powerpc/powerpc32/power8 directory.
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10884 search path to sysdeps/powerpc/powerpc64/power8 directory.
10885 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10886 power7 directories.
10887 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10888 power7 directories.
10889
a31ee4b3
SP
108902013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10891
a74ca98f
SP
10892 * INSTALL: Regenerate.
10893
a31ee4b3
SP
10894 * nscd/connections.c (nscd_init): Fix comment.
10895
695c378f
JM
108962013-06-22 Joseph Myers <joseph@codesourcery.com>
10897
d8412221
JM
10898 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10899
695c378f
JM
10900 [BZ #15667]
10901 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10902 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10903
d1d54715
MR
109042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10905
10906 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10907 DL_DST_REQ_STATIC.
10908 (DL_DST_REQ_STATIC): Remove macro.
10909
8fdda7af
JM
109102013-06-21 Joseph Myers <joseph@codesourcery.com>
10911
10912 [BZ #7006]
10913 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10914 with a shift of 0 bits.
10915
f3bc5e5a
MR
109162013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10917
10918 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10919 $(tststatic-ENV).
10920
be09e8c9
KK
109212013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10922
10923 [BZ #15655]
10924 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10925
85c2e611
AZ
109262013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10927
10928 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10929 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10930 accepts -fno-tree-loop-distribute-patterns.
10931 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10932 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10933 recursive call.
10934 * string/memset.c (memset): Likewise.
10935 * string/test-memmove.c (simple_memmove): Disable loop transformation
10936 to library calls.
10937 * string/test-memset.c (simple_memset): Likewise.
10938 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10939 * benchtests/bench-memset.c (simple_memset): Likewise.
10940 * configure: Regenerated.
10941
c91e0825
JM
109422013-06-20 Joseph Myers <joseph@codesourcery.com>
10943
b8c792af
JM
10944 * math/test-misc.c (main): Ignore fesetround failure when failures
10945 of subsequent rounding tests would be ignored.
10946
c91e0825
JM
10947 [BZ #15654]
10948 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10949 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10950 * math/fegetenv.c (__fegetenv): Return 0.
10951 * math/fegetexcept.c (fegetexcept): Return 0.
10952 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10953 FE_TONEAREST.
10954 * math/feholdexcpt.c (feholdexcept): Return 0.
10955 * math/fesetenv.c (__fesetenv): Return 0.
10956 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10957 argument FE_TONEAREST.
10958 * math/feupdateenv.c (__feupdateenv): Return 0.
10959 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10960
bfcacbde
RM
109612013-06-18 Roland McGrath <roland@hack.frob.com>
10962
10963 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10964 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10965 ($(objpfx)rtld-%.os rules): Use them.
10966
e55a9b25
AZ
109672013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10968
10969 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10970 fields.
10971
346d65b3
RM
109722013-06-17 Roland McGrath <roland@hack.frob.com>
10973
12086fb4
RM
10974 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10975 length of target pattern, then descending length of dependency pattern.
10976 * configure.in (AWK): Require gawk 3.1.2 or newer.
10977 * manual/install.texi (Tools for Compilation): Say that we do.
10978 * configure: Regenerated.
10979
346d65b3
RM
10980 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10981 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10982 * scripts/sysd-rules.awk: ... this new script.
10983 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10984 than a glob-style pattern.
10985
1a846317
JM
109862013-06-17 Joseph Myers <joseph@codesourcery.com>
10987
10988 * math/test-misc.c (main): Do not treat incorrectly rounded
10989 conversions as failure unless ROUNDING_TESTS passes.
10990
8fc75e6f
JM
109912013-06-15 Joseph Myers <joseph@codesourcery.com>
10992
3711a167
JM
10993 [BZ #15631]
10994 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10995 restore exception state around main square root computation, then
10996 check for inexactness explicitly.
10997
8fc75e6f
JM
10998 * math/libm-test.inc (fma_test_data): Add another test.
10999
61dd6208
SP
110002013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11001
adf23d2c
SP
11002 * manual/threads.texi (Non-POSIX Extensions): New document
11003 node. Document pthread_getattr_default_np and
11004 pthread_setattr_default_np.
11005
61dd6208
SP
11006 * Versions.def (libpthread): Add GLIBC_2.18.
11007 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11009 Likewise.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11011 Likewise.
11012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11013 Likewise.
11014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11015 Likewise.
11016 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11017 Likewise.
11018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11019 Likewise.
11020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11021 Likewise.
11022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11023 Likewise.
11024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11025 Likewise.
11026
d086fc7b
LD
110272013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11028
11029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11030 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11031
747ef469
SP
110322013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11033 H.J. Lu <hjl.tools@gmail.com>
11034
11035 [BZ #15627]
11036 * sysdeps/x86_64/rtld-memset.c: Remove file.
11037 * sysdeps/x86_64/rtld-memset.S: New file.
11038
1b2feed2
JM
110392013-06-14 Joseph Myers <joseph@codesourcery.com>
11040
11041 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11042 (test_in_one_mode): Take arguments for whether the rounding mode
11043 is supported for each floating-point type.
11044 (do_test): Pass new arguments to test_in_one_mode using
11045 ROUNDING_TESTS.
11046
a58ad3f8
RM
110472013-06-13 Roland McGrath <roland@hack.frob.com>
11048
11049 * posix/tst-waitid.c (do_test): Distinguish different instances of
11050 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11051 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11052 before entering the kernel for waitpid.
11053
c204ab28
SP
110542013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11055
11056 * NEWS: Fix note on clock function precision. Text by Roland
11057 McGrath.
11058
f4a29fba
RM
110592013-06-13 Roland McGrath <roland@hack.frob.com>
11060
11061 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11062 it into place only when and if the sanity check passes.
11063
1f24b9ad
JM
110642013-06-13 Joseph Myers <joseph@codesourcery.com>
11065
11066 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11067 output for whether conversion result is exact. Take argument
11068 indicating whether type is IBM long double.
11069 (round_for_all): Change need_exact field to ibm_ld.
11070 * stdlib/tst-strtod-round.c (struct exactness): New type.
11071 (struct test): Change bool ld_ok field to struct exactness exact.
11072 (TEST): Update all definitions for change to field.
11073 (tests): Regenerate array contents.
11074 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11075 field value. Check for IBM long double here.
11076 (do_test): Update calls to test_in_one_mode.
11077
58206c68
SP
110782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11079
11080 [BZ #12515]
11081 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11082 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11083
2d6f4c5b 110842013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11085
11086 [BZ #15605]
11087 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11088 generated by the compiler on loop optimizations.
11089 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11090 general definitions.
11091
94f2c076
JM
110922013-06-12 Joseph Myers <joseph@codesourcery.com>
11093
11094 * math/bug-nextafter.c: Include <math-tests.h>.
11095 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11096 the relevant type.
11097 * math/bug-nexttoward.c: Include <math-tests.h>.
11098 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11099 the relevant type.
11100 * math/test-misc.c: Include <math-tests.h>.
11101 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11102 the relevant type.
11103
e0e50a0a
AJ
111042013-06-12 Andreas Jaeger <aj@suse.de>
11105
11106 * po/ia.po: Update Interlingua translation from translation
11107 project.
11108
25061094
SP
111092013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11110
11111 * include/fenv.h: Include stdbool.h.
11112 (struct rm_ctx): New structure.
11113 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11114 Define macro.
11115 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11116 (SET_RESTORE_ROUNDF): Likewise.
11117 (SET_RESTORE_ROUNDL): Likewise.
11118 (SET_RESTORE_ROUND_NOEX): Likewise.
11119 (SET_RESTORE_ROUND_NOEXF): Likewise.
11120 (SET_RESTORE_ROUND_NOEXL): Likewise.
11121 (SET_RESTORE_ROUND_53BIT): Likewise.
11122 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11123 (libc_feresetround_noexf_ctx): Likewise.
11124 (libc_feresetround_noexl_ctx): Likewise.
11125 (libc_feholdsetround_53bit_ctx): Likewise.
11126 (libc_feresetround_53bit_ctx): Likewise.
11127 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11128 (libc_feholdexcept_setround_sse_ctx): New function.
11129 (libc_fesetenv_sse_ctx): Likewise.
11130 (libc_feupdateenv_sse_ctx): Likewise.
11131 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11132 (libc_feholdexcept_setround_387_ctx): Likewise.
11133 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11134 (libc_feholdsetround_387_prec_ctx): Likewise.
11135 (libc_feholdsetround_387_ctx): Likewise.
11136 (libc_feholdsetround_387_53bit_ctx): Likewise.
11137 (libc_feholdsetround_sse_ctx): Likewise.
11138 (libc_feresetround_sse_ctx): Likewise.
11139 (libc_feresetround_387_ctx): Likewise.
11140 (libc_feupdateenv_387_ctx): Likewise.
11141 (libc_feholdexcept_setroundf_ctx): Define macro.
11142 (libc_fesetenvf_ctx): Likewise.
11143 (libc_feupdateenvf_ctx): Likewise.
11144 (libc_feholdsetroundf_ctx): Likewise.
11145 (libc_feresetroundf_ctx): Likewise.
11146 (libc_feholdexcept_setround_ctx): Likewise.
11147 (libc_fesetenv_ctx): Likewise.
11148 (libc_feupdateenv_ctx): Likewise.
11149 (libc_feholdsetround_ctx): Likewise.
11150 (libc_feresetround_ctx): Likewise.
11151 (libc_feholdexcept_setroundl_ctx): Likewise.
11152 (libc_feupdateenvl_ctx): Likewise.
11153 (libc_feholdsetroundl_ctx): Likewise.
11154 (libc_feresetroundl_ctx): Likewise.
11155 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11156 (libc_feresetround_53bit_ctx): Likewise.
11157
59b30555
SP
111582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11159
11160 * locale/iso-639.def: Convert to UTF-8.
11161
f1d73d30
JM
111622013-06-11 Joseph Myers <joseph@codesourcery.com>
11163
11164 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11165 (EXCEPTION_TESTS_double): Likewise.
11166 (EXCEPTION_TESTS_long_double): Likewise.
11167 (EXCEPTION_TESTS): Likewise.
11168 * math/libm-test.inc (test_exceptions): Only test exceptions if
11169 EXCEPTION_TESTS (FLOAT).
11170
94aca5e7
SP
111712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11172
11173 * benchtests/Makefile (string-bench): Add strcpy_chk and
11174 stpcpy_chk.
11175 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11176 * benchtests/bench-stpcpy_chk.c: New file.
11177 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11178 * benchtests/bench-strcpy_chk.c: New file.
11179 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11180 code.
11181 (do_test): Likewise.
11182
fac0c5f2
RA
111832013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11184
11185 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11186 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11187 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11188 with tabs where appropriate.
11189 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11190 dl-procinfo.h.
11191 [PPC_PLATFORM_PPC440]: Likewise.
11192 [PPC_PLATFORM_PPC464]: Likewise.
11193 [PPC_PLATFORM_PPC476]: Likewise.
11194 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11195 ppc464, and ppc476 platform strings merging from ports/
11196 dl-procinfo.h.
11197
f22bc486
AS
111982013-06-11 Andreas Schwab <schwab@suse.de>
11199
11200 [BZ #14991]
11201 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11202 (from_ucs4_idx): Regenerate.
11203 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11204 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11205 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11206 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11207 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11208 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11209 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11210 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11211 from FROM_LOOP and TO_LOOP specific macros.
11212 (BODY): Handle combining characters.
11213 * iconvdata/BIG5HKSCS.irreversible: Update.
11214 * iconvdata/BIG5HKSCS.precomposed: New file.
11215 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11216 characters.
11217 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11218
c1f75dc3
SP
112192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11220
4eacded2
SP
11221 * include/sys/time.h: Fix indentation and add copyright header.
11222
fec799f8
SP
11223 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11224 (do_test): Likewise.
11225 * string/test-memchr.c (do_one_test): Likewise.
11226 (do_test): Likewise.
11227 * string/test-memcmp.c (do_one_test): Likewise.
11228 (do_test): Likewise.
11229 * string/test-memcpy.c (do_one_test): Likewise.
11230 (do_test): Likewise.
11231 * string/test-memmem.c (do_one_test): Likewise.
11232 (do_test): Likewise.
11233 (do_random_tests): Likewise.
11234 * string/test-memmove.c (do_one_test): Likewise.
11235 (do_test): Likewise.
11236 * string/test-memset.c (do_one_test): Likewise.
11237 (do_test): Likewise.
11238 * string/test-rawmemchr.c (do_one_test): Likewise.
11239 (do_test): Likewise.
11240 * string/test-strcasecmp.c (do_one_test): Likewise.
11241 (do_test): Likewise.
11242 * string/test-strcasestr.c (do_one_test): Likewise.
11243 (do_test): Likewise.
11244 * string/test-strcat.c (do_one_test): Likewise.
11245 (do_test): Likewise.
11246 * string/test-strchr.c (do_one_test): Likewise.
11247 (do_test): Likewise.
11248 * string/test-strcmp.c (do_one_test): Likewise.
11249 (do_test): Likewise.
11250 * string/test-strcpy.c (do_one_test): Likewise.
11251 (do_test): Likewise.
11252 * string/test-string.h: Likewise.
11253 (test_init): Likewise.
11254 * string/test-strlen.c (do_one_test): Likewise.
11255 (do_test): Likewise.
11256 * string/test-strncasecmp.c (do_one_test): Likewise.
11257 (do_test): Likewise.
11258 * string/test-strncat.c (do_one_test): Likewise.
11259 (do_test): Likewise.
11260 * string/test-strncmp.c (do_one_test): Likewise.
11261 (do_test_limit): Likewise.
11262 (do_test): Likewise.
11263 * string/test-strncpy.c (do_one_test): Likewise.
11264 (do_test): Likewise.
11265 * string/test-strnlen.c (do_one_test): Likewise.
11266 (do_test): Likewise.
11267 * string/test-strpbrk.c (do_one_test): Likewise.
11268 (do_test): Likewise.
11269 * string/test-strrchr.c (do_one_test): Likewise.
11270 (do_test): Likewise.
11271 * string/test-strspn.c (do_one_test): Likewise.
11272 (do_test): Likewise.
11273 * string/test-strstr.c (do_one_test): Likewise.
11274 (do_test): Likewise.
11275
97020474
SP
11276 * benchtests/Makefile (string-bench): Add string benchmarks.
11277 * benchtests/bench-bcopy-ifunc.c: New file.
11278 * benchtests/bench-bcopy.c: New file.
11279 * benchtests/bench-bzero-ifunc.c: New file.
11280 * benchtests/bench-bzero.c: New file.
11281 * benchtests/bench-memccpy-ifunc.c: New file.
11282 * benchtests/bench-memccpy.c: New file.
11283 * benchtests/bench-memchr-ifunc.c: New file.
11284 * benchtests/bench-memchr.c: New file.
11285 * benchtests/bench-memcmp-ifunc.c: New file.
11286 * benchtests/bench-memcmp.c: New file.
11287 * benchtests/bench-memmem-ifunc.c: New file.
11288 * benchtests/bench-memmem.c: New file.
11289 * benchtests/bench-memmove-ifunc.c: New file.
11290 * benchtests/bench-memmove.c: New file.
11291 * benchtests/bench-mempcpy-ifunc.c: New file.
11292 * benchtests/bench-mempcpy.c: New file.
11293 * benchtests/bench-memset-ifunc.c: New file.
11294 * benchtests/bench-memset.c: New file.
11295 * benchtests/bench-rawmemchr-ifunc.c: New file.
11296 * benchtests/bench-rawmemchr.c: New file.
11297 * benchtests/bench-stpcpy-ifunc.c: New file.
11298 * benchtests/bench-stpcpy.c: New file.
11299 * benchtests/bench-stpncpy-ifunc.c: New file.
11300 * benchtests/bench-stpncpy.c: New file.
11301 * benchtests/bench-strcasecmp-ifunc.c: New file.
11302 * benchtests/bench-strcasecmp.c: New file.
11303 * benchtests/bench-strcasestr-ifunc.c: New file.
11304 * benchtests/bench-strcasestr.c: New file.
11305 * benchtests/bench-strcat-ifunc.c: New file.
11306 * benchtests/bench-strcat.c: New file.
11307 * benchtests/bench-strchr-ifunc.c: New file.
11308 * benchtests/bench-strchr.c: New file.
11309 * benchtests/bench-strchrnul-ifunc.c: New file.
11310 * benchtests/bench-strchrnul.c: New file.
11311 * benchtests/bench-strcmp-ifunc.c: New file.
11312 * benchtests/bench-strcmp.c: New file.
11313 * benchtests/bench-strcpy-ifunc.c: New file.
11314 * benchtests/bench-strcpy.c: New file.
11315 * benchtests/bench-strcspn-ifunc.c: New file.
11316 * benchtests/bench-strcspn.c: New file.
11317 * benchtests/bench-strlen-ifunc.c: New file.
11318 * benchtests/bench-strlen.c: New file.
11319 * benchtests/bench-strncasecmp-ifunc.c: New file.
11320 * benchtests/bench-strncasecmp.c: New file.
11321 * benchtests/bench-strncat-ifunc.c: New file.
11322 * benchtests/bench-strncat.c: New file.
11323 * benchtests/bench-strncmp-ifunc.c: New file.
11324 * benchtests/bench-strncmp.c: New file.
11325 * benchtests/bench-strncpy-ifunc.c: New file.
11326 * benchtests/bench-strncpy.c: New file.
11327 * benchtests/bench-strnlen-ifunc.c: New file.
11328 * benchtests/bench-strnlen.c: New file.
11329 * benchtests/bench-strpbrk-ifunc.c: New file.
11330 * benchtests/bench-strpbrk.c: New file.
11331 * benchtests/bench-strrchr-ifunc.c: New file.
11332 * benchtests/bench-strrchr.c: New file.
11333 * benchtests/bench-strspn-ifunc.c: New file.
11334 * benchtests/bench-strspn.c: New file.
11335 * benchtests/bench-strstr-ifunc.c: New file.
11336 * benchtests/bench-strstr.c: New file.
11337
c1f75dc3
SP
11338 * benchtests/Makefile: Disable parallel execution of targets.
11339 (string-bench): Add memcpy.
11340 (benchset): New variable to store a list of benchmark sets.
11341 (bench-func): Renamed from bench.
11342 (bench-set): New target.
11343 (bench): Depend on bench-func and bench-set.
11344 * benchtests/README: Add section on benchmark sets.
11345 * benchtests/bench-memcpy-ifunc.c: New file.
11346 * benchtests/bench-memcpy.c: New file.
11347 * benchtests/bench-string.h: New file.
11348
50fd745b
AS
113492013-06-11 Andreas Schwab <schwab@suse.de>
11350
11351 [BZ #15577]
11352 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11353 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11354 values in the triple.
11355 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11356 terminator in the group key.
11357
3ee7e9fe
AJ
113582013-06-11 Andreas Jaeger <aj@suse.de>
11359
11360 * po/zh_TW.po: Update Chinese (traditional) translation from
11361 translation project.
11362
89fb6835
SP
113632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11364
11365 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11366 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11367 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11368 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11369 (clock_getcpuclockid): Likewise.
11370 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11371 Add weak_alias and libc_hidden_def.
11372 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11373 * rt/clock_gettime.c (clock_gettime): Rename to
11374 __clock_gettime. Add weak_alias and libc_hidden_def.
11375 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11376 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11377 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11378 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11379 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11380 Likewise.
11381 * rt/clock_settime.c (clock_settime): Rename to
11382 __clock_settime. Add weak_alias and libc_hidden_def.
11383 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11384
0efa6f8b
JM
113852013-06-10 Joseph Myers <joseph@codesourcery.com>
11386
b8c61b4b
JM
11387 * mach/err_boot.sub: Remove trailing whitespace.
11388 * mach/err_ipc.sub: Likewise.
11389 * mach/err_mach.sub: Likewise.
11390
0efa6f8b
JM
11391 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11392 (ROUNDING_TESTS_double): Likewise.
11393 (ROUNDING_TESTS_long_double): Likewise.
11394 (ROUNDING_TESTS): Likewise.
11395 * math/libm-test.inc: Include <math-tests.h>.
11396 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11397 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11398 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11399 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11400
50b818bf
SP
114012013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11402
11403 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11404 of assigning.
11405
60d2f8f3
JM
114062013-06-08 Joseph Myers <joseph@codesourcery.com>
11407
4902d2c3
JM
11408 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11409 otherwise empty TRANS lines.
11410 * sysdeps/gnu/errlist.c: Regenerated.
11411
60d2f8f3
JM
11412 * catgets/gencat.c (error_print): Use (void) in function
11413 definition.
11414 * crypt/crypt_util.c (__init_des): Likewise.
11415 * crypt/speeds.c (Stop): Likewise.
11416 (main): Likewise.
11417 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11418 * inet/ruserpass.c (token): Likewise.
11419 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11420 * intl/localealias.c (extend_alias_table): Likewise.
11421 * intl/plural-exp.c (init_germanic_plural): Likewise.
11422 * libio/fcloseall.c (__fcloseall): Likewise.
11423 * libio/genops.c (_IO_flush_all): Likewise.
11424 (_IO_flush_all_linebuffered): Likewise.
11425 (_IO_cleanup): Likewise.
11426 (_IO_iter_begin): Likewise.
11427 (_IO_iter_end): Likewise.
11428 (_IO_list_lock): Likewise.
11429 (_IO_list_unlock): Likewise.
11430 (_IO_list_resetlock): Likewise.
11431 * libio/getchar.c (getchar): Likewise.
11432 * libio/getchar_u.c (getchar_unlocked): Likewise.
11433 * libio/getwchar.c (getwchar): Likewise.
11434 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11435 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11436 * login/getpt.c (__getpt): Likewise.
11437 * login/tst-utmp.c (main): Likewise.
11438 * malloc/hooks.c (__malloc_check_init): Likewise.
11439 * malloc/malloc.c (__malloc_stats): Likewise.
11440 * malloc/mtrace.c (tr_break): Likewise.
11441 (mtrace): Likewise.
11442 (muntrace): Likewise.
11443 * misc/fstab.c (endfsent): Likewise.
11444 * misc/getclktck.c (__getclktck): Likewise.
11445 * misc/getdtsz.c (__getdtablesize): Likewise.
11446 * misc/gethostid.c (gethostid): Likewise.
11447 * misc/getpagesize.c (__getpagesize): Likewise.
11448 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11449 (__get_nprocs): Likewise.
11450 (__get_phys_pages): Likewise.
11451 (__get_avphys_pages): Likewise.
11452 * misc/getttyent.c (getttyent): Likewise.
11453 (setttyent): Likewise.
11454 (endttyent): Likewise.
11455 * misc/getusershell.c (getusershell): Likewise.
11456 (endusershell): Likewise.
11457 (setusershell): Likewise.
11458 (initshells): Likewise.
11459 * misc/hsearch.c (__hdestroy): Likewise.
11460 * misc/sync.c (sync): Likewise.
11461 * misc/syslog.c (closelog_internal): Likewise.
11462 (closelog): Likewise.
11463 * misc/ttyslot.c (ttyslot): Likewise.
11464 * misc/vhangup.c (vhangup): Likewise.
11465 * posix/fork.c (__fork): Likewise.
11466 * posix/getegid.c (__getegid): Likewise.
11467 * posix/geteuid.c (__geteuid): Likewise.
11468 * posix/getgid.c (__getgid): Likewise.
11469 * posix/getpid.c (__getpid): Likewise.
11470 * posix/getppid.c (__getppid): Likewise.
11471 * posix/getuid.c (__getuid): Likewise.
11472 * posix/pause.c (pause): Likewise.
11473 * posix/setpgrp.c (setpgrp): Likewise.
11474 * posix/setsid.c (__setsid): Likewise.
11475 * posix/test-vfork.c (noop): Likewise.
11476 * resolv/gethnamaddr.c (_endhtent): Likewise.
11477 (_gethtent): Likewise.
11478 (ht_endhostent): Likewise.
11479 (gethostent): Likewise.
11480 (dns_service): Likewise.
11481 * stdlib/drand48.c (drand48): Likewise.
11482 * stdlib/lrand48.c (lrand48): Likewise.
11483 * stdlib/mrand48.c (mrand48): Likewise.
11484 * stdlib/rand.c (rand): Likewise.
11485 * stdlib/random.c (__random): Likewise.
11486 * stdlib/setenv.c (clearenv): Likewise.
11487 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11488 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11489 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11490 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11491 (__get_nprocs): Likewise.
11492 (__get_phys_pages): Likewise.
11493 (__get_avphys_pages): Likewise.
11494 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11495 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11496 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11497 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11498 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11499 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11500 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11501 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11502 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11503 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11504 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11505 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11506 * sysdeps/posix/clock.c (clock): Likewise.
11507 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11508 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11509 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11510 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11511 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11513 (__get_nprocs_conf): Likewise.
11514 (__get_phys_pages): Likewise.
11515 (__get_avphys_pages): Likewise.
11516 * time/clock.c (clock): Likewise.
11517 * time/tzset.c (__tzname_max): Likewise.
11518
2e09a79a
JM
115192013-06-07 Joseph Myers <joseph@codesourcery.com>
11520
11521 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11522 (__bswap_32): Do not use "register".
11523 * crypt/crypt.c (_ufc_doit_r): Likewise.
11524 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11525 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11526 * gmon/gmon.c (__monstartup): Likewise.
11527 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11528 * hurd/hurdmalloc.c (more_memory): Likewise.
11529 (malloc): Likewise.
11530 (free): Likewise.
11531 (realloc): Likewise.
11532 (malloc_fork_prepare): Likewise.
11533 (malloc_fork_parent): Likewise.
11534 (malloc_fork_child): Likewise.
11535 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11536 (_svcauth_des): Likewise.
11537 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11538 * inet/inet_net.c (inet_network): Likewise.
11539 * inet/inet_netof.c (inet_netof): Likewise.
11540 * inet/rcmd.c (__validuser2_sa): Likewise.
11541 * io/fts.c (fts_open): Likewise.
11542 (fts_load): Likewise.
11543 (fts_close): Likewise.
11544 (fts_read): Likewise.
11545 (fts_children): Likewise.
11546 (fts_build): Likewise.
11547 (fts_stat): Likewise.
11548 (fts_sort): Likewise.
11549 (fts_alloc): Likewise.
11550 (fts_lfree): Likewise.
11551 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11552 (_IO_file_xsgetn): Likewise.
11553 (_IO_file_xsgetn_mmap): Likewise.
11554 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11555 (_IO_cookie_write): Likewise.
11556 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11557 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11558 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11559 * malloc/obstack.c (_obstack_begin): Likewise.
11560 (_obstack_begin_1): Likewise.
11561 (_obstack_newchunk): Likewise.
11562 (_obstack_allocated_p): Likewise.
11563 (obstack_free): Likewise.
11564 (_obstack_memory_used): Likewise.
11565 * misc/getttyent.c (getttynam): Likewise.
11566 (getttyent): Likewise.
11567 (skip): Likewise.
11568 (value): Likewise.
11569 * misc/getusershell.c (initshells): Likewise.
11570 * misc/syslog.c (__vsyslog_chk): Likewise.
11571 * misc/ttyslot.c (ttyslot): Likewise.
11572 * nis/nis_hash.c (__nis_hash): Likewise.
11573 * posix/fnmatch_loop.c (FCT): Likewise.
11574 * posix/getconf.c (print_all): Likewise.
11575 (main): Likewise.
11576 * posix/getopt.c (exchange): Likewise.
11577 * posix/glob.c (globfree): Likewise.
11578 (prefix_array): Likewise.
11579 (__glob_pattern_type): Likewise.
11580 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11581 (NS_GET32): Likewise.
11582 (NS_PUT16): Likewise.
11583 (NS_PUT32): Likewise.
11584 * resolv/gethnamaddr.c (getanswer): Likewise.
11585 (gethostbyname2): Likewise.
11586 (gethostbyaddr): Likewise.
11587 (_gethtent): Likewise.
11588 (_gethtbyname2): Likewise.
11589 (_gethtbyaddr): Likewise.
11590 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11591 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11592 * resolv/res_init.c (__res_vinit): Likewise.
11593 (net_mask): Likewise.
11594 * resolv/res_mkquery.c (outchar): Likewise.
11595 (PRINT): Likewise.
11596 * stdio-common/printf_fp.c (outchar): Likewise.
11597 (PRINT): Likewise.
11598 * stdio-common/printf_fphex.c (outchar): Likewise.
11599 (PRINT): Likewise.
11600 * stdio-common/printf_size.c (outchar): Likewise.
11601 (PRINT): Likewise.
11602 * stdio-common/test_rdwr.c (main): Likewise.
11603 * stdio-common/tfformat.c (matches): Likewise.
11604 * stdio-common/vfprintf.c (outchar): Likewise.
11605 (printf_unknown): Likewise.
11606 (buffered_vfprintf): Likewise.
11607 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11608 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11609 (ReadFile): Likewise.
11610 * stdlib/qsort.c (SWAP): Likewise.
11611 (_quicksort): Likewise.
11612 * stdlib/setenv.c (__add_to_environ): Likewise.
11613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11614 * stdlib/strtol_l.c (__strtol_l): Likewise.
11615 * stdlib/tst-strtod.c (main): Likewise.
11616 * stdlib/tst-strtol.c (main): Likewise.
11617 * stdlib/tst-strtoll.c (main): Likewise.
11618 * string/bits/string2.h (__strcmp_cc): Likewise.
11619 (__strcmp_cg): Likewise.
11620 (__strcspn_c1): Likewise.
11621 (__strcspn_c2): Likewise.
11622 (__strcspn_c3): Likewise.
11623 (__strspn_c1): Likewise.
11624 (__strspn_c2): Likewise.
11625 (__strspn_c3): Likewise.
11626 (__strsep_1c): Likewise.
11627 (__strsep_2c): Likewise.
11628 (__strsep_3c): Likewise.
11629 * string/memccpy.c (__memccpy): Likewise.
11630 * string/stpcpy.c (__stpcpy): Likewise.
11631 * string/strcmp.c (strcmp): Likewise.
11632 * string/strrchr.c (strrchr): Likewise.
11633 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11634 Likewise.
11635 * sysdeps/mach/hurd/getcwd.c
11636 (_hurd_canonicalize_directory_name_internal): Likewise.
11637 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11638 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11639 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11640 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11641 Likewise, in both definitions.
11642 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11643 definitions.
11644 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11645 64] (__bswap_64): Likewise.
11646 * time/test_time.c (main): Likewise.
11647 * time/tzfile.c (__tzfile_read): Likewise.
11648 (__tzfile_compute): Likewise.
11649 * time/tzset.c (__tzset_parse_tz): Likewise.
11650 (tzset_internal): Likewise.
11651 (compute_change): Likewise.
11652 * wcsmbs/wcscat.c (__wcscat): Likewise.
11653 * wcsmbs/wcschr.c (wcschr): Likewise.
11654 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11655 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11656 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11657 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11658 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11659 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11660 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11661 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11662 * wcsmbs/wmemset.c (wmemset): Likewise.
11663
9e54314b
JM
116642013-06-06 Joseph Myers <joseph@codesourcery.com>
11665
11666 * scripts/config.guess: Update to version 2013-05-16.
11667 * scripts/config.sub: Update to version 2013-04-24.
11668 * scripts/install-sh: Update to version 2011-11-20.07.
11669 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11670 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11671
350635a5
OB
116722013-06-06 Ondřej Bílka <neleai@seznam.cz>
11673
11674 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11675 * elf/sln.c: Likewise.
11676 * hurd/hurd/ioctl.h: Likewise.
11677 * hurd/hurdmalloc.c: Likewise.
11678 * hurd/xattr.c: Likewise.
11679 * include/shlib-compat.h: Likewise.
11680 * inet/ruserpass.c: Likewise.
11681 * libio/iofgets_u.c: Likewise.
11682 * libio/iofgetws_u.c: Likewise.
11683 * locale/programs/ld-identification.c: Likewise.
11684 * locale/programs/ld-time.c: Likewise.
11685 * mach/msg-destroy.c: Likewise.
11686 * nss/nss_files/files-netgrp.c: Likewise.
11687 * resolv/res_data.c: Likewise.
11688 * soft-fp/op-1.h: Likewise.
11689 * soft-fp/op-2.h: Likewise.
11690 * soft-fp/op-4.h: Likewise.
11691 * soft-fp/op-common.h: Likewise.
11692 * stdio-common/printf_fphex.c: Likewise.
11693 * stdlib/strtod_l.c: Likewise.
11694 * sunrpc/rpc/clnt.h: Likewise.
11695 * sysdeps/generic/framestate.c: Likewise.
11696 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11697 * sysdeps/i386/bsd-setjmp.S: Likewise.
11698 * sysdeps/i386/__longjmp.S: Likewise.
11699 * sysdeps/i386/setjmp.S: Likewise.
11700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11701 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11718 * sysdeps/ieee754/support.c: Likewise.
11719 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11720 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11721 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11722 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11723 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11724 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11725 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11726 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11727 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11728 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11729 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11730 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11731 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11732 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11733 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11734 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11735 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11737
44a988af
OB
117382013-06-05 Ondřej Bílka <neleai@seznam.cz>
11739
25506f09 11740 * posix/transbug.c: Remove executable mode.
44a988af 11741
9c84384c
JM
117422013-06-05 Joseph Myers <joseph@codesourcery.com>
11743
11744 * crypt/speeds.c: Remove trailing whitespace.
11745 * dlfcn/default.c: Likewise.
11746 * elf/ifuncdep2.c: Likewise.
11747 * elf/ifuncmain1.c: Likewise.
11748 * elf/ifuncmain1vis.c: Likewise.
11749 * elf/testobj.h: Likewise.
11750 * elf/tst-stackguard1.c: Likewise.
11751 * gmon/sys/gmon.h: Likewise.
11752 * hurd/hurdmsg.c: Likewise.
11753 * hurd/new-fd.c: Likewise.
11754 * hurd/ports-get.c: Likewise.
11755 * iconvdata/ibm1008_420.c: Likewise.
11756 * inet/tst-getni1.c: Likewise.
11757 * inet/tst-getni2.c: Likewise.
11758 * libio/ioungetc.c: Likewise.
11759 * libio/wfiledoalloc.c: Likewise.
11760 * manual/libm-err-tab.pl: Likewise.
11761 * math/w_dremf.c: Likewise.
11762 * misc/ftruncate.c: Likewise.
11763 * posix/bug-glob2.c: Likewise.
11764 * posix/tst-pcre.c: Likewise.
11765 * posix/wait4.c: Likewise.
11766 * resolv/README: Likewise.
11767 * resolv/res_debug.h: Likewise.
11768 * resolv/tst-inet_ntop.c: Likewise.
11769 * setjmp/bug269-setjmp.c: Likewise.
11770 * soft-fp/extended.h: Likewise.
11771 * soft-fp/op-1.h: Likewise.
11772 * soft-fp/op-2.h: Likewise.
11773 * soft-fp/op-4.h: Likewise.
11774 * soft-fp/op-8.h: Likewise.
11775 * soft-fp/testit.c: Likewise.
11776 * stdio-common/bug16.c: Likewise.
11777 * stdlib/random.c: Likewise.
11778 * sunrpc/rpcsvc/rquota.x: Likewise.
11779 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11780 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11782 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11783 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11784 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11785 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11786 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11787 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11788 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11789 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11808 * sysdeps/ieee754/s_lib_version.c: Likewise.
11809 * sysdeps/mach/hurd/check_fds.c: Likewise.
11810 * sysdeps/mach/hurd/getsockname.c: Likewise.
11811 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11812 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11813 * sysdeps/powerpc/bits/link.h: Likewise.
11814 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11815 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11816 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11817 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11818 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11819 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11820 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11821 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11822 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11823 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11824 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11825 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11826 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11827 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11828 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11829 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11830 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11831 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11832 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11833 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11834 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11835 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11836 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11837 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11838 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11839 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11840 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11841 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11842 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11843 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11844 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11845 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11846 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11847 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11848 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11849 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11850 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11851 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11852 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11853 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11854 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11855 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11856 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11857 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11858 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11859 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11860 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11861 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11862 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11863 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11866 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11867 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11868 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11869 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11870 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11871 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11872 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11873 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11874 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11875 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11876 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11877 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11878 * sysdeps/powerpc/sysdep.h: Likewise.
11879 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11880 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11881 * sysdeps/sh/dl-trampoline.S: Likewise.
11882 * sysdeps/sh/memset.S: Likewise.
11883 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11884 * sysdeps/sh/strlen.S: Likewise.
11885 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11886 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11887 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11888 * sysdeps/sparc/sparc32/rem.S: Likewise.
11889 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11890 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11891 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11892 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11893 * sysdeps/sparc/sparc32/urem.S: Likewise.
11894 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11895 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11896 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11897 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11898 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11899 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11900 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11901 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11902 * sysdeps/unix/bsd/times.c: Likewise.
11903 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11904 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11908 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11909 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11910 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11911 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11912 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11913 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11914 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11915 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11916 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11917 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11918 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11919 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11920 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11921 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11922 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11923 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11924 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11925 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11926 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11927 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11928 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11929 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11930 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11931 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11932 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11933 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11934 * sysdeps/x86_64/strcspn.S: Likewise.
11935
869378a5
RA
119362013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11937
11938 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11939 generated file. Regenerate properly from gen-translit.pl.
11940 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11941 locale/C-translit.h.
11942
840e2943
AS
119432013-06-05 Andreas Schwab <schwab@suse.de>
11944
11945 [BZ #15100]
11946 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11947 week as 6 instead of -1.
11948 * time/tst-strptime.c (day_tests): Add test case.
11949
4c60cb0c
SP
119502013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11951
11952 * sysdeps/generic/math_private.h
11953 (libc_feholdexcept_setround_53bit): Replace with
11954 libc_feholdsetround_53bit.
11955 (libc_feupdateenv_53bit): Replace with
11956 libc_feresetround_53bit.
11957 (SET_RESTORE_ROUND_53BIT): Adjust.
11958
d180203e
SP
119592013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11960
96df079a
SP
11961 * string/test-strchrnul.c: Add copyright header.
11962
d180203e
SP
11963 * posix/tst-getaddrinfo4.c: Increase test timeout.
11964
8b0ccb2d
CD
119652013-06-03 Carlos O'Donell <carlos@redhat.com>
11966
11967 [BZ #15536]
11968 * math/libm-test.inc (MAX_EXP): Remove
11969 (MIN_EXP): Define.
11970 (ulp): Use MIN_EXP - MANT_DIG.
11971 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11972
3b3c4d40
CD
119732013-05-31 Carlos O'Donell <carlos@redhat.com>
11974
11975 * po/be.po: Revert last change.
11976 * po/zh_CN.po: Likewise.
11977 * po/header.pot: Likewise.
11978
fab7ce3f
JM
119792013-05-31 Joseph Myers <joseph@codesourcery.com>
11980
11981 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11982 link-libc-deps to empty as target-specific variable.
11983 * Makerules (link-libc-args): New variable.
11984 (libc-for-link): Likewise.
11985 (link-libc-deps): Likewise.
11986 (lib%.so): Depend on $(link-libc-deps). Link with
11987 $(link-libc-args).
11988 (build-module): Link with $(link-libc-args).
11989 (build-module-asneeded): Likewise.
11990 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11991 list of objects.
11992 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11993 target-specific variable.
11994 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11995 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11996 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11997 libc.
11998 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11999 libc and ld.so.
12000 ($(objpfx)libpcprofile.so): Likewise.
12001 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12002 libc_nonshared.a.
12003 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12004 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12005 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12006 $(link-libc-deps).
12007 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12008 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12009 * login/Makefile ($(objpfx)libutil.so): Likewise.
12010 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12011 * math/Makefile ($(objpfx)libm.so): Likewise.
12012 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12013 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12014 variable instead of depending directly on libc.
12015 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12016 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12017 $(link-libc-deps).
12018 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12019 libc.
12020 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12021 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12022 ($(objpfx)libanl.so): Likewise.
12023 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12024 ld.so.
12025 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12026 $(link-libc-deps).
12027 * sysdeps/i386/fpu/Makefile: Remove file.
12028 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12029 ($(objpfx)libm.so): Remove dependency on ld.so.
12030
eca5920c
PF
120312013-05-30 Patsy Franklin <pfrankli@redhat.com>
12032
12033 [BZ # 15553]
12034 * nis/yp_xdr.c (XDRMAXNAME): Define.
12035 (XDRMAXRECORD): Define.
12036 (xdr_domainname): Use XDRMAXNAME.
12037 (xdr_mapname): Likewise.
12038 (xdr_peername): Likewise.
12039 (xdr_keydat): Use XDRMAXRECORD.
12040 (xdr_valdat): Likewise.
12041
120422013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12043
12044 [BZ #14256]
12045 * manual/errno.texi (ESTALE): Update to account for more than
12046 just NFS file systems.
12047 * sysdeps/gnu/errlist.c: Regenerated.
12048
b9375348
SP
120492013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12050
12051 [BZ #15465]
12052 * elf/Makefile (tests): Add tst-null-argv.
12053 (modules-names): Add tst-null-argv-lib.
12054 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12055 (tst-null-argv-ENV): Set environment for tst-null-argv.
12056 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12057 (RTLD_PROGNAME): New macro.
12058 * elf/tst-null-argv.c: New test case.
12059 * elf/tst-null-argv-lib.c: Library for test case.
12060 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12061 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12062 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12063 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12064 * elf/dl-init.c (call_init): Likewise.
12065 (_dl_init): Likewise.
12066 * elf/dl-load.c (print_search_path): Likewise.
12067 (_dl_map_object): Likewise.
12068 * elf/dl-lookup.c (do_lookup_x): Likewise.
12069 (add_dependency): Likewise.
12070 (_dl_lookup_symbol_x): Likewise.
12071 (_dl_debug_bindings): Likewise.
12072 * elf/dl-open.c (_dl_show_scope): Likewise.
12073 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12074 * elf/dl-version.c (match_symbol): Likewise.
12075 (_dl_check_map_versions): Likewise.
12076 * elf/rtld.c (dl_main): Likewise.
12077 (print_unresolved): Use RTLD_PROGNAME.
12078 (print_missing_version): Likewise.
12079 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12080 (elf_machine_rela): Likewise.
12081 * sysdeps/powerpc/powerpc32/dl-machine.c
12082 (__process_machine_rela): Likewise.
12083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12084 Likewise.
12085 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12086 Likewise.
12087 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12088 Likewise.
12089 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12091 Likewise.
12092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12093 Likewise.
12094 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12095
8a9f20c8
CD
120962013-05-28 Carlos O'Donell <carlos@redhat.com>
12097
12098 * po/be.po: Add descriptive title.
12099 * po/zh_CN.po: Likewise.
12100 * po/header.pot: Likewise.
12101
0e60d68e
MF
121022013-05-28 Mike Frysinger <vapier@gentoo.org>
12103
12104 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12105 error message.
12106 (enlarge_archive): Likewise.
12107
56b672e9
BN
121082013-05-28 Ben North <ben@redfrontdoor.org>
12109
12110 * manual/arith.texi (frexp): It is the magnitude of the return
12111 value which lies in [0.5, 1), not the return value itself.
12112
5e056687
AZ
121132013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12114
12115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12116
2b66ef5d
TS
121172013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12118
528c2405
TS
12119 * stdio-common/bug26.c (main): Correct fscanf template.
12120
07b4c13d
TS
12121 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12122 declare _dl_skip_args.
12123
ec9dd97c
TS
12124 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12125 Don't declare.
12126
2b66ef5d
TS
12127 * manual/platform.texi: Add missing @end deftypefun.
12128
4f8dfe27
JM
121292013-05-24 Joseph Myers <joseph@codesourcery.com>
12130
0323d086
JM
12131 [BZ #15529]
12132 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12133 bit of mantissa of 2^16382.
12134 * math/libm-test.inc (hypot_test_data): Add more tests.
12135
dd4259b9
JM
12136 * math/libm-test.inc: Add drem and pow10 to list of tested
12137 functions.
12138 (pow10_test): New function.
12139 (drem_test): Likewise.
12140 (drem_test_tonearest): Likewise.
12141 (drem_test_towardzero): Likewise.
12142 (drem_test_downward): Likewise.
12143 (drem_test_upward): Likewise.
12144 (main): Call the new functions.
12145
4f8dfe27
JM
12146 * math/libm-test.inc (finite_test_data): Remove.
12147 (finite_test): Run tests from isfinite_test_data.
12148 (gamma_test_data): Remove.
12149 (gamma_test): Run tests from lgamma_test_data.
12150 * sysdeps/i386/fpu/libm-test-ulps: Update.
12151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12152
d116b7c4
AZ
121532013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12154
12155 * manual/platform.texi: Add PowerPC PPR function set documentation.
12156 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12157 implementation.
12158
e96e3767
CD
121592013-05-24 Carlos O'Donell <carlos@redhat.com>
12160
12161 * math/libm-test.inc (MAX_EXP): Define.
12162 (ULPDIFF): Define.
12163 (ulp): New function.
12164 (check_float_internal): Use ULPDIFF.
12165 (cpow_test): Disable failing test.
12166 (check_ulp): Test ulp() implemetnation.
12167 (main): Call check_ulp before starting tests.
12168
b679a606
JM
121692013-05-24 Joseph Myers <joseph@codesourcery.com>
12170
e8bdba36
JM
12171 * math/gen-libm-test.pl (generate_testfile): Do not handle
12172 START_DATA and END_DATA.
12173 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12174 END_DATA.
12175 (acos_tonearest_test_data): Likewise.
12176 (acos_towardzero_test_data): Likewise.
12177 (acos_downward_test_data): Likewise.
12178 (acos_upward_test_data): Likewise.
12179 (acosh_test_data): Likewise.
12180 (asin_test_data): Likewise.
12181 (asin_tonearest_test_data): Likewise.
12182 (asin_towardzero_test_data): Likewise.
12183 (asin_downward_test_data): Likewise.
12184 (asin_upward_test_data): Likewise.
12185 (asinh_test_data): Likewise.
12186 (atan_test_data): Likewise.
12187 (atanh_test_data): Likewise.
12188 (atan2_test_data): Likewise.
12189 (cabs_test_data): Likewise.
12190 (cacos_test_data): Likewise.
12191 (cacosh_test_data): Likewise.
12192 (carg_test_data): Likewise.
12193 (casin_test_data): Likewise.
12194 (casinh_test_data): Likewise.
12195 (catan_test_data): Likewise.
12196 (catanh_test_data): Likewise.
12197 (cbrt_test_data): Likewise.
12198 (ccos_test_data): Likewise.
12199 (ccosh_test_data): Likewise.
12200 (ceil_test_data): Likewise.
12201 (cexp_test_data): Likewise.
12202 (cimag_test_data): Likewise.
12203 (clog_test_data): Likewise.
12204 (clog10_test_data): Likewise.
12205 (conj_test_data): Likewise.
12206 (copysign_test_data): Likewise.
12207 (cos_test_data): Likewise.
12208 (cos_tonearest_test_data): Likewise.
12209 (cos_towardzero_test_data): Likewise.
12210 (cos_downward_test_data): Likewise.
12211 (cos_upward_test_data): Likewise.
12212 (cosh_test_data): Likewise.
12213 (cosh_tonearest_test_data): Likewise.
12214 (cosh_towardzero_test_data): Likewise.
12215 (cosh_downward_test_data): Likewise.
12216 (cosh_upward_test_data): Likewise.
12217 (cpow_test_data): Likewise.
12218 (cproj_test_data): Likewise.
12219 (creal_test_data): Likewise.
12220 (csin_test_data): Likewise.
12221 (csinh_test_data): Likewise.
12222 (csqrt_test_data): Likewise.
12223 (ctan_test_data): Likewise.
12224 (ctan_tonearest_test_data): Likewise.
12225 (ctan_towardzero_test_data): Likewise.
12226 (ctan_downward_test_data): Likewise.
12227 (ctan_upward_test_data): Likewise.
12228 (ctanh_test_data): Likewise.
12229 (ctanh_tonearest_test_data): Likewise.
12230 (ctanh_towardzero_test_data): Likewise.
12231 (ctanh_downward_test_data): Likewise.
12232 (ctanh_upward_test_data): Likewise.
12233 (erf_test_data): Likewise.
12234 (erfc_test_data): Likewise.
12235 (exp_test_data): Likewise.
12236 (exp_tonearest_test_data): Likewise.
12237 (exp_towardzero_test_data): Likewise.
12238 (exp_downward_test_data): Likewise.
12239 (exp_upward_test_data): Likewise.
12240 (exp10_test_data): Likewise.
12241 (exp2_test_data): Likewise.
12242 (expm1_test_data): Likewise.
12243 (fabs_test_data): Likewise.
12244 (fdim_test_data): Likewise.
12245 (finite_test_data): Likewise.
12246 (floor_test_data): Likewise.
12247 (fma_test_data): Likewise.
12248 (fma_towardzero_test_data): Likewise.
12249 (fma_downward_test_data): Likewise.
12250 (fma_upward_test_data): Likewise.
12251 (fmax_test_data): Likewise.
12252 (fmin_test_data): Likewise.
12253 (fmod_test_data): Likewise.
12254 (fpclassify_test_data): Likewise.
12255 (frexp_test_data): Likewise.
12256 (gamma_test_data): Likewise.
12257 (hypot_test_data): Likewise.
12258 (ilogb_test_data): Likewise.
12259 (isfinite_test_data): Likewise.
12260 (isgreater_test_data): Likewise.
12261 (isgreaterequal_test_data): Likewise.
12262 (isinf_test_data): Likewise.
12263 (isless_test_data): Likewise.
12264 (islessequal_test_data): Likewise.
12265 (islessgreater_test_data): Likewise.
12266 (isnan_test_data): Likewise.
12267 (isnormal_test_data): Likewise.
12268 (issignaling_test_data): Likewise.
12269 (isunordered_test_data): Likewise.
12270 (j0_test_data): Likewise.
12271 (j1_test_data): Likewise.
12272 (jn_test_data): Likewise.
12273 (ldexp_test_data): Likewise.
12274 (lgamma_test_data): Likewise.
12275 (lrint_test_data): Likewise.
12276 (lrint_tonearest_test_data): Likewise.
12277 (lrint_towardzero_test_data): Likewise.
12278 (lrint_downward_test_data): Likewise.
12279 (lrint_upward_test_data): Likewise.
12280 (llrint_test_data): Likewise.
12281 (llrint_tonearest_test_data): Likewise.
12282 (llrint_towardzero_test_data): Likewise.
12283 (llrint_downward_test_data): Likewise.
12284 (llrint_upward_test_data): Likewise.
12285 (log_test_data): Likewise.
12286 (log10_test_data): Likewise.
12287 (log1p_test_data): Likewise.
12288 (log2_test_data): Likewise.
12289 (logb_test_data): Likewise.
12290 (logb_downward_test_data): Likewise.
12291 (lround_test_data): Likewise.
12292 (llround_test_data): Likewise.
12293 (modf_test_data): Likewise.
12294 (nearbyint_test_data): Likewise.
12295 (nextafter_test_data): Likewise.
12296 (nexttoward_test_data): Likewise.
12297 (pow_test_data): Likewise.
12298 (pow_tonearest_test_data): Likewise.
12299 (pow_towardzero_test_data): Likewise.
12300 (pow_downward_test_data): Likewise.
12301 (pow_upward_test_data): Likewise.
12302 (remainder_test_data): Likewise.
12303 (remainder_tonearest_test_data): Likewise.
12304 (remainder_towardzero_test_data): Likewise.
12305 (remainder_downward_test_data): Likewise.
12306 (remainder_upward_test_data): Likewise.
12307 (remquo_test_data): Likewise.
12308 (rint_test_data): Likewise.
12309 (rint_tonearest_test_data): Likewise.
12310 (rint_towardzero_test_data): Likewise.
12311 (rint_downward_test_data): Likewise.
12312 (rint_upward_test_data): Likewise.
12313 (round_test_data): Likewise.
12314 (scalb_test_data): Likewise.
12315 (scalbn_test_data): Likewise.
12316 (scalbln_test_data): Likewise.
12317 (signbit_test_data): Likewise.
12318 (sin_test_data): Likewise.
12319 (sin_tonearest_test_data): Likewise.
12320 (sin_towardzero_test_data): Likewise.
12321 (sin_downward_test_data): Likewise.
12322 (sin_upward_test_data): Likewise.
12323 (sincos_test_data): Likewise.
12324 (sinh_test_data): Likewise.
12325 (sinh_tonearest_test_data): Likewise.
12326 (sinh_towardzero_test_data): Likewise.
12327 (sinh_downward_test_data): Likewise.
12328 (sinh_upward_test_data): Likewise.
12329 (sqrt_test_data): Likewise.
12330 (tan_test_data): Likewise.
12331 (tan_tonearest_test_data): Likewise.
12332 (tan_towardzero_test_data): Likewise.
12333 (tan_downward_test_data): Likewise.
12334 (tan_upward_test_data): Likewise.
12335 (tanh_test_data): Likewise.
12336 (tgamma_test_data): Likewise.
12337 (trunc_test_data): Likewise.
12338 (y0_test_data): Likewise.
12339 (y1_test_data): Likewise.
12340 (yn_test_data): Likewise.
12341 (significand_test_data): Likewise.
12342
b679a606
JM
12343 * math/gen-libm-test.pl (@functions): Remove variable.
12344 (generate_testfile): Don't handle START and END lines.
12345 * math/libm-test.inc (START): New macro.
12346 (END): Likewise.
12347 (END_COMPLEX): Likewise.
12348 (acos_test): Use END macro without arguments.
12349 (acos_test_tonearest): Likewise.
12350 (acos_test_towardzero): Likewise.
12351 (acos_test_downward): Likewise.
12352 (acos_test_upward): Likewise.
12353 (acosh_test): Likewise.
12354 (asin_test): Likewise.
12355 (asin_test_tonearest): Likewise.
12356 (asin_test_towardzero): Likewise.
12357 (asin_test_downward): Likewise.
12358 (asin_test_upward): Likewise.
12359 (asinh_test): Likewise.
12360 (atan_test): Likewise.
12361 (atanh_test): Likewise.
12362 (atan2_test): Likewise.
12363 (cabs_test): Likewise.
12364 (cacos_test): Use END_COMPLEX macro without arguments.
12365 (cacosh_test): Likewise.
12366 (carg_test): Use END macro without arguments.
12367 (casin_test): Use END_COMPLEX macro without arguments.
12368 (casinh_test): Likewise.
12369 (catan_test): Likewise.
12370 (catanh_test): Likewise.
12371 (cbrt_test): Use END macro without arguments.
12372 (ccos_test): Use END_COMPLEX macro without arguments.
12373 (ccosh_test): Likewise.
12374 (ceil_test): Use END macro without arguments.
12375 (cexp_test): Use END_COMPLEX macro without arguments.
12376 (cimag_test): Use END macro without arguments.
12377 (clog_test): Use END_COMPLEX macro without arguments.
12378 (clog10_test): Likewise.
12379 (conj_test): Likewise.
12380 (copysign_test): Use END macro without arguments.
12381 (cos_test): Likewise.
12382 (cos_test_tonearest): Likewise.
12383 (cos_test_towardzero): Likewise.
12384 (cos_test_downward): Likewise.
12385 (cos_test_upward): Likewise.
12386 (cosh_test): Likewise.
12387 (cosh_test_tonearest): Likewise.
12388 (cosh_test_towardzero): Likewise.
12389 (cosh_test_downward): Likewise.
12390 (cosh_test_upward): Likewise.
12391 (cpow_test): Use END_COMPLEX macro without arguments.
12392 (cproj_test): Likewise.
12393 (creal_test): Use END macro without arguments.
12394 (csin_test): Use END_COMPLEX macro without arguments.
12395 (csinh_test): Likewise.
12396 (csqrt_test): Likewise.
12397 (ctan_test): Likewise.
12398 (ctan_test_tonearest): Likewise.
12399 (ctan_test_towardzero): Likewise.
12400 (ctan_test_downward): Likewise.
12401 (ctan_test_upward): Likewise.
12402 (ctanh_test): Likewise.
12403 (ctanh_test_tonearest): Likewise.
12404 (ctanh_test_towardzero): Likewise.
12405 (ctanh_test_downward): Likewise.
12406 (ctanh_test_upward): Likewise.
12407 (erf_test): Use END macro without arguments.
12408 (erfc_test): Likewise.
12409 (exp_test): Likewise.
12410 (exp_test_tonearest): Likewise.
12411 (exp_test_towardzero): Likewise.
12412 (exp_test_downward): Likewise.
12413 (exp_test_upward): Likewise.
12414 (exp10_test): Likewise.
12415 (exp2_test): Likewise.
12416 (expm1_test): Likewise.
12417 (fabs_test): Likewise.
12418 (fdim_test): Likewise.
12419 (finite_test): Likewise.
12420 (floor_test): Likewise.
12421 (fma_test): Likewise.
12422 (fma_test_towardzero): Likewise.
12423 (fma_test_downward): Likewise.
12424 (fma_test_upward): Likewise.
12425 (fmax_test): Likewise.
12426 (fmin_test): Likewise.
12427 (fmod_test): Likewise.
12428 (fpclassify_test): Likewise.
12429 (frexp_test): Likewise.
12430 (gamma_test): Likewise.
12431 (hypot_test): Likewise.
12432 (ilogb_test): Likewise.
12433 (isfinite_test): Likewise.
12434 (isgreater_test): Likewise.
12435 (isgreaterequal_test): Likewise.
12436 (isinf_test): Likewise.
12437 (isless_test): Likewise.
12438 (islessequal_test): Likewise.
12439 (islessgreater_test): Likewise.
12440 (isnan_test): Likewise.
12441 (isnormal_test): Likewise.
12442 (issignaling_test): Likewise.
12443 (isunordered_test): Likewise.
12444 (j0_test): Likewise.
12445 (j1_test): Likewise.
12446 (jn_test): Likewise.
12447 (ldexp_test): Likewise.
12448 (lgamma_test): Likewise.
12449 (lrint_test): Likewise.
12450 (lrint_test_tonearest): Likewise.
12451 (lrint_test_towardzero): Likewise.
12452 (lrint_test_downward): Likewise.
12453 (lrint_test_upward): Likewise.
12454 (llrint_test): Likewise.
12455 (llrint_test_tonearest): Likewise.
12456 (llrint_test_towardzero): Likewise.
12457 (llrint_test_downward): Likewise.
12458 (llrint_test_upward): Likewise.
12459 (log_test): Likewise.
12460 (log10_test): Likewise.
12461 (log1p_test): Likewise.
12462 (log2_test): Likewise.
12463 (logb_test): Likewise.
12464 (logb_test_downward): Likewise.
12465 (lround_test): Likewise.
12466 (llround_test): Likewise.
12467 (modf_test): Likewise.
12468 (nearbyint_test): Likewise.
12469 (nextafter_test): Likewise.
12470 (nexttoward_test): Likewise.
12471 (pow_test): Likewise.
12472 (pow_test_tonearest): Likewise.
12473 (pow_test_towardzero): Likewise.
12474 (pow_test_downward): Likewise.
12475 (pow_test_upward): Likewise.
12476 (remainder_test): Likewise.
12477 (remainder_test_tonearest): Likewise.
12478 (remainder_test_towardzero): Likewise.
12479 (remainder_test_downward): Likewise.
12480 (remainder_test_upward): Likewise.
12481 (remquo_test): Likewise.
12482 (rint_test): Likewise.
12483 (rint_test_tonearest): Likewise.
12484 (rint_test_towardzero): Likewise.
12485 (rint_test_downward): Likewise.
12486 (rint_test_upward): Likewise.
12487 (round_test): Likewise.
12488 (scalb_test): Likewise.
12489 (scalbn_test): Likewise.
12490 (scalbln_test): Likewise.
12491 (signbit_test): Likewise.
12492 (sin_test): Likewise.
12493 (sin_test_tonearest): Likewise.
12494 (sin_test_towardzero): Likewise.
12495 (sin_test_downward): Likewise.
12496 (sin_test_upward): Likewise.
12497 (sincos_test): Likewise.
12498 (sinh_test): Likewise.
12499 (sinh_test_tonearest): Likewise.
12500 (sinh_test_towardzero): Likewise.
12501 (sinh_test_downward): Likewise.
12502 (sinh_test_upward): Likewise.
12503 (sqrt_test): Likewise.
12504 (tan_test): Likewise.
12505 (tan_test_tonearest): Likewise.
12506 (tan_test_towardzero): Likewise.
12507 (tan_test_downward): Likewise.
12508 (tan_test_upward): Likewise.
12509 (tanh_test): Likewise.
12510 (tgamma_test): Likewise.
12511 (trunc_test): Likewise.
12512 (y0_test): Likewise.
12513 (y1_test): Likewise.
12514 (yn_test): Likewise.
12515 (significand_test): Likewise.
12516
bae143d2
OB
125172013-05-24 Ondřej Bílka <neleai@seznam.cz>
12518
12519 [BZ #15381]
12520 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12521
9323d39b
EM
125222013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12523
d4ea44a0 12524 [BZ #14894]
9323d39b
EM
12525 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12526 __ppc_mdoio and __ppc_mdoom.
12527 * manual/platform.texi: Document new functions __ppc_yield,
12528 __ppc_mdoio and __ppc_mdoom.
12529
13e23af7
CD
125302013-05-22 Carlos O'Donell <carlos@redhat.com>
12531
12532 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12533 (main): Mention "tls" pseudo-hwcap is legacy.
12534 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12535
351fe550
JM
125362013-05-22 Joseph Myers <joseph@codesourcery.com>
12537
12538 * math/gen-libm-test.pl (parse_args): Output only string of
12539 arguments as text for test name, not full call or descriptions of
12540 tests for extra outputs.
12541 (generate_testfile): Do not pass function name to parse_args.
12542 Generate this_func variable from START.
12543 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12544 field to arg_str.
12545 (struct test_ff_f_data): Likewise.
12546 (test_ff_f_data_nexttoward): Likewise.
12547 (struct test_fi_f_data): Likewise.
12548 (struct test_fl_f_data): Likewise.
12549 (struct test_if_f_data): Likewise.
12550 (struct test_fff_f_data): Likewise.
12551 (struct test_c_f_data): Likewise.
12552 (struct test_f_f1_data): Likewise. Remove field extra_name.
12553 (struct test_fF_f1_data): Likewise.
12554 (struct test_ffI_f1_data): Likewise.
12555 (struct test_c_c_data): Rename test_name field to arg_str.
12556 (struct test_cc_c_data): Likewise.
12557 (struct test_f_i_data): Likewise.
12558 (struct test_ff_i_data): Likewise.
12559 (struct test_f_l_data): Likewise.
12560 (struct test_f_L_data): Likewise.
12561 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12562 and extra2_name.
12563 (COMMON_TEST_SETUP): New macro.
12564 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12565 (COMMON_TEST_CLEANUP): Likewise.
12566 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12567 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12568 macros.
12569 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12570 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12571 macros.
12572 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12573 (RUN_TEST_fff_f): Take argument string. Call new setup and
12574 cleanup macros.
12575 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12576 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12577 macros.
12578 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12579 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12580 macros.
12581 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12582 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12583 cleanup macros.
12584 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12585 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12586 cleanup macros.
12587 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12588 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12589 cleanup macros.
12590 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12591 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12592 macros.
12593 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12594 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12595 macros.
12596 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12597 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12598 macros.
12599 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12600 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12601 cleanup macros.
12602 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12603 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12604 cleanup macros.
12605 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12606 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12607 macros.
12608 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12609 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12610 cleanup macros.
12611 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12612 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12613 macros.
12614 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12615 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12616 macros.
12617 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12618 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12619 cleanup macros.
12620 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12621
85118d4d
EBM
126222013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12623
12624 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12625 to _sifields.sigfault.
12626 (si_addr_lsb): Define new macro.
12627 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12629 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12630
7a44c18f
CD
126312013-05-03 Carlos O'Donell <carlos at redhat.com>
12632
12633 [BZ #15441]
12634 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12635 returns -1.
12636 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12637 null return -1.
12638 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12639 loading the domain.
12640
b50a7181
JM
126412013-05-22 Joseph Myers <joseph@codesourcery.com>
12642
12643 * math/gen-libm-test.pl (parse_args): Do not include expected
12644 result in test name.
12645 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12646 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12647 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12648 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12649 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651
051063c8
SP
126522013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12653
3ce9e010
SP
12654 * benchtests/Makefile: Sort function entries.
12655
051063c8
SP
12656 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12657 tanh, asinh, acosh, atanh.
12658 * benchtests/acos-inputs: New file.
12659 * benchtests/acosh-inputs: New file.
12660 * benchtests/asin-inputs: New file.
12661 * benchtests/asinh-inputs: New file.
12662 * benchtests/atanh-inputs: New file.
12663 * benchtests/cosh-inputs: New file.
12664 * benchtests/log-inputs: New file.
12665 * benchtests/sinh-inputs: New file.
12666 * benchtests/tanh-inputs: New file.
12667
47c22455
DL
126682013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12669
12670 [BZ #15339]
12671 * posix/tst-getaddrinfo4.c: New test.
12672 * posix/Makefile (tests): Add it.
12673
3d04f5db
SP
126742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12675
12676 [BZ #15339]
12677 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12678 when no services were used.
12679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12680 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12681
d5dd6189
AS
126822013-05-21 Andreas Schwab <schwab@suse.de>
12683
12684 [BZ #15014]
12685 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12686 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12687 successful.
12688 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12689 redundant variable declarations and reallocation of buffer when
12690 parsing as IPv6 address. Always set NSS status when called from
12691 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12692 buffer too small. Correct computation of needed size.
12693 * nss/Makefile (tests): Add test-digits-dots.
12694 * nss/test-digits-dots.c: New test.
12695
fef94eab
SP
126962013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12697
12698 * benchtests/Makefile: Remove instructions for adding
12699 benchmark tests.
12700 * benchtests/README: New file to explain how to execute and
12701 enhance the benchmark tests.
12702
e39adf43
AS
127032013-05-21 Andreas Schwab <schwab@suse.de>
12704
12705 [BZ #15493]
12706 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12707 * setjmp/tst-sigsetjmp.c: New test.
12708
b2b671b6
OB
127092013-05-20 Ondřej Bílka <neleai@seznam.cz>
12710
12711 * sysdeps/x86_64/memset.S (memset): New implementation.
12712 (__bzero): Likewise.
12713 (__memset_tail): New function.
12714
2d48b41c
OB
127152013-05-20 Ondřej Bílka <neleai@seznam.cz>
12716
12717 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12718 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12719 __memcpy_sse2_unaligned ifunc selection.
12720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12721 Add memcpy-sse2-unaligned.S.
12722 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12723 Add: __memcpy_sse2_unaligned.
12724
f16cc3eb
JM
127252013-05-19 Joseph Myers <joseph@codesourcery.com>
12726
3e694268
JM
12727 [BZ #15490]
12728 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12729 math_force_eval before restoring floating-point envrionment.
12730 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12731 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12732 Likewise.
12733 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12734 <math_private.h>.
12735 (__nearbyintl): Use math_force_eval before restoring
12736 floating-point environment.
12737 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12738
db62a907
JM
12739 * math/gen-libm-test.pl (special_functions): Remove.
12740 (parse_args): Don't handle TEST_extra. Handle functions with no
12741 return value.
12742 * math/libm-test.inc (struct test_sincos_data): Replace with
12743 struct test_fFF_11_data.
12744 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12745 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12746 (sincos_test_data): Change element type to struct
12747 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12748 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12749 RUN_TEST_LOOP_sincos.
12750 * math/README.libm-test: Don't mention special handling of
12751 individual functions.
12752 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12753 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12754 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12755 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12756 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12758
f16cc3eb
JM
12759 * math/gen-libm-test.pl (get_variable): Remove function.
12760 (parse_args): Don't show pointer parameters to call in test
12761 names. Use "extra output N" in test names for extra outputs
12762 rather than naming variables.
12763
3779b5b6
JM
127642013-05-18 Joseph Myers <joseph@codesourcery.com>
12765
2ee094ff
JM
12766 [BZ #15488]
12767 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12768 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12769 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12770 double tests.
12771 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12772 disable.
12773 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12774 check_long_double.
12775
3779b5b6
JM
12776 * math/gen-libm-test.pl (@tests): Remove variable.
12777 ($count): Likewise.
12778 (new_test): Remove function.
12779 (show_exceptions): New function.
12780 (special_functions): Use show_exceptions instead of new_test.
12781 (parse_args): Likewise.
12782 (generate_testfile): Pass only function name in generated call to
12783 print_max_error or print_complex_max_error.
12784 (get_ulps): Do not handle complex tests specially.
12785 (output_test): Rename to ...
12786 (get_all_ulps_for_test): ... this. Return a string rather than
12787 printing to a file. Require ulps to be present.
12788 (output_ulps): Generate arrays rather than #defines.
12789 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12790 (struct ulp_data): New type.
12791 (BUILD_COMPLEX_ULP): Remove macro.
12792 (compare_ulp_data): New function.
12793 (find_ulps): Likewise.
12794 (find_test_ulps): Likewise.
12795 (find_function_ulps): Likewise.
12796 (find_complex_function_ulps): Likewise.
12797 (print_max_error): Determine allowed ulps using
12798 find_function_ulps.
12799 (print_complex_max_error): Determine allowed ulps using
12800 find_complex_function_ulps.
12801 (check_float_internal): Determine max ulps using find_test_ulps.
12802 (check_float): Do not take max_ulp parameter. Update call to
12803 check_float_internal.
12804 (check_complex): Likewise.
12805 (check_int): Do not take max_ulp parameter.
12806 (check_long): Likewise.
12807 (check_bool): Likewise.
12808 (check_longlong): Likewise.
12809 (struct test_f_f_data): Remove max_ulp field.
12810 (struct test_ff_f_data): Likewise.
12811 (struct test_ff_f_data_nexttoward): Likewise.
12812 (struct test_fi_f_data): Likewise.
12813 (struct test_fl_f_data): Likewise.
12814 (struct test_if_f_data): Likewise.
12815 (struct test_fff_f_data): Likewise.
12816 (struct test_c_f_data): Likewise.
12817 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12818 (struct test_fF_f1_data): Likewise.
12819 (struct test_ffI_f1_data): Likewise.
12820 (struct test_c_c_data): Remove max_ulp field.
12821 (struct test_cc_c_data): Likewise.
12822 (struct test_f_i_data): Likewise.
12823 (struct test_ff_i_data): Likewise.
12824 (struct test_f_l_data): Likewise.
12825 (struct test_f_L_data): Likewise.
12826 (struct test_sincos_data): Likewise.
12827 (RUN_TEST_f_f): Do not handle ulps.
12828 (RUN_TEST_LOOP_f_f): Likewise.
12829 (RUN_TEST_2_f): Likewise.
12830 (RUN_TEST_LOOP_2_f): Likewise.
12831 (RUN_TEST_fff_f): Likewise.
12832 (RUN_TEST_LOOP_fff_f): Likewise.
12833 (RUN_TEST_c_f): Likewise.
12834 (RUN_TEST_LOOP_c_f): Likewise.
12835 (RUN_TEST_f_f1): Likewise.
12836 (RUN_TEST_LOOP_f_f1): Likewise.
12837 (RUN_TEST_fF_f1): Likewise.
12838 (RUN_TEST_LOOP_fF_f1): Likewise.
12839 (RUN_TEST_fI_f1): Likewise.
12840 (RUN_TEST_LOOP_fI_f1): Likewise.
12841 (RUN_TEST_ffI_f1): Likewise.
12842 (RUN_TEST_LOOP_ffI_f1): Likewise.
12843 (RUN_TEST_c_c): Likewise.
12844 (RUN_TEST_LOOP_c_c): Likewise.
12845 (RUN_TEST_cc_c): Likewise.
12846 (RUN_TEST_LOOP_cc_c): Likewise.
12847 (RUN_TEST_f_i): Likewise.
12848 (RUN_TEST_LOOP_f_i): Likewise.
12849 (RUN_TEST_f_i_tg): Likewise.
12850 (RUN_TEST_LOOP_f_i_tg): Likewise.
12851 (RUN_TEST_ff_i_tg): Likewise.
12852 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12853 (RUN_TEST_f_b): Likewise.
12854 (RUN_TEST_LOOP_f_b): Likewise.
12855 (RUN_TEST_f_b_tg): Likewise.
12856 (RUN_TEST_LOOP_f_b_tg): Likewise.
12857 (RUN_TEST_f_l): Likewise.
12858 (RUN_TEST_LOOP_f_l): Likewise.
12859 (RUN_TEST_f_L): Likewise.
12860 (RUN_TEST_LOOP_f_L): Likewise.
12861 (RUN_TEST_sincos): Likewise.
12862 (RUN_TEST_LOOP_sincos): Likewise.
12863
8269107f
JM
128642013-05-17 Joseph Myers <joseph@codesourcery.com>
12865
bb38759d
JM
12866 [BZ #15480]
12867 [BZ #15485]
12868 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12869 main case of finite arguments, set rounding mode to FE_TONEAREST
12870 and discard exceptions.
12871 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12872 exceptions.
12873 (remainder_tonearest_test_data): New variable.
12874 (remainder_test_tonearest): New function.
12875 (remainder_towardzero_test_data): New variable.
12876 (remainder_test_towardzero): New function.
12877 (remainder_downward_test_data): New variable.
12878 (remainder_test_downward): New function.
12879 (remainder_upward_test_data): New variable.
12880 (remainder_test_upward): New function.
12881 (main): Call the new test functions.
12882
a00bdcf0
JM
12883 * math/libm-test.inc (struct test_f_f1_data): Remove field
12884 extra_init.
12885 (struct test_fF_f1_data): Likewise.
12886 (struct test_ffI_f1_data): Likewise.
12887 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12888 based on value of EXTRA_EXPECTED.
12889 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12890 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12891 EXTRA_VAR based on value of EXTRA_EXPECTED.
12892 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12893 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12894 EXTRA_VAR based on value of EXTRA_EXPECTED.
12895 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12896 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12897 EXTRA_VAR based on value of EXTRA_EXPECTED.
12898 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12899 * math/gen-libm-test.pl (parse_args): Don't output initializers
12900 for extra output values.
12901
de407f79
JM
12902 * math/libm-test.inc (check_int): Expect result to be exactly
12903 equal to expected value and do not handle ulps.
12904 (check_long): Likewise.
12905 (check_longlong): Likewise.
12906
8269107f
JM
12907 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12908 exceptions.
12909 (cimag_test_data): Likewise.
12910 (conj_test_data): Likewise.
12911 (copysign_test_data): Likewise.
12912 (cproj_test_data): Likewise.
12913 (creal_test_data): Likewise.
12914 (fabs_test_data): Likewise.
12915 (fdim_test_data): Likewise.
12916 (finite_test_data): Likewise.
12917 (floor_test_data): Likewise.
12918 (fmax_test_data): Likewise.
12919 (fmin_test_data): Likewise.
12920 (fmod_test_data): Likewise.
12921 (fpclassify_test_data): Likewise.
12922 (frexp_test_data): Likewise.
12923 (ilogb_test_data): Likewise.
12924 (isfinite_test_data): Likewise.
12925 (isgreater_test_data): Likewise.
12926 (isgreaterequal_test_data): Likewise.
12927 (isinf_test_data): Likewise.
12928 (isless_test_data): Likewise.
12929 (islessequal_test_data): Likewise.
12930 (islessgreater_test_data): Likewise.
12931 (isnan_test_data): Likewise.
12932 (isnormal_test_data): Likewise.
12933 (issignaling_test_data): Likewise.
12934 (isunordered_test_data): Likewise.
12935 (ldexp_test_data): Likewise.
12936 (lrint_test_data): Likewise.
12937 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12938 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12939 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12940 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12941 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12942 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12943 test input.
12944 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12945 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12946 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12947 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12948 that test input.
12949 (lrint_downward_test_data): Test for "inexact" exceptions.
12950 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12951 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12952 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12953 test input.
12954 (lrint_upward_test_data): Test for "inexact" exceptions.
12955 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12956 test input.
12957 (llrint_test_data): Test for "inexact" exceptions.
12958 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12959 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12960 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12961 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12962 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12963 (llrint_downward_test_data): Test for "inexact" exceptions.
12964 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12965 (llrint_upward_test_data): Test for "inexact" exceptions.
12966 (logb_test_data): Likewise.
12967 (logb_downward_test_data): Likewise.
12968 (nextafter_test_data): Likewise.
12969 (nexttoward_test_data): Likewise.
12970 (remainder_test_data): Likewise.
12971 (remquo_test_data): Likewise.
12972 (scalbn_test_data): Likewise.
12973 (scalbln_test_data): Likewise.
12974 (signbit_test_data): Likewise.
12975 (sqrt_test_data): Likewise.
12976 (significand_test_data): Likewise.
12977
48a18de1
SP
129782013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12979
12980 [BZ #15424]
12981 * benchtests/bench-modf.c (struct args): Mark arg0 as
12982 volatile.
12983 * scripts/bench.pl: Mark members of struct args as volatile.
12984
13d3b41a
AZ
129852013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12986
68191c1d 12987 [BZ # 15497]
13d3b41a
AZ
12988 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12989 negative infinity on POWER6 or lower.
12990 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12991
2848b105
MR
129922013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12993
12994 [BZ #15442]
12995 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12996 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12997 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12998 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12999 (_FP_SETQNAN): New macro.
13000 (_FP_SETQNAN_SEMIRAW): Likewise.
13001 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13002 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13003 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13004 (FP_EXTEND): Use _FP_FRAC_SNANP.
13005 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13006 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13007 into account.
13008 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13009 New macro.
13010 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13011 Likewise.
13012
323e5cb7
JM
130132013-05-16 Joseph Myers <joseph@codesourcery.com>
13014
c58b274f
JM
13015 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13016 with DIVIDE_BY_ZERO_EXCEPTION.
13017 (gamma_test_data): Likewise.
13018 (lgamma_test_data): Likewise.
13019 (log_test_data): Likewise.
13020 (log10_test_data): Likewise.
13021 (log2_test_data): Likewise.
13022 (tgamma_test_data): Likewise.
13023
0ab34904
JM
13024 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13025 (acos_test_tonearest): Likewise.
13026 (acos_test_towardzero): Likewise.
13027 (acos_test_downward): Likewise.
13028 (acos_test_upward): Likewise.
13029 (acosh_test): Likewise.
13030 (asin_test): Likewise.
13031 (asin_test_tonearest): Likewise.
13032 (asin_test_towardzero): Likewise.
13033 (asin_test_downward): Likewise.
13034 (asin_test_upward): Likewise.
13035 (asinh_test): Likewise.
13036 (atan_test): Likewise.
13037 (atanh_test): Likewise.
13038 (atan2_test): Likewise.
13039 (cabs_test): Likewise.
13040 (cacos_test): Likewise.
13041 (cacosh_test): Likewise.
13042 (casin_test): Likewise.
13043 (casinh_test): Likewise.
13044 (catan_test): Likewise.
13045 (catanh_test): Likewise.
13046 (cbrt_test): Likewise.
13047 (ccos_test): Likewise.
13048 (ccosh_test): Likewise.
13049 (cexp_test): Likewise.
13050 (clog_test): Likewise.
13051 (clog10_test): Likewise.
13052 (cos_test): Likewise.
13053 (cos_test_tonearest): Likewise.
13054 (cos_test_towardzero): Likewise.
13055 (cos_test_downward): Likewise.
13056 (cos_test_upward): Likewise.
13057 (cosh_test): Likewise.
13058 (cosh_test_tonearest): Likewise.
13059 (cosh_test_towardzero): Likewise.
13060 (cosh_test_downward): Likewise.
13061 (cosh_test_upward): Likewise.
13062 (cpow_test): Likewise.
13063 (csin_test): Likewise.
13064 (csinh_test): Likewise.
13065 (csqrt_test): Likewise.
13066 (ctan_test): Likewise.
13067 (ctan_test_tonearest): Likewise.
13068 (ctan_test_towardzero): Likewise.
13069 (ctan_test_downward): Likewise.
13070 (ctan_test_upward): Likewise.
13071 (ctanh_test): Likewise.
13072 (ctanh_test_tonearest): Likewise.
13073 (ctanh_test_towardzero): Likewise.
13074 (ctanh_test_downward): Likewise.
13075 (ctanh_test_upward): Likewise.
13076 (erf_test): Likewise.
13077 (erfc_test): Likewise.
13078 (exp_test): Likewise.
13079 (exp_test_tonearest): Likewise.
13080 (exp_test_towardzero): Likewise.
13081 (exp_test_downward): Likewise.
13082 (exp_test_upward): Likewise.
13083 (exp10_test): Likewise.
13084 (exp2_test): Likewise.
13085 (expm1_test): Likewise.
13086 (fmod_test): Likewise.
13087 (gamma_test): Likewise.
13088 (hypot_test): Likewise.
13089 (j0_test): Likewise.
13090 (j1_test): Likewise.
13091 (jn_test): Likewise.
13092 (lgamma_test): Likewise.
13093 (log_test): Likewise.
13094 (log10_test): Likewise.
13095 (log1p_test): Likewise.
13096 (log2_test): Likewise.
13097 (logb_test_downward): Likewise.
13098 (pow_test): Likewise.
13099 (pow_test_tonearest): Likewise.
13100 (pow_test_towardzero): Likewise.
13101 (pow_test_downward): Likewise.
13102 (pow_test_upward): Likewise.
13103 (remainder_test): Likewise.
13104 (remquo_test): Likewise.
13105 (sin_test): Likewise.
13106 (sin_test_tonearest): Likewise.
13107 (sin_test_towardzero): Likewise.
13108 (sin_test_downward): Likewise.
13109 (sin_test_upward): Likewise.
13110 (sincos_test): Likewise.
13111 (sinh_test): Likewise.
13112 (sinh_test_tonearest): Likewise.
13113 (sinh_test_towardzero): Likewise.
13114 (sinh_test_downward): Likewise.
13115 (sinh_test_upward): Likewise.
13116 (sqrt_test): Likewise.
13117 (tan_test): Likewise.
13118 (tan_test_tonearest): Likewise.
13119 (tan_test_towardzero): Likewise.
13120 (tan_test_downward): Likewise.
13121 (tan_test_upward): Likewise.
13122 (tanh_test): Likewise.
13123 (tgamma_test): Likewise.
13124 (y0_test): Likewise.
13125 (y1_test): Likewise.
13126 (yn_test): Likewise.
13127
323e5cb7
JM
13128 * math/gen-libm-test.pl (adjust_arg): Remove function.
13129 (special_function): Remove argument $in_func. Only handle
13130 generating output for tables of tests, not inside functions.
13131 (parse_args): Likewise.
13132 (generate_testfile): Remove variable $in_func. Update call to
13133 parse_args.
13134 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13135 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13136 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13137 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13138 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13139 (MAX_VALUE_INIT): Rename macro to max_value.
13140 (MIN_VALUE_INIT): Rename macro to min_value.
13141 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13142 (plus_zero): Remove variable.
13143 (minus_zero): Likewise.
13144 (plus_infty): Likewise.
13145 (minus_infty): Likewise.
13146 (qnan_value): Likewise.
13147 (max_value): Likewise.
13148 (min_value): Likewise.
13149 (min_subnorm_value): Likewise.
13150
e054f494
RA
131512013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13152
13153 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13154 uint64_t or uint32_t usage.
13155 * crypt/sha256-block.c: Likewise.
13156 * crypt/sha256-crypt.c: Likewise.
13157 * crypt/sha256.c: Likewise.
13158 * crypt/sha512-block.c: Likewise.
13159 * crypt/sha512-crypt.c: Likewise.
13160 * crypt/sha512.c: Likewise.
13161 * debug/backtrace-tst.c: Likewise.
13162 * debug/pcprofiledump.c: Likewise.
13163 * elf/cache.c: Likewise.
13164 * elf/dl-cache.c: Likewise.
13165 * elf/dl-misc.c: Likewise.
13166 * elf/dl-profile.c: Likewise.
13167 * elf/dl-support.c: Likewise.
13168 * elf/ldconfig.c: Likewise.
13169 * elf/sprof.c: Likewise.
13170 * iconv/dummy-repertoire.c: Likewise.
13171 * iconv/iconv_charmap.c: Likewise.
13172 * iconv/skeleton.c: Likewise.
13173 * iconvdata/8bit-generic.c: Likewise.
13174 * iconvdata/cp737.h: Likewise.
13175 * iconvdata/cp775.h: Likewise.
13176 * iconvdata/ibm1008.h: Likewise.
13177 * iconvdata/ibm1025.h: Likewise.
13178 * iconvdata/ibm1046.h: Likewise.
13179 * iconvdata/ibm1097.h: Likewise.
13180 * iconvdata/ibm1112.h: Likewise.
13181 * iconvdata/ibm1122.h: Likewise.
13182 * iconvdata/ibm1123.h: Likewise.
13183 * iconvdata/ibm1124.h: Likewise.
13184 * iconvdata/ibm1129.h: Likewise.
13185 * iconvdata/ibm1130.h: Likewise.
13186 * iconvdata/ibm1132.h: Likewise.
13187 * iconvdata/ibm1133.h: Likewise.
13188 * iconvdata/ibm1137.h: Likewise.
13189 * iconvdata/ibm1140.h: Likewise.
13190 * iconvdata/ibm1141.h: Likewise.
13191 * iconvdata/ibm1142.h: Likewise.
13192 * iconvdata/ibm1143.h: Likewise.
13193 * iconvdata/ibm1144.h: Likewise.
13194 * iconvdata/ibm1145.h: Likewise.
13195 * iconvdata/ibm1146.h: Likewise.
13196 * iconvdata/ibm1147.h: Likewise.
13197 * iconvdata/ibm1148.h: Likewise.
13198 * iconvdata/ibm1149.h: Likewise.
13199 * iconvdata/ibm1153.h: Likewise.
13200 * iconvdata/ibm1154.h: Likewise.
13201 * iconvdata/ibm1155.h: Likewise.
13202 * iconvdata/ibm1156.h: Likewise.
13203 * iconvdata/ibm1157.h: Likewise.
13204 * iconvdata/ibm1158.h: Likewise.
13205 * iconvdata/ibm1160.h: Likewise.
13206 * iconvdata/ibm1161.h: Likewise.
13207 * iconvdata/ibm1162.h: Likewise.
13208 * iconvdata/ibm1163.h: Likewise.
13209 * iconvdata/ibm1164.h: Likewise.
13210 * iconvdata/ibm1166.h: Likewise.
13211 * iconvdata/ibm1167.h: Likewise.
13212 * iconvdata/ibm12712.h: Likewise.
13213 * iconvdata/ibm1390.h: Likewise.
13214 * iconvdata/ibm1399.h: Likewise.
13215 * iconvdata/ibm16804.h: Likewise.
13216 * iconvdata/ibm4517.h: Likewise.
13217 * iconvdata/ibm4899.h: Likewise.
13218 * iconvdata/ibm4909.h: Likewise.
13219 * iconvdata/ibm4971.h: Likewise.
13220 * iconvdata/ibm5347.h: Likewise.
13221 * iconvdata/ibm803.h: Likewise.
13222 * iconvdata/ibm856.h: Likewise.
13223 * iconvdata/ibm901.h: Likewise.
13224 * iconvdata/ibm902.h: Likewise.
13225 * iconvdata/ibm9030.h: Likewise.
13226 * iconvdata/ibm9066.h: Likewise.
13227 * iconvdata/ibm921.h: Likewise.
13228 * iconvdata/ibm922.h: Likewise.
13229 * iconvdata/ibm9448.h: Likewise.
13230 * iconvdata/isiri-3342.h: Likewise.
13231 * iconvdata/jis0201.h: Likewise.
13232 * include/link.h: Likewise.
13233 * include/netdb.h: Likewise.
13234 * inet/check_native.c: Likewise.
13235 * inet/check_pf.c: Likewise.
13236 * inet/getipv4sourcefilter.c: Likewise.
13237 * inet/getnameinfo.c: Likewise.
13238 * inet/getsourcefilter.c: Likewise.
13239 * inet/htonl.c: Likewise.
13240 * inet/setipv4sourcefilter.c: Likewise.
13241 * inet/setsourcefilter.c: Likewise.
13242 * inet/test-inet6_opt.c: Likewise.
13243 * inet/tst-network.c: Likewise.
13244 * locale/C-collate.c: Likewise.
13245 * locale/C-ctype.c: Likewise.
13246 * locale/C-time.c: Likewise.
13247 * locale/C-translit.h: Likewise.
13248 * locale/loadarchive.c: Likewise.
13249 * locale/programs/3level.h: Likewise.
13250 * locale/programs/charmap.c: Likewise.
13251 * locale/programs/charmap.h: Likewise.
13252 * locale/programs/ld-address.c: Likewise.
13253 * locale/programs/ld-collate.c: Likewise.
13254 * locale/programs/ld-ctype.c: Likewise.
13255 * locale/programs/ld-identification.c: Likewise.
13256 * locale/programs/ld-measurement.c: Likewise.
13257 * locale/programs/ld-messages.c: Likewise.
13258 * locale/programs/ld-monetary.c: Likewise.
13259 * locale/programs/ld-name.c: Likewise.
13260 * locale/programs/ld-numeric.c: Likewise.
13261 * locale/programs/ld-paper.c: Likewise.
13262 * locale/programs/ld-telephone.c: Likewise.
13263 * locale/programs/ld-time.c: Likewise.
13264 * locale/programs/linereader.c: Likewise.
13265 * locale/programs/locale.c: Likewise.
13266 * locale/programs/locarchive.c: Likewise.
13267 * locale/programs/locfile.h: Likewise.
13268 * locale/programs/repertoire.c: Likewise.
13269 * locale/programs/simple-hash.c: Likewise.
13270 * locale/programs/simple-hash.h: Likewise.
13271 * malloc/memusage.c: Likewise.
13272 * malloc/memusagestat.c: Likewise.
13273 * nis/nis_defaults.c: Likewise.
13274 * nis/nis_hash.c: Likewise.
13275 * nis/nis_print.c: Likewise.
13276 * nis/nis_xdr.c: Likewise.
13277 * nscd/connections.c: Likewise.
13278 * nscd/hstcache.c: Likewise.
13279 * nscd/nscd_gethst_r.c: Likewise.
13280 * nscd/nscd_getserv_r.c: Likewise.
13281 * nscd/nscd_helper.c: Likewise.
13282 * nscd/servicescache.c: Likewise.
13283 * nss/makedb.c: Likewise.
13284 * nss/nss_db/db-XXX.c: Likewise.
13285 * nss/nss_db/db-initgroups.c: Likewise.
13286 * nss/nss_db/db-netgrp.c: Likewise.
13287 * nss/nss_files/files-network.c: Likewise.
13288 * nss/nss_files/files-parse.c: Likewise.
13289 * posix/bug-regex5.c: Likewise.
13290 * posix/fnmatch_loop.c: Likewise.
13291 * posix/regcomp.c: Likewise.
13292 * posix/regexec.c: Likewise.
13293 * posix/tst-rfc3484-2.c: Likewise.
13294 * posix/tst-rfc3484-3.c: Likewise.
13295 * posix/tst-rfc3484.c: Likewise.
13296 * resolv/nss_dns/dns-canon.c: Likewise.
13297 * resolv/nss_dns/dns-network.c: Likewise.
13298 * resolv/res_init.c: Likewise.
13299 * resolv/res_mkquery.c: Likewise.
13300 * resolv/tst-aton.c: Likewise.
13301 * stdlib/cxa_atexit.c: Likewise.
13302 * stdlib/cxa_finalize.c: Likewise.
13303 * stdlib/gen-fpioconst.c: Likewise.
13304 * stdlib/strtol_l.c: Likewise.
13305 * string/tst-endian.c: Likewise.
13306 * sunrpc/auth_des.c: Likewise.
13307 * sunrpc/clnt_udp.c: Likewise.
13308 * sunrpc/rtime.c: Likewise.
13309 * sunrpc/svcauth_des.c: Likewise.
13310 * sunrpc/xdr.c: Likewise.
13311 * sunrpc/xdr_intXX_t.c: Likewise.
13312 * sunrpc/xdr_rec.c: Likewise.
13313 * sysdeps/generic/ldconfig.h: Likewise.
13314 * sysdeps/generic/ldsodefs.h: Likewise.
13315 * sysdeps/generic/memusage.h: Likewise.
13316 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13319 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13326 * sysdeps/posix/getaddrinfo.c: Likewise.
13327 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13328 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13329 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13330 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13331 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13332 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13333 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13334 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13335 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13336 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13337 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13338 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13339 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13340 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13341 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13342 * sysdeps/x86_64/dl-tls.h: Likewise.
13343 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13344 * time/alt_digit.c: Likewise.
13345 * time/era.c: Likewise.
13346 * wcsmbs/tst-c16c32-1.c: Likewise.
13347
8c75f674
JM
133482013-05-16 Joseph Myers <joseph@codesourcery.com>
13349
13350 * math/libm-test.inc (struct test_sincos_data): New type.
13351 (RUN_TEST_LOOP_sincos): New macro.
13352 (sincos_test_data): New variable.
13353 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13354
e6e49e59
RH
133552013-05-16 Richard Henderson <rth@redhat.com>
13356
13357 * math/atest-exp2.c (LIMB64): New macro.
13358 (CONSTSZ): New macro.
13359 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13360 (hexdig): Move ...
13361 (print_mpn_fp): ... to function scope.
13362 (read_mpn_hex): Remove.
13363 (get_log2): Remove.
13364 (exp2_mpn): Use mp_log2.
13365 (main): Use mp_exp1.
13366
15c7c18d
JM
133672013-05-16 Joseph Myers <joseph@codesourcery.com>
13368
105a07df
JM
13369 * math/libm-test.inc: Remove comment about not testing "inexact"
13370 exceptions.
13371 (INEXACT_EXCEPTION): New macro.
13372 (NO_INEXACT_EXCEPTION): Likewise.
13373 (INVALID_EXCEPTION_OK): Update value.
13374 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13375 (OVERFLOW_EXCEPTION_OK): Likewise.
13376 (UNDERFLOW_EXCEPTION_OK): Likewise.
13377 (IGNORE_ZERO_INF_SIGN): Likewise.
13378 (ERRNO_UNCHANGED): Likewise.
13379 (ERRNO_EDOM): Likewise.
13380 (ERRNO_ERANGE): Likewise.
13381 (test_exceptions): Handle testing "inexact" exceptions.
13382 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13383 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13384 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13385 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13386 INEXACT_EXCEPTION.
13387 (rint_towardzero_test_data): Likewise.
13388 (rint_downward_test_data): Likewise.
13389 (rint_upward_test_data): Likewise.
13390
e9eee333
JM
13391 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13392 with OVERFLOW_EXCEPTION.
13393 (exp10_test_data): Likewise.
13394 (exp2_test_data): Likewise.
13395 (expm1_test_data): Likewise.
13396 (lgamma_test_data): Likewise.
13397 (pow_test_data): Likewise.
13398 (tgamma_test_data): Likewise.
13399 (yn_test_data): Remove duplicate test of overflow.
13400
1c38ff73
JM
13401 * math/libm-test.inc (struct test_cc_c_data): New type.
13402 (RUN_TEST_LOOP_cc_c): New macro.
13403 (cpow_test_data): New variable.
13404 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13405
15c7c18d
JM
13406 * math/libm-test.inc (struct test_f_L_data): New type.
13407 (RUN_TEST_LOOP_f_L): New macro.
13408 (llrint_test_data): New variable.
13409 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13410 (llrint_tonearest_test_data): New variable.
13411 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13412 (llrint_towardzero_test_data): New variable.
13413 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13414 (llrint_downward_test_data): New variable.
13415 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13416 (llrint_upward_test_data): New variable.
13417 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13418 (llround_test_data): New variable.
13419 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13420
f137ff13
PC
134212013-05-13 Peter Collingbourne <pcc@google.com>
13422
13423 * math/atest-exp2.c (get_log2): Remove const attribute.
13424
3608cb24
JM
134252013-05-15 Joseph Myers <joseph@codesourcery.com>
13426
13427 * math/libm-test.inc (struct test_f_l_data): New type.
13428 (RUN_TEST_LOOP_f_l): New macro.
13429 (lrint_test_data): New variable.
13430 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13431 (lrint_tonearest_test_data): New variable.
13432 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13433 (lrint_towardzero_test_data): New variable.
13434 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13435 (lrint_downward_test_data): New variable.
13436 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13437 (lrint_upward_test_data): New variable.
13438 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13439 (lround_test_data): New variable.
13440 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13441
39b1f617
PC
134422013-05-15 Peter Collingbourne <pcc@google.com>
13443
1deff3dc
PC
13444 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13445 (EXTRACT_WORDS64) Use where appropriate.
13446 (INSERT_WORDS64) Likewise.
13447
791f3ba0
PC
13448 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13449 constraints with x constraints.
13450 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13451
39b1f617
PC
13452 * malloc/obstack.c (_obstack_compat): Add initializer.
13453
12fba011
EM
134542013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13455
13456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13457 si_trapno and add si_addr_lsb to _sifields.sigfault.
13458 (si_trapno): Remove macro.
13459 (si_addr_lsb): Define new macro.
13460 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13461
d369f531
JM
134622013-05-15 Joseph Myers <joseph@codesourcery.com>
13463
b861c6c4
JM
13464 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13465 instead of TEST_f_l.
13466 (llrint_test_tonearest): Likewise.
13467 (llrint_test_towardzero): Likewise.
13468 (llrint_test_downward): Likewise.
13469 (llrint_test_upward): Likewise.
13470 (llround_test): Likewise.
13471
7abeee12
JM
13472 * math/libm-test.inc (struct test_f_i_data): Add comment.
13473 (RUN_TEST_LOOP_f_b): New macro.
13474 (RUN_TEST_LOOP_f_b_tg): Likewise.
13475 (finite_test_data): New variable.
13476 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13477 (isfinite_test_data): New variable.
13478 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13479 (isinf_test_data): New variable.
13480 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13481 (isnan_test_data): New variable.
13482 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13483 (isnormal_test_data): New variable.
13484 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13485 (issignaling_test_data): New variable.
13486 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13487 (signbit_test_data): New variable.
13488 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13489
cbe8c4d3
JM
13490 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13491 with INVALID_EXCEPTION.
13492 (acosh_test_data): Likewise.
13493 (asin_test_data): Likewise.
13494 (atanh_test_data): Likewise.
13495 (fmod_test_data): Likewise.
13496 (log_test_data): Likewise.
13497 (log10_test_data): Likewise.
13498 (log2_test_data): Likewise.
13499 (pow_test_data): Likewise.
13500 (sqrt_test_data): Likewise.
13501 (y0_test_data): Likewise.
13502 (y1_test_data): Likewise.
13503 (yn_test_data): Likewise.
13504
5575c0e5
JM
13505 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13506 function contents.
13507
d369f531
JM
13508 * math/libm-test.inc (struct test_ff_i_data): New type.
13509 (RUN_TEST_LOOP_ff_i_tg): New macro.
13510 (isgreater_test_data): New variable.
13511 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13512 (isgreaterequal_test_data): New variable.
13513 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13514 (isless_test_data): New variable.
13515 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13516 (islessequal_test_data): New variable.
13517 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13518 (islessgreater_test_data): New variable.
13519 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13520 (isunordered_test_data): New variable.
13521 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13522
781fd748
DM
135232013-05-14 David S. Miller <davem@davemloft.net>
13524
13525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13526
87aa21df
JM
135272013-05-14 Joseph Myers <joseph@codesourcery.com>
13528
5e908270
JM
13529 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13530
f71172e5
JM
13531 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13532 extra_test to int.
13533 (struct test_f_i_data): Change type of max_ulp to int.
13534
8cfa635a
JM
13535 * math/libm-test.inc (test_ffI_f1_data): New type.
13536 (RUN_TEST_LOOP_ffI_f1): New macro.
13537 (remquo_test_data): New variable.
13538 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13539
2bcb36b2
JM
13540 * setjmp/tst-setjmp-fp.c: New file.
13541 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13542 (link-libm): New variable.
13543 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13544
acbd839a
JM
13545 * math/libm-test.inc (struct test_f_i_data): New type.
13546 (RUN_TEST_LOOP_f_i): New macro.
13547 (RUN_TEST_LOOP_f_i_tg): Likewise.
13548 (fpclassify_test_data): New variable.
13549 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13550 (ilogb_test_data): New variable.
13551 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13552
e414d745
JM
13553 * math/libm-test.inc (scalbln_test): Correct function name in END
13554 call.
13555
d9c2a0fd
JM
13556 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13557 (RUN_TEST_LOOP_fI_f1): New macro.
13558 (frexp_test_data): New variable.
13559 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13560
9dc9095d
JM
13561 * math/libm-test.inc (struct test_fF_f1_data): New type.
13562 (RUN_TEST_LOOP_fF_f1): New macro.
13563 (modf_test_data): New variable.
13564 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13565
87aa21df
JM
13566 * math/libm-test.inc (struct test_f_f1_data): New type.
13567 (RUN_TEST_LOOP_f_f1): New macro.
13568 (gamma_test_data): New variable.
13569 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13570 (lgamma_test_data): New variable.
13571 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13572
141af660
CD
135732013-05-13 Carlos O'Donell <carlos@redhat.com>
13574
13575 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13576 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13577 (main): Comment "tls" pseudo-hwcap.
13578
6d33265c
JM
135792013-05-13 Joseph Myers <joseph@codesourcery.com>
13580
68fc074c
JM
13581 * math/libm-test.inc (struct test_fl_f_data): New type.
13582 (RUN_TEST_LOOP_fl_f): New variable.
13583 (scalbln_test_data): New variable.
13584 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13585
243216e1
JM
13586 * math/libm-test.inc (struct test_fi_f_data): New type.
13587 (RUN_TEST_LOOP_fi_f): New macro.
13588 (ldexp_test_data): New variable.
13589 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13590 (scalbn_test_data): New variable.
13591 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13592
6a1992e2
JM
13593 * math/libm-test.inc (struct test_c_f_data): New type.
13594 (RUN_TEST_LOOP_c_f): New macro.
13595 (cabs_test_data): New variable.
13596 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13597 (carg_test_data): New variable.
13598 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13599 (cimag_test_data): New variable.
13600 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13601 (creal_test_data): New variable.
13602 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13603
0e400df5
JM
13604 * math/libm-test.inc (struct test_if_f_data): New type.
13605 (RUN_TEST_LOOP_if_f): New macro.
13606 (jn_test_data): New variable.
13607 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13608 (yn_test_data): New variable.
13609 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13610
6d33265c
JM
13611 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13612
f98ece5f
AZ
136132013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13614
13615 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13616 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13617
0f7d347b
SP
136182013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13619
43fe811b
SP
13620 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13621 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13622 (bench-deps): Add bench-timing.h.
13623 * benchtests-bench-skeleton.c: Include bench-timing.h.
13624 (main): Use TIMING_* macros instead of clock_gettime.
13625 * benchtests/bench-timing.h: New file.
13626
0f7d347b
SP
13627 [BZ #14582]
13628 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13629 Renamed from _LIB_VERSION.
13630 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13631
601a3a5f
JM
136322013-05-12 Joseph Myers <joseph@codesourcery.com>
13633
4f184d30
JM
13634 * math/libm-test.inc (struct test_fff_f_data): New type.
13635 (RUN_TEST_LOOP_fff_f): New macro.
13636 (fma_test_data): New variable.
13637 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13638 (fma_towardzero_test_data): New variable.
13639 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13640 (fma_downward_test_data): New variable.
13641 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13642 (fma_upward_test_data): New variable.
13643 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13644
08198877
JM
13645 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13646 (struct test_c_c_data): New type.
13647 (RUN_TEST_LOOP_c_c): New macro.
13648 (cacos_test_data): New variable.
13649 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13650 (cacosh_test_data): New variable.
13651 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13652 (casin_test_data): New variable.
13653 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13654 (casinh_test_data): New variable.
13655 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13656 (catan_test_data): New variable.
13657 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13658 (catanh_test_data): New variable.
13659 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13660 (ccos_test_data): New variable.
13661 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13662 (ccosh_test_data): New variable.
13663 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13664 (cexp_test_data): New variable.
13665 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13666 (clog_test_data): New variable.
13667 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13668 (clog10_test_data): New variable.
13669 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13670 (conj_test_data): New variable.
13671 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13672 (cproj_test_data): New variable.
13673 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13674 (csin_test_data): New variable.
13675 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13676 (csinh_test_data): New variable.
13677 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13678 (csqrt_test_data): New variable.
13679 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13680 (ctan_test_data): New variable.
13681 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13682 (ctan_tonearest_test_data): New variable.
13683 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13684 (ctan_towardzero_test_data): New variable.
13685 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13686 (ctan_downward_test_data): New variable.
13687 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13688 (ctan_upward_test_data): New variable.
13689 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13690 (ctanh_test_data): New variable.
13691 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13692 (ctanh_tonearest_test_data): New variable.
13693 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13694 (ctanh_towardzero_test_data): New variable.
13695 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13696 (ctanh_downward_test_data): New variable.
13697 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13698 (ctanh_upward_test_data): New variable.
13699 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13700 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13701 of BUILD_COMPLEX.
13702
601a3a5f
JM
13703 * math/libm-test.inc (struct test_ff_f_data): New type.
13704 (struct test_ff_f_data_nexttoward): Likewise.
13705 (RUN_TEST_LOOP_2_f): New macro.
13706 (RUN_TEST_LOOP_ff_f): Likewise.
13707 (atan2_test_data): New variable.
13708 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13709 (copysign_test_data): New variable.
13710 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13711 (fdim_test_data): New variable.
13712 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13713 (fmax_test_data): New variable.
13714 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13715 (fmin_test_data): New variable.
13716 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13717 (fmod_test_data): New variable.
13718 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13719 (hypot_test_data): New variable.
13720 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13721 (nextafter_test_data): New variable.
13722 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13723 (nexttoward_test_data): New variable.
13724 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13725 (pow_test_data): New variable.
13726 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13727 (pow_tonearest_test_data): New variable.
13728 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13729 (pow_towardzero_test_data): New variable.
13730 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13731 (pow_downward_test_data): New variable.
13732 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13733 (pow_upward_test_data): New variable.
13734 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13735 (remainder_test_data): New variable.
13736 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13737 (scalb_test_data): New variable.
13738 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13739 * sysdeps/i386/fpu/libm-test-ulps: Update.
13740
74c57478
JM
137412013-05-11 Joseph Myers <joseph@codesourcery.com>
13742
8329e4da
JM
13743 * math/libm-test.inc (fma_test): Use max_value instead of local
13744 variable fltmax.
13745 (nextafter_test): Likewise.
13746
74c57478
JM
13747 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13748 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13749 (acos_downward_test_data): New variable.
13750 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13751 (acos_upward_test_data): New variable.
13752 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13753 (acosh_test_data): New variable.
13754 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13755 (asin_test_data): New variable.
13756 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13757 (asin_tonearest_test_data): New variable.
13758 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13759 (asin_towardzero_test_data): New variable.
13760 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13761 (asin_downward_test_data): New variable.
13762 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13763 (asin_upward_test_data): New variable.
13764 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13765 (asinh_test_data): New variable.
13766 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13767 (atan_test_data): New variable.
13768 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13769 (atanh_test_data): New variable.
13770 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13771 (cbrt_test_data): New variable.
13772 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13773 (ceil_test_data): New variable.
13774 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13775 (cos_test_data): New variable.
13776 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13777 (cos_tonearest_test_data): New variable.
13778 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13779 (cos_towardzero_test_data): New variable.
13780 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13781 (cos_downward_test_data): New variable.
13782 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13783 (cos_upward_test_data): New variable.
13784 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13785 (cosh_test_data): New variable.
13786 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13787 (cosh_tonearest_test_data): New variable.
13788 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13789 (cosh_towardzero_test_data): New variable.
13790 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13791 (cosh_downward_test_data): New variable.
13792 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13793 (cosh_upward_test_data): New variable.
13794 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13795 (erf_test_data): New variable.
13796 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13797 (erfc_test_data): New variable.
13798 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13799 (exp_test_data): New variable.
13800 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13801 (exp_tonearest_test_data): New variable.
13802 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13803 (exp_towardzero_test_data): New variable.
13804 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13805 (exp_downward_test_data): New variable.
13806 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13807 (exp_upward_test_data): New variable.
13808 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13809 (exp10_test_data): New variable.
13810 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13811 (exp2_test_data): New variable.
13812 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13813 (expm1_test_data): New variable.
13814 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13815 (fabs_test_data): New variable.
13816 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13817 (floor_test_data): New variable.
13818 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13819 (j0_test_data): New variable.
13820 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13821 (j1_test_data): New variable.
13822 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13823 (log_test_data): New variable.
13824 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13825 (log10_test_data): New variable.
13826 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13827 (log1p_test_data): New variable.
13828 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13829 (log2_test_data): New variable.
13830 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13831 (logb_test_data): New variable.
13832 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13833 (logb_downward_test_data): New variable.
13834 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13835 (nearbyint_test_data): New variable.
13836 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13837 (rint_test_data): New variable.
13838 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13839 (rint_tonearest_test_data): New variable.
13840 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13841 (rint_towardzero_test_data): New variable.
13842 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13843 (rint_downward_test_data): New variable.
13844 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13845 (rint_upward_test_data): New variable.
13846 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13847 (round_test_data): New variable.
13848 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13849 (sin_test_data): New variable.
13850 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13851 (sin_tonearest_test_data): New variable.
13852 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13853 (sin_towardzero_test_data): New variable.
13854 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13855 (sin_downward_test_data): New variable.
13856 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13857 (sin_upward_test_data): New variable.
13858 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13859 (sinh_test_data): New variable.
13860 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13861 (sinh_tonearest_test_data): New variable.
13862 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13863 (sinh_towardzero_test_data): New variable.
13864 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13865 (sinh_downward_test_data): New variable.
13866 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13867 (sinh_upward_test_data): New variable.
13868 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13869 (sqrt_test_data): New variable.
13870 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13871 (tan_test_data): New variable.
13872 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13873 (tan_tonearest_test_data): New variable.
13874 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13875 (tan_towardzero_test_data): New variable.
13876 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13877 (tan_downward_test_data): New variable.
13878 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13879 (tan_upward_test_data): New variable.
13880 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13881 (tanh_test_data): New variable.
13882 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13883 (tgamma_test_data): New variable.
13884 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13885 (trunc_test_data): New variable.
13886 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13887 (y0_test_data): New variable.
13888 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13889 (y1_test_data): New variable.
13890 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13891 (significand_test_data): New variable.
13892 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13893
7187d844
CG
138942013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13895
13896 [BZ #12387]
13897 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13898
f63fae73
PT
138992013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13900
13901 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13902
8a67a4b3
AJ
139032013-05-10 Andreas Jaeger <aj@suse.de>
13904
13905 [BZ #15448]
13906 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13907 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13908
51df539d
JM
139092013-05-10 Joseph Myers <joseph@codesourcery.com>
13910
13911 * math/gen-libm-test.pl (adjust_arg): New function.
13912 (special_functions): Handle generating output in both functions
13913 and arrays.
13914 (parse_args): Likewise.
13915 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13916 $in_func argument to parse_args.
13917 * math/libm-test.inc (struct test_f_f_data): New type.
13918 (IF_ROUND_INIT_): New macro.
13919 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13920 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13921 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13922 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13923 (ROUND_RESTORE_): Likewise.
13924 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13925 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13926 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13927 (ROUND_RESTORE_FE_UPWARD): Likewise.
13928 (RUN_TEST_LOOP_f_f): New macro.
13929 (acos_test_data): New variable.
13930 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13931 (acos_tonearest_test_data): New variable.
13932 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13933
5c637fe5
SP
139342013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13935
13936 * benchtests/bench-skeleton.c (startup): Fix coding style.
13937
ab2b9461
JM
139382013-05-10 Joseph Myers <joseph@codesourcery.com>
13939
13940 [BZ #6809]
13941 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13942 negative infinity argument.
13943 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13944 negative infinity argument.
13945 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13946 negative infinity argument.
13947 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13948 domain errors.
13949
4c0fe6fe
FW
139502013-05-10 Florian Weimer <fweimer@redhat.com>
13951
13952 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13953 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13954 * iconv/iconv_prog.c (main): Likewise.
13955 * locale/programs/charmap-dir.c (charmap_readdir)
13956 (fopen_uncompressed): Likewise.
13957 * locale/programs/locfile.c (siblings_uncached)
13958 (write_locale_data): Use lstat64 instead of lstat.
13959 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13960 stat.
13961
a3375d29
AJ
139622013-05-10 Andreas Jaeger <aj@suse.de>
13963
13964 [BZ #15395]
13965 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13966 localization.
13967 Include <locale.h>.
13968
36129722
CD
139692013-05-09 Carlos O'Donell <carlos@redhat.com>
13970
13971 * elf/dl-close.c (_dl_close_worker): Add comments.
13972
faa7f811
JM
139732013-05-09 Joseph Myers <joseph@codesourcery.com>
13974
ed41ffef
JM
13975 [BZ #15359]
13976 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13977 high part of pi/2.
13978 (__ieee754_rem_pio2l): Update comments.
13979
d0213cd0
JM
13980 [BZ #15429]
13981 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13982 high part of pi/2.
13983 (__ieee754_rem_pio2l): Update comments.
13984
0d3e777a
JM
13985 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13986 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13987
24f56066
JM
13988 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13989 M_PI_4l.
13990
faa7f811
JM
13991 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13992 (M_PI_34_LOG10El): Likewise.
13993 (M_PI2_LOG10El): Likewise.
13994 (M_PI4_LOG10El): Likewise.
13995 (M_PI_LOG10El): Likewise.
13996
e9a5e0fd
AZ
139972013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13998
13999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14000
d8cd06db
JM
140012013-05-08 Joseph Myers <joseph@codesourcery.com>
14002
a0d9f9d7
JM
14003 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14004 (MINUS_ZERO_INIT): Likewise.
14005 (PLUS_INFTY_INIT): Likewise.
14006 (MINUS_INFTY_INIT): Likewise.
14007 (QNAN_VALUE_INIT): Likewise.
14008 (MAX_VALUE_INIT): Likewise.
14009 (MIN_VALUE_INIT): Likewise.
14010 (MIN_SUBNORM_VALUE_INIT): Likewise.
14011 (plus_zero): Initialize with PLUS_ZERO_INIT.
14012 (minus_zero): Initialize with MINUS_ZERO_INIT.
14013 (plus_infty): Initialize with PLUS_INFTY_INIT.
14014 (minus_infty): Initialize with MINUS_INFTY_INIT.
14015 (qnan_value): Initialize with QNAN_VALUE_INIT.
14016 (max_value): Initialize with MAX_VALUE_INIT.
14017 (min_value): Initialize with MIN_VALUE_INIT.
14018 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14019
ae08db3b
JM
14020 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14021 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14022 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14023 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14024
f44bf14a
JM
14025 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14026 (RUN_TEST_2_f): Likewise.
14027 (RUN_TEST_ff_f): Likewise.
14028 (RUN_TEST_fi_f): Likewise.
14029 (RUN_TEST_fl_f): Likewise.
14030 (RUN_TEST_fff_f): Likewise.
14031 (RUN_TEST_c_f): Likewise.
14032 (RUN_TEST_f_f1): Likewise.
14033 (RUN_TEST_fF_f1): Likewise.
14034 (RUN_TEST_fI_f1): Likewise.
14035 (RUN_TEST_ffI_f1): Likewise.
14036 (RUN_TEST_c_c): Likewise.
14037 (RUN_TEST_cc_c): Likewise.
14038 (RUN_TEST_f_i): Likewise.
14039 (RUN_TEST_f_i_tg): Likewise.
14040 (RUN_TEST_ff_i_tg): Likewise.
14041 (RUN_TEST_f_b): Likewise.
14042 (RUN_TEST_f_b_tg): Likewise.
14043 (RUN_TEST_f_l): Likewise.
14044 (RUN_TEST_f_L): Likewise.
14045 (RUN_TEST_sincos): Likewise.
14046 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14047 whether to show exceptions. Do not include ");\n" in return
14048 value.
14049 (special_functions): Output call to RUN_TEST_sincos instead of
14050 check_float calls. Update calls to new_test.
14051 (parse_args): Output call to single RUN_TEST_* macro instead of
14052 check_* calls and other assignments. Update calls to new_test.
14053
d8cd06db
JM
14054 [BZ #2546]
14055 [BZ #2560]
14056 [BZ #5159]
14057 [BZ #15426]
14058 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14059 input to result for tgamma overflow.
14060 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14061 (gamma_coeff): New variable.
14062 (NCOEFF): New macro.
14063 (gamma_positive): New function.
14064 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14065 underflow here. Use gamma_positive instead of exp (lgamma) for
14066 other arguments.
14067 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14068 (gamma_coeff): New variable.
14069 (NCOEFF): New macro.
14070 (gammaf_positive): New function.
14071 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14072 underflow here. Use gamma_positive instead of exp (lgamma) for
14073 other arguments.
14074 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14075 (gamma_coeff): New variable.
14076 (NCOEFF): New macro.
14077 (gammal_positive): New function.
14078 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14079 underflow here. Use gamma_positive instead of exp (lgamma) for
14080 other arguments.
14081 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14082 (gamma_coeff): New variable.
14083 (NCOEFF): New macro.
14084 (gammal_positive): New function.
14085 (__ieee754_gammal_r): Handle positive infinity, overflow and
14086 underflow here. Handle NaN the same as positive infinity. Remove
14087 check x < 0xffffffff for negative integers. Use gamma_positive
14088 instead of exp (lgamma) for other arguments.
14089 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14090 (gamma_coeff): New variable.
14091 (NCOEFF): New macro.
14092 (gammal_positive): New function.
14093 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14094 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14097 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14098 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14099 * sysdeps/generic/math_private.h (__gamma_productf): New
14100 prototype.
14101 (__gamma_product): Likewise.
14102 (__gamma_productl): Likewise.
14103 * math/Makefile (libm-calls): Add gamma_product.
14104 * math/libm-test.inc (tgamma_test): Add more tests.
14105 * sysdeps/i386/fpu/libm-test-ulps: Update.
14106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14107
bb7cf681
OB
141082013-05-08 Ondřej Bílka <neleai@seznam.cz>
14109
14110 * benchtests/bench-skeleton.c (main): Preheat CPU.
14111
ba853947
AJ
141122013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14113
14114 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14115
8347c74c
RM
141162013-05-07 Roland McGrath <roland@hack.frob.com>
14117
14118 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14119 and _dl_skip_args_internal.
14120
e8dd4791
CD
141212013-05-07 Carlos O'Donell <carlos@redhat.com>
14122
14123 * manual/message.texi (Message Translation): Talk about users.
14124 Message to key mapping impacts design.
14125
c7405830
RM
141262013-05-06 Roland McGrath <roland@hack.frob.com>
14127
a9173057
RM
14128 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14129
976e2f03
RM
14130 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14131
9723ffc5
RM
14132 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14133 * sysdeps/wordsize-64/glob64.c: ... here.
14134
962e6658
RM
14135 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14136 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14137 New macros.
14138
ee586a6d
RM
14139 * debug/getlogin_r_chk.c: Moved to ...
14140 * login/getlogin_r_chk.c: ... here.
14141 * debug/Makefile (routines): Move getlogin_r_chk to ...
14142 * login/Makefile (routines): ... here.
14143 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14144 * login/Versions (libc: GLIBC_2.4): ... here.
14145
355f9165
RM
14146 * io/poll.c (__poll): Renamed from poll.
14147 Add libc_hidden_def.
14148 (poll): Define as weak alias.
14149
bd9ffde6
RM
14150 * debug/ptsname_r_chk.c: Moved to ...
14151 * login/ptsname_r_chk.c: ... here.
14152 * debug/Makefile (routines): Move ptsname_r_chk to ...
14153 * login/Makefile (routines): ... here.
14154 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14155 * login/Versions (libc: GLIBC_2.4): ... here.
14156
8fb16a04
RM
14157 * posix/getlogin.c: Moved to ...
14158 * login/getlogin.c: ... here.
14159 * posix/getlogin_r.c: Moved to ...
14160 * login/getlogin_r.c: ... here.
14161 * posix/getlogin_r.c: Moved to ...
14162 * login/getlogin_r.c: ... here.
14163 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14164 * login/Makefile (routines): ... here.
14165 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14166 * login/Versions (libc: GLIBC_2.0): ... here.
14167
b99b892f
RM
14168 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14169 (setrlimit): Define as weak alias.
14170
c7405830
RM
14171 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14172 Call __ names for open, ftruncate, and close.
14173 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14174 (truncate): Define as weak alias.
14175
5bf96de5
JM
141762013-05-06 Joseph Myers <joseph@codesourcery.com>
14177
9ea3513c
JM
14178 * math/gen-libm-test.pl (parse_args): Initialize x before each
14179 test of frexp, modf and remquo.
14180
5bf96de5
JM
14181 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14182 test signgam value.
14183
16e616a7
AZ
141842013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14185
14186 [BZ #15418]
14187 [BZ #15419]
14188 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14189 internal tests.
14190 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14191
d5e82754
RM
141922013-05-06 Roland McGrath <roland@hack.frob.com>
14193
14194 * elf/dl-writev.h: New file.
14195 * elf/dl-misc.c: Include it.
14196 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14197 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14198
a7548d41
JM
141992013-05-04 Joseph Myers <joseph@codesourcery.com>
14200
b7dab1e4
JM
14201 * math/libm-test.inc (noXFails): Remove variable.
14202 (noXPasses): Likewise.
14203 (BUILD_COMPLEX_INT): Remove macro.
14204 (print_screen): Remove xfail argument.
14205 (print_screen_max_error): Likewise.
14206 (update_stats): Likewise.
14207 (print_max_error): Likewise. Update calls to other affected
14208 functions.
14209 (print_complex_max_error): Likewise.
14210 (test_single_exception): Update calls to print_screen.
14211 (test_single_errno): Likewise.
14212 (check_float_internal): Remove xfail argument. Update calls to
14213 other affected functions.
14214 (check_float): Likewise.
14215 (check_complex): Likewise.
14216 (check_int): Likewise.
14217 (check_long): Likewise.
14218 (check_bool): Likewise.
14219 (check_longlong): Likewise.
14220 (main): Don't print noXFails and noXPasses.
14221 * math/gen-libm-test.pl (top level): Don't mention expected
14222 failure handling in comment.
14223 (new_test): Don't handle expected failures.
14224 (parse_args): Don't mention expected failure handling in comment.
14225 (generate_testfile): Don't handle expected failures.
14226 (parse_ulps): Likewise.
14227 (print_ulps_file): Likewise.
14228 (get_failure): Remove function.
14229 (output_test): Don't handle expected failures.
14230 * make/README.libm-test: Don't mention expected failure handling.
14231
a7548d41
JM
14232 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14233 (minus_zero): Likewise.
14234 (plus_infty): Likewise.
14235 (minus_infty): Likewise.
14236 (qnan_value): Likewise.
14237 (max_value): Likewise.
14238 (min_value): Likewise.
14239 (min_subnorm_value): Likewise.
14240 (initialize): Do not initialize those variables dynamically.
14241
60bfd54c
RM
142422013-05-03 Roland McGrath <roland@hack.frob.com>
14243
cc0e6ed8
RM
14244 * io/open.c (__open_2): Moved to ...
14245 * io/open_2.c: ... this new file.
14246 * io/open64.c (__open64_2): Moved to ...
14247 * io/open64_2.c: ... this new file.
14248 * io/openat.c (__openat_2): Moved to ...
14249 * io/openat_2.c: ... this new file.
14250 * io/openat64.c (__openat64_2): Moved to ...
14251 * io/openat64_2.c: ... this new file.
14252 * io/Makefile (routines): Add them.
14253 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14254 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14255 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14256 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14257 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14258 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14259 (__openat64): Add hidden_ver.
14260 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14261 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14262
60bfd54c
RM
14263 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14264 Separately conditionalize setting of GLRO(dl_sysinfo) so
14265 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14266 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14267
83e7640f
AZ
142682013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14269
14270 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14271 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14272 definition.
14273 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14274 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14275 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14276 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14277 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14278
d5dc2af3
JM
142792013-05-03 Joseph Myers <joseph@codesourcery.com>
14280
c31a5b1e
JM
14281 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14282 test signgam value.
14283
d5dc2af3
JM
14284 * math/libm-test.inc (hypot_test): Do not use
14285 IGNORE_ZERO_INF_SIGN.
14286
164fd39d
AJ
142872013-05-03 Andreas Jaeger <aj@suse.de>
14288
14289 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14290 Linux 3.9.
14291 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14292 (PF_MAX): Adjust for VSOCK change.
14293
8237f48c
AZ
142942013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14295
14296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14297
9df02941
CD
142982013-05-02 Carlos O'Donell <carlos@redhat.com>
14299
14300 [BZ #15264]
14301 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14302 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14303 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14304
d422395e
DM
143052013-05-02 David S. Miller <davem@davemloft.net>
14306
14307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14308
a07c5731
OB
143092013-05-01 Ondřej Bílka <neleai@seznam.cz>
14310
14311 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14312
1324e37f
RM
143132013-05-01 Roland McGrath <roland@hack.frob.com>
14314
14315 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14316
0695940b
RS
143172013-05-01 Richard Smith <richard@metafoo.co.uk>
14318
bb5f27ad 14319 [BZ #14952]
0695940b
RS
14320 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14321 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14322 Use __attribute__ ((__gnu_inline__)).
14323 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14324 Don't use __attribute__ ((__gnu_inline__)).
14325
10de07f5
JM
143262013-05-01 Joseph Myers <joseph@codesourcery.com>
14327
14328 [BZ #15423]
14329 * math/s_catan.c (__catan): Handle small real or imaginary part of
14330 input specially to avoid spurious underflow.
14331 * math/s_catanf.c (__catanf): Likewise.
14332 * math/s_catanh.c (__catanh): Likewise.
14333 * math/s_catanhf.c (__catanhf): Likewise.
14334 * math/s_catanhl.c (__catanhl): Likewise.
14335 * math/s_catanl.c (__catanl): Likewise.
14336 * math/libm-test.inc (catan_test): Add more tests.
14337 (catanh_test): Likewise.
14338 * sysdeps/i386/fpu/libm-test-ulps: Update.
14339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14340
cb4d5414
AZ
143412013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14342
14343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14344
caf84319
JM
143452013-04-30 Joseph Myers <joseph@codesourcery.com>
14346
14347 [BZ #15416]
14348 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14349 accurately for denominator in atan2.
14350 * math/s_catanf.c (__catanf): Likewise.
14351 * math/s_catanh.c (__catanh): Likewise.
14352 * math/s_catanhf.c (__catanhf): Likewise.
14353 * math/s_catanhl.c (__catanhl): Likewise.
14354 * math/s_catanl.c (__catanl): Likewise.
14355 * math/libm-test.inc (catan_test): Add more tests.
14356 (catanh_test): Likewise.
14357 * sysdeps/i386/fpu/libm-test-ulps: Update.
14358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14359
d569c6ee
SP
143602013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14361
6dbe713d
SP
14362 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14363
f0ee064b
SP
14364 * benchtests/Makefile (bench): Remove slow benchmarks.
14365 * benchtests/atan-inputs: Add slow benchmark inputs.
14366 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14367 (BENCH_FUNC): Accept variant offset.
14368 (VARIANT): Define.
14369 * benchtests/bench-skeleton.c (main): Run benchmark for each
14370 variant.
14371 * benchtests/cos-inputs: Add slow benchmark inputs.
14372 * benchtests/exp-inputs: Likewise.
14373 * benchtests/pow-inputs: Likewise.
14374 * benchtests/sin-inputs: Likewise.
14375 * benchtests/slowatan-inputs: Remove.
14376 * benchtests/slowatan.c: Remove.
14377 * benchtests/slowcos-inputs: Remove.
14378 * benchtests/slowcos.c: Remove.
14379 * benchtests/slowexp-inputs: Remove.
14380 * benchtests/slowexp.c: Remove.
14381 * benchtests/slowpow-inputs: Remove.
14382 * benchtests/slowpow.c: Remove.
14383 * benchtests/slowsin-inputs: Remove.
14384 * benchtests/slowsin.c: Remove.
14385 * benchtests/slowtan-inputs: Remove.
14386 * benchtests/slowtan.c: Remove.
14387 * benchtests/tan-inputs: Add slow benchmark inputs.
14388 * scripts/bench.pl: Parse comments and directives.
14389
d569c6ee
SP
14390 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14391 in CPPFLAGS.
14392 ($(objpfx)bench-%.c): Remove *-ITER.
14393 * benchtests/bench-modf.c: Remove definition of ITER.
14394 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14395 (main): Loop for DURATION seconds instead of fixed number of
14396 iterations.
14397 * scripts/bench.pl: Don't expect iterations in parameters.
14398
a6a242fe
RM
143992013-04-29 Roland McGrath <roland@hack.frob.com>
14400
14401 * io/fchdir.c (__fchdir): Renamed from fchdir.
14402 (fchdir): Define as weak alias.
14403
f2da7793
JM
144042013-04-29 Joseph Myers <joseph@codesourcery.com>
14405
14406 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14407 (ERRNO_EDOM): Likewise.
14408 (ERRNO_ERANGE): Likewise.
14409 (noErrnoTests): New variable.
14410 (init_max_error): Set errno to 0.
14411 (test_single_errno): New function.
14412 (test_errno): Likewise.
14413 (check_float_internal): Call test_errno. Set errno to 0.
14414 (check_complex): Refer to errno tests in comment.
14415 (check_int): Call test_errno. Set errno to 0.
14416 (check_long): Likewise.
14417 (check_bool): Likewise.
14418 (check_longlong): Likewise.
14419 (cos_test): Use ERRNO_* flags for errno tests instead of
14420 check_int.
14421 (expm1_test): Likewise.
14422 (fmod_test): Likewise.
14423 (ilogb_test): Likewise.
14424 (lgamma_test): Likewise.
14425 (pow_test): Likewise.
14426 (remainder_test): Likewise.
14427 (sin_test): Likewise.
14428 (tan_test): Likewise.
14429 (yn_test): Likewise.
14430 (initialize): Set errno to 0.
14431 (main): Print number of errno tests.
14432 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14433
b1a36ceb
AJ
144342013-04-29 Andreas Jaeger <aj@suse.de>
14435
c3ed8088
AJ
14436 [BZ #15084]
14437 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14438 and RES_USEVC.
14439
f1a24198
AJ
14440 [BZ #15085]
14441 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14442 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14443 unimplemented.
14444
9ce3b2cb
AJ
14445 [BZ #15380]
14446 * stdlib/random.c (__initstate): Return NULL if
14447 __initstate fails.
14448
f1a24198 14449 [BZ #15086]
b1a36ceb
AJ
14450 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14451 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14452 RES_SNGLKUPREOP.
14453
7e7b6f36
AZ
144542013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14455
14456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14457
4d14f449
JM
144582013-04-29 Joseph Myers <joseph@codesourcery.com>
14459
14460 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14461 of individual tests.
14462 (casin_test): Likewise.
14463 (casinh_test): Likewise.
14464
5b4217d7
JM
144652013-04-27 Joseph Myers <joseph@codesourcery.com>
14466
14467 [BZ #15409]
14468 * math/s_catan.c (__catan): Handle arguments with large real or
14469 imaginary part separately without squaring.
14470 * math/s_catanf.c (__catanf): Likewise.
14471 * math/s_catanh.c (__catanh): Likewise.
14472 * math/s_catanhf.c (__catanhf): Likewise.
14473 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14474 and redefine.
14475 (__catanhl): Handle arguments with large real or imaginary part
14476 separately without squaring.
14477 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14478 and redefine.
14479 (__catanl): Handle arguments with large real or imaginary part
14480 separately without squaring.
14481 * math/libm-test.inc (catan_test): Add more tests.
14482 (catanh_test): Likewise.
14483 * sysdeps/i386/fpu/libm-test-ulps: Update.
14484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14485
4220c3ef
AJ
144862013-04-27 Andreas Jaeger <aj@suse.de>
14487
14488 [BZ #15007]
14489 * stdlib/stdlib.h: Update guards for qecvt.
14490 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14491 <stdlib.h>.
14492
4721b2d1
AM
144932013-04-27 Allan McRae <allan@archlinux.org>
14494
14495 * sysdeps/i386/fpu/libm-test-ulps: Update.
14496
f0302940
JM
144972013-04-26 Joseph Myers <joseph@codesourcery.com>
14498
9457fd95
JM
14499 [BZ #15406]
14500 * math/s_catan.c: Include <float.h>.
14501 (__catan): Ensure underflow exception occurs for underflowed
14502 result.
14503 * math/s_catanf.c: Include <float.h>.
14504 (__catanf): Ensure underflow exception occurs for underflowed
14505 result.
14506 * math/s_catanh.c: Include <float.h>.
14507 (__catanh): Ensure underflow exception occurs for underflowed
14508 result.
14509 * math/s_catanhf.c: Include <float.h>.
14510 (__catanhf): Ensure underflow exception occurs for underflowed
14511 result.
14512 * math/s_catanhl.c: Include <float.h>.
14513 (__catanhl): Ensure underflow exception occurs for underflowed
14514 result.
14515 * math/s_catanl.c: Include <float.h>.
14516 (__catanl): Ensure underflow exception occurs for underflowed
14517 result.
14518 * math/libm-test.inc (catan_test): Add more tests.
14519 (catanh_test): Likewise.
14520
f0302940
JM
14521 [BZ #15405]
14522 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14523 underflowed result.
14524 * math/s_ccoshf.c (__ccoshf): Likewise.
14525 * math/s_ccoshl.c (__ccoshl): Likewise.
14526 * math/s_csin.c (__csin): Likewise.
14527 * math/s_csinf.c (__csinf): Likewise.
14528 * math/s_csinh.c (__csinh): Likewise.
14529 * math/s_csinhf.c (__csinhf): Likewise.
14530 * math/s_csinhl.c (__csinhl): Likewise.
14531 * math/s_csinl.c (__csinl): Likewise.
14532 * math/libm-test.inc (ccos_test): Add more tests.
14533 (ccosh_test): Likewise.
14534 (csin_test): Likewise.
14535 (csinh_test): Likewise.
14536
aa630f59
AZ
145372013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14538
14539 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14540 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14541 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14542 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14543 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14544 powerpc/power5+/fpu folders.
14545 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14546
14547
1b835983
MT
145482013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14549
14550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14551
73709b26
JM
145522013-04-25 Joseph Myers <joseph@codesourcery.com>
14553
14554 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14555 additions to variable.
14556 [$(config-machine) = x86_64] (modules-names): Likewise.
14557 ($(objpfx)tst-audit3): Remove dependency.
14558 ($(objpfx)tst-audit3.out): Likewise.
14559 ($(objpfx)tst-audit4): Likewise.
14560 ($(objpfx)tst-audit4.out): Likewise.
14561 ($(objpfx)tst-audit5): Likewise.
14562 ($(objpfx)tst-audit5.out): Likewise.
14563 ($(objpfx)tst-audit6): Likewise.
14564 ($(objpfx)tst-audit6.out): Likewise.
14565 ($(objpfx)tst-audit7): Likewise.
14566 ($(objpfx)tst-audit7.out): Likewise.
14567 (tst-audit3-ENV): Remove variable.
14568 (tst-audit4-ENV): Likewise.
14569 (tst-audit5-ENV): Likewise.
14570 (tst-audit6-ENV): Likewise.
14571 (tst-audit7-ENV): Likewise.
14572 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14573 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14574 addition to variable.
14575 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14576 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14577 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14578 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14579 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14580 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14581 tst-audit3, tst-audit4 and tst-audit5.
14582 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14583 tst-audit6 and tst-audit7.
14584 [$(subdir) = elf] (modules-names): Add audit modules for those
14585 tests.
14586 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14587 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14588 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14589 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14590 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14591 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14592 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14593 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14594 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14595 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14596 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14597 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14598 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14599 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14600 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14601 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14602 Likewise.
14603 [$(subdir) = elf && $(config-cflags-avx) = yes]
14604 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14605 [$(subdir) = elf && $(config-cflags-avx) = yes]
14606 (CFLAGS-tst-auditmod4a.c): Likewise.
14607 [$(subdir) = elf && $(config-cflags-avx) = yes]
14608 (CFLAGS-tst-auditmod4b.c): Likewise.
14609 [$(subdir) = elf && $(config-cflags-avx) = yes]
14610 (CFLAGS-tst-auditmod6b.c): Likewise.
14611 [$(subdir) = elf && $(config-cflags-avx) = yes]
14612 (CFLAGS-tst-auditmod6c.c): Likewise.
14613 [$(subdir) = elf && $(config-cflags-avx) = yes]
14614 (CFLAGS-tst-auditmod7b.c): Likewise.
14615 * elf/tst-audit3.c: Move to ...
14616 * sysdeps/x86_64/tst-audit3.c: ... here.
14617 * elf/tst-audit4.c: Move to ...
14618 * sysdeps/x86_64/tst-audit4.c: ... here.
14619 * elf/tst-audit5.c: Move to ...
14620 * sysdeps/x86_64/tst-audit5.c: ... here.
14621 * elf/tst-audit6.c: Move to ...
14622 * sysdeps/x86_64/tst-audit6.c: ... here.
14623 * elf/tst-audit7.c: Move to ...
14624 * sysdeps/x86_64/tst-audit7.c: ... here.
14625 * elf/tst-auditmod3a.c: Move to ...
14626 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14627 * elf/tst-auditmod3b.c: Move to ...
14628 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14629 * elf/tst-auditmod4a.c: Move to ...
14630 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14631 * elf/tst-auditmod4b.c: Move to ...
14632 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14633 * elf/tst-auditmod5a.c: Move to ...
14634 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14635 * elf/tst-auditmod5b.c: Move to ...
14636 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14637 * elf/tst-auditmod6a.c: Move to ...
14638 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14639 * elf/tst-auditmod6b.c: Move to ...
14640 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14641 * elf/tst-auditmod6c.c: Move to ...
14642 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14643 * elf/tst-auditmod7a.c: Move to ...
14644 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14645 * elf/tst-auditmod7b.c: Move to ...
14646 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14647
1ef74943
PP
146482013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14649
14650 [BZ #15366]
14651 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14652 define unconditionally.
14653 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14654 define unconditionally.
14655 (INT8_C, INT16_C, etc.): Likewise.
14656
93fd48c5
MR
146572013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14658
ae9552cf
MR
14659 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14660 __ehdr_start with hidden visibility.
14661
93fd48c5
MR
14662 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14663
418601aa
CD
146642013-04-24 Carlos O'Donell <carlos@redhat.com>
14665
14666 * math/libm-test.inc (cos_test): Use accurate hex constants.
14667 (sincost_test): Likewise.
14668
2f38fbfe
JM
146692013-04-24 Joseph Myers <joseph@codesourcery.com>
14670
5e221800
JM
14671 * math/libm-test.inc (catan_test): Add more tests.
14672 (catanh_test): Likewise.
14673
77f143fd
JM
14674 * math/s_catanf.c (__catanf): Use suffixed floating-point
14675 constants.
14676 * math/s_catanhf.c (__catanhf): Likewise.
14677 * math/s_catanhl.c (__catanhl): Likewise.
14678 * math/s_catanl.c (__catanl): Likewise.
14679
2f38fbfe
JM
14680 [BZ #15394]
14681 * math/s_catan.c (__catan): Calculate imaginary part of result
14682 with log1p not log unless computing log of number close to 0.
14683 * math/s_catanf.c (__catanf): Likewise.
14684 * math/s_catanl.c (__catanl): Likewise.
14685 * math/s_catanh.c (__catanh): Calculate real part of result with
14686 log1p not log unless computing log of number close to 0.
14687 * math/s_catanhf.c (__catanhf): Likewise.
14688 * math/s_catanhl.c (__catanhl): Likewise.
14689 * math/libm-test.inc (catan_test): Add more tests.
14690 (catanh_test): Likewise.
14691 * sysdeps/i386/fpu/libm-test-ulps: Update.
14692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14693
45d69176
SP
146942013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14695
14696 * benchtests/Makefile: Mention files in which fast and slow
14697 paths of math functions are implemented.
14698
87f51853
RM
146992013-04-23 Roland McGrath <roland@hack.frob.com>
14700
14701 * sysdeps/posix/timespec_get.c: New file.
14702
3c026539
AZ
147032013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14704
14705 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14706 POWER.
14707 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14708 for POWER.
14709 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14710 powerpc/power5/fpu folders.
14711 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14712 * benchtests/Makefile: Add modf testcase.
14713 * benchtests/bench-modf.c: New file: Benchmark test for mo
14714
ff491d14
SP
147152013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14716
14717 [BZ #14888]
14718 * time/Makefile (tests): Add tst-strptime-whitespace.
14719 * time/strptime_l.c (get_number): Use ISSPACE.
14720 (__strptime_internal): Likewise.
14721 * time/tst-strptime-whitespace.c: New test case.
14722
7ed3f4e8
AS
147232013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14724
14725 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14726 member.
14727 (_nss_files_init): Set it here.
14728
5c95f7b6
HC
147292013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14730
14731 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14732 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14733 unsigned.
14734
d34c9158
JBG
147352013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14736
14737 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14738
2169712d
SP
147392013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14740
14741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14742 size just once.
14743
29c5de99
DM
147442013-04-21 David S. Miller <davem@davemloft.net>
14745
14746 * po/ru.po: Update Russion translation from translation project.
14747
ccdad15d
AC
147482013-04-17 Adam Conrad <adconrad@0c3.net>
14749
14750 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14751 and setfsgid.
14752
0f122b8d
CD
147532013-04-17 Carlos O'Donell <carlos@redhat.com>
14754
5c5b07da 14755 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14756 * configure: Regenerate.
5c5b07da 14757 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14758 Add example to error message.
14759 * sysdeps/i386/configure: Regenerate.
14760
037714dd
SP
147612013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14762
14763 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14764 slowtan.
14765 * benchtests/cos-inputs: New file.
14766 * benchtests/slowcos-inputs: New file.
14767 * benchtests/slowcos.c: New file.
14768 * benchtests/slowtan-inputs: New file.
14769 * benchtests/slowtan.c: New file.
14770 * benchtests/tan-inputs: New file.
14771
e913141d
RM
147722013-04-16 Roland McGrath <roland@hack.frob.com>
14773
14774 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14775 considered kosher.
14776
a2964074
SP
147772013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14778
4856bcd2
SP
14779 * benchtests/Makefile: Include cppflags-iterator.mk to add
14780 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14781
a2964074
SP
14782 * Makefile.in (bench-clean): New target.
14783 * benchtests/Makefile (bench-clean): Likewise.
14784
9fbf9aca
DH
147852013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14786
14787 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14788
207d1e2a
TS
147892013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14790
14791 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14792
306dfba9
AS
147932013-04-15 Andreas Schwab <schwab@suse.de>
14794
14795 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14796 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14797 * nscd/pwdcache.c (cache_addpw): Likewise.
14798 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14799 more than recsize.
14800
206a6699
SP
148012013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14802
14803 * benchtests/Makefile (bench): Write all output to
14804 bench-out.tmp together.
14805
0582f6b3
AS
148062013-04-15 Andreas Schwab <schwab@suse.de>
14807
14808 * nscd/nscd.c (main): Don't fork again after closing files.
14809
acb4325f
SP
148102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14811
5cb26d0a
SP
14812 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14813
acb4325f
SP
14814 * benchtests/Rules (bench-deps): Collect dependencies into a
14815 single variable. Add Makefile to dependencies.
14816 ($(objpfx)bench-%.c): Depend on bench-deps.
14817
47792506
RM
148182013-04-12 Roland McGrath <roland@hack.frob.com>
14819 Xavier Roche <roche+kml2@exalead.com>
14820
14821 [BZ #15361]
14822 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14823 just that it's a file descriptor.
14824 * manual/llio.texi (Synchronizing AIO Operations): Update description
14825 for EBADF error from aio_fsync.
14826
8fc1bee5
SP
148272013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14828
14829 * Rules (bench): Move target definition...
14830 * benchtests/Makefile: ... here.
14831
aba5e333
CD
148322013-04-11 Carlos O'Donell <carlos@redhat.com>
14833
14834 * math/libm-test.inc (cos_test): Fix PI/2 test.
14835 (sincos_test): Likewise.
14836 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14837 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14838
273cdee8
AS
148392013-04-11 Andreas Schwab <schwab@suse.de>
14840
6ecec3b6
AS
14841 [BZ #13988]
14842 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14843 accept exponent character only when digits were seen.
14844 * stdio-common/Makefile (tests): Add bug26.
14845 * stdio-common/bug26.c: New file.
14846
273cdee8
AS
14847 [BZ #14293]
14848 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14849 non-freeable.
14850
8da491f5
SP
148512013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14852
01dc6df9
SP
14853 * Makeconfig (rtld-prefix): Define built linker prefix.
14854 * Rules (run-bench): Use it.
14855 * math/Makefile (run-regen-ulps): Likewise.
14856
8da491f5
SP
14857 * Rules (bench): Remove eval.
14858
abe7f530
SP
148592013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14860 Roland McGrath <roland@hack.frob.com>
14861 Ondrej Bilka <neleai@seznam.cz>
14862
14863 [BZ #15346]
14864 * time/getdate.c: Include ctype.h and alloca.h.
14865 (__getdate_r): Trim leading and trailing spaces of input.
14866 * time/tst-getdate.c (tests): Add tests with leading and
14867 trailing spaces.
14868
61c23e62
RM
148692013-04-08 Roland McGrath <roland@hack.frob.com>
14870
14871 [BZ #14280]
14872 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14873 when computing value.
14874
7208a313
CD
148752013-04-06 Carlos O'Donell <carlos@redhat.com>
14876
085b2d41
CD
14877 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14878 Use testrun.sh to run libm tests.
14879
7208a313
CD
14880 [BZ #15309]
14881 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14882
872c0acd
MM
148832013-04-06 Marko Myllynen <myllynen@redhat.com>
14884
14885 [BZ #15264]
14886 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14887
26510bdd
CD
148882013-04-06 Carlos O'Donell <carlos@redhat.com>
14889
14890 * Makefile.in (regen-ulps): New target.
14891 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14892 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14893 [ifneq (no,$(PERL)] (regen-ulps): New target.
14894 [ifeq (no,$(PERL)] (regen-ulps): New target.
14895 * math/libm-test.inc (ulps_file_name): Define.
14896 (output_dir): New variable.
14897 (options): Add "output-dir" option.
14898 (parse_opt): Handle 'o' case.
14899 (main): If output_dir is non-NULL use it as a prefix
14900 otherwise use "".
14901 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14902
a01f19c8
CD
149032013-04-06 Carlos O'Donell <carlos@redhat.com>
14904
14905 [BZ #10060, #10062]
14906 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14907 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14908 fail configure if __sync_val_compare_and_swap is not inlined.
14909 * sysdeps/i386/configure: Regenerate.
14910 * configure.in: Build for i686 when configured for i386.
14911 * configure: Regenerate.
14912 * README: Remove i386 reference.
14913
b7a329a5
CD
149142013-04-06 Carlos O'Donell <carlos@redhat.com>
14915
14916 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14917 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14918
bf0f50df
TS
149192013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14920
ee091edf
TS
14921 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14922 (lmsnanval): New variables.
14923 (F): Add conversion tests.
14924 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14925 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14926
a8b792d6
TS
14927 * stdio-common/tstdiomisc.c (F): Properly collect individual
14928 tests' results.
14929
a1cbf437
TS
14930 [BZ #14686, #15336]
14931 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14932 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14933 Instead, use input NaN values or generate a qNaN by arithmetic
14934 operation. Also fix bugs to comply with the standard.
14935 * math/libm-test.inc (remainder_test): Add more tests.
14936
8b43a0c9
TS
14937 [BZ #15335, #15342]
14938 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14940 input NaN values or generate a qNaN by arithmetic operation.
14941
d91da4ce
TS
14942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14943 unreachable code.
14944
bf0f50df
TS
14945 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14946 definitions.
14947
05e166c8
JM
149482013-04-03 Joseph Myers <joseph@codesourcery.com>
14949
14950 [BZ #14478]
14951 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14952 underflowed result.
14953 * math/s_cexpf.c (__cexpf): Likewise.
14954 * math/s_cexpl.c (__cexpl): Likewise.
14955 * math/libm-test.inc (cexp_test): Add more tests.
14956
1cef1b19
AS
149572013-04-03 Andreas Schwab <schwab@suse.de>
14958
14959 [BZ #15330]
14960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14961 order arrays from heap if bigger than alloca cutoff.
14962
74d87055
TS
149632013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14964
14965 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14966 (SNAN_TESTS_double): Refer to GCC PR56831.
14967 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14968 GCC PR56828.
14969
d755bba4
SP
149702013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14971
90d5d5bb
SP
14972 * Rules (bench): Move bench.out after the run is complete.
14973
73e0cd5d
SP
14974 * Rules (bench): Echo currently running benchmark.
14975
64aabd4b
SP
14976 * benchtests/Makefile (bench): Add atan and slowatan.
14977 * benchtests/atan-inputs: New file.
14978 * benchtests/slowatan-inputs: New file.
14979 * benchtests/slowatan.c: New file.
14980
c871eccd
SP
14981 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14982 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14983 its value.
14984
d755bba4
SP
14985 [BZ #15305]
14986 * sysdeps/unix/sysv/linux/kernel-features.h
14987 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14988 __ASSUME_XFS_RESTRICTED_CHOWN.
14989 * sysdeps/unix/sysv/linux/pathconf.c
14990 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14991 Save and restore errno.
14992
52ce4860
JM
149932013-04-02 Joseph Myers <joseph@codesourcery.com>
14994
14995 [BZ #15327]
14996 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14997 arguments using __kernel_casinh.
14998 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14999 arguments using __kernel_casinhf.
15000 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15001 arguments using __kernel_casinhl.
15002 * math/libm-test.inc (cacosh_test): Add more tests.
15003 * sysdeps/i386/fpu/libm-test-ulps: Update.
15004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15005
81f311c2
SP
150062013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15007
e7906a47
SP
15008 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15010
92e3664b
SP
15011 * bench/Makefile (bench): Add sin and slowsin.
15012 * benchtests/sin-inputs: New file.
15013 * benchtests/slowsin-inputs: New file.
15014 * benchtests/slowsin.c: New file.
15015
81f311c2
SP
15016 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15017 (bench): Add slowexp and slowpow.
15018 (exp-ITER): Increase iterations.
15019 (pow-ITER): Likewise.
15020 * benchtests/exp-inputs: Change input.
15021 * benchtests/pow-inputs: Likewise.
15022 * benchtests/slowexp-inputs: New file.
15023 * benchtests/slowexp.c: New file.
15024 * benchtests/slowpow-inputs: New file.
15025 * benchtests/slowpow.c: New file.
15026
ab0f1aa9
AZ
150272013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15028
15029 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15030 instructions.
15031 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15032 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15033 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15034 * benchtests/Makefile: Add rint benchtest.
15035 * benchtests/rint-inputs: Input for rint benchtest.
15036
57267616
TS
150372013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15038
15039 * Versions.def (libm): Add GLIBC_2.18.
15040 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15041 hidden libm prototypes.
15042 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15043 * math/Makefile (libm-calls): Add s_issignaling.
15044 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15045 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15046 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15047 declaration.
15048 * math/math.h [__USE_GNU] (issignaling): New macro.
15049 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15050 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15052 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15055 * manual/arith.texi (issignaling): New section.
15056 * manual/libm-err-tab.pl (@all_functions): Update comment.
15057 * math/gen-libm-test.pl (parse_args): Apply special handling for
15058 issignaling.
15059 * math/libm-test.inc (print_float, issignaling_test): New
15060 functions.
15061 (check_float_internal): Add issignaling checks.
15062 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15063 default definition.
15064 * sysdeps/powerpc/math-tests.h: New file.
15065 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15066 tests.
15067 * math/test-snan.c (TEST_FUNC): Likewise.
15068
6142896d
DM
150692013-03-30 David S. Miller <davem@davemloft.net>
15070
15071 * po/de.po: Update from translation team.
15072
ccc8cadf
JM
150732013-03-30 Joseph Myers <joseph@codesourcery.com>
15074
15075 [BZ #10357]
15076 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15077 imaginary part less than 1.0 and real part less than 0.5
15078 specially.
15079 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15080 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15081 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15082 (cacos_test): Add more tests.
15083 (casin_test): Likewise.
15084 (casinh_test): Likewise.
15085 * sysdeps/i386/fpu/libm-test-ulps: Update.
15086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15087
0f6a8d4b
SP
150882013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15089
0d1029de
SP
15090 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15091 ONE with its value.
15092
c2d94018
SP
15093 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15094 (__pow_mp): Replace ONE and MONE with their values.
15095 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15098 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15099 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15100 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15101
27ec37f1
SP
15102 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15103
a64d7e0e
SP
15104 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15105 (__pow_mp): Replace ZERO and MZERO with their values.
15106 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15107 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15108 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15110 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15111 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15112 (__sqr): Likewise.
15113
d26dd3eb
SP
15114 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15115
0f6a8d4b
SP
15116 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15117
e57b0c61
RM
151182013-03-28 Roland McGrath <roland@hack.frob.com>
15119
15120 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15121 Declare with __attribute__ ((weak)).
15122 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15123 Call __call_tls_dtors only if it's not NULL.
15124
356b3480
RM
151252013-03-28 Roland McGrath <roland@hack.frob.com>
15126
288f7d79
RM
15127 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15128 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15129 magic __ehdr_start linker symbol if it's defined.
15130 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15131 them up here if it was already done.
15132
dc0a0263
RM
15133 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15134 (_dl_aux_init): Use const in cast when setting it.
15135 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15136 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15137 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15138
3d3436ae
RM
15139 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15140 Declare them here.
15141 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15142 * csu/libc-tls.c: Nor here.
15143 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15144
356b3480
RM
15145 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15146 (__libc_message): Never call vsyslog.
15147
b0f1246a
AM
151482013-03-28 Alan Modra <amodra@gmail.com>
15149
15150 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15151 Define as empty.
15152 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15153 Likewise.
15154
fbbe2b9a
AZ
151552013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15156
15157 [BZ #15214]
15158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15159 underflow.
15160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15161
1728ab37
SP
151622013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15163
7a86be6e
SP
15164 [BZ #15304]
15165 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15166 Don't add gid passed as argument.
15167
1728ab37
SP
15168 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15169
3a7182a1
JM
151702013-03-27 Joseph Myers <joseph@codesourcery.com>
15171
15172 [BZ #15307]
15173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15174 imaginary part between 1.0 and 1.5 and real part less than 0.5
15175 specially.
15176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15178 * math/libm-test.inc (cacos_test): Add more tests.
15179 (casin_test): Likewise.
15180 (casinh_test): Likewise.
15181 * sysdeps/i386/fpu/libm-test-ulps: Update.
15182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15183
6f2e90e7
SP
151842013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15185
5739f705
SP
15186 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15187 constants.
15188 (norm): Likewise.
15189 (denorm): Likewise.
15190 (__dbl_mp): Likewise.
15191 (add_magnitudes): Likewise.
15192 (sub_magnitudes): Likewise.
15193 (__add): Likewise.
15194 (__sub): Likewise.
15195 (__mul): Likewise.
15196 (__sqr): Likewise.
15197 (__inv): Likewise.
15198 (__dvd): Likewise.
15199
e375e83d
SP
15200 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15201 commented code.
15202 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15203 (__dubcos): Likewise.
15204 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15205 (__ieee754_acos): Likewise.
15206 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15207 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15208 (__exp1): Likewise.
15209 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15210 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15211 (log1): Likewise.
15212 (my_log2): Likewise.
15213 (checkint): Likewise.
15214 * sysdeps/ieee754/dbl-64/e_remainder.c
15215 (__ieee754_remainder): Likewise.
15216 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15218 (bsloww): Likewise.
15219 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15220
6f2e90e7
SP
15221 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15222 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15223 MANTISSA_STORE_T to store computations on mantissa. Use
15224 macros for rounding and division.
15225 (denorm): Likewise.
15226 (__dbl_mp): Likewise.
15227 (add_magnitudes): Likewise.
15228 (sub_magnitudes): Likewise.
15229 (__mul): Likewise.
15230 (__sqr): Likewise.
15231 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15232 powers of two in terms of TWOPOW macro.
15233 (mp_no): Make type of mantissa as MANTISSA_T.
15234 [!RADIXI]: Define RADIXI.
15235 [!TWO52]: Define TWO52.
15236 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15237
fce14d4e
AZ
152382013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15239
15240 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15241 llroundl symbol when building for PPC32.
15242
9ad027fb
MW
152432013-03-24 Mark H Weaver <mhw@netris.org>
15244
15245 * manual/arith.texi (Normalization Functions): Fix prototypes for
15246 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15247
e42a38dd
AZ
152482013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15249
15250 [BZ #13889]
15251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15252 high value to check if expl overflow.
15253 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15254 to check for underflow and overflow.
15255 * math/libm-test.inc: Add exp test.
15256
2e0fb521
DL
152572013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15258
15259 [BZ #11120]
15260 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15261 with NOT_IN_libc.
15262
b5784d95
AZ
152632013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15264
15265 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15266 symbol.
15267
5aa4a1a1
TS
152682013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15269
bdef0be7
TS
15270 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15271 wrap blocks consisting of several statements.
15272
5aa4a1a1
TS
15273 * sysdeps/generic/math-tests.h: New file.
15274 * sysdeps/i386/fpu/math-tests.h: Likewise.
15275 * math/test-snan.c: Include it.
15276 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15277
98c48fe5
JM
152782013-03-21 Joseph Myers <joseph@codesourcery.com>
15279
15280 [BZ #15285]
15281 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15282 (__ieee754_j0l): Do not improve calculations using cos of twice
15283 input for inputs above LDBL_MAX / 2.0L.
15284 (__ieee754_y0l): Likewise.
15285 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15286 (__ieee754_j1l): Do not improve calculations using cos of twice
15287 input for inputs above LDBL_MAX / 2.0L.
15288 (__ieee754_y1l): Likewise.
15289 * math/libm-test.inc (j0_test): Add another test.
15290 (j1_test): Likewise.
15291 (y0_test): Likewise.
15292 (y1_test): Likewise.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294
3775a8bc
SP
152952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15296
15297 * Rules ($(objpfx)bench-%.c): Include code from a C source
15298 file.
15299
0a1b2ae6
JM
153002013-03-21 Joseph Myers <joseph@codesourcery.com>
15301
15302 [BZ #15287]
15303 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15304 imaginary part 1.0 and real part less than 0.5 specially.
15305 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15306 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15307 * math/libm-test.inc (cacos_test): Add more tests.
15308 (casin_test): Likewise.
15309 (casinh_test): Likewise.
15310 * sysdeps/i386/fpu/libm-test-ulps: Update.
15311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15312
b33d4ce4
SP
153132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15314
15315 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15316 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15317
bef0b507
JM
153182013-03-20 Joseph Myers <joseph@codesourcery.com>
15319
15320 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15321 * config.make.in (config-cflags-sse4): Remove variable.
15322 (config-cflags-avx): Likewise.
15323 (config-cflags-sse2avx): Likewise.
15324 (config-cflags-novzeroupper): Likewise.
15325 (config-asflags-i686): Likewise.
15326 (have-mfma4): Likewise.
15327 (have-as-vis3): Likewise.
15328 (MIG): Likewise.
15329 * configure.in (MIG): Do not AC_SUBST.
15330 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15331 (libc_cv_cc_sse4): Do not AC_SUBST.
15332 (libc_cv_cc_avx): Likewise.
15333 (libc_cv_cc_sse2avx): Likewise.
15334 (libc_cv_cc_novzeroupper): Likewise.
15335 (libc_cv_cc_fma4): Likewise.
15336 (libc_cv_as_i686): Likewise.
15337 (libc_cv_sparc_as_vis3): Likewise.
15338 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15339 LIBC_CONFIG_VAR.
15340 (config-asflags-i686): Likewise.
15341 (config-cflags-avx): Likewise.
15342 (config-cflags-sse2avx): Likewise.
15343 (have-mfma4): Likewise.
15344 (config-cflags-novzeroupper): Likewise.
15345 * sysdeps/mach/configure.in (MIG): Likewise.
15346 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15347 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15348 LIBC_CONFIG_VAR.
15349 (config-cflags-avx): Likewise.
15350 (config-cflags-sse2avx): Likewise.
15351 (have-mfma4): Likewise.
15352 (config-cflags-novzeroupper): Likewise.
15353 * configure: Regenerated.
15354 * sysdeps/i386/configure: Likewise.
15355 * sysdeps/mach/configure: Likewise.
15356 * sysdeps/sparc/configure: Likewise.
15357 * sysdeps/x86_64/configure: Likewise.
15358
912cc4b3
RM
153592013-03-20 Roland McGrath <roland@hack.frob.com>
15360
15361 [BZ #14812]
15362 * locale/programs/localedef.c (options): Put N_ translation marker
15363 on argument names, not just descriptions.
15364
04eed2b0
MS
153652013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15366
15367 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15368
a065ceff
OB
153692013-03-20 Ondřej Bílka <neleai@seznam.cz>
15370
9bb2a810 15371 [BZ #14176]
a065ceff
OB
15372 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15373
a600e5ce
RM
153742013-03-19 Roland McGrath <roland@hack.frob.com>
15375
15376 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15377 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15378 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15379 [!BEFORE_ABORT] (before_abort): New function.
15380 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15381 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15382 (writev_for_fatal): New function.
15383 (WRITEV_FOR_FATAL): New macro; call that.
15384 (backtrace_and_maps): New function.
15385 (BEFORE_ABORT): New macro; call that.
15386 (struct str_list): Type removed.
15387 (__libc_message, __libc_fatal): Functions removed.
15388 Include <sysdeps/posix/libc_fatal.c> instead.
15389
6b18bea6
JM
153902013-03-19 Joseph Myers <joseph@codesourcery.com>
15391
15392 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15393 constants.
15394 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15395 double constants.
15396
aaa8cb4b
AS
153972013-03-19 Andreas Schwab <schwab@suse.de>
15398
44673770
AS
15399 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15400 * sysdeps/gnu/configure: Regenerate.
15401
aaa8cb4b
AS
15402 * configure.in: Substitute libc_cv_rtlddir.
15403 * configure: Regenerate.
15404 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15405 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15406 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15407 * elf/Makefile (install-others, CFLAGS-interp.c)
15408 (ldso_install, common-ldd-rewrite): Likewise.
15409 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15410 $(inst_slibdir)/$(rtld-installed-name).
15411 * scripts/rellns-sh: Add -p option.
15412 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15413 for source.
15414
d3cfc668
SP
154152013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15416
15417 * manual/nptl.texi: Renamed to ...
15418 * manual/threads.texi: ... this.
15419 * manual/Makefile (chapters): Update.
15420
0e2b9cdd
RM
154212013-03-18 Roland McGrath <roland@hack.frob.com>
15422
15423 [BZ #14812]
15424 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15425 on argument names, not just descriptions.
0e2b9cdd
RM
15426 * malloc/memusagestat.c (options): Likewise.
15427 * nss/getent.c (options): Likewise.
63270c24
RM
15428
154292013-03-18 Benno Schulenberg <bensberg@justemail.net>
15430
15431 [BZ #14812]
15432 * iconv/iconv_prog.c (options): Put N_ translation marker
15433 on argument names, not just descriptions.
15434 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15435
b2e1393c
OB
154362013-03-18 Ondrej Bilka <neleai@seznam.cz>
15437
15438 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15439 implementation which is faster on all x86_64 architectures.
15440 Tested on AMD, Intel Nehalem, SNB, IVB.
15441 * sysdeps/x86_64/strnlen.S: Likewise.
15442
15443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15444 Remove all multiarch strlen and strnlen versions.
15445 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15446 Remove strlen and strnlen related parts.
15447
15448 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15449 Inline strlen part.
15450 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15451
15452 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15453 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15454 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15455 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15456 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15457 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15458
ec4ff04d
CD
154592013-03-17 Carlos O'Donell <carlos@redhat.com>
15460
15461 * manual/memory.texi (Malloc Tunable Parameters):
15462 Sort parameters alphabetically. Add comments for missing entries.
15463
cd18e90a
DM
154642013-03-17 David S. Miller <davem@davemloft.net>
15465
15466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15467
2a185d32
JM
154682013-03-16 Joseph Myers <joseph@codesourcery.com>
15469
d2f9799e
JM
15470 [BZ #15283]
15471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15472 for arguments at most half maximum finite value.
15473 * math/libm-test.inc (j0_test): Add more tests.
15474 (j1_test): Likewise.
15475 (y0_test): Likewise.
15476 (y1_test): Likewise.
15477 * sysdeps/i386/fpu/libm-test-ulps: Update.
15478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15479
2a185d32
JM
15480 [BZ #14155]
15481 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15482 1 / x and functions P and Q for arguments above 0x1p256L.
15483 (__ieee754_y0l): Likewise.
15484 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15485 (__ieee754_y1l): Likewise.
15486 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15487 (j1_test): Likewise.
15488 (y0_test): Likewise.
15489 (y1_test): Likewise.
15490
6cbec759
TS
154912013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15492
15493 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15494 variable.
15495
bc16e260
RM
154962013-03-15 Roland McGrath <roland@hack.frob.com>
15497
aefc9b8c
RM
15498 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15499 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15500 zero since it's initialized to EXEC_PAGESIZE.
15501
bc16e260
RM
15502 * sysdeps/unix/sysv/linux/ldsodefs.h
15503 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15504 * sysdeps/generic/ldsodefs.h: ... here.
15505
a57da955
TS
155062013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15507
af00a34d
TS
15508 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15509
495ded2c
TS
15510 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15511 math/test-snan.c.
15512 * math/test-snan.c: Renamed from
15513 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15514 * math/Makefile (tests): Add test-snan.
15515 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15516 test-powerpc-snan.
15517
777b0332
TS
15518 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15519 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15520 functions.
15521 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15522 __builtin_nan family of functions.
15523 * math/libm-test.inc (initialize): Initialize qnan_value with
15524 __builtin_nan family of functions.
15525 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15526 Remove variables.
15527 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15528 Remove functions.
15529 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15530 storage class. Initialize qNaN_var and sNaN_var with
15531 __builtin_nan and __builtin_nans families of functions,
15532 respectively.
15533
64d063b8
TS
15534 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15535 (sqrt_test): Remove duplicate test with qNaN input.
15536 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15537 (round_test, signbit_test, significand_test): Note missing +/-Inf
15538 as well as qNaN tests.
15539
67e971f1
TS
15540 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15541 qNaN_var. Fix a few strings, too.
15542 * math/libm-test.inc (nan_value): Rename to qnan_value.
15543 * math/gen-libm-test.pl (%beautify): Adjust to that.
15544 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15545 * math/test-misc.c (main): Likewise.
15546 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15547 to __qnan_bytes, and __qnan_union, respectively.
15548 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15549 Likewise.
15550 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15551 and lqnanval, respectively.
15552 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15553 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15554 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15555 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15556
64487e12
TS
15557 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15558 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15559 doubles.
15560
e015e27b
TS
15561 * math/test-misc.c (main): Fix copy'n'pastos.
15562 * misc/tst-efgcvt.c (special): Likewise.
15563
a57da955
TS
15564 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15565 Remove declarations.
15566
1e380345
SP
155672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15568
15569 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15570 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15571 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15572 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15573
ef26eece
AZ
155742013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15575
15576 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15577 macro to return vdso values correctly in IFUNC implementations.
15578 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15579 Optimization by using IFUNC.
15580
8cfdb7e0
SP
155812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15582 Richard Henderson <rth@redhat.com>
15583 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15584
15585 * Makefile.in (bench): New target.
15586 * NEWS: Mention the benchmark framework.
15587 * Rules (bench): Likewise.
15588 (binaries-bench): Generate binaries for functions to
15589 benchmark.
15590 * benchtests/Makefile: New makefile for benchmark tests.
15591 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15592 programs.
15593 * benchtests/exp-inputs: New input file for EXP function.
15594 * benchtests/pow-inputs: New input file for POW function.
15595 * scripts/bench.pl: New script to generate source files for
15596 benchmark programs.
15597
bcda9880
SP
155982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15599
d22ca8cd
SP
15600 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15601 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15602 computations on mantissa. Use macros for rounding and
15603 division.
15604 (denorm): Likewise.
15605 (__dbl_mp): Likewise.
15606 (add_magnitudes): Likewise.
15607 (sub_magnitudes): Likewise.
15608 (__mul): Likewise.
15609 (__sqr): Likewise.
15610 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15611 powers of two in terms of TWOPOW macro.
15612 (mp_no): Make type of mantissa as MANTISSA_T.
15613 [!RADIXI]: Define RADIXI.
15614 [!TWO52]: Define TWO52.
15615 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15616
bcda9880
SP
15617 * manual/nptl.texi (cindex): Modify threads to pthreads.
15618
06d5adfb
JM
156192013-03-15 Joseph Myers <joseph@codesourcery.com>
15620
15621 * sysdeps/x86_64/preconfigure: Regenerated.
15622
41c7328e
JM
156232013-03-14 Joseph Myers <joseph@codesourcery.com>
15624
15625 [BZ #14155]
15626 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15627 0x1p28 and above.
15628 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15629 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15630 0x1p28 and above.
15631 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15632 * math/libm-test.inc (j0_test): Do not allow one spurious
15633 underflow exception.
15634 (y1_test): Likewise.
15635
e25cfa60
SP
156362013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15637
0409959c
SP
15638 * manual/Makefile (chapters): Add nptl.
15639 * manual/debug.texi (Debugging Support): Add link to Threads
15640 chapter.
15641 * manual/nptl.texi: New file.
15642
e25cfa60
SP
15643 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15644
58a1335e
PB
156452013-03-14 Petr Baudis <pasky@ucw.cz>
15646
15647 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15648 for non-NULL pointer before the memory validity test. Pointed
15649 out by Holger Brunck <holger.brunck@keymile.com>.
15650
9dc7c64f
AS
156512013-03-13 Andreas Schwab <schwab@suse.de>
15652
15653 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15654 instead of .os.
15655
54206aa6
JM
156562013-03-13 Joseph Myers <joseph@codesourcery.com>
15657
15658 * timezone/zic.c: Update from tzcode 2013b.
15659
e98cdb38
CD
156602013-03-12 Carlos O'Donell <carlos@redhat.com>
15661
15662 * manual/install.texi (Configuring and compiling):
15663 Mention i686 and i586.
15664 * INSTALL: Regenerate.
15665
9967e003
RM
156662013-03-12 Roland McGrath <roland@hack.frob.com>
15667
15668 * sysdeps/init_array/elf-init.c: New file.
15669 * csu/elf-init.c
15670 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15671 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15672
15673 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15674 __gmon_start__ as global, but as static with a .preinit_array pointer.
15675 * sysdeps/init_array/gmon-start.c: New file. Use that.
15676 * sysdeps/init_array/crti.S: New file, empty except for comments.
15677 * sysdeps/init_array/crtn.S: Likewise.
15678
e6b5a293 156792013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15680
15681 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15682 definining bcopy.
80f844c9
OB
15683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15684 Remove Prefer_SSE_for_memop.
15685 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15686 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15687 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15689 memset-x86-64.
80f844c9 15690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15691 Remove bzero, memset ifunc support.
80f844c9
OB
15692 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15693 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15694 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15695 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15696
fb6b0fcb
AS
156972013-03-11 Andreas Schwab <schwab@suse.de>
15698
15699 [BZ #15234]
15700 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15701 by SHLIB_COMPAT.
15702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15703 (GLIBC_2.16): Remove pthread_atfork.
15704
3e6bd4b1
PP
157052013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15706
15707 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15708 (ptestcases.h): Likewise.
15709
222d7f00
RM
157102013-03-08 Roland McGrath <roland@hack.frob.com>
15711
15712 * Makeconfig ($(common-objpfx)config.status): Depend on
15713 sysdeps/*/preconfigure{,.in} too.
15714
1ba4f030
JM
157152013-03-08 Joseph Myers <joseph@codesourcery.com>
15716
a222d91a
JM
15717 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15718 (__free_hook): Use void * instead of __malloc_ptr_t.
15719 (__malloc_hook): Likewise.
15720 (__realloc_hook): Likewise.
15721 (__memalign_hook): Likewise.
15722 (__after_morecore_hook): Likewise.
15723 * malloc/arena.c (save_malloc_hook): Likewise.
15724 (save_free_hook): Likewise.
15725 * malloc/hooks.c (malloc_hook_ini): Likewise.
15726 (realloc_hook_ini): Likewise.
15727 (memalign_hook_ini): Likewise.
15728 * malloc/malloc.c (malloc_hook_ini): Likewise.
15729 (realloc_hook_ini): Likewise.
15730 (memalign_hook_ini): Likewise.
15731 (__free_hook): Likewise.
15732 (__malloc_hook): Likewise.
15733 (__realloc_hook): Likewise.
15734 (__memalign_hook): Likewise.
15735 (__libc_malloc): Likewise.
15736 (__libc_free): Likewise.
15737 (__libc_realloc): Likewise.
15738 (__libc_memalign): Likewise.
15739 (__libc_valloc): Likewise.
15740 (__libc_pvalloc): Likewise.
15741 (__libc_calloc): Likewise.
15742 (__posix_memalign): Likewise.
15743 * malloc/morecore.c (__sbrk): Likewise.
15744 (__default_morecore): Likewise.
15745
5cc45e10
JM
15746 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15747
dd54b864
JM
15748 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15749 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15750 __malloc_ptrdiff_t.
15751
1ba4f030
JM
15752 * malloc/malloc.h (__malloc_size_t): Remove macro.
15753 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15754 __malloc_size_t.
15755 (old_memalign_hook): Likewise.
15756 (old_realloc_hook): Likewise.
15757 (struct hdr): Likewise.
15758 (flood): Likewise.
15759 (mallochook): Likewise.
15760 (memalignhook): Likewise.
15761 (reallochook): Likewise.
15762 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15763 (tr_old_realloc_hook): Likewise.
15764 (tr_old_memalign_hook): Likewise.
15765 (tr_mallochook): Likewise.
15766 (tr_reallochook): Likewise.
15767 (tr_memalignhook): Likewise.
15768
edf66e57
AZ
157692013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15770
15771 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15772 default_ldbl_pack and using as default implementation.
15773 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15774 implementation.
15775 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15776 redundant definition.
15777 (ldbl_insert_mantissa): Likewise.
15778 (ldbl_canonicalize): Likewise.
15779 (ldbl_nearbyint): Likewise.
15780 (ldbl_pack): Rename to ldbl_pack_ppc.
15781 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15782 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15783 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15784
6d9145d8
SP
157852013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15786
15787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15788 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15789 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15790 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15792 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15793 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15794 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15795
4dd4e157
AJ
157962013-03-07 Andreas Jaeger <aj@suse.de>
15797
15798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15799 bits/mman-linux.h.
15800
adbb8027
SP
158012013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15802
ce544b5b
SP
15803 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15804 Include mpa.h and declare __MPEXP.
15805 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15806 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15807 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15808 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15809 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15810 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15811 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15812
4cc149fd
SP
15813 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15814 (__slowpow): Use long double EXPL and LOGL functions to
15815 compute POW.
15816 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15817 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15818 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15819 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15820 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15821 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15822
e6ebd4a7
SP
15823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15824 intermediate variable to calculate exponent.
15825 (__sqr): Likewise.
15826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15827 Likewise.
15828 (__sqr): Likewise.
15829
82a9811d
SP
15830 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15831 [!NO__SQR]: Define __sqr.
15832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15833 and NO__SQR. Remove all code except __mul and __sqr. Include
15834 sysdeps/ieee754/dbl-64/mpa.c.
15835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15836
adbb8027
SP
15837 [BZ #12723]
15838 * posix/Makefile (tests): Add tst-pathconf.
15839 * posix/tst-pathconf.c: New test case.
15840 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15841 _PC_PIPE_BUF.
15842 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15843
39120df9
PF
158442013-03-06 Patsy Franklin <pfrankli@redhat.com>
15845
15846 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15847
67525cb8
AJ
158482013-03-06 Andreas Jaeger <aj@suse.de>
15849
664a9ce4
AJ
15850 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15851 definition via __MAP_ANONYMOUS.
15852
8e39047d
AJ
15853 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15854 it's not part of Linux headers.
15855
67525cb8
AJ
15856 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15857 (MAP_HUGE_MASK): Define.
15858
15859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15860 Define.
15861 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15863 Define.
15864 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15865 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15866 Define.
15867 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15868 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15869 Define.
15870 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15871
15872 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15873 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15874 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15875 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15876 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15877 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15878
15879 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15880 Handle f2fs.
15881
15882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15883 Handle f2fs and efivarfs.
15884
15885 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15886 f2fs.
15887
15888 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15889 (EFIVARFS_MAGIC): Add.
15890 (F2FS_LINK_MAX): Add.
15891
e1b42695
PP
158922013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15893
15894 * stdio-common/vfprintf.c: Replace __builtin_expect with
15895 __glibc_unlikely.
15896
2d67d91a
JM
158972013-03-06 Joseph Myers <joseph@codesourcery.com>
15898
15899 [BZ #13550]
15900 * sysdeps/generic/bp-sym.h: Remove file.
15901 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15902 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15903 <bp-sym.h> and <bp-asm.h>.
15904 (__longjmp): Don't use BP_SYM.
15905 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15906 and <bp-asm.h>.
15907 (memcpy): Don't use BP_SYM.
15908 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15909 <bp-sym.h> and <bp-asm.h>.
15910 (memcpy): Don't use BP_SYM.
15911 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15912 <bp-asm.h>.
15913 (memcpy): Don't use BP_SYM.
15914 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15915 <bp-asm.h>.
15916 (memset): Don't use BP_SYM.
15917 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15918 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15919 (__bzero): Don't use BP_SYM.
15920 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15921 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15922 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15923 <bp-sym.h> and <bp-asm.h>.
15924 (memcmp): Don't use BP_SYM. Remove comment about bounded
15925 pointers.
15926 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15927 <bp-sym.h> and <bp-asm.h>.
15928 (memcpy): Don't use BP_SYM.
15929 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15930 <bp-sym.h> and <bp-asm.h>.
15931 (memset): Don't use BP_SYM.
15932 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15933 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15934 (__bzero): Don't use BP_SYM.
15935 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15936 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15938 <bp-sym.h> and <bp-asm.h>.
15939 (strncmp): Don't use BP_SYM. Remove comment about bounded
15940 pointers.
15941 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15942 <bp-sym.h> and <bp-asm.h>.
15943 (memcpy): Don't use BP_SYM.
15944 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15945 <bp-sym.h> and <bp-asm.h>.
15946 (memset): Don't use BP_SYM.
15947 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15948 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15949 (__bzero): Don't use BP_SYM.
15950 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15951 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15952 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15953 <bp-sym.h> and <bp-asm.h>.
15954 (__memchr): Don't use BP_SYM.
15955 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15956 <bp-sym.h> and <bp-asm.h>.
15957 (memcmp): Don't use BP_SYM. Remove comment about bounded
15958 pointers.
15959 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15960 <bp-sym.h> and <bp-asm.h>.
15961 (memcpy): Don't use BP_SYM.
15962 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15963 <bp-sym.h> and <bp-asm.h>.
15964 (__mempcpy): Don't use BP_SYM.
15965 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15966 <bp-sym.h> and <bp-asm.h>.
15967 (__memrchr): Don't use BP_SYM.
15968 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15969 <bp-sym.h> and <bp-asm.h>.
15970 (memset): Don't use BP_SYM.
15971 (__bzero): Likewise.
15972 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15973 <bp-sym.h> and <bp-asm.h>.
15974 (__rawmemchr): Don't use BP_SYM.
15975 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15976 <bp-sym.h> and <bp-asm.h>.
15977 (__STRCMP): Don't use BP_SYM.
15978 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15979 <bp-sym.h> and <bp-asm.h>.
15980 (strchr): Don't use BP_SYM.
15981 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15982 <bp-sym.h> and <bp-asm.h>.
15983 (__strchrnul): Don't use BP_SYM.
15984 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15985 <bp-sym.h> and <bp-asm.h>.
15986 (strlen): Don't use BP_SYM.
15987 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15988 <bp-sym.h> and <bp-asm.h>.
15989 (strncmp): Don't use BP_SYM. Remove comment about bounded
15990 pointers.
15991 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15992 <bp-sym.h> and <bp-asm.h>.
15993 (__strnlen): Don't use BP_SYM.
15994 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15995 <bp-sym.h> and <bp-asm.h>.
15996 (__GI__setjmp): Don't use BP_SYM.
15997 (_setjmp): Likewise.
15998 (__sigsetjmp): Likewise.
15999 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16000 (L(start_addresses)): Don't use BP_SYM.
16001 (_start): Likewise.
16002 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16003 <bp-asm.h>.
16004 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16005 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16006 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16007 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16008 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16009 <bp-asm.h>.
16010 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16011 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16012 about bounded pointers.
16013 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16014 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16015 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16016 <bp-asm.h>.
16017 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16018 about bounded pointers. Remove GKM FIXME comments.
16019 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16020 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16021 <bp-asm.h>.
16022 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16023 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16024 Remove GKM FIXME comments.
16025 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16026 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16027 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16028 <bp-asm.h>.
16029 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16030 about bounded pointers. Remove GKM FIXME comment.
16031 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16032 and <bp-asm.h>.
16033 (strncmp): Don't use BP_SYM. Remove comment about bounded
16034 pointers.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16036 <bp-sym.h> and <bp-asm.h>.
16037 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16039 <bp-sym.h> and <bp-asm.h>.
16040 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16041 comment.
16042
cdcf361f
PP
160432013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16044
16045 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16046 call free(NULL).
16047
3c4a2b15
DM
160482013-03-05 David S. Miller <davem@davemloft.net>
16049
16050 * po/es.po: Update from translation team.
16051
cdcf361f 160522013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16053
16054 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16055 <bits/mman-linux.h>.
16056 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16057 is fine.
16058 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16059 <bits/mman-linux.h> to end of file.
16060 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16061 is fine.
16062 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16063 <bits/mman-linux.h> to end of file.
16064 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16065 is fine.
16066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16067 <bits/mman-linux.h> to end of file.
16068
16069 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16070 (MCL_CURRENT, MCL_FUTURE): Define here.
16071
5f67c04f
AK
160722013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16073
8a4473cc 16074 [BZ #15232]
5f67c04f
AK
16075 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16076 attribute_hidden.
16077 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16078
c3e94a95
AK
160792013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16080
16081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16082 fourth parameter needed for rt_sigprocmask syscall.
16083 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16084 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16085 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16086 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16087 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16088 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16089
cfb6382a
JM
160902013-03-04 Joseph Myers <joseph@codesourcery.com>
16091
16092 [BZ #13550]
16093 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16094 comment about bounded pointers.
16095 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16096 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16097
539d8e01
AJ
160982013-03-04 Andreas Jaeger <aj@suse.de>
16099
16100 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16101 common definitions.
16102
16103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16104 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16105 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16106 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16109
2e167a70 161102013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16111
16112 [BZ #15055]
16113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16114 __ieee754_sqrl instead of __sqrl.
16115
68508633
JM
161162013-03-01 Joseph Myers <joseph@codesourcery.com>
16117
16118 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16119 * sysdeps/powerpc/fpu_control.h: ... here.
16120 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16121 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16122 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16123 * sysdeps/powerpc/bits/mathinline.h: ... here.
16124
7775448e
RM
161252013-03-01 Roland McGrath <roland@hack.frob.com>
16126
16127 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16128 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16129 to just [NEED_DL_SYSINFO_DSO].
16130 * elf/dl-support.c: Likewise.
16131 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16132 * elf/rtld.c (dl_main): Likewise.
16133 * elf/setup-vdso.h (setup_vdso): Likewise.
16134 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16135 * sysdeps/unix/sysv/linux/dl-sysdep.c
16136 (_dl_discover_osversion): Likewise.
16137
4e9b5995
CD
161382013-03-01 Carlos O'Donell <carlos@redhat.com>
16139
16140 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16141 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16142
e23872c8
SP
161432013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16144
e5c74c63
SP
16145 * NEWS: Mention libm performance improvements and non-x86 PI
16146 futex support.
16147
e23872c8
SP
16148 * csu/libc-start.c (__pthread_initialize_minimal): Change
16149 function arguments.
16150 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16151
b5510883
JM
161522013-02-28 Joseph Myers <joseph@codesourcery.com>
16153
16154 [BZ #13550]
16155 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16156 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16157 <bp-sym.h> and <bp-asm.h>.
16158 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16159 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16160 and <bp-asm.h>.
16161 (memcpy): Don't use BP_SYM.
16162 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16163 <bp-asm.h>.
16164 (__mpn_add_n): Don't use BP_SYM.
16165 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16166 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16167 and <bp-asm.h>.
16168 (__mpn_addmul_1): Don't use BP_SYM.
16169 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16170 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16171 <bp-sym.h>.
16172 (_setjmp): Don't use BP_SYM.
16173 (__novmx_setjmp): Likewise.
16174 (__GI__setjmp): Likewise.
16175 (__vmx_setjmp): Likewise.
16176 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16177 <bp-sym.h>.
16178 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16179 (__bzero): Don't use BP_SYM.
16180 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16181 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16182 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16183 <bp-sym.h> and <bp-asm.h>.
16184 (memcpy): Don't use BP_SYM.
16185 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16186 <bp-sym.h> and <bp-asm.h>.
16187 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16188 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16189 <bp-sym.h> and <bp-asm.h>.
16190 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16191 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16192 <bp-asm.h>.
16193 (__mpn_lshift): Don't use BP_SYM.
16194 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16195 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16196 <bp-asm.h>.
16197 (memset): Don't use BP_SYM.
16198 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16199 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16200 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16201 <bp-asm.h>.
16202 (__mpn_mul_1): Don't use BP_SYM.
16203 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16205 <bp-sym.h> and <bp-asm.h>.
16206 (memcmp): Don't use BP_SYM.
16207 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16208 <bp-sym.h> and <bp-asm.h>.
16209 (memcpy): Don't use BP_SYM.
16210 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16211 <bp-sym.h> and <bp-asm.h>.
16212 (memset): Don't use BP_SYM.
16213 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16214 <bp-sym.h> and <bp-asm.h>.
16215 (strncmp): Don't use BP_SYM.
16216 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16217 <bp-sym.h> and <bp-asm.h>.
16218 (memcpy): Don't use BP_SYM.
16219 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16220 <bp-sym.h> and <bp-asm.h>.
16221 (memset): Don't use BP_SYM.
16222 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16223 <bp-sym.h> and <bp-asm.h>.
16224 (__memchr): Don't use BP_SYM.
16225 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16226 <bp-sym.h> and <bp-asm.h>.
16227 (memcmp): Don't use BP_SYM.
16228 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16229 <bp-sym.h> and <bp-asm.h>.
16230 (memcpy): Don't use BP_SYM.
16231 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16232 <bp-sym.h> and <bp-asm.h>.
16233 (__mempcpy): Don't use BP_SYM.
16234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16235 <bp-sym.h> and <bp-asm.h>.
16236 (__memrchr): Don't use BP_SYM.
16237 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16238 <bp-sym.h> and <bp-asm.h>.
16239 (memset): Don't use BP_SYM.
16240 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16241 <bp-sym.h> and <bp-asm.h>.
16242 (__rawmemchr): Don't use BP_SYM.
16243 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16244 <bp-sym.h> and <bp-asm.h>.
16245 (__STRCMP): Don't use BP_SYM.
16246 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16247 <bp-sym.h> and <bp-asm.h>.
16248 (strchr): Don't use BP_SYM.
16249 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16250 <bp-sym.h> and <bp-asm.h>.
16251 (__strchrnul): Don't use BP_SYM.
16252 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16253 <bp-sym.h> and <bp-asm.h>.
16254 (strlen): Don't use BP_SYM.
16255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16256 <bp-sym.h> and <bp-asm.h>.
16257 (strncmp): Don't use BP_SYM.
16258 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16259 <bp-sym.h> and <bp-asm.h>.
16260 (__strnlen): Don't use BP_SYM.
16261 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16262 <bp-asm.h>.
16263 (__mpn_rshift): Don't use BP_SYM.
16264 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16265 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16266 <bp-sym.h> and <bp-asm.h>.
16267 (__sigsetjmp): Don't use BP_SYM.
16268 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16269 (L(start_addresses)): Don't use BP_SYM.
16270 (_start): Likewise.
16271 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16272 <bp-asm.h>.
16273 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16274 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16275 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16276 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16277 <bp-asm.h>.
16278 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16279 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16280 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16281 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16282 <bp-asm.h>.
16283 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16284 comments.
16285 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16286 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16287 <bp-asm.h>.
16288 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16289 FIXME comments.
16290 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16291 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16292 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16293 <bp-asm.h>.
16294 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16295 comment.
16296 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16297 and <bp-asm.h>.
16298 (strncmp): Don't use BP_SYM,
16299 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16300 <bp-asm.h>.
16301 (__mpn_sub_n): Don't use BP_SYM.
16302 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16303 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16304 and <bp-asm.h>.
16305 (__mpn_submul_1): Don't use BP_SYM.
16306 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16308 <bp-sym.h> and <bp-asm.h>.
16309 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16311 <bp-sym.h> and <bp-asm.h>.
16312 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16313 comment.
16314
8d19fe64
SP
163152013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16316
16317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16318 Use ZK to minimize writes to Z.
16319 (sub_magnitudes): Simplify code a bit.
16320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16321 Use ZK to minimize writes to Z.
16322 (sub_magnitudes): Simplify code a bit.
16323
85bd816a
RM
163242013-02-27 Roland McGrath <roland@hack.frob.com>
16325
16326 * csu/gmon-start.c: Add special exception to license text.
16327
b5977bf2
RH
163282013-02-27 Richard Henderson <rth@redhat.com>
16329
16330 * scripts/config.guess: Update from config.git.
16331 * scripts/config.sub: Likewise.
16332
11d6e2f2
SP
163332013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16334
09c14ed2
SP
16335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16336
a688864e
SP
16337 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16338
6295157a
SP
16339 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16340
b8de2202
SP
16341 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16342
11d6e2f2
SP
16343 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16344
7e80ddb8
RM
163452013-02-26 Roland McGrath <roland@hack.frob.com>
16346
16347 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16348 [$(build-shared = yes].
7e80ddb8 16349
7da6d9ed
SP
163502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16351
45f05884
SP
16352 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16353 (__mul): Reduce iterations for calculating mantissa.
16354
2236d359
SP
16355 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16356 MPTWO.
16357 (__mpranred): Likewise.
16358
7da6d9ed
SP
16359 [BZ #15160]
16360 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16361 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16362
b7688c42
PE
163632013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16364
16365 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16366 Define __attribute__.
16367
53a5c423
SP
163682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16369
16370 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16371 unused.
16372 * posix/regex_internal.h (__attribute): Remove.
16373 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16374 (re_string_context_at): Likewise.
16375 (bitset_not): Use __attribute__ and mark function as possibly
16376 unused.
16377 (bitset_merge): Likewise.
16378 (bitset_mask): Likewise.
16379 (re_string_char_size_at): Likewise.
16380 (re_string_wchar_at): Likewise.
16381 (re_string_elem_size_at): Likewise.
16382
60f5a8b5
SP
163832013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16384
2a983a2e
SP
16385 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16386 code.
16387 (cc32): Likewise.
16388
e69804d1
SP
16389 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16390 (__acr): Likewise.
16391 (__cpy): Likewise.
16392 (norm): Likewise.
16393 (denorm): Likewise.
16394 (__dbl_mp): Likewise.
16395 (add_magnitudes): Likewise.
16396 (sub_magnitudes): Likewise.
16397 (__mul): Likewise.
16398 (__inv): Likewise.
16399
2f22a1e8
SP
16400 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16401 style.
16402
8930ddc7
SP
16403 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16404 style.
16405
dc60cb11
SP
16406 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16407 code.
16408
60f5a8b5
SP
16409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16410 up changes with default code.
16411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16412 Likewise.
16413
b4d1fd33
AM
164142013-02-24 Allan McRae <allan@archlinux.org>
16415
faf6f8bc
AM
16416 * manual/socket.texi (The Internet Namespace): Order menu items
16417 to match that in the file.
16418
b4d1fd33
AM
16419 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16420 node listing of the info page menu.
16421
2366713d
JM
164222013-02-21 Joseph Myers <joseph@codesourcery.com>
16423
16424 [BZ #13550]
16425 * sysdeps/i386/bp-asm.h: Remove file.
16426 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16427 (PARMS): Do not use macros from bp-asm.h.
16428 (S1): Likewise.
16429 (S2): Likewise.
16430 (SIZE): Likewise.
16431 (__mpn_add_n): Do not use BP_SYM
16432 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16433 "bp-asm.h".
16434 (PARMS): Do not use macros from bp-asm.h.
16435 (S1): Likewise.
16436 (SIZE): Likewise.
16437 (__mpn_addmul_1): Do not use BP_SYM
16438 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16439 "bp-asm.h".
16440 (PARMS): Do not use macros from bp-asm.h.
16441 (SIGMSK): Likewise.
16442 (_setjmp): Likewise. Do not use BP_SYM.
16443 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16444 "bp-asm.h".
16445 (PARMS): Do not use macros from bp-asm.h.
16446 (SIGMSK): Likewise.
16447 (setjmp): Likewise. Do not use BP_SYM.
16448 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16449 "bp-asm.h".
16450 (PARMS): Do not use macros from bp-asm.h.
16451 (__frexp): Do not use BP_SYM.
16452 (frexp): Likewise.
16453 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16454 "bp-asm.h".
16455 (PARMS): Do not use macros from bp-asm.h.
16456 (__frexpf): Do not use BP_SYM.
16457 (frexpf): Likewise.
16458 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16459 "bp-asm.h".
16460 (PARMS): Do not use macros from bp-asm.h.
16461 (__frexpl): Do not use BP_SYM.
16462 (frexpl): Likewise.
16463 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16464 "bp-asm.h".
16465 (PARMS): Do not use macros from bp-asm.h.
16466 (__remquo): Do not use BP_SYM.
16467 (remquo): Likewise.
16468 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16469 "bp-asm.h".
16470 (PARMS): Do not use macros from bp-asm.h.
16471 (__remquof): Do not use BP_SYM.
16472 (remquof): Likewise.
16473 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16474 "bp-asm.h".
16475 (PARMS): Do not use macros from bp-asm.h.
16476 (__remquol): Do not use BP_SYM.
16477 (remquol): Likewise.
16478 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16479 "bp-asm.h".
16480 (PARMS): Do not use macros from bp-asm.h.
16481 (DEST): Likewise.
16482 (SRC): Likewise.
16483 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16484 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16485 "bp-asm.h".
16486 (PARMS): Do not use macros from bp-asm.h.
16487 (strlen): Do not use BP_SYM.
16488 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16489 "bp-asm.h".
16490 (PARMS): Do not use macros from bp-asm.h.
16491 (S1): Likewise.
16492 (S2): Likewise.
16493 (SIZE): Likewise.
16494 (__mpn_add_n): Do not use BP_SYM.
16495 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16496 "bp-asm.h".
16497 (PARMS): Do not use macros from bp-asm.h.
16498 (S1): Likewise.
16499 (SIZE): Likewise.
16500 (__mpn_addmul_1): Do not use BP_SYM.
16501 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16502 weak_alias.
16503 (bzero): Likewise.
16504 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16505 "bp-asm.h".
16506 (PARMS): Do not use macros from bp-asm.h.
16507 (S): Likewise.
16508 (SIZE): Likewise.
16509 (__mpn_lshift): Do not use BP_SYM.
16510 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16511 "bp-asm.h".
16512 (PARMS): Do not use macros from bp-asm.h.
16513 (DEST): Likewise.
16514 (SRC): Likewise.
16515 (LEN): Likewise.
16516 (memcpy): Likewise. Do not use BP_SYM.
16517 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16518 libc_hidden_def and weak_alias.
16519 (mempcpy): Do not use BP_SYM in weak_alias.
16520 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16521 "bp-asm.h".
16522 (PARMS): Do not use macros from bp-asm.h.
16523 (DEST): Likewise.
16524 (LEN): Likewise.
16525 [!BZERO_P] (CHR): Likewise.
16526 (memset): Likewise. Do not use BP_SYM.
16527 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16528 "bp-asm.h".
16529 (PARMS): Do not use macros from bp-asm.h.
16530 (S1): Likewise.
16531 (SIZE): Likewise.
16532 (__mpn_mul_1): Do not use BP_SYM.
16533 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16534 "bp-asm.h".
16535 (PARMS): Do not use macros from bp-asm.h.
16536 (S): Likewise.
16537 (SIZE): Likewise.
16538 (__mpn_rshift): Do not use BP_SYM.
16539 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16540 "bp-asm.h".
16541 (PARMS): Do not use macros from bp-asm.h.
16542 (STR): Likewise.
16543 (CHR): Likewise.
16544 (strchr): Likewise. Do not use BP_SYM.
16545 (index): Do not use BP_SYM in weak_alias.
16546 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16547 "bp-asm.h".
16548 (PARMS): Do not use macros from bp-asm.h.
16549 (DEST): Likewise.
16550 (SRC): Likewise.
16551 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16552 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16553 "bp-asm.h".
16554 (PARMS): Do not use macros from bp-asm.h.
16555 (strlen): Do not use BP_SYM.
16556 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16557 "bp-asm.h".
16558 (PARMS): Do not use macros from bp-asm.h.
16559 (S1): Likewise.
16560 (S2): Likewise.
16561 (SIZE): Likewise.
16562 (__mpn_sub_n): Do not use BP_SYM.
16563 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16564 "bp-asm.h".
16565 (PARMS): Do not use macros from bp-asm.h.
16566 (S1): Likewise.
16567 (SIZE): Likewise.
16568 (__mpn_submul_1): Do not use BP_SYM.
16569 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16570 "bp-asm.h".
16571 (PARMS): Do not use macros from bp-asm.h.
16572 (S1): Likewise.
16573 (S2): Likewise.
16574 (SIZE): Likewise.
16575 (__mpn_add_n): Do not use BP_SYM.
16576 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16577 weak_alias.
16578 (bzero): Likewise.
16579 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16580 "bp-asm.h".
16581 (PARMS): Do not use macros from bp-asm.h.
16582 (BLK2): Likewise.
16583 (LEN): Likewise.
16584 (memcmp): Do not use BP_SYM.
16585 (bcmp): Do not use BP_SYM in weak_alias.
16586 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16587 "bp-asm.h".
16588 (PARMS): Do not use macros from bp-asm.h.
16589 (DEST): Likewise.
16590 (SRC): Likewise.
16591 (LEN): Likewise.
16592 (memcpy): Likewise. Do not use BP_SYM.
16593 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16594 "bp-asm.h".
16595 (PARMS): Do not use macros from bp-asm.h.
16596 (DEST): Likewise.
16597 (SRC): Likewise.
16598 (LEN): Likewise.
16599 (memmove): Likewise. Do not use BP_SYM.
16600 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16601 "bp-asm.h".
16602 (PARMS): Do not use macros from bp-asm.h.
16603 (DEST): Likewise.
16604 (SRC): Likewise.
16605 (LEN): Likewise.
16606 (__mempcpy): Likewise. Do not use BP_SYM.
16607 (mempcpy): Do not use BP_SYM in weak_alias.
16608 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16609 "bp-asm.h".
16610 (PARMS): Do not use macros from bp-asm.h.
16611 (DEST): Likewise.
16612 (LEN): Likewise.
16613 [!BZERO_P] (CHR): Likewise.
16614 (memset): Likewise. Do not use BP_SYM.
16615 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16616 "bp-asm.h".
16617 (PARMS): Do not use macros from bp-asm.h.
16618 (STR2): Likewise.
16619 (strcmp): Do not use BP_SYM.
16620 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16621 "bp-asm.h".
16622 (PARMS): Do not use macros from bp-asm.h.
16623 (STR): Likewise.
16624 (DELIM): Likewise.
16625 [USE_AS_STRTOK_R] (SAVE): Likewise.
16626 (FUNCTION): Likewise. Do not use BP_SYM.
16627 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16628 aliases.
16629 (strtok_r): Likewise.
16630 (__GI___strtok_r): Likewise.
16631 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16632 (PARMS): Do not use macros from bp-asm.h.
16633 (S): Likewise.
16634 (SIZE): Likewise.
16635 (__mpn_lshift): Do not use BP_SYM.
16636 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16637 (PARMS): Do not use macros from bp-asm.h.
16638 (STR): Likewise.
16639 (CHR): Likewise.
16640 (__memchr): Do not use BP_SYM.
16641 (memchr): Do not use BP_SYM in weak_alias.
16642 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16643 (PARMS): Do not use macros from bp-asm.h.
16644 (BLK2): Likewise.
16645 (LEN): Likewise.
16646 (memcmp): Do not use BP_SYM.
16647 (bcmp): Do not use BP_SYM in weak_alias.
16648 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16649 (PARMS): Do not use macros from bp-asm.h.
16650 (S1): Likewise.
16651 (SIZE): Likewise.
16652 (__mpn_mul_1): Do not use BP_SYM.
16653 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16654 "bp-asm.h".
16655 (PARMS): Do not use macros from bp-asm.h.
16656 (STR): Likewise.
16657 (CHR): Likewise.
16658 (__rawmemchr): Do not use BP_SYM.
16659 (rawmemchr): Do not use BP_SYM in weak_alias.
16660 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16661 (PARMS): Do not use macros from bp-asm.h.
16662 (S): Likewise.
16663 (SIZE): Likewise.
16664 (__mpn_rshift): Do not use BP_SYM.
16665 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16666 (PARMS): Do not use macros from bp-asm.h.
16667 (SIGMSK): Likewise.
16668 (__sigsetjmp): Likewise. Do not use BP_SYM.
16669 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16670 (_start): Do not use BP_SYM.
16671 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16672 (PARMS): Do not use macros from bp-asm.h.
16673 (DEST): Likewise.
16674 (SRC): Likewise.
16675 (__stpcpy): Likewise. Do not use BP_SYM.
16676 (stpcpy): Do not use BP_SYM in weak_alias.
16677 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16678 "bp-asm.h".
16679 (PARMS): Do not use macros from bp-asm.h.
16680 (DEST): Likewise.
16681 (SRC): Likewise.
16682 (LEN): Likewise.
16683 (__stpncpy): Likewise. Do not use BP_SYM.
16684 (stpncpy): Do not use BP_SYM in weak_alias.
16685 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16686 (PARMS): Do not use macros from bp-asm.h.
16687 (STR): Likewise.
16688 (CHR): Likewise.
16689 (strchr): Likewise. Do not use BP_SYM.
16690 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16691 "bp-asm.h".
16692 (PARMS): Do not use macros from bp-asm.h.
16693 (STR): Likewise.
16694 (CHR): Likewise.
16695 (__strchrnul): Likewise. Do not use BP_SYM.
16696 (strchrnul): Do not use BP_SYM in weak_alias.
16697 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16698 "bp-asm.h".
16699 (PARMS): Do not use macros from bp-asm.h.
16700 (STOP): Likewise.
16701 (strcspn): Do not use BP_SYM.
16702 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16703 "bp-asm.h".
16704 (PARMS): Do not use macros from bp-asm.h.
16705 (STR): Likewise.
16706 (STOP): Likewise.
16707 (strpbrk): Likewise. Do not use BP_SYM.
16708 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16709 "bp-asm.h".
16710 (PARMS): Do not use macros from bp-asm.h.
16711 (STR): Likewise.
16712 (CHR): Likewise.
16713 (strrchr): Likewise. Do not use BP_SYM.
16714 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16715 (PARMS): Do not use macros from bp-asm.h.
16716 (SKIP): Likewise.
16717 (strspn): Do not use BP_SYM.
16718 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16719 (PARMS): Do not use macros from bp-asm.h.
16720 (STR): Likewise.
16721 (DELIM): Likewise.
16722 (SAVE): Likewise.
16723 (FUNCTION): Likewise. Do not use BP_SYM.
16724 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16725 aliases.
16726 (strtok_r): Likewise.
16727 (__GI___strtok_r): Likewise.
16728 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16729 (PARMS): Do not use macros from bp-asm.h.
16730 (S1): Likewise.
16731 (S2): Likewise.
16732 (SIZE): Likewise.
16733 (__mpn_sub_n): Do not use BP_SYM.
16734 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16735 "bp-asm.h".
16736 (PARMS): Do not use macros from bp-asm.h.
16737 (S1): Likewise.
16738 (SIZE): Likewise.
16739 (__mpn_submul_1): Do not use BP_SYM.
16740 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16741 <bp-sym.h>.
16742 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16743 and <bp-asm.h>.
16744 (PARMS): Do not use macros from bp-asm.h.
16745 (FLAGS): Likewise.
16746 (PTID): Likewise.
16747 (TLS): Likewise.
16748 (CTID): Likewise.
16749 (__clone): Do not use BP_SYM.
16750 (clone): Do not use BP_SYM in weak_alias.
16751 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16752 and <bp-asm.h>.
16753 (PARMS): Do not use macros from bp-asm.h.
16754 (LEN): Likewise.
16755 (__mmap64): Do not use BP_SYM.
16756 (mmap64): Do not use BP_SYM in weak_alias.
16757 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16758 <bp-sym.h> and <bp-asm.h>.
16759 (PARMS): Do not use macros from bp-asm.h.
16760 (__posix_fadvise64_l64): Do not use BP_SYM.
16761 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16762 (PARMS): Do not use macros from bp-asm.h.
16763 (NSOPS): Likewise.
16764 (semtimedop): Do not use BP_SYM.
16765 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16766 and <bp-asm.h>.
16767
582a3cff
AM
167682013-02-21 Allan McRae <allan@archlinux.org>
16769
16770 * manual/message.texi (Charset conversion in gettext):
16771 Move @end statement to beginning of line.
16772
bab8a695
SP
167732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16774
80945231
SP
16775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16776 static.
16777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16778 Likewise.
16779
bab8a695
SP
16780 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16781 (denorm): Likewise.
16782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16784
e21d7aa7
AK
167852013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16786
16787 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16788 tail-call to the resolved function if pltexit isn't needed.
16789
4c7a4263
SP
167902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16791
16792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16793 or Y being zero as being unlikely.
16794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16795 Likewise.
16796
41f49342
CD
167972013-02-20 Carlos O'Donell <carlos@redhat.com>
16798
16799 * manual/nss.texi (System Databases and Name Service Switch):
16800 Remove frobnicate @pxref.
16801
50022a93
TS
168022013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16803
16804 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16805 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16806
08cbd996
PM
168072013-02-20 Petr Machata <pmachata@redhat.com>
16808
16809 * elf/elf.h (R_ARM_TARGET1): New macro.
16810 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16811 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16812 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16813 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16814 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16815 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16816 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16817 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16818 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16819 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16820 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16821 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16822 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16823 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16824 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16825 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16826 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16827 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16828 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16829 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16830 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16831 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16832 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16833 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16834 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16835 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16836 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16837 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16838 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16839 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16840 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16841 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16842 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16843 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16844 (R_ARM_THM_GOT_BREL12): Likewise.
16845 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16846 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16847 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16848 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16849 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16850 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16851 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16852 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16853 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16854
c7b275d6
TS
168552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16856
16857 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16858 __attribute_used__ to __attribute__ ((unused)).
16859
20cd7fb3
SP
168602013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16861
16862 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16863 powerpc mpa.c.
16864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16865 comment formatting.
16866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16867
92945b52
JM
168682013-02-19 Joseph Myers <joseph@codesourcery.com>
16869
16870 [BZ #13550]
16871 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16872 Remove macro.
16873 (ENTER): Remove both macro definitions.
16874 (LEAVE): Likewise.
16875 (CHECK_BOUNDS_LOW): Likewise.
16876 (CHECK_BOUNDS_HIGH): Likewise.
16877 (CHECK_BOUNDS_BOTH): Likewise.
16878 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16879 (RETURN_BOUNDED_POINTER): Likewise.
16880 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16881 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16882 (POP_ERRNO_LOCATION_RETURN): Likewise.
16883 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16884 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16885 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16886 macros.
16887 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16888 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16889 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16890 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16891 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16892 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16893 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16894 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16895 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16896 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16897 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16898 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16899 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16900 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16901 removed macros.
16902 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16903 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16904 macros.
16905 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16906 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16907 * sysdeps/i386/i586/memset.S (memset): Likewise.
16908 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16909 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16910 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16911 macros.
16912 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16913 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16914 Change uses of L(2) to L(out).
16915 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16916 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16917 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16918 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16919 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16920 removed macros.
16921 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16922 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16923 macros.
16924 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16925 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16926 (RETURN): Do not use macro LEAVE.
16927 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16928 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16929 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16930 * sysdeps/i386/i686/memset.S (memset): Likewise.
16931 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16932 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16933 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16934 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16935 Likewise.
16936 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16937 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16938 L(1_2) and L(1_3) into L(1).
16939 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16940 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16941 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16942 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16943 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16944 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16945 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16946 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16947 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16948 macros.
16949 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16950 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16951 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16952 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16953 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16954 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16955 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16956 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16957 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16958 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16959 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16960 * sysdeps/i386/strspn.S (strspn): Likewise.
16961 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16962 conditional code.
16963 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16964 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16965 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16966 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16967 L(1_3) into L(1_1).
16968 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16969 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16970 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16971 macros.
16972 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16973
2389741a
JJ
169742013-02-19 Jakub Jelinek <jakub@redhat.com>
16975
16976 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16977 macro.
16978
2016b3cd
SP
169792013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16980
e4f22324
SP
16981 * math/atest-exp.c (exp_mpn): Remove ROUND.
16982 * math/atest-exp2.c (exp_mpn): Likewise.
16983 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16984
2016b3cd
SP
16985 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16986 * stdlib/tst-tls-atexit-lib.c: Likewise.
16987 * stdlib/tst-tls-atexit.c: Likewise.
16988
4be9b544
MF
169892013-02-18 Mike Frysinger <vapier@gentoo.org>
16990
16991 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16992 and __attribute_alloc_size__.
16993
2f62b9ee
MF
169942013-02-18 Mike Frysinger <vapier@gentoo.org>
16995
16996 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16997 __attribute_alloc_size__.
16998 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16999 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17000
6ff444c4
MF
170012013-02-18 Mike Frysinger <vapier@gentoo.org>
17002
17003 * include/programs/xmalloc.h: New file.
17004 * catgets/gencat.c: Include it.
17005 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17006 * elf/pldd.c: Likewise.
17007 * iconv/iconv_charmap.c: Likewise.
17008 * iconv/iconvconfig.c: Likewise.
17009 * iconv/strtab.c: Likewise.
17010 * locale/programs/locale.c: Likewise.
17011 * locale/programs/localedef.h: Likewise.
17012 * locale/programs/simple-hash.c: Likewise.
17013 * nscd/nscd.h: Likewise.
17014 * nss/makedb.c: Likewise.
17015 * sysdeps/generic/ldconfig.h: Likewise.
17016
be179c8a
SP
170172013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17018
ba384f6e
SP
17019 * Versions.def: Add GLIBC_2.18.
17020 * include/link.h (struct link_map): New member l_tls_dtor_count.
17021 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17022 (__call_tls_dtors): Likewise.
17023 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17024 __cxa_thread_atexit_impl.
17025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17026 Likewise.
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17028 Likewise.
17029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17030 Likewise.
17031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17032 Likewise.
17033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17035 Likewise.
17036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17037 Likewise.
17038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17040 Likewise.
17041 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17042 (tests): Add test case tst-tls-atexit.
17043 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17044 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17045 (GLIBC_PRIVATE): Add __call_tls_dtors.
17046 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17047 for libstdc++.
17048 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17049 * stdlib/tst-tls-atexit.c: New test case.
17050 * stdlib/tst-tls-atexit-lib.c: New test case.
17051
ffaa74cf 17052 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17053
be179c8a
SP
17054 * elf/Versions (ld): Add _dl_find_dso_for_object.
17055 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17056 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17057 (dl_open_worker): Use _dl_find_dso_for_object.
17058 * elf/dl-sym.c (do_sym): Likewise.
17059 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17060
f78b5caa
AK
170612013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17062
17063 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17064 Syntactic changes only.
17065 (_dl_runtime_profile): Do a tail-call to the resolved function.
17066
29691210
JM
170672013-02-17 Joseph Myers <joseph@codesourcery.com>
17068
17069 [BZ #13550]
17070 * sysdeps/x86_64/bp-asm.h: Remove file.
17071 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17072 <bp-sym.h> and <bp-asm.h>.
17073 (__clone): Do not use BP_SYM.
17074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17075 <bp-sym.h> and <bp-asm.h>.
17076 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17077 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17078 "bp-asm.h".
17079 (_setjmp): Do not use BP_SYM.
17080 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17081 "bp-asm.h".
17082 (setjmp): Do not use BP_SYM.
17083 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17084 libc_hidden_def.
17085 (mempcpy): Do not use BP_SYM in weak_alias.
17086 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17087 "bp-asm.h".
17088 (strchr): Do not use BP_SYM.
17089 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17090 "bp-asm.h".
17091 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17092 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17093 (_start): Do not use BP_SYM.
17094 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17095 "bp-asm.h".
17096 (strcat): Do not use BP_SYM.
17097 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17098 "bp-asm.h".
17099 (STRCMP): Do not use BP_SYM.
17100 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17101 "bp-asm.h".
17102 (STRCPY): Do not use BP_SYM.
17103 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17104 "bp-asm.h".
17105 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17106 "bp-asm.h".
17107 (FUNCTION): Do not use BP_SYM.
17108 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17109 weak_alias.
17110 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17111
f238fd19
AJ
171122013-02-17 Andreas Jaeger <aj@suse.de>
17113
17114 * time/Versions: Sort entries.
17115 * string/Versions: Likewise.
17116 * resolv/Versions: Likewise.
17117 * posix/Versions: Likewise.
17118 * iconv/Versions: Likewise.
17119 * elf/Versions: Likewise.
17120 * wcsmbs/Versions: Likewise.
17121
bd07f23c 171222013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17123
22af19f9
SP
17124 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17125 loop termination condition.
17126
4709fe76
SP
17127 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17128 variable to calculate EZ.
17129 (__sqr): Likewise.
2d0e0f29
SP
17130
17131 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17132 the lower precision input.
17133
daaa7713
JM
171342013-02-15 Joseph Myers <joseph@codesourcery.com>
17135
17136 [BZ #13550]
17137 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17138 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17139 (run-via-rtld-prefix): Do not handle %-bp tests.
17140 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17141 (all-object-suffixes): Remove .ob.
17142 (bppfx): Remove variable.
17143 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17144 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17145 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17146 [$(build-bounded) = yes] (libtype.ob): Likewise.
17147 * Makerules (elide-routines.ob): Remove variable.
17148 (do-tests-clean): Do not handle *-bp.out.
17149 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17150 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17151 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17152 (tests): Do not include $(tests-bp.out).
17153 (xtests): Do not include $(xtests-bp.out).
17154 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17155 [$(build-bounded) = yes] ($(addprefix
17156 $(objpfx),$(binaries-bounded))): Remove rule.
17157 ($(objpfx)%-bp.out): Remove rule.
17158 * config.make.in (build-bounded): Remove variable.
17159 * crypt/Makefile [$(build-bounded) = yes]
17160 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17161 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17162 append to variable.
17163 [$(build-bounded) = yes] (install-lib): Likewise.
17164 [$(build-bounded) = yes] (generated): Likewise.
17165 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17166 Remove rule.
17167 * intl/Makefile [$(build-bounded) = yes]
17168 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17169 * math/Makefile [$(build-bounded) = yes]
17170 ($(tests:%=$(objpfx)%-bp): Likewise.
17171 * misc/Makefile [$(build-bounded) = yes]
17172 ($(objpfx)tst-tsearch-bp): Likewise.
17173 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17174 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17175 Remove dependency.
17176 * string/Makefile (o-objects.ob): Remove variable.
17177 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17178 (CFLAGS-.ob): Remove variable.
17179 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17180 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17181 both definitions of variable.
17182 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17183 (ASFLAGS-.ob): Remove variable.
17184
e97ed6dd
JM
171852013-02-14 Joseph Myers <joseph@codesourcery.com>
17186
2bdd4ca6
JM
17187 [BZ #13550]
17188 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17189 Remove __BOUNDED_POINTERS__ from condition.
17190 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17191 * string/bits/string2.h [!__NO_STRING_INLINES &&
17192 !__BOUNDED_POINTERS__]: Likewise.
17193 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17194 Likewise.
17195 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17196 Remove conditional code.
17197 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17198 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17199 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17200 condition.
17201
e97ed6dd
JM
17202 [BZ #13550]
17203 * csu/libc-start.c: Do not include <bp-sym.h>.
17204 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17205 * elf/dl-open.c: Do not include <bp-sym.h>.
17206 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17207 * math/fegetenv.c: Do not include <bp-sym.h>.
17208 (fegetenv): Do not use BP_SYM in versioned symbols.
17209 * nptl/sysdeps/pthread/bits/libc-lockP.h
17210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17211 <bp-sym.h>.
17212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17213 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17215 (__pthread_mutex_destroy): Likewise.
17216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17217 (__pthread_mutex_lock): Likewise.
17218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17219 (__pthread_mutex_trylock): Likewise.
17220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17221 (__pthread_mutex_unlock): Likewise.
17222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17223 (__pthread_mutexattr_init): Likewise.
17224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17225 (__pthread_mutexattr_destroy): Likewise.
17226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17227 (__pthread_mutexattr_settype): Likewise.
17228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17229 (__pthread_rwlock_init): Likewise.
17230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17231 (__pthread_rwlock_destroy): Likewise.
17232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17233 (__pthread_rwlock_rdlock): Likewise.
17234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17235 (__pthread_rwlock_tryrdlock): Likewise.
17236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17237 (__pthread_rwlock_wrlock): Likewise.
17238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17239 (__pthread_rwlock_trywrlock): Likewise.
17240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17241 (__pthread_rwlock_unlock): Likewise.
17242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17243 (__pthread_key_create): Likewise.
17244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17245 (__pthread_setspecific): Likewise.
17246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17247 (__pthread_getspecific): Likewise.
17248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17249 Likewise.
17250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17251 (_pthread_cleanup_push_defer): Likewise.
17252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17253 (_pthread_cleanup_pop_restore): Likewise.
17254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17255 (pthread_setcancelstate): Likewise.
17256 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17257 <bp-sym.h>.
17258 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17259 (memchr): Do not use BP_SYM in weak_alias.
17260 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17261 (fegetenv): Do not use BP_SYM in versioned symbols.
17262 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17263 (fesetenv): Do not use BP_SYM in versioned symbols.
17264 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17265 (feupdateenv): Do not use BP_SYM in versioned symbols.
17266 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17267 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17268 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17269 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17270 (open64): Do not use BP_SYM in weak_alias.
17271 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17272 (fegetenv): Do not use BP_SYM in versioned symbols.
17273 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17274 (fesetenv): Do not use BP_SYM in versioned symbols.
17275 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17276 (feupdateenv): Do not use BP_SYM in versioned symbols.
17277 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17278 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17279 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17280 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17281 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17282 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17283 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17284 <bp-sym.h>.
17285 (__libc_start_main): Do not use BP_SYM.
17286
d6752ccd
SP
172872013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17288
cb57ce60
SP
17289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17290 redundant return line.
17291 (norm): Likewise.
17292 (denorm): Likewise.
17293 (dbl_mp): Likewise.
17294 (sub_magnitudes): Likewise.
17295 (__add): Likewise.
17296 (__sub): Likewise.
17297 (__mul): Likewise.
17298 (__inv): Likewise.
17299 (__dvd): Likewise.
17300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17301 (norm): Likewise.
17302 (denorm): Likewise.
17303 (dbl_mp): Likewise.
17304 (sub_magnitudes): Likewise.
17305 (__add): Likewise.
17306 (__sub): Likewise.
17307 (__mul): Likewise.
17308 (__inv): Likewise.
17309 (__dvd): Likewise.
17310
f414520d
SP
17311 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17312 instead of __mul.
17313 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17314 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17315 (cc32): Likewise.
17316
d6752ccd
SP
17317 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17318 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17320 of __mul for squares.
17321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17322 function
17323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17324 Likewise.
17325 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17326 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17327
70d9946a
JM
173282013-02-13 Joseph Myers <joseph@codesourcery.com>
17329
17330 [BZ #13550]
17331 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17332 code.
17333 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17334 prototype or function definition. Rename ubp_* variables and
17335 parameters. Remove argv definitions conditional on
17336 [__BOUNDED_POINTERS__].
17337 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17338 * elf/dl-runtime.c (_dl_fixup): Likewise.
17339 * include/set-hooks.h (RUN_HOOK): Likewise.
17340 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17341 definition.
17342 * string/strcpy.c (strcpy): Do not use __unbounded.
17343 * sysdeps/generic/frame.h (struct layout): Likewise.
17344 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17345 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17346 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17347 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17348 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17349 (__backtrace): Likewise.
17350 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17351 use __ptrvalue.
17352 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17353 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17354 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17355 Likewise.
17356 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17357 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17358 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17359 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17360 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17361 Do not use __unbounded.
17362 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17363 Rename __unboundedrlimits parameter to rlimits in prototype.
17364 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17365 Do not use __unbounded.
17366 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17367 not use __ptrvalue.
17368 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17369 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17370 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17371 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17372 __ptrvalue or __unbounded.
17373 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17374 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17375 use __unbounded.
17376 (__new_msgctl): Do not use __ptrvalue.
17377 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17378 __unbounded.
17379 (__libc_msgrcv): Do not use __ptrvalue.
17380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17381 startup_info): Do not use __unbounded.
17382 (__libc_start_main): Likewise. Rename ubp_* variables and
17383 parameters. Remove argv definitions conditional on
17384 [__BOUNDED_POINTERS__].
17385 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17386 __ptrvalue.
17387 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17388 use __unbounded.
17389 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17390 or __ptrvalue.
17391 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17392 use __unbounded.
17393 (__new_shmctl): Do not use __ptrvalue.
17394 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17395 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17396 Likewise.
17397 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17399 (__libc_sigaction): Likewise.
17400 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17401 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17402 Likewise.
17403 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17404
cc7834d6
OB
174052013-02-13 Ondřej Bílka <neleai@seznam.cz>
17406
ffb1ec7b 17407 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17408
17409 * string/mempcpy.c: Implement by calling memcpy.
17410
bdf02814
SP
174112013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17412
c2af38aa
SP
17413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17414
4e92d59e
SP
17415 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17416 evaluation.
17417
909279a5
SP
17418 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17419 values in the mantissa.
17420
bdf02814
SP
17421 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17422 minimize writes to Z.
17423 (sub_magnitudes): Simplify code a bit.
17424
cd525923
RM
174252013-02-12 Roland McGrath <roland@hack.frob.com>
17426
17427 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17428 from the message. The linker prefixes all warnings with that already.
17429
7e2f0d2d
AS
174302013-02-12 Andreas Schwab <schwab@suse.de>
17431
a445af0b
AS
17432 [BZ #15078]
17433 * posix/regexec.c (extend_buffers): Add parameter min_len.
17434 (check_matching): Pass minimum needed length.
17435 (clean_state_log_if_needed): Likewise.
17436 (get_subexp): Likewise.
17437 * posix/Makefile (tests): Add bug-regex34.
17438 (bug-regex34-ENV): Define.
17439 * posix/bug-regex34.c: New file.
17440
7e2f0d2d
AS
17441 [BZ #11561]
17442 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17443 elements compare against the byte sequence of it, not its name.
17444 * posix/Makefile (tests): Add bug-regex35.
17445 (bug-regex35-ENV): Define.
17446 * posix/bug-regex35.c: New file.
17447
a175b684
TV
174482013-02-11 Tom de Vries <tom@codesourcery.com>
17449
17450 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17451 comment.
17452 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17453 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17454 (CHECK_EOL): Add undef.
17455
310998fe 174562013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17457
17458 * bits/stdlib-bsearch.h: New file.
17459 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17460 * stdlib/stdlib.h: Likewise.
41eda41d 17461
8ded91fb
RM
174622013-02-11 Roland McGrath <roland@hack.frob.com>
17463
17464 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17465 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17466 declaration.
17467 * manual/search.texi (Array Search Function): Add missing const in
17468 lfind prototype.
17469 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17470 declaration to use rlim_t.
17471 (Basic Scheduling Functions): Remove erroneous const from
17472 sched_getparam prototype. Remove erroneous * from
17473 sched_get_priority_max and sched_get_priority_min prototypes.
17474 (Resource Usage): Fix summary @comment on vtimes to refer to
17475 sys/vtimes.h rather than vtimes.h.
17476 Add missing *s in vtimes prototype.
17477 (Limits on Resources): Fix ulimit prototype to return long int.
17478 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17479 prototypes to use long int rather than double.
17480 (BSD Random): Fix initstate and setstate to use char *, not void *.
17481 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17482 prototype to make second argument 'struct aiocb64 *const[]'.
17483 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17484 (Status of AIO Operations): Remove erroneous const in aio_return and
17485 aio_return64 prototypes.
17486 (Synchronizing I/O): Fix sync prototype to return void.
17487 * manual/startup.texi (Suboptions): Remove an erroneous const in
17488 getsubopt prototype.
17489 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17490 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17491 use size_t rather than int.
17492 (Scanning All Users): Likewise for getpwent_r.
17493 (Setting Groups): Add missing const to setgroups prototype.
17494 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17495 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17496 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17497 'const void *' rather than 'const char *'.
17498 (Host Address Functions): Likewise for inet_ntop.
17499 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17500 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17501 ssize_t for return value.
17502 (Sending Data): Likewise for send, sendto, sendmsg.
17503 (Socket Option Functions): Add a missing const in setsockopt prototype.
17504 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17505 use wchar_t for the argument.
17506 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17507 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17508 take no arguments.
17509 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17510 double/float/long double for second argument.
17511 Fix return types of significand, significandf, significandl.
17512 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17513 argument in fchmod prototype.
17514 (File Owner): Use uid_t and gid_t in fchown prototype.
17515 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17516 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17517 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17518 use 'const struct dirent **' as argument types to CMP function pointer
17519 argument.
17520 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17521 (File Times): Fix summary magic @comment for struct utimbuf and utime
17522 to refer to utime.h, not time.h.
17523 * manual/string.texi (Argz Functions): Add missing const in
17524 argz_extract and argz_next prototypes.
17525 (Finding Tokens in a String): Likewise for basename.
17526 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17527 (Copying and Concatenation): Fix typo in wmemmove prototype.
17528 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17529 (Signal Stack): Remove erroneous const in sigstack prototype.
17530 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17531 prototype.
17532 (Simple Calendar Time): Likewise for stime.
17533 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17534 prototype.
17535 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17536 say sys/sysctl.h instead.
17537 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17538 and vsyslog prototypes.
17539
fe77fe6d
TV
175402013-02-11 Tom de Vries <tom@codesourcery.com>
17541
17542 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17543 Remove.
17544
3a09b620
RM
175452013-02-11 Roland McGrath <roland@hack.frob.com>
17546
17547 * misc/sys/mman.h: Fix typo in mremap comment.
17548
550a0b89
RM
175492013-02-08 Roland McGrath <roland@hack.frob.com>
17550
17551 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17552 the '\0' terminator.
17553
a2da1673
JM
175542013-02-08 Joseph Myers <joseph@codesourcery.com>
17555
17556 [BZ #13550]
17557 * debug/segfault.c: Don't include <bp-checks.h>.
17558 * sysdeps/generic/bp-checks.h: Remove file.
17559 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17560 (__GETDENTS): Don't use CHECK_N.
17561 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17562 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17563 (__getgroups): Don't use CHECK_N.
17564 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17565 (setgroups): Don't use CHECK_N.
17566 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17567 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17568 (__libc_msgrcv): Don't use CHECK_N.
17569 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17570 (__libc_msgsnd): Don't use CHECK_N.
17571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17572 <bp-checks.h>.
17573 (__libc_pread): Don't use CHECK_N.
17574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17575 include <bp-checks.h>.
17576 (__libc_pread64): Don't use CHECK_N.
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17578 include <bp-checks.h>.
17579 (__libc_pwrite): Don't use CHECK_N.
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17581 include <bp-checks.h>.
17582 (__libc_pwrite64): Don't use CHECK_N.
17583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17584 <bp-checks.h>.
17585 (__libc_pread): Don't use CHECK_N.
17586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17587 include <bp-checks.h>.
17588 (__libc_pread64): Don't use CHECK_N.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17590 include <bp-checks.h>.
17591 (__libc_pwrite): Don't use CHECK_N.
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17593 include <bp-checks.h>.
17594 (__libc_pwrite64): Don't use CHECK_N.
17595 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17596 (do_pread): Don't use CHECK_N.
17597 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17598 (do_pread64): Don't use CHECK_N.
17599 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17600 (do_pwrite): Don't use CHECK_N.
17601 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17602 (do_pwrite64): Don't use CHECK_N.
17603 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17604 (__libc_readv): Don't use CHECK_N.
17605 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17606 (semop): Don't use CHECK_N.
17607 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17608 <bp-checks.h>.
17609 (semtimedop): Don't use CHECK_N.
17610 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17611 (__libc_pread): Don't use CHECK_N.
17612 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17613 <bp-checks.h>.
17614 (__libc_pread64): Don't use CHECK_N.
17615 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17616 <bp-checks.h>.
17617 (__libc_pwrite): Don't use CHECK_N.
17618 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17619 <bp-checks.h>.
17620 (__libc_pwrite64): Don't use CHECK_N.
17621 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17622 <bp-checks.h>.
17623 (__libc_msgrcv): Don't use CHECK_N.
17624 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17625 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17626 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17627 (__libc_writev): Don't use CHECK_N.
17628
b84660a8
RM
176292013-02-08 Roland McGrath <roland@hack.frob.com>
17630
7f3e75f8
RM
17631 * string/strcpy.c: Removed unused variable.
17632
b84660a8
RM
17633 * Makeconfig (+sysdep-includes): Define with := rather than =.
17634 Use an existing include/ subdir of each sysdeps dir before it.
17635
471514d3
CD
176362013-02-08 Carlos O'Donell <carlos@redhat.com>
17637
17638 * nscd/connection.c (register_traced_file): Comment function.
17639 [HAVE_INOTIFY] (union __inev): Define.
17640 [HAVE_INOTIFY] (inotify_check_files): New function.
17641 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17642 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17643 clear_db_cache.
17644 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17645
b2d3c3be
CD
176462013-02-08 Carlos O'Donell <carlos@redhat.com>
17647
17648 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17649 loaded if not already and that a failure is permanent.
17650
b39949d2
CD
176512013-02-08 Carlos O'Donell <carlos@redhat.com>
17652
ddacd1db 17653 [BZ #15006]
b39949d2
CD
17654 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17655 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17656
b2c9eff4
JM
176572013-02-08 Joseph Myers <joseph@codesourcery.com>
17658
f3aae3f3
JM
17659 [BZ #13550]
17660 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17661 (CHECK_1_NULL_OK): Likewise.
17662 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17663 (__fxstat): Do not use CHECK_1.
17664 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17665 <bp-checks.h>.
17666 (___fxstat64): Do not use CHECK_1.
17667 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17668 <bp-checks.h>.
17669 (__fxstatat): Do not use CHECK_1.
17670 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17671 <bp-checks.h>.
17672 (__fxstatat64): Do not use CHECK_1.
17673 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17674 <bp-checks.h>.
17675 (__fxstat): Do not use CHECK_1.
17676 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17677 <bp-checks.h>.
17678 (__fxstatat): Do not use CHECK_1.
17679 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17680 <bp-checks.h>.
17681 (__getresgid): Do not use CHECK_1.
17682 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17683 <bp-checks.h>.
17684 (__getresuid): Do not use CHECK_1.
17685 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17686 <bp-checks.h>.
17687 (__lxstat): Do not use CHECK_1.
17688 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17689 <bp-checks.h>.
17690 (__old_msgctl): Do not use CHECK_1.
17691 (__new_msgctl): Likewise.
17692 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17693 <bp-checks.h>.
17694 (__new_setrlimit): Do not use CHECK_1.
17695 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17696 <bp-checks.h>.
17697 (__old_shmctl): Do not use CHECK_1.
17698 (__new_shmctl): Likewise.
17699 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17700 <bp-checks.h>.
17701 (__xstat): Do not use CHECK_1.
17702 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17703 (__lxstat): Do not use CHECK_1.
17704 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17705 <bp-checks.h>.
17706 (___lxstat64): Do not use CHECK_1.
17707 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17708 (__old_msgctl): Do not use CHECK_1.
17709 (__new_msgctl): Likewise.
17710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17711 <bp-checks.h>.
17712 (__gettimeofday): Do not use CHECK_1.
17713 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17714 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17715 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17716 <bp-checks.h>.
17717 (__gettimeofday): Do not use CHECK_1.
17718 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17719 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17720 (__new_shmctl): Do not use CHECK_1.
17721 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17722 <bp-checks.h>.
17723 (do_sigtimedwait): Do not use CHECK_1.
17724 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17725 <bp-checks.h>.
17726 (do_sigwaitinfo): Do not use CHECK_1.
17727 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17728 <bp-checks.h>.
17729 (msgctl): Do not use CHECK_1.
17730 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17731 <bp-checks.h>.
17732 (shmctl): Do not use CHECK_1.
17733 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17734 (ustat): Do not use CHECK_1.
17735 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17736 <bp-checks.h>.
17737 (__fxstat): Do not use CHECK_1.
17738 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17739 <bp-checks.h>.
17740 (__fxstatat): Do not use CHECK_1.
17741 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17742 <bp-checks.h>.
17743 (__lxstat): Do not use CHECK_1.
17744 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17745 <bp-checks.h>.
17746 (__xstat): Do not use CHECK_1.
17747 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17748 (__xstat): Do not use CHECK_1.
17749 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17750 (___xstat64): Do not use CHECK_1.
17751
b2c9eff4
JM
17752 [BZ #13550]
17753 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17754 definitions.
17755 (CHECK_BOUNDS_HIGH): Likewise.
17756 * string/strcpy.c: Do not include <bp-checks.h>.
17757 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17758
f1d70dad
RM
177592013-02-07 Roland McGrath <roland@hack.frob.com>
17760
17761 * nscd/nscd-client.h (__nscd_drop_map_ref):
17762 Add __attribute__ ((unused)).
17763 * nis/nss-nisplus.h (niserr2nss): Likewise.
17764
17765 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17766 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17767
17768 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17769 Remove inline keyword.
17770 * include/rounding-mode.h (round_away): Likewise.
17771 * libio/wfileops.c (adjust_wide_data): Likewise.
17772 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17773 (__m128i_strloadu_tolower): Likewise.
17774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17775 (__m128i_strloadu_tolower): Likewise.
17776 * time/mktime.c (ydhms_diff): Likewise.
17777 * locale/elem-hash.h (elem_hash): Likewise.
17778 * locale/setlocale.c (setdata): Likewise.
17779 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17780 (re_string_wchar_at): Likewise.
17781 (bitset_not, bitset_merge, bitset_mask): Likewise.
17782 [!(__GNUC__ > 3)] (inline): Remove macro.
17783 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17784 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17785 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17786 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17787 * string/memcmp.c (memcmp_bytes): Likewise.
17788 * locale/programs/locarchive.c (compute_hashval): Likewise.
17789 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17790 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17791 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17792 * nss/getent.c (print_rpc, print_protocols): Likewise.
17793 (print_passwd, print_group, print_aliases): Likewise.
17794 * nis/nss-nisplus.h (niserr2nss): Likewise.
17795 * nscd/connections.c (restart_p): Likewise.
17796 Change return type to bool.
17797
eab55bfb
RM
177982013-02-05 Roland McGrath <roland@hack.frob.com>
17799
7bd642f5
RM
17800 * Makeconfig (all-Depend-files): Add existing
17801 $(sorted-subdirs:=/Depend) files.
17802 (all-subdirs): Remove nss.
17803 * sysdeps/unix/inet/Subdirs: Add it here instead.
17804 * hesiod/Depend: New file.
17805
573c29b2
RM
17806 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17807 instead of calling alloca.
17808
b2e25af0
RM
17809 * io/lseek.c (__lseek): Rename to __libc_lseek.
17810 Define __lseek as an alias.
17811
eab55bfb
RM
17812 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17813
9a0d1941
CD
178142013-02-04 Carlos O'Donell <carlos@redhat.com>
17815
17816 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17817 else clause and remove check for non-standard endianness.
17818
b83bbec4
DM
178192013-02-04 David S. Miller <davem@davemloft.net>
17820
17821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17822
6277fdab
JM
178232013-02-04 Joseph Myers <joseph@codesourcery.com>
17824
17825 [BZ #13550]
17826 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17827 (__ubp_memchr): Remove prototype.
17828 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17829 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17830 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17831 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17832 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17833 Remove alias.
17834 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17835 (__ubp_memchr): Likewise.
17836 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17837 (__ubp_memchr): Likewise.
17838 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17839 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17840 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17841 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17842 CHECK_STRING.
17843 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17844 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17845 (__getcwd): Do not use CHECK_STRING.
17846 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17847 <bp-checks.h>.
17848 (__real_chown): Do not use CHECK_STRING.
17849 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17850 <bp-checks.h>.
17851 (fchownat): Do not use CHECK_STRING.
17852 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17853 CHECK_STRING.
17854 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17855 <bp-checks.h>.
17856 (__lchown): Do not use CHECK_STRING.
17857 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17858 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17859 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17860 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17862 include <bp-checks.h>.
17863 (truncate64): Do not use CHECK_STRING.
17864 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17865 <bp-checks.h>.
17866 (__real_chown): Do not use CHECK_STRING.
17867 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17868 <bp-checks.h>.
17869 (__lchown): Do not use CHECK_STRING.
17870 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17871 <bp-checks.h>.
17872 (__chown): Do not use CHECK_STRING.
17873 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17874 <bp-checks.h>.
17875 (truncate64): Do not use CHECK_STRING.
17876 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17877 Likewise.
17878 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17879 (__xmknod): Do not use CHECK_STRING.
17880 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17881 <bp-checks.h>.
17882 (__xmknodat): Do not use CHECK_STRING.
17883 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17884 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17885
903ae060
AS
178862013-02-04 Andreas Schwab <schwab@suse.de>
17887
17888 [BZ #14142]
17889 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17890 * include/netdb.h: Likewise for h_errno.
17891 * elf/tst-stackguard1.c: Include <tls.h>.
17892
542f9466
JK
178932013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17894
17895 * elf/link.h (struct link_map): Extend the l_addr comment.
17896 * include/link.h (struct link_map): Likewise.
17897
e782a927
JM
178982013-02-01 Joseph Myers <joseph@codesourcery.com>
17899
17900 [BZ #13550]
17901 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17902 (BOUNDED_1): Remove macro.
17903 * debug/backtrace.c: Don't include <bp-checks.h>.
17904 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17905 (__backtrace): Likewise.
17906 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17907 <bp-checks.h>.
17908 (__backtrace): Don't use BOUNDED_1.
17909 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17910 <bp-checks.h>.
17911 (__backtrace): Don't use BOUNDED_1.
17912 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17913 (__backtrace): Don't use BOUNDED_1.
17914 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17915 (shmat): Don't use BOUNDED_N.
17916
8cf28c5e
JM
179172013-01-31 Joseph Myers <joseph@codesourcery.com>
17918
3a7ac8a0
JM
17919 [BZ #13550]
17920 * sysdeps/generic/bp-start.h: Remove file.
17921 * csu/libc-start.c: Don't include <bp-start.h>.
17922 (LIBC_START_MAIN): Set up __environ directly instead of using
17923 INIT_ARGV_and_ENVIRON.
17924 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17925 <bp-start.h>.
17926
f3499f95
JM
17927 [BZ #13550]
17928 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17929 definitions.
17930 (CHECK_FCNTL): Likewise.
17931 (CHECK_N_PAGES): Likewise.
17932
32a45bea
JM
17933 [BZ #13550]
17934 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17935 definitions.
17936 (CHECK_SIGSET_NULL_OK): Likewise.
17937 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17938 <bp-checks.h>.
17939 (sigpending): Don't use CHECK_SIGSET.
17940 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17941 <bp-checks.h>.
17942 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17943 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17944 <bp-checks.h>.
17945 (do_sigsuspend): Don't use CHECK_SIGSET.
17946 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17947 use CHECK_SIGSET.
17948 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17949 (do_sigwait): Don't use CHECK_SIGSET.
17950 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17951 use CHECK_SIGSET.
17952 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17953 include <bp-checks.h>.
17954 (sigpending): Don't use CHECK_SIGSET.
17955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17956 include <bp-checks.h>.
17957 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17958 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17959 <bp-checks.h>.
17960 (sigpending): Don't use CHECK_SIGSET.
17961 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17962 <bp-checks.h>.
17963 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17964
2e8a5c8c
JM
17965 [BZ #13550]
17966 * sysdeps/generic/bp-semctl.h: Remove file.
17967 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17968 <bp-checks.h> and <bp-semctl.h>.
17969 (__old_semctl): Don't use CHECK_SEMCTL.
17970 (__new_semctl): Likewise.
17971 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17972 and <bp-semctl.h>.
17973 (__old_semctl): Don't use CHECK_SEMCTL.
17974 (__new_semctl): Likewise.
17975 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17976 <bp-checks.h> and <bp-semctl.h>.
17977 (__old_semctl): Don't use CHECK_SEMCTL.
17978 (__new_semctl): Likewise.
17979 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17980 <bp-checks.h> and <bp-semctl.h>.
17981 (semctl): Don't use CHECK_SEMCTL.
17982
c2d54929
JM
17983 [BZ #13550]
17984 * Makerules (elide-bp-thunks): Remove variable.
17985 (elide-routines.oS): Don't use $(elide-bp-thunks).
17986 (elide-routines.os): Likewise.
17987 (elide-routines.o): Likewise.
17988 (elide-routines.op): Likewise.
17989 (elide-routines.og): Likewise.
17990 (objects): Don't use $(bp-thunks).
17991 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17992 include.
17993 (common-generated): Do not add s-proto-bp.d.
17994 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17995 (int): Likewise.
17996 (typ): Likewise.
17997 Do not generate makefile rules for bounded-pointer thunks.
17998 * sysdeps/generic/bp-thunks.h: Remove file.
17999 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18000 * sysdeps/unix/s-proto-bp.S: Likewise.
18001
8cf28c5e
JM
18002 [BZ #15062]
18003 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18004 parts of result separately when argument is not close to line from
18005 -i to i and one part of argument is small.
18006 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18007 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18008 * math/libm-test.inc (cacos_test): Add more tests.
18009 (casin_test): Likewise.
18010 (casinh_test): Likewise.
18011 * sysdeps/i386/fpu/libm-test-ulps: Update.
18012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18013
c4e33b8d
DM
180142013-01-31 David S. Miller <davem@davemloft.net>
18015
18016 * po/de.po: Update from translation team.
18017
3b60b421
MK
180182013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18019
18020 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18021
bb931195
TS
180222013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18023
b5a5da23
TS
18024 * configure.in (_AC_PROG_CC_C89): New definition.
18025 * configure: Regenerate.
18026
bb931195
TS
18027 * configure.in (AC_PROG_CPP): New definition.
18028 * configure: Regenerate.
18029
8c53a12c
JM
180302013-01-23 Joseph Myers <joseph@codesourcery.com>
18031
18032 * debug/tst-backtrace.h: New file.
18033 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18034 (ret): Remove variable.
18035 (x): Likewise.
18036 (FAIL): Remove macro.
18037 (NO_INLINE): Likewise.
18038 (fn1): Use match function instead of strstr.
18039 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18040 (ret): Remove variable.
18041 (x): Likewise.
18042 (FAIL): Remove macro.
18043 (NO_INLINE): Likewise.
18044 (fn): Use match function instead of strstr.
18045 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18046 (ret): Remove variable.
18047 (x): Likewise.
18048 (FAIL): Remove macro.
18049 (NO_INLINE): Likewise.
18050 (handle_signal): Use match function instead of strstr.
18051 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18052 (ret): Remove variable.
18053 (x): Likewise.
18054 (FAIL): Remove macro.
18055 (NO_INLINE): Likewise.
18056 (handle_signal): Use match function instead of strstr.
18057
4858fa2a
RM
180582013-01-23 Roland McGrath <roland@hack.frob.com>
18059
18060 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18061
bae8e7f5
DM
180622013-01-23 David S. Miller <davem@davemloft.net>
18063
18064 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18065 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18066 argument of CAS if possible.
18067 * sysdeps/sparc/sparc64/bits/atomic.h
18068 (__arch_compare_and_exchange_val_32_acq): Likewise.
18069 (__arch_compare_and_exchange_val_64_acq): Likewise.
18070
9cbbc4ae
PT
180712013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18072
18073 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18074 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18075 Include <limits.h>.
67b3f58c 18076 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18077
5655a0b5
AC
180782013-01-23 Adam Conrad <adconrad@0c3.net>
18079
18080 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18081 (LDFLAGS-tst-array5): Likewise.
18082
052aff95
JM
180832013-01-23 Joseph Myers <joseph@codesourcery.com>
18084
18085 [BZ #15036]
18086 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18087 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18088 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18089 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18090
7c1e01aa
DM
180912013-01-21 David S. Miller <davem@davemloft.net>
18092
18093 * sysdeps/sparc/backtrace.c: New file.
18094 * sysdeps/sparc/sparc32/backtrace.h: New file.
18095 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18096 * sysdeps/sparc/sparc64/backtrace.h: New file.
18097 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18098 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18099 -funwind-tables.
18100
ab087e0a
AS
181012013-01-21 Andreas Schwab <schwab@suse.de>
18102
18103 [BZ #15020]
18104 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18105 closed its stdout.
18106
ed689c2f
AS
181072013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18108
18109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18110 "mpa2.h".
18111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18112
31d470ac
JM
181132013-01-18 Joseph Myers <joseph@codesourcery.com>
18114 Mark Mitchell <mark@codesourcery.com>
18115 Tom de Vries <tom@codesourcery.com>
18116 Paul Pluzhnikov <ppluzhnikov@google.com>
18117
18118 * debug/tst-backtrace2.c: New file.
18119 * debug/tst-backtrace3.c: Likewise.
18120 * debug/tst-backtrace4.c: Likewise.
18121 * debug/tst-backtrace5.c: Likewise.
18122 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18123 (CFLAGS-tst-backtrace3.c): Likewise.
18124 (CFLAGS-tst-backtrace4.c): Likewise.
18125 (CFLAGS-tst-backtrace5.c): Likewise.
18126 (LDFLAGS-tst-backtrace2): Likewise.
18127 (LDFLAGS-tst-backtrace3): Likewise.
18128 (LDFLAGS-tst-backtrace4): Likewise.
18129 (LDFLAGS-tst-backtrace5): Likewise.
18130 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18131 tst-backtrace4 and tst-backtrace5.
18132
90567f30 181332013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18134 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18135
18136 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18137 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18138 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18139 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18141 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18142 "+r" and remove output regs list as redundant. Add explicit inline
18143 asm to specify register of return val to work around compiler codegen
18144 bug. Remove (int) cast on return value. Add return type parameter to
18145 use in macro so that this macro does not truncate return value for
18146 64-bit values.
18147 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18148 pass to INTERNAL_VSYSCALL_NCS.
18149 (INLINE_VSYSCALL): Add 'long int' as return type to
18150 INTERNAL_VSYSCALL_NCS macro invocation.
18151 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18152 INTERNAL_VSYSCALL_NCS macro invocation.
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18154
d3b9ea61
SP
181552013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18156
0b57daeb
SP
18157 [BZ #14496]
18158 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18159 Fix application of SIMD FP exception mask.
18160
caa99d06
SP
18161 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18162 mp_no from a power of two.
18163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18164 __mpexp_twomm1. Use __pow_mp.
18165
d3b9ea61
SP
18166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18167 multiplication.
18168
1dbaee3c
DM
181692013-01-17 David S. Miller <davem@davemloft.net>
18170
18171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18172
728d7b43
JM
181732013-01-17 Joseph Myers <joseph@codesourcery.com>
18174
18175 [BZ #15023]
18176 * include/complex.h: Condition contents on [!_COMPLEX_H].
18177 (__kernel_casinhf): New prototype.
18178 (__kernel_casinh): Likewise.
18179 (__kernel_casinhl): Likewise.
18180 * math/Makefile (libm_calls): Add k_casinh.
18181 * math/k_casinh.c: New file.
18182 * math/k_casinhf.c: Likewise.
18183 * math/k_casinhl.c: Likewise.
18184 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18185 finite nonzero arguments.
18186 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18187 finite nonzero arguments.
18188 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18189 finite nonzero arguments.
18190 * math/s_casinh.c: Do not include <float.h>.
18191 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18192 * math/s_casinhf.c: Do not include <float.h>.
18193 (__casinhf): Move code for finite nonzero arguments to
18194 k_casinhf.c.
18195 * math/s_casinhl.c: Do not include <float.h>.
18196 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18197 redefine.
18198 (__casinhl): Move code for finite nonzero arguments to
18199 k_casinhl.c.
18200 * math/libm-test.inc (cacos_test): Add more tests.
18201 * sysdeps/i386/fpu/libm-test-ulps: Update.
18202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18203
2a26ef3a
PT
182042013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18205
18206 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18207 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18208 [!HAVE_MREMAP]: Remove [defined linux] case.
18209 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18210
a897655d
SP
182112013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18212
18213 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18214
881ebe89 182152013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18216
18217 * elf/elf.h (R_386_SIZE32): New relocation.
18218 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18219 R_386_SIZE32.
18220 (elf_machine_rela): Likewise.
18221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18222 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18223
59981e9b
JM
182242013-01-17 Joseph Myers <joseph@codesourcery.com>
18225
18226 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18227 (FP_FAST_FMA): Do not define.
18228 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18229 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18230 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18231 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18232 !_SOFT_FLOAT]: Likewise.
18233 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18234 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18235 value.
18236 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18237 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18238 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18239 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18240 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18241 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18242 file.
18243
cfa8054f
AS
182442013-01-16 Andreas Schwab <schwab@suse.de>
18245
18246 [BZ #14327]
18247 * include/stdlib.h (__mktemp): Add declaration.
18248 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18249 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18250
dd930cc5
SP
182512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18252
881ebe89
SP
18253 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18254 definitions.
18255 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18256 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18257 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18258 definitions here.
18259 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18260 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18261 definitions.
18262 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18263 and ONE.
18264 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18265 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18266 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18267 definitions.
18268 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18269 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18270 definitions.
18271 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18272
dd930cc5
SP
18273 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18274
c19a9f89
DM
182752013-01-15 David S. Miller <davem@davemloft.net>
18276
1aa61767
DM
18277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18278 trunc{,f} to libm-sysdep_routes.
18279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18281 file.
18282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18284 file.
18285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18286 file.
18287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18289 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18290 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18291 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18292 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18293 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18294 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18295
c42d5e98
DM
18296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18297 nearbyint{,f} to libm-sysdep_routes.
18298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18300 New file.
18301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18302 file.
18303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18304 New file.
18305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18306 file.
18307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18309 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18310 file.
18311 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18312 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18313 file.
18314 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18315 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18316 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18317
c19a9f89
DM
18318 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18319 libc_feholdexcept and libc_fesetenv.
18320
357679d2
MF
183212013-01-15 Mike Frysinger <vapier@gentoo.org>
18322
18323 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18324
65a82e3d
DM
183252013-01-14 David S. Miller <davem@davemloft.net>
18326
8b954ab9
DM
18327 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18328 (SPARC_ASM_VIS2_IFUNC): Likewise.
18329 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18331 use of 'siam' instruction.
18332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18333 Likewise.
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18335 Likewise.
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18337 Likewise.
18338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18343 file.
18344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18345 file.
18346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18347 file.
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18349 file.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18355 new VIS2 routines.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18359 Likewise.
18360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18365 routines to libm-sysdep_routines.
18366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18367
65a82e3d
DM
18368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18369 fdim/fdimf to libm-sysdep_routines.
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18371 file.
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18374 file.
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18378 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18379 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18380 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18381 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18382
e34ab705
SP
183832013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18384
2a91b573
SP
18385 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18386 to optimize copies.
18387
1066a534
SP
18388 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18391
e34ab705
SP
18392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18393 local variable MPTWO.
18394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18395 Likewise.
18396
aba5e596
MF
183972013-01-13 Mike Frysinger <vapier@gentoo.org>
18398
18399 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18400 GLOB_NOESCAPE.
18401
e557e9e5
MF
184022013-01-13 Mike Frysinger <vapier@gentoo.org>
18403
18404 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18405
0428cec9
MF
184062013-01-13 Mike Frysinger <vapier@gentoo.org>
18407
18408 * manual/pattern.texi (glob_t): Document gl_flags.
18409 (glob64_t): Likewise.
18410
8794a964
DM
184112013-01-11 David S. Miller <davem@davemloft.net>
18412
66438c3f
RM
18413 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18414 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18415 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18416 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18417 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18418 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18419 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18420 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18421 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18422 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18423 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18424 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18425 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18426
4ae4244d
DM
18427 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18428 sparc V9 rather than using V8 code.
18429 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18430 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18431
8794a964
DM
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18433 Move to...
18434 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18435 Here.
18436
6270516e
RM
184372013-01-11 Roland McGrath <roland@hack.frob.com>
18438
18439 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18440 not in the main loop.
18441 * configure: Regenerated.
18442
6a57d931
JM
184432013-01-11 Joseph Myers <joseph@codesourcery.com>
18444
18445 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18446 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18447 to just #else.
18448 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18449 [!__GLIBC_HAVE_LONG_LONG] case.
18450 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18451 condition to just #else.
18452 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18453 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18454 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18455 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18456 unconditional.
18457 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18458 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18459 #elif condition to just #else.
18460 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18461 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18462 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18463 #elif condition to just #else.
18464
0e8529e9
SE
184652013-01-11 Steve Ellcey <sellcey@mips.com>
18466
18467 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18468 (EF_MIPS_ARCH_64): Fix value.
18469 (EF_MIPS_ARCH_32R2): New.
18470 (EF_MIPS_ARCH_64R2): New.
18471
740b3dbe
L
184722013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18473
18474 * Makeconfig (+link-pie-before-libc): New.
18475 (+link-pie-after-libc): Likewise.
18476 (+link-pie-tests): Likewise.
18477 (+link-pie): Rewritten.
18478 (link-before-libc): Remove $(config-LDFLAGS).
18479 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18480 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18481 (config-LDFLAGS): Renamed to ...
18482 (rtld-LDFLAGS): This.
18483 (rtld-tests-LDFLAGS): New macro.
18484 (link-libc-rpath-link): Likewise.
18485 (link-libc-tests-rpath-link): Likewise.
18486 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18487 (link-libc): Prepand $(link-libc-rpath-link).
18488 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18489 (test-program-prefix): New macro.
18490 (test-via-rtld-prefix): Likewise.
18491 (test-program-cmd): Likewise.
18492 (host-test-program-cmd): Likewise.
18493 * Makefile ($(common-objpfx)testrun.sh): Replace
18494 $(run-program-prefix) with $(test-program-prefix).
18495 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18496 $(rtld-LDFLAGS).
18497 ($(common-objpfx)shlib.lds): Likewise.
18498 (build-module-helper): Likewise.
18499 ($(common-objpfx)format.lds): Likewise.
18500 * Rules (binaries-pie-tests): New.
18501 (binaries-pie-notests): Likewise.
18502 (binaries-pie): Rewritten.
18503 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18504 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18505 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18506 (make-test-out): Replace $(host-built-program-cmd) with
18507 $(host-test-program-cmd).
18508 * config.make.in (build-hardcoded-path-in-tests): New variable.
18509 * configure.in (--enable-hardcoded-path-in-tests): New configure
18510 option.
18511 (hardcoded_path_in_tests): New AC_SUBST.
18512 * configure: Regenerated.
18513 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18514 $(built-program-cmd) with $(test-program-cmd).
18515 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18516 (test_program_cmd): This.
18517 * elf/Makefile ($(objpfx)order.out): Run test with
18518 $(test-program-prefix).
18519 ($(objpfx)order2.out): Likewise.
18520 ($(objpfx)tst-initorder.out): Likewise.
18521 ($(objpfx)tst-initorder2.out): Likewise.
18522 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18523 $(test-program-cmd).
18524 ($(objpfx)tst-array1-static.out): Likewise.
18525 ($(objpfx)tst-array2.out): Likewise.
18526 ($(objpfx)tst-array3.out): Likewise.
18527 ($(objpfx)tst-array4.out): Likewise.
18528 ($(objpfx)tst-array5.out): Likewise.
18529 ($(objpfx)tst-array5-static.out): Likewise.
18530 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18531 $(test-program-cmd).
18532 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18533 $(run-program-prefix) with $(test-program-prefix).
18534 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18535 (test_program_prefix): This.
18536 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18537 $(run-program-prefix) with $(test-program-prefix).
18538 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18539 (test_program_prefix): This.
18540 * iconvdata/tst-tables.sh: Likewise.
18541 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18542 $(run-program-prefix) with $(test-program-prefix).
18543 ($(objpfx)tst-translit.out): Likewise.
18544 ($(objpfx)tst-gettext2.out): Likewise.
18545 ($(objpfx)tst-gettext4.out): Likewise.
18546 ($(objpfx)tst-gettext6.out): Likewise.
18547 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18548 (test_program_prefix): This.
18549 * intl/tst-gettext2.sh: Likewise.
18550 * intl/tst-gettext4.sh Likewise.
18551 * intl/tst-gettext6.sh: Likewise.
18552 * intl/tst-translit.sh: Likewise.
18553 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18554 with $(test-program-cmd).
18555 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18556 $(run-program-prefix) with $(test-program-prefix).
18557 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18558 (test_program_prefix): This.
18559 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18560 $(run-program-prefix) with $(test-program-prefix).
18561 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18562 (test_program_prefix): This.
18563 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18564 * posix/Makefile ($(objpfx)globtest.out): Replace
18565 $(run-via-rtld-prefix) and $(test-wrapper) with
18566 $(test-program-prefix) and $(test-via-rtld-prefix).
18567 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18568 $(test-program-prefix).
18569 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18570 $(host-test-program-cmd).
18571 (tst-spawn-ARGS): Likewise.
18572 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18573 $(test-program-prefix).
18574 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18575 (test_via_rtld_prefix): This.
18576 (test_wrapper): Renamed to ...
18577 (test_program_prefix): This.
18578 (run_program_prefix): Replaced by test_program_prefix.
18579 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18580 (test_program_prefix): This.
18581 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18582 with $(host-test-program-cmd).
18583 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18584 $(run-program-prefix) with $(test-program-prefix).
18585 ($(objpfx)tst-printf.out): Likewise.
18586 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18587 $(test-program-cmd).
18588 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18589 (test_program_prefix): This.
18590 * stdio-common/tst-unbputc.sh: Likewise.
18591 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18592 $(run-program-prefix) with $(test-program-prefix).
18593 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18594 (test_program_prefix): This.
18595 * string/Makefile ($(objpfx)tst-svc.out): Replace
18596 $(built-program-cmd) with $(test-program-cmd).
18597
c6fe55cf
AJ
185982013-01-11 Andreas Jaeger <aj@suse.de>
18599
18600 [BZ #15003]
18601 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18602 value. Sync with Linux 3.7.
18603
9e6919c8
DM
186042013-01-10 David S. Miller <davem@davemloft.net>
18605
18606 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18607 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18608 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18609
1c9f1a02
RM
186102013-01-10 Roland McGrath <roland@hack.frob.com>
18611
18612 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18613 never set.
18614 * configure: Regenerated.
18615
b9de2dde
DM
186162013-01-10 David S. Miller <davem@davemloft.net>
18617
18618 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18619 sparc V9 rather than using V8 code.
18620 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18621 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18622
e7f68ef4
RM
186232013-01-10 Roland McGrath <roland@hack.frob.com>
18624
18625 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18626 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18627 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18628 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18629 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18630 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18631 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18632 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18633 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18634 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18635 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18636 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18637 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18638 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18639 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18640 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18641 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18642 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18643 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18644 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18645 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18646 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18647 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18648 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18649 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18650 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18651 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18652
5a47cc9c
DM
186532013-01-10 David S. Miller <davem@davemloft.net>
18654
18655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18656
4cf8f209
L
186572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18658
18659 * posix/Makefile (tests-static): New variable.
18660 (tests): Add $(tests-static).
18661 (tst-exec-static-ARGS): New variable.
18662 (tst-spawn-static-ARGS): Likewise.
18663 * posix/tst-exec-static.c: New file.
18664 * posix/tst-spawn-static.c: Likewise.
18665 * posix/tst-exec.c: Support run directly.
18666 * posix/tst-spawn.c: Likewise.
18667
fed0faa1
JM
186682013-01-10 Joseph Myers <joseph@codesourcery.com>
18669
828beb13
JM
18670 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18671 long.
18672 * math/bits/mathcalls.h (llrint): Likewise.
18673 (llround): Likewise.
18674 * stdlib/stdlib.h (struct drand48_data): Likewise.
18675 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18676 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18677 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18678 Likewise.
18679 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18680 Likewise.
18681 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18682 (elf_greg_t): Likewise.
18683 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18684 (__jmp_buf): Likewise.
18685 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18686 definitions.
18687 (llrint): Likewise, for all definitions.
18688 (llrintl): Likewise.
18689
fed0faa1
JM
18690 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18691 Remove [__GNUC__] condition.
18692 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18693 condition to just [__USE_ISOC99].
18694 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18695
1a20cb20
L
186962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18697
18698 [BZ #14200]
18699 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18700 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18701 defined.
18702 (_POSIX_V6_ILP32_OFF32): Likewise.
18703 (_XBS5_ILP32_OFF32): Likewise.
18704 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18705 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18706
751b85f7
SP
187072013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18708
7490eb81
SP
18709 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18710
751b85f7
SP
18711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18712 doubles __mpexp_twomm1. Adjust usage.
18713 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18714 Remove.
18715
988197f0
AS
187162013-01-10 Andreas Schwab <schwab@suse.de>
18717
18718 [BZ #14964]
18719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18720 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18721
e83d7298
DM
187222013-01-09 David S. Miller <davem@davemloft.net>
18723
034ed64b 18724 [BZ #15003]
e83d7298
DM
18725 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18726 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18727 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18728 TCP_FASTOPEN): Define.
18729 (tcp_repair_opt): New structure.
18730 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18731 enum values.
18732 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18733 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18734 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18735 (tcp_cookie_transactions): New structure.
18736
d5e0b9bd
AB
187372013-01-09 Anton Blanchard <anton@samba.org>
18738
18739 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18740 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18741 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18742 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18743
0c07e3ea
JM
187442013-01-09 Joseph Myers <joseph@codesourcery.com>
18745
18746 * include/features.h (__USE_ANSI): Remove.
18747
232f7002
RM
187482013-01-09 Roland McGrath <roland@hack.frob.com>
18749
ad98e30c
RM
18750 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18751
232f7002
RM
18752 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18753
950c99ca
SP
187542013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18755
b5792741
SP
18756 * sysdeps/s390/fpu/libm-test-ulps: Update.
18757
47cf2278
SP
18758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18759
950c99ca
SP
18760 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18761 (__acr): Likewise.
18762 (__cpy): Likewise.
18763 (norm): Likewise.
18764 (denorm): Likewise.
18765 (__mp_dbl): Likewise.
18766 (__dbl_mp): Likewise.
18767 (add_magnitudes): Likewise.
18768 (sub_magnitudes): Likewise.
18769 (__add): Likewise.
18770 (__sub): Likewise.
18771 (__mul): Likewise.
18772 (__inv): Likewise.
18773 (__dvd): Likewise.
18774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18775 (__acr): Likewise.
18776 (__cpy): Likewise.
18777 (norm): Likewise.
18778 (denorm): Likewise.
18779 (__mp_dbl): Likewise.
18780 (__dbl_mp): Likewise.
18781 (add_magnitudes): Likewise.
18782 (sub_magnitudes): Likewise.
18783 (__add): Likewise.
18784 (__sub): Likewise.
18785 (__mul): Likewise.
18786 (__inv): Likewise.
18787 (__dvd): Likewise.
18788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18789 (__acr): Likewise.
18790 (__cpy): Likewise.
18791 (norm): Likewise.
18792 (denorm): Likewise.
18793 (__mp_dbl): Likewise.
18794 (__dbl_mp): Likewise.
18795 (add_magnitudes): Likewise.
18796 (sub_magnitudes): Likewise.
18797 (__add): Likewise.
18798 (__sub): Likewise.
18799 (__mul): Likewise.
18800 (__inv): Likewise.
18801 (__dvd): Likewise.
18802
eede9df9
JM
188032013-01-08 Joseph Myers <joseph@codesourcery.com>
18804
18805 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18806 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18807 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18808 2 && __USE_EXTERN_INLINES]: Likewise.
18809
c40ea3d9
AJ
188102013-01-08 Andreas Jaeger <aj@suse.de>
18811
18812 [BZ# 14985]
18813 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18814 Remove.
18815 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18816 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18817
2ccdea26
AB
188182013-01-07 Anton Blanchard <anton@samba.org>
18819
18820 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18821 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18822 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18823 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18824 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18825 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18826 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18827 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18829 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18830 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18831 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18832 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18833 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18834 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18835 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18836 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18837 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18838 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18839 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18840 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18841 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18842 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18843 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18844 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18845 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18846 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18847 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18849 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18850 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18852 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18853 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18854 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18855 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18856 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18857 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18858 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18860 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18862 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18863
a9708fed
JM
188642013-01-07 Joseph Myers <joseph@codesourcery.com>
18865
375607b9
JM
18866 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18867 (__MALLOC_PMT): Likewise.
18868 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18869 [__GNUC__], only on [_LIBC].
18870 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18871 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18872 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18873 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18874 forward declaration.
18875 (realloc_hook_ini): Likewise.
18876 (memalign_hook_ini): Likewise.
18877 (__libc_memalign): Do not use __MALLOC_PMT in variable
18878 declaration.
18879 (__libc_valloc): Likewise.
18880 (__libc_pvalloc): Likewise.
18881 (__libc_calloc): Likewise.
18882 (__posix_memalign): Likewise.
18883
a9708fed
JM
18884 [BZ #14996]
18885 * math/s_casinh.c: Include <float.h>.
18886 (__casinh): Do not do computation with squaring and square root
18887 for large arguments.
18888 * math/s_casinhf.c: Include <float.h>.
18889 (__casinhf): Do not do computation with squaring and square root
18890 for large arguments.
18891 * math/s_casinhl.c: Include <float.h>.
18892 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18893 (__casinhl): Do not do computation with squaring and square root
18894 for large arguments.
18895 * math/libm-test.inc (casin_test): Add more tests.
18896 (casinh_test): Likewise.
18897 * sysdeps/i386/fpu/libm-test-ulps: Update.
18898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18899
afec409a
L
189002013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18901
18902 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18903 (__x86_64_raw_data_cache_size): Likewise.
18904 (__x86_64_data_cache_size_half): Likewise.
18905 (__x86_64_raw_data_cache_size_half): Likewise.
18906 (__x86_64_shared_cache_size): Likewise.
18907 (__x86_64_raw_shared_cache_size): Likewise.
18908 (__x86_64_shared_cache_size_half): Likewise.
18909 (__x86_64_raw_shared_cache_size_half): Likewise.
18910 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18911 to ...
18912 (__x86_data_cache_size): This.
18913 (__x86_64_raw_data_cache_size): Renamed to ...
18914 (__x86_raw_data_cache_size): This.
18915 (__x86_64_data_cache_size_half): Renamed to ...
18916 (__x86_data_cache_size_half): This.
18917 (__x86_64_raw_data_cache_size_half): Renamed to ...
18918 (__x86_raw_data_cache_size_half): This.
18919 (__x86_64_shared_cache_size): Renamed to ...
18920 (__x86_shared_cache_size): This.
18921 (__x86_64_raw_shared_cache_size): Renamed to ...
18922 (__x86_raw_shared_cache_size): This.
18923 (__x86_64_shared_cache_size_half): Renamed to ...
18924 (__x86_shared_cache_size_half): This.
18925 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18926 (__x86_raw_shared_cache_size_half): This.
18927 * sysdeps/x86_64/memcpy.S: Updated.
18928 * sysdeps/x86_64/memset.S: Likewise.
18929 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18932
0b3986d0
DM
189332013-01-04 David S. Miller <davem@davemloft.net>
18934
18935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18936
e47686e9
AS
189372013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18938
d643bac1
AS
18939 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18940 1 to avoid redefinition warning.
18941 (__USE_GNU): Don't define.
18942 (init_signaling_nan): Protoize.
18943
e47686e9
AS
18944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18945
b18decba
SP
189462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18947
fffb407f
SP
18948 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18950 (__cpymn): Likewise.
18951 (norm): Remove commented code.
18952 (denorm): Likewise.
18953 (__mp_dbl): Likewise.
18954 (__inv): Likewise.
18955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18956 (__cpymn): Likewise.
18957 (norm): Remove commented code.
18958 (denorm): Likewise.
18959 (__mp_dbl): Likewise.
18960 (__inv): Likewise.
18961
b18decba
SP
18962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18963 mp_no value for 1.0 and 2.0.
18964 (norm): Use RADIXI instead of radixi.d.
18965 (denorm): Likewise.
18966 (__mul): Use 0.0 instead of zero.d.
18967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18968 mp_no value for 1.0 and 2.0.
18969 (norm): Use RADIXI instead of radixi.d.
18970 (denorm): Likewise.
18971 (__mul): Use 0.0 instead of zero.d.
18972
cdc1c96f
JM
189732013-01-04 Joseph Myers <joseph@codesourcery.com>
18974
18975 [BZ #14994]
18976 * math/s_casinh.c (__casinh): Reduce finite argument to first
18977 quadrant then set signs of results at the end.
18978 * math/s_casinhf.c (__casinhf): Likewise.
18979 * math/s_casinhl.c (__casinhl): Likewise.
18980 * math/libm-test.inc (casin_test): Add more tests.
18981 (casinh_test): Likewise.
18982 * sysdeps/i386/fpu/libm-test-ulps: Update.
18983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18984
302913e1
SP
189852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18986
6420d207
SP
18987 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18988
a9e48ab4
SP
18989 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18990
b7837264
SP
18991 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18992 declarations.
18993 (denorm): Likewise.
18994 (__mp_dbl): Likewise.
18995 (__inv): Likewise.
18996
f8af25d2
SP
18997 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18998 and adjust the header comment.
18999
302913e1
SP
19000 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19001 variable name from declaration.
19002
5d7dd1ca
L
190032013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19004
19005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19006 Initialize COMMON_CPUID_INDEX_7 element.
19007 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19008 (CPUID_RTM): Likewise.
19009 (HAS_RTM): Likewise.
19010 (COMMON_CPUID_INDEX_7): New enum.
19011
2f5f40f4
AS
190122013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19013
19014 [BZ #14981]
19015 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19016 size is zero, record memory as freed.
19017
4056f4a0
AJ
190182013-01-03 Andreas Jaeger <aj@suse.de>
19019
19020 * po/ia.po: Add new Interlingua translation.
19021
ab15736f 190222012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19023
19024 * locale/programs/localedef.c: Fix description of '--posix' flag.
19025
568035b7
JM
190262013-01-02 Joseph Myers <joseph@codesourcery.com>
19027
e6898b8d
JM
19028 * NEWS: Update dates in second copyright notice.
19029 * README: Update copyright dates in example.
19030 * manual/libc.texinfo: Update copyright dates.
19031 * scripts/test-installation.pl: Update copyright date in --version
19032 output.
19033
0e2f9562
JM
19034 * hurd/ctty-input.c: Fix copyright notice formatting.
19035 * hurd/ctty-output.c: Likewise.
19036 * hurd/dtable.c: Likewise.
19037 * hurd/hurd-raise.c: Likewise.
19038 * hurd/hurdprio.c: Likewise.
19039 * hurd/msgportdemux.c: Likewise.
19040 * misc/sys/file.h: Likewise.
19041 * misc/sys/ioctl.h: Likewise.
19042 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19043 * sysdeps/mach/hurd/chdir.c: Likewise.
19044 * sysdeps/mach/hurd/fchdir.c: Likewise.
19045 * sysdeps/mach/hurd/rename.c: Likewise.
19046 * sysdeps/mach/hurd/rmdir.c: Likewise.
19047 * sysdeps/mach/hurd/seekdir.c: Likewise.
19048 * sysdeps/mach/hurd/setsid.c: Likewise.
19049 * sysdeps/posix/wait3.c: Likewise.
19050
568035b7
JM
19051 * All files with FSF copyright notices: Update copyright dates
19052 using scripts/update-copyrights.
19053 * intl/plural.c: Regenerated.
19054 * locale/programs/charmap-kw.h: Likewise.
19055 * locale/programs/locfile-kw.h: Likewise.
19056
da08f647
SP
190572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19058
0f5477af
SP
19059 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19060 four values.
19061
44e0d4c2
SP
19062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19063 calculation loop and add branch prediction.
19064
4d55b4e5
SP
19065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19066 check access beyond bounds of m1np.
19067
da08f647
SP
19068 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19069 MPTWO.
19070 (__inv): Remove local variable MPTWO to use the global
19071 constant.
19072 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19073 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19074 variable MPTWO.
19075 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19076 MP3HALFS static const.
19077
8e051029
DM
190782013-01-01 David S. Miller <davem@davemloft.net>
19079
19080 * po/ca.po: Update from translation team.
19081
f4cf5f2d
JM
190822013-01-01 Joseph Myers <joseph@codesourcery.com>
19083
19084 * scripts/update-copyrights: New file.
19085 * Makeconfig: Reformat copyright notice.
19086 * ctype/ctype.h: Likewise.
19087 * debug/swprintf_chk.c: Likewise.
19088 * elf/dl-cache.c: Likewise.
19089 * elf/dl-debug.c: Likewise.
19090 * elf/dl-object.c: Likewise.
19091 * grp/initgroups.c: Likewise.
19092 * hurd/Makefile: Likewise.
19093 * hurd/hurd/signal.h: Likewise.
19094 * hurd/hurdfault.c: Likewise.
19095 * hurd/hurdioctl.c: Likewise.
19096 * hurd/hurdlookup.c: Likewise.
19097 * hurd/intr-msg.c: Likewise.
19098 * iconv/gconv_open.c: Likewise.
19099 * libio/swprintf.c: Likewise.
19100 * locale/lc-ctype.c: Likewise.
19101 * locale/nl_langinfo.c: Likewise.
19102 * mach/Machrules: Likewise.
19103 * mach/Makefile: Likewise.
19104 * malloc/obstack.h: Likewise.
19105 * manual/Makefile: Likewise.
19106 * manual/tsort.awk: Likewise.
19107 * misc/bits/stab.def: Likewise.
19108 * nis/nis_print_group_entry.c: Likewise.
19109 * nis/nis_table.c: Likewise.
19110 * nis/nss_compat/compat-pwd.c: Likewise.
19111 * nis/nss_compat/compat-spwd.c: Likewise.
19112 * po/Makefile: Likewise.
19113 * posix/fnmatch.c: Likewise.
19114 * posix/regex.h: Likewise.
19115 * resolv/Makefile: Likewise.
19116 * resolv/nss_dns/dns-network.c: Likewise.
19117 * resolv/res_hconf.c: Likewise.
19118 * scripts/gen-sorted.awk: Likewise.
19119 * soft-fp/soft-fp.h: Likewise.
19120 * stdio-common/printf.h: Likewise.
19121 * stdlib/monetary.h: Likewise.
19122 * stdlib/random.c: Likewise.
19123 * stdlib/random_r.c: Likewise.
19124 * sysdeps/generic/Makefile: Likewise.
19125 * sysdeps/gnu/Makefile: Likewise.
19126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19128 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19133 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19134 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19135 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19136 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19137 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19138 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19139 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19140 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19141 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19142 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19146 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19147 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19148 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19154 * sysdeps/mach/hurd/errnos.awk: Likewise.
19155 * sysdeps/mach/hurd/fork.c: Likewise.
19156 * sysdeps/mach/hurd/getcwd.c: Likewise.
19157 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19158 * sysdeps/mach/hurd/mmap.c: Likewise.
19159 * sysdeps/mach/hurd/utimes.c: Likewise.
19160 * sysdeps/mach/hurd/xmknod.c: Likewise.
19161 * sysdeps/posix/profil.c: Likewise.
19162 * sysdeps/posix/readdir_r.c: Likewise.
19163 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19164 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19165 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19166 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19168 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19169 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19170 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19172 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19173 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19174 * sysdeps/pthread/lio_listio.c: Likewise.
19175 * sysdeps/sparc/dl-procinfo.h: Likewise.
19176 * sysdeps/unix/i386/sysdep.S: Likewise.
19177 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19178 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19179 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19180 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19182 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19183 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19184 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19185 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19186 * sysdeps/wordsize-32/divdi3.c: Likewise.
19187 * time/sys/time.h: Likewise.
19188 * wcsmbs/Makefile: Likewise.
19189
0549fbba
DM
191902013-01-01 David S. Miller <davem@davemloft.net>
19191
a141f1a7
DM
19192 * po/fr.po: Update from translation team.
19193
0549fbba
DM
19194 * catgets/gencat.c: Update copyright year.
19195 * csu/version.c: Likewise.
19196 * debug/catchsegv.sh: Likewise.
19197 * debug/pcprofiledump.c: Likewise.
19198 * debug/xtrace.sh: Likewise.
19199 * elf/ldconfig.c: Likewise.
19200 * elf/ldd.bash.in: Likewise.
19201 * elf/pldd.c: Likewise.
19202 * elf/sotruss.ksh: Likewise.
19203 * elf/sprof.c: Likewise.
19204 * iconv/iconv_prog.c: Likewise.
19205 * iconv/iconvconfig.c: Likewise.
19206 * locale/programs/locale.c: Likewise.
19207 * locale/programs/localedef.c: Likewise.
19208 * login/programs/pt_chown.c: Likewise.
19209 * malloc/memusage.sh: Likewise.
19210 * malloc/memusagestat.c: Likewise.
19211 * malloc/mtrace.pl: Likewise.
19212 * nscd/nscd.c: Likewise.
19213 * nss/getent.c: Likewise.
19214 * nss/makedb.c: Likewise.
19215 * posix/getconf.c: Likewise.
19216
18ea052c
SP
192172012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19218
19219 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19220 numbers.
19221
9c89fca6
MF
192222012-12-30 Mike Frysinger <vapier@gentoo.org>
19223
19224 * math/bits/mathcalls.h (modf): Use __nonnull.
19225
085ec079
SP
192262012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19227
19228 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19229 (split): Use macro CN instead of the bare value.
19230 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19231 could be used.
19232 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19233 instead of the bare value.
19234 (power1): Likewise.
19235
6d9f97e1
SP
192362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19237
d63f73be
SP
19238 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19239 __ATAN_TWOM.
19240 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19241
6d9f97e1
SP
19242 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19243 their values.
19244 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19245 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19246 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19247 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19248
4c4febf5
AJ
192492012-12-28 Andreas Jaeger <aj@suse.de>
19250
af5843ef
AJ
19251 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19252 values are from Linux 3.7.
19253
4c4febf5
AJ
19254 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19255 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19256
99136f82
SP
192572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19258
2f216c3c 19259 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19260 TRUE case.
19261
99136f82
SP
19262 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19263 (norm): Likewise.
19264 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19265 variables with preprocessor constants.
19266 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19267 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19268 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19269
7fffbdff
BH
192702012-12-27 Bruno Haible <bruno@clisp.org>
19271
19272 [BZ #14317]
19273 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19274 only if needed.
19275
b76eb5f0
SP
192762012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19277
31a7fe5c
SP
19278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19279 and use variable directly.
19280 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19281
b76eb5f0
SP
19282 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19283 MPONE.
19284 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19285 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19286 variable MPONE.
19287 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19288 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19289 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19290 include directive. Remove local variable MPONE.
19291 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19292 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19293 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19294
2c8bfe7d
DM
192952012-12-25 David S. Miller <davem@davemloft.net>
19296
19297 * version.h (RELEASE): Set to "development".
19298 (VERSION): Set to "2.17.90".
19299 * NEWS: Add 2.18 section.
19300
147d03b0
DM
193012012-12-21 David S. Miller <davem@davemloft.net>
19302
19303 * po/hr.po: Update from translation team.
19304
a8ebb2b9
AK
193052012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19306
19307 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19308
95b4f1b6
SE
193092012-12-19 Steve Ellcey <sellcey@mips.com>
19310
b2d94007 19311 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19312
cedb2a90
MS
193132012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19314
19315 * manual/contrib.texi (Contributors): Spelling correction.
19316
bbf527d6
DM
193172012-12-15 David S. Miller <davem@davemloft.net>
19318
19319 * po/ru.po: Update from translation team.
19320
bc38c906
DM
193212012-12-13 David S. Miller <davem@davemloft.net>
19322
85429b1a
DM
19323 * NEWS: Mention IFUNC testsuite enhancements.
19324
d283e353
DM
19325 * po/pl.po: Update from translation team.
19326 * po/bg.po: Likewise.
19327
bc38c906
DM
19328 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19329 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19330
a181b0d7
DM
193312012-12-11 David S. Miller <davem@davemloft.net>
19332
4641d57e
DM
19333 * po/sv.po: Update from translation team.
19334
f7bc6495
DM
19335 * po/vi.po: Update from translation team.
19336
6fc9048f
DM
19337 * po/cs.po: Update from translation team.
19338
a181b0d7
DM
19339 * po/de.po: Update from translation team.
19340 * po/eo.po: Likewise.
19341 * po/nl.po: Likewise.
19342
f70bfe80
SP
193432012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19344
3c8b4190
SP
19345 [BZ #14246]
19346 * manual/argp.texi (Argp Helper Functions): Move node to follow
19347 Argp Parsing State.
19348
f70bfe80
SP
19349 [BZ #14872]
19350 * manual/conf.texi (Limits on File System Capacity): Mention if
19351 terminating null is included in the max size.
19352
188f0adf
AJ
193532012-12-10 Andreas Jaeger <aj@suse.de>
19354
19355 * po/cs.po: Update from translation team.
19356
56e7d3ad
SP
193572012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19358
19359 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19360 void pointer and cast to uintptr_t.
19361 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19362 path.
19363 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19364 * sysdeps/s390/s390-64/memset.S: Likewise.
19365
76f2d2ea 193662012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19367
19368 [BZ #14833]
19369 * menual/message.texi (Message Translation): Fix typos.
19370 (Helper programs for gettext): Likewise.
19371
67cbf9a2
AS
193722012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19373
19374 [BZ #14898]
19375 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19376 Change to -1.
19377
682d0e9a
DM
193782012-12-07 David S. Miller <davem@davemloft.net>
19379
19380 * po/libc.pot: Update.
19381
573cd484
RH
193822012-12-07 Richard Henderson <rth@redhat.com>
19383
7e9da188 19384 [BZ #10114]
573cd484
RH
19385 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19386 normal/normal case to before the switch.
19387 (_FP_DIV): Likewise.
19388
e933a943
MF
193892012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19390 Mike Frysinger <vapier@gentoo.org>
19391
19392 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19393 check for __NR_fadvise64_64.
19394
82123268
CM
193952012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19396
19397 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19398 0, not just to plain "0" as a statement.
19399 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19400 with cw.
19401
d9814526
JM
194022012-12-06 Joseph Myers <joseph@codesourcery.com>
19403
19404 * NEWS: Use sourceware.org in Bugzilla URL.
19405
7728c574
SP
194062012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19407
f16946dd
SP
19408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19409 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19410
5704bbcb
SP
19411 * stdio-common/tst-put-error.c (do_test): Add newline to the
19412 padded test to ensure flush.
19413
17aa0516
JL
194142012-12-05 Jeff Law <law@redhat.com>
19415
19416 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19417
363313b5
JM
194182012-12-05 Joseph Myers <joseph@codesourcery.com>
19419
effbd42a
JM
19420 * README: Don't refer to ports add-on as distributed separately.
19421 Mention AArch64 in list of systems supported in the ports add-on.
19422
87600365
JM
19423 * LICENSES: Add more non-FSF copyright and license notices.
19424
a0d7066a
JM
19425 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19426 ((unused)).
19427
66ca5a5b
JM
19428 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19429
363313b5
JM
19430 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19431 10000 as width of padded output.
19432
b37984ad
JM
194332012-12-04 Joseph Myers <joseph@codesourcery.com>
19434
9003570a
JM
19435 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19436
b37984ad
JM
19437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19438 variable LX with __attribute__ ((unused)).
19439 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19440 Likewise.
19441 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19444 with __attribute__ ((unused)).
19445
c8df52ec
DM
194462012-12-04 David S. Miller <davem@abraco.davemloft.net>
19447
19448 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19449
b3b099af
JM
194502012-12-04 Joseph Myers <joseph@codesourcery.com>
19451
c33aa6e3
JM
19452 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19453 (CFLAGS-nldbl-acos.c): New variable.
19454 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19455 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19456 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19457 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19458 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19459 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19460 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19461 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19462 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19463 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19464 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19465 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19466 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19467 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19468 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19469 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19470 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19471 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19472 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19473 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19474 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19475 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19476 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19477 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19478 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19479 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19480 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19481 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19482 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19483 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19484 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19485 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19486 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19487 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19488 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19489 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19490 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19491 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19492 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19493 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19494 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19495 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19496 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19497 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19498 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19499 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19500 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19501 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19502 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19503 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19504 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19505 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19506 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19507 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19508 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19509 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19510 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19511 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19512 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19513 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19514 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19515 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19516 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19517 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19518 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19519 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19520 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19521 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19522 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19523 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19524 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19525 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19526 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19527 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19528 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19529 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19530 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19541 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19542 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19543 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19544 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19545 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19546 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19547 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19548 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19549 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19550 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19551
20f0018d
JM
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19553 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19554
b3b099af
JM
19555 [BZ #14914]
19556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19557 whole low double instead of just low 47 bits when splitting values
19558 into two parts.
19559
029264d1
AM
195602012-12-03 Allan McRae <allan@archlinux.org>
19561
19562 * manual/stdio.texi (Predefined Printf Handlers): Remove
19563 @hsep and @vsep usage.
19564
c9d6789e
MF
195652012-12-03 Mike Frysinger <vapier@gentoo.org>
19566
19567 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19568 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19569
4b7634a5
JL
195702012-12-03 Jeff Law <law@redhat.com>
19571
19572 * time/sys/time.h (settimeofday): Do not mark TV argument
19573 as __nonnull.
19574
eb6cbd24
MF
195752012-12-01 Mike Frysinger <vapier@gentoo.org>
19576
19577 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19578 when currently writing and seek to current position when not.
19579 * libio/Makefile (tests): Remove bug-fclose1.
19580 * libio/bug-fclose1.c: Delete.
19581
f638872a
JM
195822012-12-01 Joseph Myers <joseph@codesourcery.com>
19583
19584 * manual/arith.texi (feenableexcept): Fix typo.
19585 (fedisableexcept): Likewise.
19586
48085d14
RM
195872012-11-30 Roland McGrath <roland@hack.frob.com>
19588
19589 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19590 second, differently-typed declaration, rather than a cast.
19591
1a538b9f
SP
195922012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19593
19594 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19595 * include/rpc/svc.h: ... here.
19596
d07f2ff1 195972012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19598
19599 [BZ #13013]
19600 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19601 depending n and resplen2 to catch cases where answer
19602 equals answerp2.
19603
c93ec1f0
CD
196042012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19605
19606 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19607 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19608
37db69de
MF
196092012-11-29 Mike Frysinger <vapier@gentoo.org>
19610
19611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19612
e10c4e4f
RM
196132012-11-29 Roland McGrath <roland@hack.frob.com>
19614
19615 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19616
2af1b328
JL
196172012-11-28 Jeff Law <law@redhat.com>
19618
19619 [BZ #13761]
19620 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19621 dataset_temporary. Track alloca usage into alloca_used.
19622 If dataset is large allocate and release it via malloc/free.
19623
111db5b1
FW
196242012-06-04 Florian Weimer <fweimer@redhat.com>
19625
f06cc227 19626 [BZ #14197]
111db5b1
FW
19627 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19628
dd694abd
DM
196292012-11-28 David S. Miller <davem@davemloft.net>
19630
19631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19632
9984dd01
JM
196332012-11-28 Joseph Myers <joseph@codesourcery.com>
19634
19635 [BZ #14803]
19636 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19637 of pi/2 rounded to nearest to 64 bits.
19638 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19639 nearest to 64 bits.
19640 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19641 bits.
19642
14bc93a9
JL
196432012-11-28 Jeff Law <law@redhat.com>
19644 Martin Osvald <mosvald@redhat.com>
19645
19646 [BZ #14889]
19647 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19648 * sunrpc/svc.c: Include time.h.
19649 (__svc_accept_failed): New function.
19650 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19651 any reason other than EINTR, call __svc_accept_failed.
19652 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19653 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19654
e3c6aa3a
AS
196552012-11-28 Andreas Schwab <schwab@suse.de>
19656
19657 * scripts/abilist.awk: Also handle indirect functions in .opd
19658 section.
19659
1bead169
JM
196602012-11-28 Joseph Myers <joseph@codesourcery.com>
19661
19662 [BZ #13881]
19663 * sysdeps/x86/fpu/powl_helper.c: New file.
19664 * sysdeps/x86/fpu/Makefile: Likewise.
19665 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19666 (p3): New object.
19667 (__ieee754_powl): Use __powl_helper for finite arguments except
19668 integer exponents below 8.
19669 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19670 (p3): New object.
19671 (__ieee754_powl): Use __powl_helper for finite arguments except
19672 integer exponents below 8.
19673 * math/libm-test.inc (pow_test): Add more tests and enable some
19674 previously disabled tests.
19675 * sysdeps/i386/fpu/libm-test-ulps: Update.
19676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19677
0817d63d
SP
196782012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19679 Carlos O'Donell <carlos_odonell@mentor.com>
19680
19681 * nss/makedb.c (is_prime): Assert that input is odd and greater
19682 than 4. Note that fact in a comment too.
19683 (next_prime): Add 4 to input.
19684
de2fd463
SP
196852012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19686
19687 [BZ #11741]
19688 * libio/Makefile (tests): Add test case tst-fwrite-error.
19689 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19690 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19691 * libio/tst-fwrite-error.c: New test case.
19692
c515fb51
L
196932012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19694
19695 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19696 before casting to void *.
19697 * include/libc-internal.h (__pointer_type): New macro.
19698 (__integer_if_pointer_type_sub): Likewise.
19699 (__integer_if_pointer_type): Likewise.
19700 (cast_to_integer): Likewise.
19701 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19702 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19703 before casting to atomic64_t.
19704 (atomic_exchange_acq): Likewise.
19705 (__arch_exchange_and_add_body): Likewise.
19706 (__arch_add_body): Likewise.
19707 (atomic_add_negative): Likewise.
19708 (atomic_add_zero): Likewise.
19709
4cf77aa9
JM
197102012-11-26 Joseph Myers <joseph@codesourcery.com>
19711
19712 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19713 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19714 (add_fdes): Likewise.
19715 (linear_search_fdes): Likewise.
19716 (binary_search_unencoded_fdes): Likewise.
19717
d260b3b4
AS
197182012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19719
19720 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19721
67060746
AC
197222012-11-24 Adam Conrad <adconrad@0c3.net>
19723
19724 * configure.in: Autodetect C++ header directories.
19725 * configure: Regenerated.
19726
800938a1
MF
197272012-11-23 Mike Frysinger <vapier@gentoo.org>
19728
19729 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19730
4e6e34e6
AS
197312012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19732
19733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19734
7c7feb47
JM
197352012-11-22 Joseph Myers <joseph@codesourcery.com>
19736
7184dcdf
JM
19737 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19738 LDBL_MANT_DIG == 106]: Disable some tests.
19739 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19740 Likewise.
19741 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19742 Likewise.
19743
0a42601f
JM
19744 [BZ #14871]
19745 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19746 input for small inputs. Return +/- pi/2 for large inputs.
19747 * math/libm-test.inc (atan_test): Add more tests.
19748
79c9b9fe
JM
19749 * sysdeps/generic/unwind-dw2-fde-glibc.c
19750 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19751 __attribute__ ((unused)).
19752
c60d3bf2
JM
19753 [BZ #14645]
19754 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19755 x * y if x and y are nonzero and z is zero.
19756
ef1e0867
JM
19757 [BZ #14811]
19758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19759 nonzero exponents with absolute value below 0x1p-117 to +/-
19760 0x1p-117.
19761
1468ded3
JM
19762 [BZ #14869]
19763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19764 up arguments below 2**-450, not just those below 2**-500.
19765 * math/libm-test.inc (hypot_test): Add another test.
19766
8e27e3cc
JM
19767 [BZ #14868]
19768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19769 Return a+b for ratio over 2**120, not 2**60.
19770 * math/libm-test.inc (hypot_test): Add another test.
19771
c9c0279b
JM
19772 * math/libm-test.inc (clog_test): Use
19773 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19774 (clog10_test): Likewise.
19775
7c7feb47
JM
19776 [BZ #6778]
19777 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19778
fff1530e
AS
197792012-11-22 Andreas Schwab <schwab@suse.de>
19780
19781 * sysdeps/i386/fpu/libm-test-ulps: Update.
19782
94558d30
PT
197832012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19784
19785 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19786 printf output with newline.
19787
7e1be741
L
197882012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19789
6bfea974
L
19790 [BZ #14865]
19791 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19792 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19793 -z nodlopen, -z initfirst and -z execstack support.
19794 * configure: Regenerated.
19795
7e1be741
L
19796 * elf/elf.h (DF_1_NODIRECT): New macro.
19797 (DF_1_IGNMULDEF): Likewise.
19798 (DF_1_NOKSYMS): Likewise.
19799 (DF_1_NOHDR): Likewise.
19800 (DF_1_EDITED): Likewise.
19801 (DF_1_NORELOC): Likewise.
19802 (DF_1_SYMINTPOSE): Likewise.
19803 (DF_1_GLOBAUDIT): Likewise.
19804 (DF_1_SINGLETON): Likewise.
19805 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19806 DT_1_SUPPORTED_MASK bits.
19807 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19808
105ce2ce
CD
198092012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19810
19811 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19812
123be9de
TS
198132012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19814
d072f3f7
TS
19815 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19816 macro.
19817
123be9de
TS
19818 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19819 (sendmmsg): Move declarations...
19820 * socket/sys/socket.h: ... here.
19821 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19822 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19823 include it from...
19824 * socket/recvmmsg.c: ... this new file.
19825 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19826 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19827 definition of __sendmmsg hidden.
19828 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19829 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19830 Move ENOSYS stub into and include it from...
19831 * socket/sendmmsg.c: ... this new file.
19832 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19833 (sysdep_routines): Move recvmmsg and sendmmsg...
19834 * socket/Makefile (routines): ... here.
19835 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19836 (GLIBC_PRIVATE): Add __sendmmsg.
19837 * include/sys/socket.h (__sendmmsg): Add declarations.
19838 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19839 sendmmsg.
19840
cf9a5d18
JM
198412012-11-20 Joseph Myers <joseph@codesourcery.com>
19842
19843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19844 variable I1 with __attribute__ ((unused)).
19845 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19846
ecd4caf9
JM
198472012-11-19 Joseph Myers <joseph@codesourcery.com>
19848
be14d48f
JM
19849 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19850 DUMMY variables with __attribute__ ((unused)).
19851
ecd4caf9
JM
19852 * bits/byteswap.h: Include <bits/types.h>.
19853 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19854
986cab95
PT
198552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19856
19857 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19858 string_t. Do not manually set errno.
19859 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19860 length with __strnlen. Make sure to both set errno and return it on
19861 failure.
19862
6d33cc9d
DM
198632012-11-19 David S. Miller <davem@davemloft.net>
19864
19865 With help from Joseph Myers.
19866 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19867 very large arguments properly.
19868 * math/libm-test.inc (atan_test): New tests.
19869 (atan2_test): New tests.
19870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19872
ee663277
JM
198732012-11-19 Joseph Myers <joseph@codesourcery.com>
19874
877f2d8e
JM
19875 [BZ #14856]
19876 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19877 Define to 3.
19878
116fc08a
JM
19879 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19880 [POSIX] (EADDRNOTAVAIL): Likewise.
19881 [POSIX] (EAFNOSUPPORT): Likewise.
19882 [POSIX] (EALREADY): Likewise.
19883 [POSIX] (ECONNABORTED): Likewise.
19884 [POSIX] (ECONNREFUSED): Likewise.
19885 [POSIX] (ECONNRESET): Likewise.
19886 [POSIX] (EDESTADDRREQ): Likewise.
19887 [POSIX] (EDQUOT): Likewise.
19888 [POSIX] (EHOSTUNREACH): Likewise.
19889 [POSIX] (EIDRM): Likewise.
19890 [POSIX] (EISCONN): Likewise.
19891 [POSIX] (ELOOP): Likewise.
19892 [POSIX] (EMULTIHOP): Likewise.
19893 [POSIX] (ENETDOWN): Likewise.
19894 [POSIX] (ENETUNREACH): Likewise.
19895 [POSIX] (ENOBUFS): Likewise.
19896 [POSIX] (ENODATA): Likewise.
19897 [POSIX] (ENOLINK): Likewise.
19898 [POSIX] (ENOMSG): Likewise.
19899 [POSIX] (ENOPROTOOPT): Likewise.
19900 [POSIX] (ENOSR): Likewise.
19901 [POSIX] (ENOSTR): Likewise.
19902 [POSIX] (ENOTCONN): Likewise.
19903 [POSIX] (ENOTSOCK): Likewise.
19904 [POSIX] (EOPNOTSUPP): Likewise.
19905 [POSIX] (EOVERFLOW): Likewise.
19906 [POSIX] (EPROTO): Likewise.
19907 [POSIX] (EPROTONOSUPPORT): Likewise.
19908 [POSIX] (EPROTOTYPE): Likewise.
19909 [POSIX] (ESTALE): Likewise.
19910 [POSIX] (ETIME): Likewise.
19911 [POSIX] (ETXTBSY): Likewise.
19912 [POSIX] (EWOULDBLOCK): Likewise.
19913 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19914 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19915 [POSIX] (SEEK_CUR): Likewise.
19916 [POSIX] (SEEK_END): Likewise.
19917 [POSIX || UNIX98] (mode_t): Do not require.
19918 [POSIX] (off_t): Likewise.
19919 [POSIX] (pid_t): Likewise.
19920 [POSIX] (sys/stat.h): Do not allow header.
19921 [POSIX] (unistd.h): Likewise.
19922 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19923 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19924 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19925 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19926 require.
19927 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19928 sigevent): Specify elements.
19929 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19930 entry.
19931 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19932 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19933
a483863f
JM
19934 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19935 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19936 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19937 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19938 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19939 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19940 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19941 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19942 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19943 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19944 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19945 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19946 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19947 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19948 Likewise.
19949 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19950 Likewise.
19951 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19952 Likewise.
19953 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19954 Likewise.
19955 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19956 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19957 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19958 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19959 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19960 Specify lower bound on value.
19961 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19962 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19963 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19964 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19965 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19966 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19967 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19968 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19969 value.
19970 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19971 as optional.
19972 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19973 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19974 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19975 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19976 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19977 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19978 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19979 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19980 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19981 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19982 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19983 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19984 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19985 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19986 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19987 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19988 entry.
19989 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19990 optional.
19991 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19992 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19993 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19994 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19995 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19996 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19997 Likewise.
19998 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19999 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20000 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20001 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20002 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20003 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20004 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20005 as optional.
20006 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20007 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20008 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20009 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20010 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20011 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20012 specify as optional.
20013 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20014 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20016 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20017 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20018 [XPG3] (NL_LANGMAX): Likewise.
20019 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20020 [POSIX || XPG3] (NL_NMAX): Likewise.
20021 [POSIX || XPG3] (NL_SETMAX): Likewise.
20022 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20023 [XPG3] (NZERO): Likewise.
20024 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20025 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20026 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20027 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20028 (REG_ERANGE): Expect.
20029 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20030 optional-constant.
20031 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20032 Use (void) in prototype.
20033 [POSIX] (*_t): Allow.
20034 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20035 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20036 (WRDE_BADVAL): Expect.
20037
5ba924e3
JM
20038 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20039 expect.
20040 [XPG3 || XPG4] (O_RSYNC): Likewise.
20041 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20042 Likewise.
20043 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20044 [XPG3 || XPG4] (sigqueue): Likewise.
20045 [XPG3 || XPG4] (sigtimedwait): Likewise.
20046 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20047 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20048 [XPG3 || XPG4] (vsnprintf): Likewise.
20049 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20050 Likewise.
20051 [XPG3 || XPG4] (blksize_t): Likewise.
20052 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20053 Likewise.
20054 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20055 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20056 [XPG3 || XPG4] (struct itimerspec): Likewise.
20057 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20058 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20059 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20060 [XPG3 || XPG4] (clockid_t): Likewise.
20061 [XPG3 || XPG4] (timer_t): Likewise.
20062 [XPG3 || XPG4] (clock_getres): Likewise.
20063 [XPG3 || XPG4] (clock_gettime): Likewise.
20064 [XPG3 || XPG4] (clock_settime): Likewise.
20065 [XPG3 || XPG4] (nanosleep): Likewise.
20066 [XPG3 || XPG4] (timer_create): Likewise.
20067 [XPG3 || XPG4] (timer_delete): Likewise.
20068 [XPG3 || XPG4] (timer_gettime): Likewise.
20069 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20070 [XPG3 || XPG4] (timer_settime): Likewise.
20071 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20072 [XPG3 || XPG4] (getlogin_r): Likewise.
20073 [XPG3 || XPG4] (pread): Likewise.
20074 [XPG3 || XPG4] (pthread_atfork): Likewise.
20075 [XPG3 || XPG4] (pwrite): Likewise.
20076
ee663277
JM
20077 [BZ #14835]
20078 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20079 <bits/siginfo.h>.
20080
942caa16
PT
200812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20082
e19af380
PT
20083 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20084 finalizing MALLSTREAM.
20085
942caa16
PT
20086 * sysdeps/mach/hurd/syncfs.c: New file.
20087
cfde9b46
SP
200882012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20089
20090 [BZ #14719]
20091 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20092 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20093 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20094 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20095 (_nss_dns_gethostbyname4_r): Likewise.
20096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20097 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20098
f6da27e5
PH
200992012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20100
20101 [BZ #13763]
20102 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20103
6665d4a2
SM
201042012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20105
1f51ee92
SM
20106 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20107 * elf/cache.c (print_entry): Print ",AArch64" for
20108 FLAG_AARCH64_LIB64
20109
6665d4a2
SM
20110 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20111 * elf/cache.c (print_entry): Print ",hard-float" for
20112 FLAG_ARM_LIBHF.
20113
05b227bd
DM
201142012-11-18 David S. Miller <davem@davemloft.net>
20115
20116 With help from Joseph Myers.
20117 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20118 cutoff to 2**-13.
20119 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20120 cutoff to 2**-25.
20121 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20122 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20123 small.
20124 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20125 * math/libm-test.inc (y0_test): New tests.
20126 (y1_test): New tests.
20127 * sysdeps/i386/fpu/libm-test-ulps: Update.
20128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20130
786b0b67
AS
201312012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20132
20133 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20134 64-bit targets.
20135 * configure: Regenerated.
20136
8e18b86d
DM
201372012-11-17 David S. Miller <davem@davemloft.net>
20138
20139 [BZ #14811]
20140 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20141 nonzero exponents with absolute value below 0x1p-128 to +/-
20142 0x1p-128.
20143
531f1ae0
JM
201442012-11-17 Joseph Myers <joseph@codesourcery.com>
20145
12df29e2
JM
20146 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20147
150dc1a0
JM
20148 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20149
531f1ae0
JM
20150 * posix/getconf-speclist.c: New file.
20151 * posix/posix-envs.def: Likewise.
20152 * posix/confstr.c (START_ENV_GROUP): New macro.
20153 (END_ENV_GROUP): Likewise.
20154 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20155 (KNOWN_PRESENT_ENV_STRING): Likewise.
20156 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20157 (UNKNOWN_ENVIRONMENT): Likewise.
20158 (confstr): Include posix-envs.def instead of handling
20159 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20160 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20161 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20162 (END_ENV_GROUP): Likewise.
20163 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20164 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20165 (UNKNOWN_ENVIRONMENT): Likewise.
20166 (__sysconf): Include posix-envs.def instead of handling associated
20167 cases directly here.
20168 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20169 preprocessing getconf-speclist.c rather than running getconf or
20170 generating empty file.
20171
a93f9cbc
PT
201722012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20173
20174 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20175
d64d9f87
AL
201762012-11-16 Andrej Lajovic <natrij@gmail.com>
20177
20178 [BZ #14672]
20179 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20180
447885eb
DM
201812012-11-16 David S. Miller <davem@davemloft.net>
20182
20183 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20184 smaller than LDBL_EPSILON/2.0L, just return xm1.
20185
bcbf9830
L
201862012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20187
20188 * elf/tst-array1.c (init): Set constructor priority to 1000.
20189 (fini): Set destructor priority to 1000.
20190 * elf/tst-array2dep.c: Likewise.
20191
2b766585
SP
201922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20193
20194 [BZ #11741]
20195 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20196 (_IO_new_file_xsputn): Also return EOF if none of the input
20197 data was written when overflow failed.
20198 * libio/iopadn.c (_IO_padn): Likewise.
20199 * libio/iowpadn.c (_IO_wpadn): Likewise.
20200 * stdio-common/tst-put-error.c: Add copyright notice.
20201 (do_test): Add case for printing padded string.
20202 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20203 _IO_padn returned error.
20204 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20205 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20206 return EOF.
20207
b1848fde
SP
202082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20209
20210 * libio/libioP.h: Add comment note that the references to C++
20211 bits are now obsolete.
20212
2fd89785
MS
202132012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20214
20215 * math/libm-test.inc (check_complex): Use asprintf.
20216
e3ea5409
JM
202172012-11-14 Joseph Myers <joseph@codesourcery.com>
20218
20219 * debug/pcprofiledump.c (print_version): Update copyright year.
20220 * malloc/memusagestat.c (print_version): Likewise.
20221
2e64d265
L
202222012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20223
20224 [BZ #14831]
20225 * elf/Makefile (tests): Add tst-audit8.
20226 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20227 ($(objpfx)tst-audit8.out): New target.
20228 (tst-audit8-ENV): New variable.
20229 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20230 audit if l_reloc_result is NULL.
20231 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20232 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20233 * elf/tst-audit8.c: New file.
20234
c485e4d2
MS
202352012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20236
20237 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20238 * misc/Makefile (CFLAGS-select.c): Define.
20239 * posix/Makefile (CFLAGS-pause.c): Define.
20240
3a0d900a
DM
202412012-11-13 David S. Miller <davem@davemloft.net>
20242
20243 * crypt/Makefile: Move test targets after toplevel Rules
20244 inclusion. Grab any necessary sysdep routines when linking.
20245 * crypt/md5.c (md5_process_block): Remove define, we will always
20246 name it __md5_process_block.
20247 (md5_finish_ctx): Update md5_process_block call.
20248 (md5_stream): Likewise.
20249 (md5_process_bytes): Likewise.
20250 (md5_process_block): Rename to __md5_process_block and move to ...
20251 * crypt/md5-block.c: ... here.
20252 * crypt/sha256.c (sha256_process_block): Move to ...
20253 * crypt/sha256-block.c: ... here.
20254 * crypt/sha512.c (sha512_process_block): Move to ...
20255 * crypt/sha512-block.c: ... here.
20256 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20257 path.
20258 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20259 * sysdeps/sparc/sparc64/multiarch/Makefile
20260 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20261 crypt subdir.
20262 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20263 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20264 multiarch changes.
20265 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20266 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20267 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20268 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20269 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20270 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20271 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20272 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20273 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20274 file.
20275 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20276 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20277 file.
20278 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20279
8ca89318
JM
202802012-11-13 Joseph Myers <joseph@codesourcery.com>
20281
e27d476a
JM
20282 * timezone/tzselect.ksh: Update from tzcode git revision
20283 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20284 * timezone/zdump.c: Likewise.
20285 * timezone/zic.c: Likewise.
20286 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20287 in TZVERSION setting, not $(PKGVERSION).
20288 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20289 REPORT_BUGS_TO settings.
20290
8ca89318
JM
20291 [BZ #14838]
20292 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20293 macro.
20294
47594329
MS
202952012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20296
20297 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20298 detection to immediately after _FP_ROUND().
20299 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20300 bits are 0.
20301
640ac3f1
DM
203022012-11-11 David S. Miller <davem@davemloft.net>
20303
20304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20305 inttypes.h
20306 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20307 __close rather than their public counterparts.
20308
3d2577bb
JM
203092012-11-10 Joseph Myers <joseph@codesourcery.com>
20310
20311 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20312 file.
20313 [UNIX98] (sem_timedwait): Do not expect.
20314 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20315 [XPG4 || UNIX98] (sockatmark): Do not expect.
20316 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20317 (clock_getcpuclockid): Do not expect.
20318 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20319 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20320 Do not expect.
20321 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20322 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20323 [UNIX98] (vwscanf): Likewise.
20324 [UNIX98] (vswscanf): Likewise.
20325
fb1ae1ee
JM
203262012-11-09 Joseph Myers <joseph@codesourcery.com>
20327
9ec6f8bd
JM
20328 * timezone/version.h: Remove file.
20329 * timezone/README: Do not refer to version.h.
20330 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20331 $(objpfx)version.h.
20332 ($(objpfx)zdump.o): Likewise.
c3f81911 20333 ($(objpfx)version.h): New target.
9ec6f8bd 20334
0aa8f8a1
JM
20335 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20336 2012i.
20337 * timezone/README: Don't mention modification to tzselect.ksh.
20338 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20339 work on unmodified tzselect.ksh. Substitute version numbers in
20340 tzselect.ksh.
20341
4e87147f
JM
20342 * Makefile (format-me): Remove.
20343 (INSTALL): Adjust indentation. Use commands directly instead of
20344 using $(format-me).
20345
8b748aed
JM
20346 * aclocal.m4 (ACX_PKGVERSION): New macro.
20347 (ACX_BUGURL): Likewise.
20348 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20349 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20350 (REPORT_BUGS_TO): Likewise.
20351 * configure: Regenerated.
20352 * config.h.in (PKGVERSION): New macro.
20353 (REPORT_BUGS_TO): Likewise.
20354 * config.make.in (PKGVERSION): New variable.
20355 (PKGVERSION_TEXI): Likewise.
20356 (REPORT_BUGS_TO): Likewise.
20357 (REPORT_BUGS_TEXI): Likewise.
20358 * Makefile (format-me): Use -I$(common-objpfx)manual.
20359 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20360 ($(common-objpfx)manual/%): New target.
20361 (manual/%): Remove target.
20362 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20363 (print_version): Use PKGVERSION.
20364 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20365 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20366 and REPORT_BUGS_TO.
20367 ($(objpfx)xtrace): Likewise.
20368 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20369 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20370 (print_version): Use PKGVERSION.
20371 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20372 (do_version): Use PKGVERSION.
20373 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20374 REPORT_BUGS_TO.
20375 (common-ldd-rewrite): Likewise.
20376 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20377 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20378 (print_version): Use PKGVERSION.
20379 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20380 * elf/pldd.c (argp_program_bug_address): Remove variable.
20381 (more_help): New function.
20382 (argp): Use more_help.
20383 (print_version): Use PKGVERSION.
20384 * elf/sln.c (main): Use PKGVERSION.
20385 (usage): Use REPORT_BUGS_TO.
20386 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20387 (top level): Use PKGVERSION.
20388 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20389 (print_version): Use PKGVERSION.
20390 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20391 (print_version): Use PKGVERSION.
20392 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20393 (print_version): Use PKGVERSION.
20394 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20395 (print_version): Use PKGVERSION.
20396 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20397 (print_version): Use PKGVERSION.
20398 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20399 (print_version): Use PKGVERSION.
20400 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20401 and BUGURL.
20402 ($(objpfx)memusage): Likewise.
20403 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20404 (do_version): Use PKGVERSION.
20405 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20406 (print_version): Use PKGVERSION.
20407 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20408 ($PKGVERSION): New variable.
20409 ($REPORT_BUGS_TO): Likewise.
20410 (usage): Use $REPORT_BUGS_TO.
20411 (top level): Use $PKGVERSION.
20412 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20413 ($(objpfx)pkgvers.texi): New rule.
20414 ($(objpfx)stamp-pkgvers): Likewise.
20415 * manual/install.texi: Include pkgvers.texi.
20416 (--with-pkgversion): Document new configure option.
20417 (--with-bugurl): Likewise.
20418 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20419 than necessarily for this particular distribution. Use
20420 REPORT_BUGS_TO for where to report bugs.
20421 * INSTALL: Regenerated.
20422 * manual/libc.texinfo: Include pkgvers.texi.
20423 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20424 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20425 (print_version): Use PKGVERSION.
20426 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20427 (print_version): Use PKGVERSION.
20428 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20429 (print_version): Use PKGVERSION.
20430 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20431 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20432 macro.
20433 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20434 (print_version): Use PKGVERSION.
20435 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20436 (print_version): Use PKGVERSION.
20437 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20438 and PKGVERSION.
20439
92e4b6a9
JM
20440 * timezone/checktab.awk: Update from tzcode 2012i.
20441 * timezone/ialloc.c: Likewise.
20442 * timezone/private.h: Likewise.
20443 * timezone/scheck.c: Likewise.
20444 * timezone/tzfile.h: Likewise.
20445 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20446 (TZVERSION): Hardcode tzcode version number.
20447 * timezone/zdump.c: Update from tzcode 2012i.
20448 * timezone/zic.c: Likewise.
20449 * timezone/version.h: New file.
20450 * timezone/README: Describe version.h. Update upstream location.
20451
9bde902c
JM
20452 [BZ #14824]
20453 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20454 (mktemp): Enable declaration.
20455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20457 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20459 Likewise.
20460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20461 Likewise.
20462 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20463 Likewise.
20464 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20465 Likewise.
20466 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20467 Likewise.
20468 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20469 Likewise.
20470
fb1ae1ee
JM
20471 [BZ #14821]
20472 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20473 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20474 for copies of such integer values.
20475 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20476 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20477
2c1adbcb
AJ
204782012-11-09 Andreas Jaeger <aj@suse.de>
20479
20480 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20481 definitions and declarations that are provided by
20482 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20483
d0f8457e
AK
204842012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20485
3a235abb 20486 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20487 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20488 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20489 definition.
20490
57241e26
MS
204912012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20492
20493 * elf/elf.h: Update comment before AArch64 relocations.
20494
60e8270d
DM
204952012-11-07 David S. Miller <davem@davemloft.net>
20496
20497 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20498 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20499 (__start_context): Declare.
20500 (__makecontext_ret): Delete.
20501 (__makecontext): Hook up __start_context instead of
20502 __makecontext_ret.
20503 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20504 (sysdep_routines): Add __start_context when in stdlib.
20505
0fbb0fbc
JM
205062012-11-07 Joseph Myers <joseph@codesourcery.com>
20507
20508 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20509 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20510 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20511 hardcoded "nm".
20512 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20513 (READELF): New variable. Use it instead of hardcoded "readelf".
20514
eb48db7e
L
205152012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20516
20517 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20518 * sysdeps/x86/Makefile: Here.
20519 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20520 * sysdeps/x86/tst-xmmymm.sh: This.
20521
05bcf62a
JM
205222012-11-07 Joseph Myers <joseph@codesourcery.com>
20523
c4b6cf53
JM
20524 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20525 expectations.
20526 [UNIX98] (pthread_barrier_t): Do not expect.
20527 [UNIX98] (pthread_barrierattr_t): Likewise.
20528 [UNIX98] (pthread_spinlock_t): Likewise.
20529 [UNIX98] (pthread_barrier_destroy): Likewise.
20530 [UNIX98] (pthread_barrier_init): Likewise.
20531 [UNIX98] (pthread_barrier_wait): Likewise.
20532 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20533 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20534 [UNIX98] (pthread_barrierattr_init): Likewise.
20535 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20536 [UNIX98] (pthread_getcpuclockid): Likewise.
20537 [UNIX98] (pthread_mutex_timedlock): Likewise.
20538 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20539 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20540 [UNIX98] (pthread_sigmask): Likewise.
20541 [UNIX98] (pthread_spin_destroy): Likewise.
20542 [UNIX98] (pthread_spin_init): Likewise.
20543 [UNIX98] (pthread_spin_lock): Likewise.
20544 [UNIX98] (pthread_spin_trylock): Likewise.
20545 [UNIX98] (pthread_spin_unlock): Likewise.
20546 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20547 Do not expect.
20548 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20550 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20551 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20552 [XPG3 || XPG4] (pthread_key_t): Likewise.
20553 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20554 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20555 [XPG3 || XPG4] (pthread_once_t): Likewise.
20556 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20557 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20559 [XPG3 || XPG4] (pthread_t): Likewise.
20560
cbe6e120
JM
20561 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20562 not expect.
20563 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20564
1b126443
JM
20565 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20566 Change function return type to int.
20567
b961a573
JM
20568 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20569 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20570 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20571 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20572 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20573 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20574 [!POSIX] (posix_madvise): Likewise.
20575 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20576 && !UNIX98].
20577 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20578 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20579 (mode_t): Likewise.
20580 (posix_mem_offset): Likewise.
20581 (posix_typed_mem_get_info): Likewise.
20582 (posix_typed_mem_open): Likewise.
20583
9e188909
JM
20584 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20585 Change condition to [XOPEN2K8].
20586
05bcf62a
JM
20587 * conform/conformtest.pl: Preprocess allow-header data with -x c
20588 instead of from stdin.
20589 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20590 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20591 [C99-based standards] (cerfc): Likewise.
20592 [C99-based standards] (cexp2): Likewise.
20593 [C99-based standards] (cexpm1): Likewise.
20594 [C99-based standards] (clog10): Likewise.
20595 [C99-based standards] (clog1p): Likewise.
20596 [C99-based standards] (clog2): Likewise.
20597 [C99-based standards] (clgamma): Likewise.
20598 [C99-based standards] (ctgamma): Likewise.
20599 [C99-based standards] (cerff): Likewise.
20600 [C99-based standards] (cerfcf): Likewise.
20601 [C99-based standards] (cexp2f): Likewise.
20602 [C99-based standards] (cexpm1f): Likewise.
20603 [C99-based standards] (clog10f): Likewise.
20604 [C99-based standards] (clog1pf): Likewise.
20605 [C99-based standards] (clog2f): Likewise.
20606 [C99-based standards] (clgammaf): Likewise.
20607 [C99-based standards] (ctgammaf): Likewise.
20608 [C99-based standards] (cerfl): Likewise.
20609 [C99-based standards] (cerfcl): Likewise.
20610 [C99-based standards] (cexp2l): Likewise.
20611 [C99-based standards] (cexpm1l): Likewise.
20612 [C99-based standards] (clog10l): Likewise.
20613 [C99-based standards] (clog1pl): Likewise.
20614 [C99-based standards] (clog2l): Likewise.
20615 [C99-based standards] (clgammal): Likewise.
20616 [C99-based standards] (ctgammal): Likewise.
20617 * conform/data/inttypes.h-data [C99-based standards]: Include
20618 stdint.h-data. Remove all expectations for stdint.h contents.
20619 [C99-based standards] (PRI*): Do not allow.
20620 [C99-based standards] (SCN*): Likewise.
20621 [C99-based standards] (*_t): Likewise.
20622 [C99-based-standards] (PRId8): Expect macro.
20623 [C99-based-standards] (PRIi8): Likewise.
20624 [C99-based-standards] (PRIo8): Likewise.
20625 [C99-based-standards] (PRIu8): Likewise.
20626 [C99-based-standards] (PRIx8): Likewise.
20627 [C99-based-standards] (PRIX8): Likewise.
20628 [C99-based-standards] (SCNd8): Likewise.
20629 [C99-based-standards] (SCNi8): Likewise.
20630 [C99-based-standards] (SCNo8): Likewise.
20631 [C99-based-standards] (SCNu8): Likewise.
20632 [C99-based-standards] (SCNx8): Likewise.
20633 [C99-based-standards] (PRIdLEAST8): Likewise.
20634 [C99-based-standards] (PRIiLEAST8): Likewise.
20635 [C99-based-standards] (PRIoLEAST8): Likewise.
20636 [C99-based-standards] (PRIuLEAST8): Likewise.
20637 [C99-based-standards] (PRIxLEAST8): Likewise.
20638 [C99-based-standards] (PRIXLEAST8): Likewise.
20639 [C99-based-standards] (SCNdLEAST8): Likewise.
20640 [C99-based-standards] (SCNiLEAST8): Likewise.
20641 [C99-based-standards] (SCNoLEAST8): Likewise.
20642 [C99-based-standards] (SCNuLEAST8): Likewise.
20643 [C99-based-standards] (SCNxLEAST8): Likewise.
20644 [C99-based-standards] (PRIdFAST8): Likewise.
20645 [C99-based-standards] (PRIiFAST8): Likewise.
20646 [C99-based-standards] (PRIoFAST8): Likewise.
20647 [C99-based-standards] (PRIuFAST8): Likewise.
20648 [C99-based-standards] (PRIxFAST8): Likewise.
20649 [C99-based-standards] (PRIXFAST8): Likewise.
20650 [C99-based-standards] (SCNdFAST8): Likewise.
20651 [C99-based-standards] (SCNiFAST8): Likewise.
20652 [C99-based-standards] (SCNoFAST8): Likewise.
20653 [C99-based-standards] (SCNuFAST8): Likewise.
20654 [C99-based-standards] (SCNxFAST8): Likewise.
20655 [C99-based-standards] (PRId16): Likewise.
20656 [C99-based-standards] (PRIi16): Likewise.
20657 [C99-based-standards] (PRIo16): Likewise.
20658 [C99-based-standards] (PRIu16): Likewise.
20659 [C99-based-standards] (PRIx16): Likewise.
20660 [C99-based-standards] (PRIX16): Likewise.
20661 [C99-based-standards] (SCNd16): Likewise.
20662 [C99-based-standards] (SCNi16): Likewise.
20663 [C99-based-standards] (SCNo16): Likewise.
20664 [C99-based-standards] (SCNu16): Likewise.
20665 [C99-based-standards] (SCNx16): Likewise.
20666 [C99-based-standards] (PRIdLEAST16): Likewise.
20667 [C99-based-standards] (PRIiLEAST16): Likewise.
20668 [C99-based-standards] (PRIoLEAST16): Likewise.
20669 [C99-based-standards] (PRIuLEAST16): Likewise.
20670 [C99-based-standards] (PRIxLEAST16): Likewise.
20671 [C99-based-standards] (PRIXLEAST16): Likewise.
20672 [C99-based-standards] (SCNdLEAST16): Likewise.
20673 [C99-based-standards] (SCNiLEAST16): Likewise.
20674 [C99-based-standards] (SCNoLEAST16): Likewise.
20675 [C99-based-standards] (SCNuLEAST16): Likewise.
20676 [C99-based-standards] (SCNxLEAST16): Likewise.
20677 [C99-based-standards] (PRIdFAST16): Likewise.
20678 [C99-based-standards] (PRIiFAST16): Likewise.
20679 [C99-based-standards] (PRIoFAST16): Likewise.
20680 [C99-based-standards] (PRIuFAST16): Likewise.
20681 [C99-based-standards] (PRIxFAST16): Likewise.
20682 [C99-based-standards] (PRIXFAST16): Likewise.
20683 [C99-based-standards] (SCNdFAST16): Likewise.
20684 [C99-based-standards] (SCNiFAST16): Likewise.
20685 [C99-based-standards] (SCNoFAST16): Likewise.
20686 [C99-based-standards] (SCNuFAST16): Likewise.
20687 [C99-based-standards] (SCNxFAST16): Likewise.
20688 [C99-based-standards] (PRId32): Likewise.
20689 [C99-based-standards] (PRIi32): Likewise.
20690 [C99-based-standards] (PRIo32): Likewise.
20691 [C99-based-standards] (PRIu32): Likewise.
20692 [C99-based-standards] (PRIx32): Likewise.
20693 [C99-based-standards] (PRIX32): Likewise.
20694 [C99-based-standards] (SCNd32): Likewise.
20695 [C99-based-standards] (SCNi32): Likewise.
20696 [C99-based-standards] (SCNo32): Likewise.
20697 [C99-based-standards] (SCNu32): Likewise.
20698 [C99-based-standards] (SCNx32): Likewise.
20699 [C99-based-standards] (PRIdLEAST32): Likewise.
20700 [C99-based-standards] (PRIiLEAST32): Likewise.
20701 [C99-based-standards] (PRIoLEAST32): Likewise.
20702 [C99-based-standards] (PRIuLEAST32): Likewise.
20703 [C99-based-standards] (PRIxLEAST32): Likewise.
20704 [C99-based-standards] (PRIXLEAST32): Likewise.
20705 [C99-based-standards] (SCNdLEAST32): Likewise.
20706 [C99-based-standards] (SCNiLEAST32): Likewise.
20707 [C99-based-standards] (SCNoLEAST32): Likewise.
20708 [C99-based-standards] (SCNuLEAST32): Likewise.
20709 [C99-based-standards] (SCNxLEAST32): Likewise.
20710 [C99-based-standards] (PRIdFAST32): Likewise.
20711 [C99-based-standards] (PRIiFAST32): Likewise.
20712 [C99-based-standards] (PRIoFAST32): Likewise.
20713 [C99-based-standards] (PRIuFAST32): Likewise.
20714 [C99-based-standards] (PRIxFAST32): Likewise.
20715 [C99-based-standards] (PRIXFAST32): Likewise.
20716 [C99-based-standards] (SCNdFAST32): Likewise.
20717 [C99-based-standards] (SCNiFAST32): Likewise.
20718 [C99-based-standards] (SCNoFAST32): Likewise.
20719 [C99-based-standards] (SCNuFAST32): Likewise.
20720 [C99-based-standards] (SCNxFAST32): Likewise.
20721 [C99-based-standards] (PRId64): Likewise.
20722 [C99-based-standards] (PRIi64): Likewise.
20723 [C99-based-standards] (PRIo64): Likewise.
20724 [C99-based-standards] (PRIu64): Likewise.
20725 [C99-based-standards] (PRIx64): Likewise.
20726 [C99-based-standards] (PRIX64): Likewise.
20727 [C99-based-standards] (SCNd64): Likewise.
20728 [C99-based-standards] (SCNi64): Likewise.
20729 [C99-based-standards] (SCNo64): Likewise.
20730 [C99-based-standards] (SCNu64): Likewise.
20731 [C99-based-standards] (SCNx64): Likewise.
20732 [C99-based-standards] (PRIdLEAST64): Likewise.
20733 [C99-based-standards] (PRIiLEAST64): Likewise.
20734 [C99-based-standards] (PRIoLEAST64): Likewise.
20735 [C99-based-standards] (PRIuLEAST64): Likewise.
20736 [C99-based-standards] (PRIxLEAST64): Likewise.
20737 [C99-based-standards] (PRIXLEAST64): Likewise.
20738 [C99-based-standards] (SCNdLEAST64): Likewise.
20739 [C99-based-standards] (SCNiLEAST64): Likewise.
20740 [C99-based-standards] (SCNoLEAST64): Likewise.
20741 [C99-based-standards] (SCNuLEAST64): Likewise.
20742 [C99-based-standards] (SCNxLEAST64): Likewise.
20743 [C99-based-standards] (PRIdFAST64): Likewise.
20744 [C99-based-standards] (PRIiFAST64): Likewise.
20745 [C99-based-standards] (PRIoFAST64): Likewise.
20746 [C99-based-standards] (PRIuFAST64): Likewise.
20747 [C99-based-standards] (PRIxFAST64): Likewise.
20748 [C99-based-standards] (PRIXFAST64): Likewise.
20749 [C99-based-standards] (SCNdFAST64): Likewise.
20750 [C99-based-standards] (SCNiFAST64): Likewise.
20751 [C99-based-standards] (SCNoFAST64): Likewise.
20752 [C99-based-standards] (SCNuFAST64): Likewise.
20753 [C99-based-standards] (SCNxFAST64): Likewise.
20754 [C99-based-standards] (PRIdMAX): Likewise.
20755 [C99-based-standards] (PRIiMAX): Likewise.
20756 [C99-based-standards] (PRIoMAX): Likewise.
20757 [C99-based-standards] (PRIuMAX): Likewise.
20758 [C99-based-standards] (PRIxMAX): Likewise.
20759 [C99-based-standards] (PRIXMAX): Likewise.
20760 [C99-based-standards] (SCNdMAX): Likewise.
20761 [C99-based-standards] (SCNiMAX): Likewise.
20762 [C99-based-standards] (SCNoMAX): Likewise.
20763 [C99-based-standards] (SCNuMAX): Likewise.
20764 [C99-based-standards] (SCNxMAX): Likewise.
20765 [C99-based-standards] (PRIdPTR): Likewise.
20766 [C99-based-standards] (PRIiPTR): Likewise.
20767 [C99-based-standards] (PRIoPTR): Likewise.
20768 [C99-based-standards] (PRIuPTR): Likewise.
20769 [C99-based-standards] (PRIxPTR): Likewise.
20770 [C99-based-standards] (PRIXPTR): Likewise.
20771 [C99-based-standards] (SCNdPTR): Likewise.
20772 [C99-based-standards] (SCNiPTR): Likewise.
20773 [C99-based-standards] (SCNoPTR): Likewise.
20774 [C99-based-standards] (SCNuPTR): Likewise.
20775 [C99-based-standards] (SCNxPTR): Likewise.
20776 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20777 allow.
20778 * conform/data/stdint.h-data: Update comments to clarify
20779 requirements.
20780 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20781 type.
20782 [C99-based standards] (INT8_MAX): Likewise.
20783 [C99-based standards] (INT16_MIN): Likewise.
20784 [C99-based standards] (INT16_MAX): Likewise.
20785 [C99-based standards] (INT32_MIN): Likewise.
20786 [C99-based standards] (INT32_MAX): Likewise.
20787 [C99-based standards] (INT64_MIN): Likewise.
20788 [C99-based standards] (INT64_MAX): Likewise.
20789 [C99-based standards] (UINT8_MAX): Likewise.
20790 [C99-based standards] (UINT16_MAX): Likewise.
20791 [C99-based standards] (UINT32_MAX): Likewise.
20792 [C99-based standards] (UINT64_MAX): Likewise.
20793 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20794 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20795 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20796 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20797 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20798 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20799 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20800 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20801 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20802 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20803 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20804 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20805 [C99-based standards] (INT_FAST8_MIN): Likewise.
20806 [C99-based standards] (INT_FAST8_MAX): Likewise.
20807 [C99-based standards] (INT_FAST16_MIN): Likewise.
20808 [C99-based standards] (INT_FAST16_MAX): Likewise.
20809 [C99-based standards] (INT_FAST32_MIN): Likewise.
20810 [C99-based standards] (INT_FAST32_MAX): Likewise.
20811 [C99-based standards] (INT_FAST64_MIN): Likewise.
20812 [C99-based standards] (INT_FAST64_MAX): Likewise.
20813 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20814 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20815 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20816 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20817 [C99-based standards] (INTPTR_MIN): Likewise.
20818 [C99-based standards] (INTPTR_MAX): Likewise.
20819 [C99-based standards] (UINTPTR_MAX): Likewise.
20820 [C99-based standards] (INTMAX_MIN): Likewise.
20821 [C99-based standards] (INTMAX_MAX): Likewise.
20822 [C99-based standards] (UINTMAX_MAX): Likewise.
20823 [C99-based standards] (PTRDIFF_MIN): Likewise.
20824 [C99-based standards] (PTRDIFF_MAX): Likewise.
20825 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20826 [C99-based standards] (SIZE_MAX): Likewise.
20827 [C99-based standards] (WCHAR_MAX): Likewise.
20828 [C99-based standards] (WINT_MAX): Likewise.
20829 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20830 constraint on value.
20831 [C99-based standards] (WCHAR_MIN): Likewise.
20832 [C99-based standards] (WINT_MIN): Likewise.
20833 [C99-based standards] (*_t): Allow.
20834 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20835 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20836 Include math.h-data and complex.h-data. Remove all expectations
20837 of math.h and complex.h contents.
20838 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20839 at end of line.
20840 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20841 (struct tm): Expect tag.
20842 [C99-based-standards] (wcstof): Expect function.
20843 [C99-based-standards] (wcstold): Likewise.
20844 [C99-based-standards] (wcstoll): Likewise.
20845 [C99-based-standards] (wcstoull): Likewise.
20846 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20847 macro-int-constant. Specify type.
20848 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20849 constraint on value.
20850 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20851 Specify type.
20852 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20853 Specify value.
20854 [ISO C standards]: Do not allow headers.
20855 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20856 wcs[abcdefghijklmnopqrstuvwxyz]*.
20857 [ISO C standards] (*_t): Do not allow.
20858 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20859 Expect function.
20860 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20861 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20862 Specify type.
20863 [ISO C standards]: Do not allow headers.
20864 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20865 is[abcdefghijklmnopqrstuvwxyz]*.
20866 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20867 to[abcdefghijklmnopqrstuvwxyz]*.
20868 [ISO C standards] (*_t): Do not allow.
20869 * conform/data/stdalign.h-data: New file.
20870 * conform/data/stdbool.h-data: Likewise.
20871 * conform/data/stdnoreturn.h-data: Likewise.
20872
7514feb8
RM
208732012-11-07 Roland McGrath <roland@hack.frob.com>
20874
20875 [BZ #14815]
20876 * manual/filesys.texi (Directory Entries): Typo fix.
20877 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20878
19b2ecfc
MS
208792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20880
20881 * elf/elf.h (EM_AARCH64): New macro.
20882 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20883 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20884 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20885 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20886 (R_AARCH64_TLSDESC): Likewise.
20887 (NT_ARM_TLS): Likewise.
20888 (NT_ARM_HW_BREAK): Likewise.
20889 (NT_ARM_HW_WATCH): Likewise.
20890
60e235ee
JM
208912012-11-07 Joseph Myers <joseph@codesourcery.com>
20892
20893 [BZ #14811]
20894 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20895 (__ieee754_powl): Saturate nonzero exponents with absolute value
20896 below 0x1p-79 to +/- 0x1p-79.
20897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20898 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20899 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20900 nonzero exponents with absolute value below 0x1p-32 to +/-
20901 0x1p-32.
20902 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20903 (__ieee754_powl): Saturate nonzero exponents with absolute value
20904 below 0x1p-79 to +/- 0x1p-79.
20905 * math/libm-test.inc (pow_test): Add more tests.
20906
0ab234b7
AK
209072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20908
20909 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20910 _dl_s390_cap_flags with kernel. Increase string length.
20911 (_dl_s390_platforms): Add z196 and zEC12.
20912
45832f74
JM
209132012-11-07 Joseph Myers <joseph@codesourcery.com>
20914
20915 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20916 Change XOPEN21K to XOPEN2K.
20917
19218757
MK
209182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20919
20920 * string/memmove.c: Use memcpy when possible.
20921
c5f45721
AJ
209222012-11-06 Andreas Jaeger <aj@suse.de>
20923
20924 * po/eo.po: Update from translation team.
20925
82477c28
JM
209262012-11-06 Joseph Myers <joseph@codesourcery.com>
20927
20928 [BZ #14793]
20929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20930 exponent and small x and y exponents, scale x or y up. Increase
20931 by 2 the exponent used in scaling up.
20932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20934 * math/libm-test.inc (fma_test): Add more tests.
20935 (fma_test_towardzero): Likewise.
20936 (fma_test_downward): Likewise.
20937 (fma_test_upward): Likewise.
20938
99252c8c
JM
209392012-11-05 Joseph Myers <joseph@codesourcery.com>
20940
acfa885f
JM
20941 [BZ #14805]
20942 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20943 fenv_t *.
20944
99252c8c
JM
20945 [BZ #14801]
20946 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20947 namespace for names of struct fields.
20948 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20949 fenv_t fields.
20950 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20951 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20952
d6d98dea
ST
209532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20954
20955 [BZ #3665]
20956 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20957
e10bb107
TS
209582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20959
20960 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20961 PTR_DEMANGLE.
20962
20963 [BZ #5246]
20964 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20965 PTR_DEMANGLE.
20966
a0c2940d
JM
209672012-11-04 Joseph Myers <joseph@codesourcery.com>
20968
20969 [BZ #14797]
20970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20971 definitely overflow as x * y not x * y + z.
20972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20974 * math/libm-test.inc (fma_test): Add more tests.
20975 (fma_test_towardzero): Likewise.
20976 (fma_test_downward): Likewise.
20977 (fma_test_upward): Likewise.
20978
b830319d
TS
209792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20980
20981 [BZ #157]
20982
20983 * include/stub-tag.h: Remove file.
20984 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20985 '#include' of it.
20986 * manual/maint.texi (Porting): Don't reference it.
20987 * Makerules ($(objpfx)stubs): Likewise.
20988 * dirent/closedir.c: Don't include <stub-tag.h>.
20989 * dirent/dirfd.c: Likewise.
20990 * dirent/fdopendir.c: Likewise.
20991 * dirent/getdents.c: Likewise.
20992 * dirent/getdents64.c: Likewise.
20993 * dirent/opendir.c: Likewise.
20994 * dirent/readdir.c: Likewise.
20995 * dirent/readdir64.c: Likewise.
20996 * dirent/readdir64_r.c: Likewise.
20997 * dirent/readdir_r.c: Likewise.
20998 * dirent/rewinddir.c: Likewise.
20999 * dirent/seekdir.c: Likewise.
21000 * dirent/telldir.c: Likewise.
21001 * gmon/profil.c: Likewise.
21002 * grp/setgroups.c: Likewise.
21003 * inet/if_index.c: Likewise.
21004 * io/access.c: Likewise.
21005 * io/chdir.c: Likewise.
21006 * io/chmod.c: Likewise.
21007 * io/chown.c: Likewise.
21008 * io/close.c: Likewise.
21009 * io/dup.c: Likewise.
21010 * io/dup2.c: Likewise.
21011 * io/dup3.c: Likewise.
21012 * io/euidaccess.c: Likewise.
21013 * io/faccessat.c: Likewise.
21014 * io/fchdir.c: Likewise.
21015 * io/fchmod.c: Likewise.
21016 * io/fchmodat.c: Likewise.
21017 * io/fchown.c: Likewise.
21018 * io/fchownat.c: Likewise.
21019 * io/fcntl.c: Likewise.
21020 * io/flock.c: Likewise.
21021 * io/fstatfs.c: Likewise.
21022 * io/fstatfs64.c: Likewise.
21023 * io/fstatvfs.c: Likewise.
21024 * io/fstatvfs64.c: Likewise.
21025 * io/futimens.c: Likewise.
21026 * io/fxstat.c: Likewise.
21027 * io/fxstat64.c: Likewise.
21028 * io/fxstatat.c: Likewise.
21029 * io/fxstatat64.c: Likewise.
21030 * io/getcwd.c: Likewise.
21031 * io/isatty.c: Likewise.
21032 * io/lchmod.c: Likewise.
21033 * io/lchown.c: Likewise.
21034 * io/link.c: Likewise.
21035 * io/linkat.c: Likewise.
21036 * io/lseek.c: Likewise.
21037 * io/lseek64.c: Likewise.
21038 * io/lxstat64.c: Likewise.
21039 * io/mkdir.c: Likewise.
21040 * io/mkdirat.c: Likewise.
21041 * io/mkfifo.c: Likewise.
21042 * io/mkfifoat.c: Likewise.
21043 * io/open.c: Likewise.
21044 * io/open64.c: Likewise.
21045 * io/openat.c: Likewise.
21046 * io/openat64.c: Likewise.
21047 * io/pipe.c: Likewise.
21048 * io/pipe2.c: Likewise.
21049 * io/poll.c: Likewise.
21050 * io/posix_fadvise.c: Likewise.
21051 * io/posix_fadvise64.c: Likewise.
21052 * io/posix_fallocate.c: Likewise.
21053 * io/posix_fallocate64.c: Likewise.
21054 * io/read.c: Likewise.
21055 * io/readlink.c: Likewise.
21056 * io/readlinkat.c: Likewise.
21057 * io/rmdir.c: Likewise.
21058 * io/sendfile.c: Likewise.
21059 * io/sendfile64.c: Likewise.
21060 * io/statfs.c: Likewise.
21061 * io/statfs64.c: Likewise.
21062 * io/statvfs.c: Likewise.
21063 * io/statvfs64.c: Likewise.
21064 * io/symlink.c: Likewise.
21065 * io/symlinkat.c: Likewise.
21066 * io/ttyname.c: Likewise.
21067 * io/ttyname_r.c: Likewise.
21068 * io/umask.c: Likewise.
21069 * io/unlink.c: Likewise.
21070 * io/unlinkat.c: Likewise.
21071 * io/utime.c: Likewise.
21072 * io/utimensat.c: Likewise.
21073 * io/write.c: Likewise.
21074 * io/xmknod.c: Likewise.
21075 * io/xmknodat.c: Likewise.
21076 * io/xstat.c: Likewise.
21077 * io/xstat64.c: Likewise.
21078 * login/getpt.c: Likewise.
21079 * login/grantpt.c: Likewise.
21080 * login/unlockpt.c: Likewise.
21081 * math/e_acoshl.c: Likewise.
21082 * math/e_acosl.c: Likewise.
21083 * math/e_asinl.c: Likewise.
21084 * math/e_atan2l.c: Likewise.
21085 * math/e_atanhl.c: Likewise.
21086 * math/e_coshl.c: Likewise.
21087 * math/e_expl.c: Likewise.
21088 * math/e_fmodl.c: Likewise.
21089 * math/e_gammal_r.c: Likewise.
21090 * math/e_hypotl.c: Likewise.
21091 * math/e_j0l.c: Likewise.
21092 * math/e_j1l.c: Likewise.
21093 * math/e_jnl.c: Likewise.
21094 * math/e_lgammal_r.c: Likewise.
21095 * math/e_log10l.c: Likewise.
21096 * math/e_log2l.c: Likewise.
21097 * math/e_logl.c: Likewise.
21098 * math/e_powl.c: Likewise.
21099 * math/e_rem_pio2l.c: Likewise.
21100 * math/e_sinhl.c: Likewise.
21101 * math/e_sqrtl.c: Likewise.
21102 * math/fclrexcpt.c: Likewise.
21103 * math/fedisblxcpt.c: Likewise.
21104 * math/feenablxcpt.c: Likewise.
21105 * math/fegetenv.c: Likewise.
21106 * math/fegetexcept.c: Likewise.
21107 * math/fegetround.c: Likewise.
21108 * math/feholdexcpt.c: Likewise.
21109 * math/fesetenv.c: Likewise.
21110 * math/fesetround.c: Likewise.
21111 * math/feupdateenv.c: Likewise.
21112 * math/fgetexcptflg.c: Likewise.
21113 * math/fraiseexcpt.c: Likewise.
21114 * math/fsetexcptflg.c: Likewise.
21115 * math/ftestexcept.c: Likewise.
21116 * math/k_cosl.c: Likewise.
21117 * math/k_rem_pio2l.c: Likewise.
21118 * math/k_sinl.c: Likewise.
21119 * math/k_tanl.c: Likewise.
21120 * math/s_asinhl.c: Likewise.
21121 * math/s_atanl.c: Likewise.
21122 * math/s_cbrtl.c: Likewise.
21123 * math/s_erfl.c: Likewise.
21124 * math/s_expm1l.c: Likewise.
21125 * math/s_log1pl.c: Likewise.
21126 * math/s_tanhl.c: Likewise.
21127 * misc/acct.c: Likewise.
21128 * misc/brk.c: Likewise.
21129 * misc/chflags.c: Likewise.
21130 * misc/chroot.c: Likewise.
21131 * misc/fchflags.c: Likewise.
21132 * misc/fgetxattr.c: Likewise.
21133 * misc/flistxattr.c: Likewise.
21134 * misc/fremovexattr.c: Likewise.
21135 * misc/fsetxattr.c: Likewise.
21136 * misc/fsync.c: Likewise.
21137 * misc/ftruncate.c: Likewise.
21138 * misc/futimes.c: Likewise.
21139 * misc/futimesat.c: Likewise.
21140 * misc/getdomain.c: Likewise.
21141 * misc/getdtsz.c: Likewise.
21142 * misc/gethostid.c: Likewise.
21143 * misc/gethostname.c: Likewise.
21144 * misc/getloadavg.c: Likewise.
21145 * misc/getpagesize.c: Likewise.
21146 * misc/getsysstats.c: Likewise.
21147 * misc/getxattr.c: Likewise.
21148 * misc/gtty.c: Likewise.
21149 * misc/ioctl.c: Likewise.
21150 * misc/lgetxattr.c: Likewise.
21151 * misc/listxattr.c: Likewise.
21152 * misc/llistxattr.c: Likewise.
21153 * misc/lremovexattr.c: Likewise.
21154 * misc/lsetxattr.c: Likewise.
21155 * misc/lutimes.c: Likewise.
21156 * misc/madvise.c: Likewise.
21157 * misc/mincore.c: Likewise.
21158 * misc/mlock.c: Likewise.
21159 * misc/mlockall.c: Likewise.
21160 * misc/mmap.c: Likewise.
21161 * misc/mprotect.c: Likewise.
21162 * misc/msync.c: Likewise.
21163 * misc/munlock.c: Likewise.
21164 * misc/munlockall.c: Likewise.
21165 * misc/munmap.c: Likewise.
21166 * misc/preadv.c: Likewise.
21167 * misc/preadv64.c: Likewise.
21168 * misc/ptrace.c: Likewise.
21169 * misc/pwritev.c: Likewise.
21170 * misc/pwritev64.c: Likewise.
21171 * misc/readv.c: Likewise.
21172 * misc/reboot.c: Likewise.
21173 * misc/remap_file_pages.c: Likewise.
21174 * misc/removexattr.c: Likewise.
21175 * misc/revoke.c: Likewise.
21176 * misc/select.c: Likewise.
21177 * misc/setdomain.c: Likewise.
21178 * misc/setegid.c: Likewise.
21179 * misc/seteuid.c: Likewise.
21180 * misc/sethostid.c: Likewise.
21181 * misc/sethostname.c: Likewise.
21182 * misc/setregid.c: Likewise.
21183 * misc/setreuid.c: Likewise.
21184 * misc/setxattr.c: Likewise.
21185 * misc/sstk.c: Likewise.
21186 * misc/stty.c: Likewise.
21187 * misc/swapoff.c: Likewise.
21188 * misc/swapon.c: Likewise.
21189 * misc/sync.c: Likewise.
21190 * misc/syncfs.c: Likewise.
21191 * misc/syscall.c: Likewise.
21192 * misc/truncate.c: Likewise.
21193 * misc/ualarm.c: Likewise.
21194 * misc/usleep.c: Likewise.
21195 * misc/ustat.c: Likewise.
21196 * misc/utimes.c: Likewise.
21197 * misc/vhangup.c: Likewise.
21198 * misc/writev.c: Likewise.
21199 * posix/_exit.c: Likewise.
21200 * posix/alarm.c: Likewise.
21201 * posix/execve.c: Likewise.
21202 * posix/fexecve.c: Likewise.
21203 * posix/fork.c: Likewise.
21204 * posix/fpathconf.c: Likewise.
21205 * posix/getaddrinfo.c: Likewise.
21206 * posix/getegid.c: Likewise.
21207 * posix/geteuid.c: Likewise.
21208 * posix/getgid.c: Likewise.
21209 * posix/getgroups.c: Likewise.
21210 * posix/getlogin.c: Likewise.
21211 * posix/getlogin_r.c: Likewise.
21212 * posix/getpgid.c: Likewise.
21213 * posix/getpid.c: Likewise.
21214 * posix/getppid.c: Likewise.
21215 * posix/getresgid.c: Likewise.
21216 * posix/getresuid.c: Likewise.
21217 * posix/getsid.c: Likewise.
21218 * posix/getuid.c: Likewise.
21219 * posix/glob64.c: Likewise.
21220 * posix/nanosleep.c: Likewise.
21221 * posix/pathconf.c: Likewise.
21222 * posix/pause.c: Likewise.
21223 * posix/posix_madvise.c: Likewise.
21224 * posix/pread.c: Likewise.
21225 * posix/pread64.c: Likewise.
21226 * posix/pwrite.c: Likewise.
21227 * posix/pwrite64.c: Likewise.
21228 * posix/sched_getaffinity.c: Likewise.
21229 * posix/sched_getp.c: Likewise.
21230 * posix/sched_gets.c: Likewise.
21231 * posix/sched_primax.c: Likewise.
21232 * posix/sched_primin.c: Likewise.
21233 * posix/sched_rr_gi.c: Likewise.
21234 * posix/sched_setaffinity.c: Likewise.
21235 * posix/sched_setp.c: Likewise.
21236 * posix/sched_sets.c: Likewise.
21237 * posix/sched_yield.c: Likewise.
21238 * posix/setgid.c: Likewise.
21239 * posix/setlogin.c: Likewise.
21240 * posix/setpgid.c: Likewise.
21241 * posix/setresgid.c: Likewise.
21242 * posix/setresuid.c: Likewise.
21243 * posix/setsid.c: Likewise.
21244 * posix/setuid.c: Likewise.
21245 * posix/sleep.c: Likewise.
21246 * posix/spawni.c: Likewise.
21247 * posix/sysconf.c: Likewise.
21248 * posix/times.c: Likewise.
21249 * posix/wait.c: Likewise.
21250 * posix/wait3.c: Likewise.
21251 * posix/wait4.c: Likewise.
21252 * posix/waitpid.c: Likewise.
21253 * resolv/gai_sigqueue.c: Likewise.
21254 * resource/getpriority.c: Likewise.
21255 * resource/getrlimit.c: Likewise.
21256 * resource/getrusage.c: Likewise.
21257 * resource/nice.c: Likewise.
21258 * resource/setpriority.c: Likewise.
21259 * resource/setrlimit.c: Likewise.
21260 * resource/ulimit.c: Likewise.
21261 * rt/aio_cancel.c: Likewise.
21262 * rt/aio_fsync.c: Likewise.
21263 * rt/aio_read.c: Likewise.
21264 * rt/aio_sigqueue.c: Likewise.
21265 * rt/aio_suspend.c: Likewise.
21266 * rt/aio_write.c: Likewise.
21267 * rt/clock_getres.c: Likewise.
21268 * rt/clock_gettime.c: Likewise.
21269 * rt/clock_nanosleep.c: Likewise.
21270 * rt/clock_settime.c: Likewise.
21271 * rt/lio_listio.c: Likewise.
21272 * rt/mq_close.c: Likewise.
21273 * rt/mq_getattr.c: Likewise.
21274 * rt/mq_notify.c: Likewise.
21275 * rt/mq_open.c: Likewise.
21276 * rt/mq_receive.c: Likewise.
21277 * rt/mq_send.c: Likewise.
21278 * rt/mq_setattr.c: Likewise.
21279 * rt/mq_timedreceive.c: Likewise.
21280 * rt/mq_timedsend.c: Likewise.
21281 * rt/mq_unlink.c: Likewise.
21282 * rt/shm_open.c: Likewise.
21283 * rt/shm_unlink.c: Likewise.
21284 * rt/timer_create.c: Likewise.
21285 * rt/timer_delete.c: Likewise.
21286 * rt/timer_getoverr.c: Likewise.
21287 * rt/timer_gettime.c: Likewise.
21288 * rt/timer_settime.c: Likewise.
21289 * setjmp/__longjmp.c: Likewise.
21290 * setjmp/setjmp.c: Likewise.
21291 * signal/kill.c: Likewise.
21292 * signal/killpg.c: Likewise.
21293 * signal/raise.c: Likewise.
21294 * signal/sigaction.c: Likewise.
21295 * signal/sigaltstack.c: Likewise.
21296 * signal/sigblock.c: Likewise.
21297 * signal/sigignore.c: Likewise.
21298 * signal/sigintr.c: Likewise.
21299 * signal/signal.c: Likewise.
21300 * signal/sigpause.c: Likewise.
21301 * signal/sigpending.c: Likewise.
21302 * signal/sigqueue.c: Likewise.
21303 * signal/sigreturn.c: Likewise.
21304 * signal/sigset.c: Likewise.
21305 * signal/sigsetmask.c: Likewise.
21306 * signal/sigstack.c: Likewise.
21307 * signal/sigsuspend.c: Likewise.
21308 * signal/sigtimedwait.c: Likewise.
21309 * signal/sigvec.c: Likewise.
21310 * signal/sigwait.c: Likewise.
21311 * signal/sigwaitinfo.c: Likewise.
21312 * signal/sysv_signal.c: Likewise.
21313 * socket/accept.c: Likewise.
21314 * socket/accept4.c: Likewise.
21315 * socket/bind.c: Likewise.
21316 * socket/connect.c: Likewise.
21317 * socket/getpeername.c: Likewise.
21318 * socket/getsockname.c: Likewise.
21319 * socket/getsockopt.c: Likewise.
21320 * socket/isfdtype.c: Likewise.
21321 * socket/listen.c: Likewise.
21322 * socket/recv.c: Likewise.
21323 * socket/recvfrom.c: Likewise.
21324 * socket/recvmsg.c: Likewise.
21325 * socket/send.c: Likewise.
21326 * socket/sendmsg.c: Likewise.
21327 * socket/sendto.c: Likewise.
21328 * socket/setsockopt.c: Likewise.
21329 * socket/shutdown.c: Likewise.
21330 * socket/sockatmark.c: Likewise.
21331 * socket/socket.c: Likewise.
21332 * socket/socketpair.c: Likewise.
21333 * stdio-common/ctermid.c: Likewise.
21334 * stdio-common/cuserid.c: Likewise.
21335 * stdio-common/remove.c: Likewise.
21336 * stdio-common/rename.c: Likewise.
21337 * stdio-common/renameat.c: Likewise.
21338 * stdio-common/tempname.c: Likewise.
21339 * stdlib/getcontext.c: Likewise.
21340 * stdlib/makecontext.c: Likewise.
21341 * stdlib/setcontext.c: Likewise.
21342 * stdlib/swapcontext.c: Likewise.
21343 * stdlib/system.c: Likewise.
21344 * streams/fattach.c: Likewise.
21345 * streams/fdetach.c: Likewise.
21346 * streams/getmsg.c: Likewise.
21347 * streams/getpmsg.c: Likewise.
21348 * streams/putmsg.c: Likewise.
21349 * streams/putpmsg.c: Likewise.
21350 * sysdeps/unix/bsd/getpt.c: Likewise.
21351 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21352 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21353 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21355 Likewise.
21356 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21357 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21358 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21359 * sysvipc/msgctl.c: Likewise.
21360 * sysvipc/msgget.c: Likewise.
21361 * sysvipc/msgrcv.c: Likewise.
21362 * sysvipc/msgsnd.c: Likewise.
21363 * sysvipc/semctl.c: Likewise.
21364 * sysvipc/semget.c: Likewise.
21365 * sysvipc/semop.c: Likewise.
21366 * sysvipc/semtimedop.c: Likewise.
21367 * sysvipc/shmat.c: Likewise.
21368 * sysvipc/shmctl.c: Likewise.
21369 * sysvipc/shmdt.c: Likewise.
21370 * sysvipc/shmget.c: Likewise.
21371 * termios/tcdrain.c: Likewise.
21372 * termios/tcflow.c: Likewise.
21373 * termios/tcflush.c: Likewise.
21374 * termios/tcgetattr.c: Likewise.
21375 * termios/tcgetpgrp.c: Likewise.
21376 * termios/tcsendbrk.c: Likewise.
21377 * termios/tcsetattr.c: Likewise.
21378 * termios/tcsetpgrp.c: Likewise.
21379 * time/adjtime.c: Likewise.
21380 * time/clock.c: Likewise.
21381 * time/getitimer.c: Likewise.
21382 * time/gettimeofday.c: Likewise.
21383 * time/setitimer.c: Likewise.
21384 * time/settimeofday.c: Likewise.
21385 * time/stime.c: Likewise.
21386 * time/time.c: Likewise.
21387
213882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21389
a20492cf
PT
21390 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21391 /usr/old/bin.
21392
72e182e3
PT
21393 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21394 instead of spaces.
21395 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21396
fbeafede
JM
213972012-11-03 Joseph Myers <joseph@codesourcery.com>
21398
5b5b04d6
JM
21399 [BZ #14796]
21400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21401 FE_TONEAREST before applying Dekker multiplication and Knuth
21402 addition. Clear inexact exceptions and check for exact zero
21403 results afterwards.
21404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21405 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21407 * math/libm-test.inc (fma_test): Add more tests.
21408 (fma_test_towardzero): Likewise.
21409 (fma_test_downward): Likewise.
21410 (fma_test_upward): Likewise.
21411 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21412 function.
21413 (libc_fesetround): New macro.
21414 (libc_fesetroundf): Likewise.
21415 (libc_fesetroundl): Likewise.
21416 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21417 function.
21418 (libc_fesetround_387): Likewise.
21419 (libc_fesetroundf): New macro.
21420 (libc_fesetround): Likewise.
21421 (libc_fesetroundl): Likewise.
21422 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21423 function.
21424 (libc_fesetroundf): New macro.
21425 (libc_fesetround): Likewise.
21426 (libc_fesetroundl): Likewise.
21427 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21428 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21429 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21430 libm_hidden_ver.
21431 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21432 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21433 libm_hidden_def.
21434 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21435 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21436 libm_hidden_ver.
21437 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21438 libm_hidden_def.
21439
fbeafede
JM
21440 [BZ #3439]
21441 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21442 integer constant usable in #if and use that to give value to enum
21443 constant.
21444 (FE_DIVBYZERO): Likewise.
21445 (FE_UNDERFLOW): Likewise.
21446 (FE_OVERFLOW): Likewise.
21447 (FE_INVALID): Likewise.
21448 (FE_INVALID_SNAN): Likewise.
21449 (FE_INVALID_ISI): Likewise.
21450 (FE_INVALID_IDI): Likewise.
21451 (FE_INVALID_ZDZ): Likewise.
21452 (FE_INVALID_IMZ): Likewise.
21453 (FE_INVALID_COMPARE): Likewise.
21454 (FE_INVALID_SOFTWARE): Likewise.
21455 (FE_INVALID_SQRT): Likewise.
21456 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21457 (FE_TONEAREST): Likewise.
21458 (FE_TOWARDZERO): Likewise.
21459 (FE_UPWARD): Likewise.
21460 (FE_DOWNWARD): Likewise.
21461 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21462 (FE_DIVBYZERO): Likewise.
21463 (FE_OVERFLOW): Likewise.
21464 (FE_UNDERFLOW): Likewise.
21465 (FE_INEXACT): Likewise.
21466 (FE_TONEAREST): Likewise.
21467 (FE_DOWNWARD): Likewise.
21468 (FE_UPWARD): Likewise.
21469 (FE_TOWARDZERO): Likewise.
21470 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21471 (FE_UNDERFLOW): Likewise.
21472 (FE_OVERFLOW): Likewise.
21473 (FE_DIVBYZERO): Likewise.
21474 (FE_INVALID): Likewise.
21475 (FE_TONEAREST): Likewise.
21476 (FE_TOWARDZERO): Likewise.
21477 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21478 (FE_OVERFLOW): Likewise.
21479 (FE_UNDERFLOW): Likewise.
21480 (FE_DIVBYZERO): Likewise.
21481 (FE_INEXACT): Likewise.
21482 (FE_TONEAREST): Likewise.
21483 (FE_TOWARDZERO): Likewise.
21484 (FE_UPWARD): Likewise.
21485 (FE_DOWNWARD): Likewise.
21486 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21487 (FE_DIVBYZERO): Likewise.
21488 (FE_OVERFLOW): Likewise.
21489 (FE_UNDERFLOW): Likewise.
21490 (FE_INEXACT): Likewise.
21491 (FE_TONEAREST): Likewise.
21492 (FE_DOWNWARD): Likewise.
21493 (FE_UPWARD): Likewise.
21494 (FE_TOWARDZERO): Likewise.
21495
105ca950
CM
214962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21497
21498 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21499
a542b389
AS
215002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21501
21502 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21503 commands. Quote $PWD.
21504 (blacklist_exports): Don't use remove_newlines. Replace "declare
21505 -x" by "export".
21506 (remove_newlines): Remove.
21507
f62c8abc
L
215082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21511 * stdlib/stdlib.h (atof): Moved to ...
21512 * include/bits/stdlib-float.h: Here. New file.
21513 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21514 * stdlib/bits/stdlib-float.h: New file.
21515 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21516 -mno-sse -mno-mmx.
21517 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21518 <xmmintrin.h>.
21519
0155d5b2
JM
215202012-11-02 Joseph Myers <joseph@codesourcery.com>
21521
a68d0680
JM
21522 * conform/conformtest.pl (@headers): Add fenv.h.
21523 * conform/data/fenv.h-data: New file.
21524 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21525 include of <math/fenv.h>.
21526
caf7f573
JM
21527 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21528 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21529 && !UNIX98]. Enables tests for XOPEN2K8.
21530 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21531 POSIX2008]: Likewise.
21532
6c073ad6
JM
21533 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21534 (struct rusage): Do not expect type or its members.
21535
0155d5b2
JM
21536 [BZ #3439]
21537 * math/math.h (FP_NAN): Define macro to integer constant usable in
21538 #if and use that to give value to enum constant.
21539 (FP_INFINITE): Likewise.
21540 (FP_ZERO): Likewise.
21541 (FP_SUBNORMAL): Likewise.
21542 (FP_NORMAL): Likewise.
21543
b5dcacb4
AS
215442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21545
21546 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21547 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21548 arguments.
21549
f7934be8
RM
215502012-11-02 Roland McGrath <roland@hack.frob.com>
21551
21552 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21553 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21554 autoconf-time if not.
21555 * configure.in: Remove AC_PREREQ.
21556
d7d08bde
TMQMF
215572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21558
21559 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21560 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21561 of the internal implementation.
21562
dcdae19a
JM
215632012-11-02 Joseph Myers <joseph@codesourcery.com>
21564
21565 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21566 except include of <misc/sys/syslog.h>.
21567
d6cffd3e
AS
215682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21569
21570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21571 function returns with a NULL context exit with zero.
21572
b3563932
TMQMF
215732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21574
21575 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21576
b288a93d
L
215772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21578
21579 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21580 (run_program_cmd): This.
21581 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21582 (tst_langinfo): New variable. Use it.
21583
a2421a68
SAS
215842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21585
21586 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21587 floating point opcodes.
21588
6f796e1b
TS
215892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21590
7402596b
TS
21591 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21592 variable.
21593
d0d4f868
TS
21594 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21595
6f796e1b
TS
21596 * sysdeps/mach/hurd/powerpc: Remove directory.
21597 * sysdeps/mach/powerpc: Likewise.
21598
4da224a2
AS
215992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21600
21601 * scripts/check-local-headers.sh: Ignore c++ headers.
21602
341dd673
TS
216032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21604
21605 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21606 __libc_cleanup_region_start argument.
21607
473611b2
JM
216082012-11-01 Joseph Myers <joseph@codesourcery.com>
21609
21610 [BZ #14784]
21611 [BZ #14785]
21612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21613 x * y using scaling, not as x * y + z.
21614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21615 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21616 * math/libm-test.inc (fma_test): Add more tests.
21617 (fma_test_towardzero): Likewise.
21618 (fma_test_downward): Likewise.
21619 (fma_test_upward): Likewise.
21620
4078da3d
TS
216212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21622
21623 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21624
903252aa
JM
216252012-10-31 Joseph Myers <joseph@codesourcery.com>
21626
21627 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21628 New variable.
21629
cbc818d0
TS
216302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21631
21632 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21633
5a03cb1e
AS
216342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21635
21636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21637 Fix sort order.
21638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21639 Likewise.
21640
90aff2ff
TMQMF
216412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21642
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21644 Fix the order of the list for glibc 2.17.
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21646 Likewise.
21647
1818fcb7
AS
216482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21649
21650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21651
ef82f4da
JM
216522012-10-31 Joseph Myers <joseph@codesourcery.com>
21653
16a0e2ec
JM
21654 [BZ #14610]
21655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21656 for low part of x being zero before using __atanl (y).
21657 * math/libm-test.inc (atan2_test): Add another test.
21658
0eb69512
JM
21659 * manual/install.texi (Configuring and compiling): Document
21660 general use of test-wrapper and test-wrapper-env.
21661 * INSTALL: Regenerated.
21662
ef82f4da
JM
21663 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21664 (__fma): Do not extract and scale down low bits on after-rounding
21665 systems when result rounded to normal precision would have normal
21666 exponent.
21667 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21668 (__fmal): Do not extract and scale down low bits on after-rounding
21669 systems when result rounded to normal precision would have normal
21670 exponent.
21671 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21672 (__fmal): Do not extract and scale down low bits on after-rounding
21673 systems when result rounded to normal precision would have normal
21674 exponent.
21675 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21676 macro.
21677 (fma_test): Add more tests.
21678 (fma_test_towardzero): Likewise.
21679 (fma_test_downward): Likewise.
21680 (fma_test_upward): Likewise.
21681
954ef0d9
L
216822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21683
21684 * sysdeps/i386/tininess.h: Renamed to ...
21685 * sysdeps/x86/tininess.h: This.
21686 * sysdeps/x86_64/tininess.h: Removed.
21687
df61ffb2
JM
216882012-10-30 Joseph Myers <joseph@codesourcery.com>
21689
21690 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21691 input. Use $(build-program-cmd).
21692 ($(objpfx)tst-array1-static.out): Likewise.
21693 ($(objpfx)tst-array2.out): Likewise.
21694 ($(objpfx)tst-array3.out): Likewise.
21695 ($(objpfx)tst-array4.out): Likewise.
21696 ($(objpfx)tst-array5.out): Likewise.
21697 ($(objpfx)tst-array5-static.out): Likewise.
21698
01767843
CM
216992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21700
47cc1490
CM
21701 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21702 if defined.
21703
01767843
CM
21704 * nss/nsswitch.h (nss_interface_function): Provide new
21705 macro for use with NSS functions.
21706 * grp/initgroups.c: Use new macro.
21707 * nss/getXXbyYY.c: Likewise.
21708 * nss/getXXbyYY_r.c: Likewise.
21709 * nss/getXXent.c: Likewise.
21710 * nss/getXXent_r.c: Likewise.
21711 * sysdeps/posix/getaddrinfo.c: Likewise.
21712
8321aa97
AJ
217132012-10-30 Andreas Jaeger <aj@suse.de>
21714
21715 * po/ru.po: Update Russion translation from translation project.
21716
2a27fd6d
JM
217172012-10-30 Joseph Myers <joseph@codesourcery.com>
21718
8627a232
JM
21719 [BZ #14152]
21720 [BZ #14783]
21721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21722 result and shift together with sticky bit instead of replicating
21723 round-to-nearest rounding.
21724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21726 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21727 missing underflow exceptions.
21728 (fma_test_towardzero): Add more tests.
21729 (fma_test_downward): Likewise.
21730 (fma_test_upward): Likewise.
21731
2a27fd6d
JM
21732 [BZ #14047]
21733 * sysdeps/generic/tininess.h: New file.
21734 * sysdeps/i386/tininess.h: Likewise.
21735 * sysdeps/sh/tininess.h: Likewise.
21736 * sysdeps/x86_64/tininess.h: Likewise.
21737 * stdlib/tst-strtod-underflow.c: Likewise.
21738 * stdlib/tst-tininess.c: Likewise.
21739 * stdlib/strtod_l.c: Include <tininess.h>.
21740 (round_and_return): Do not set errno for exact underflow cases.
21741 Force an underflow exception when setting errno for underflow.
21742 Determine underflow based on rounding to normal precision if
21743 TININESS_AFTER_ROUNDING.
21744 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21745 ERANGE for exact underflow cases.
21746 * stdlib/Makefile (tests): Add tst-tininess and
21747 tst-strtod-underflow.
21748 ($(objpfx)tst-tininess): Use $(link-libm).
21749 ($(objpfx)tst-strtod-underflow): Likewise.
21750
e7170363
AJ
217512012-10-30 Andreas Jaeger <aj@suse.de>
21752
e5088dc6
AJ
21753 [BZ#14767]
21754 * elf/Makefile (tests): Remove conditional for have-initfini-array
21755 since this is now always required and the variable does not exist
21756 anymore.
21757 (tests-static): Likewise.
21758 (modules-names): Likewise.
21759
e7170363 21760 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21761
21762 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21763 merged with constructor/destructor.
21764 (init_array): Likewise.
21765 * elf/tst-array2dep.c (fini_array): Likewise.
21766 (init_array): Likewise.
21767
60457d8a
MF
217682012-10-29 Mike Frysinger <vapier@gentoo.org>
21769
21770 * manual/message.texi: Delete @cartouche tags.
21771
8bece752
PT
217722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21773
94ce799f
PT
21774 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21775 EOPNOTSUPP.
21776 * sysdeps/mach/hurd/fsync.c: Likewise.
21777
8bece752
PT
21778 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21779 [_POSIX_REALTIME_SIGNALS]: Change condition to
21780 [_POSIX_REALTIME_SIGNALS > 0].
21781
86ebe6b1
AJ
217822012-10-27 Andreas Jaeger <aj@suse.de>
21783
21784 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21785 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21787 [__WORDSIZE != 64]: Likewise.
21788
54399c08
L
217892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21790
21791 * iconvdata/tst-table.sh: Remove ${SHELL}.
21792 * iconvdata/tst-tables.sh: Likewise.
21793
e2211bed
DM
217942012-10-25 David S. Miller <davem@davemloft.net>
21795
21796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21797 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21798 of strtoull.
21799
f303f97c
DM
21800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21801 ifunc-impl-list.c
21802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21803 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21804 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21805 file.
21806
1e9d84cd
RM
218072012-10-25 Roland McGrath <roland@hack.frob.com>
21808
21809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21810 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21811 __getdirentries.
21812
df381762
JM
218132012-10-25 Joseph Myers <joseph@codesourcery.com>
21814 Jim Blandy <jimb@codesourcery.com>
21815
21816 * scripts/cross-test-ssh.sh: New file.
21817 * manual/install.texi (Configuring and compiling): Document use of
21818 cross-test-ssh.sh.
21819 * INSTALL: Regenerated.
21820
bff64913
PT
218212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21822
21823 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21824 EOPNOTSUPP.
21825
25fe8932
JM
218262012-10-25 Joseph Myers <joseph@codesourcery.com>
21827
21828 * Makeconfig (run-program-prefix): Fix comment.
21829
cc1290d0
JM
218302012-10-24 Joseph Myers <joseph@codesourcery.com>
21831 Jim Blandy <jimb@codesourcery.com>
21832
21833 * Makeconfig (test-wrapper): New variable,
21834 (test-wrapper-env): Likewise.
21835 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21836 (run-built-tests): Define to yes.
21837 (run-program-prefix): Use $(test-wrapper).
21838 (built-program-cmd): Likewise.
21839 * Rules (make-test-out): Use $(test-wrapper-env) and
21840 $(host-built-program-cmd).
21841 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21842 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21843 tst-pathopt.sh.
21844 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21845 $(test-wrapper-env) to tst-rtld-load-self.sh.
21846 ($(objpfx)order2.out): Use $(test-wrapper).
21847 ($(objpfx)tst-initorder.out): Likewise.
21848 ($(objpfx)tst-initorder2.out): Likewise.
21849 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21850 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21851 (test_wrapper_env): New variable. Use it to run ld.so.
21852 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21853 Use it to run ld.so.
21854 (test_wrapper_env): Likewise.
21855 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21856 $(test-wrapper) to run-iconv-test.sh.
21857 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21858 (ICONV): Use $test_wrapper.
21859 * posix/Makefile ($(objpfx)globtest.out): Pass
21860 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21861 globtest.sh, not $(run-program-prefix).
21862 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21863 (test_wrapper): Likewise.
21864 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21865 set together with run_via_rtld_prefix.
21866 (run_program_prefix): Define in terms of test_wrapper and
21867 run_via_rtld_prefix.
21868
6e6249d0
RM
218692012-10-24 Roland McGrath <roland@hack.frob.com>
21870
21871 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21872 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21873 Targets removed.
21874
21875 [BZ #14743]
21876 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21877 Declare __clock_getres, __clock_gettime, __clock_settime,
21878 __clock_nanosleep, and __clock_getcpuclockid.
21879 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21880 Remove librt_hidden_def (clock_gettime).
21881 * sysdeps/unix/clock_gettime.c: Likewise.
21882 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21884 * rt/clock_getres.c: Define __clock_getres as an alias.
21885 * sysdeps/posix/clock_getres.c: Likewise.
21886 * rt/clock_settime.c: Define __clock_settime as an alias.
21887 * sysdeps/unix/clock_settime.c: Likewise.
21888 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21889 * sysdeps/unix/clock_nanosleep.c: Likewise.
21890 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21891 * rt/clock-compat.c: New file.
21892 * rt/Makefile (librt-routines): Add clock-compat and move
21893 $(clock-routines) to ...
21894 (routines): ... here, new variable.
21895 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21896 Don't add get_clockfreq here.
21897 * rt/Versions (libc: GLIBC_2.17): New version set.
21898 Add clock_* symbols here.
21899 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21900 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21901 (GLIBC_2.17): Add clock_* symbols.
21902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21906 Likewise.
21907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21908 Likewise.
21909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21913 * NEWS: Mention the move.
21914
21915 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21916 Use __open, __read, __close rather than their public counterparts.
21917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21918 (__get_clockfreq_via_cpuinfo): Likewise.
21919 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21920 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21921
21922 * config.h.in (HAVE_IFUNC): New #undef.
21923 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21924 was successful.
21925 * configure: Regenerated.
21926
0cae3f4b
MF
219272012-10-24 Mike Frysinger <vapier@gentoo.org>
21928
21929 * configure.in: Move READELF check to start of file.
21930 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21931 libc_cv_asm_gnu_indirect_function in the process.
21932 * configure: Regenerated.
21933
8175a253
MF
219342012-10-24 Mike Frysinger <vapier@gentoo.org>
21935
21936 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21937 send the output to /dev/null.
21938 (libc_cv_cc_with_libunwind): Likewise.
21939 (libc_cv_as_noexecstack): Likewise.
21940 * configure: Regenerate.
21941
0708a7d1
JM
219422012-10-24 Joseph Myers <joseph@codesourcery.com>
21943
10b40d85
JM
21944 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21945
0708a7d1
JM
21946 * posix/globtest.sh (TMPDIR): Do not set.
21947 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21948 (testout): Likewise.
21949
9fddec1a
AJ
219502012-10-24 Andreas Jaeger <aj@suse.de>
21951
3a8db22f
AJ
21952 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21953 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21954 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21955 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21956 posix_fadvise64, posix_fallocate64.
21957
9fddec1a
AJ
21958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21959 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21960 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21961 Likewise.
21962 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21963 Likewise.
21964 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21965
21966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21967 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21968 <bits/fcntl-linux.h>.
21969 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21970
21971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21972 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21973 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21974 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21975 [__WORDSIZE != 64]: Likewise.
21976
ebfd1bbd
JM
219772012-10-23 Joseph Myers <joseph@codesourcery.com>
21978
03ac099f
JM
21979 * Makeconfig (run-built-tests): New variable.
21980 * Rules [$(cross-compiling) = yes]: Change condition to
21981 [$(run-built-tests) = no].
21982 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21983 to [$(run-built-tests) = yes].
21984 * elf/Makefile [$(cross-compiling) = no]: Likewise
21985 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21986 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21987 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21988 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21989 * io/Makefile [$(cross-compiling) = no]: Likewise.
21990 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21991 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21992 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21993 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21994 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21995 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21996 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21997 * string/Makefile [$(cross-compiling) = no]: Likewise.
21998
ebfd1bbd
JM
21999 * posix/Makefile ($(objpfx)globtest.out): Pass
22000 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22001 $(rtld-installed-name).
22002 * posix/globtest.sh (elf_objpfx): Remove variable.
22003 (rtld_installed_name): Likewise.
22004 (library_path): Likewise.
22005 (run_program_prefix): New variable. Use for running globtest
22006 binary.
22007
166bca24
JB
220082012-10-23 Jim Blandy <jimb@codesourcery.com>
22009 Joseph Myers <joseph@codesourcery.com>
22010
22011 * Makeconfig (host-built-program-cmd): New variable.
22012 * elf/Makefile (tst-stackguard1-ARGS): Use
22013 $(host-built-program-cmd).
22014 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22015 (tst-spawn-ARGS): Likewise.
22016 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22017
88866099
JM
220182012-10-23 Joseph Myers <joseph@codesourcery.com>
22019 Jim Blandy <jimb@codesourcery.com>
22020
22021 * Makeconfig (run-via-rtld-prefix): New variable.
22022 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22023 (built-program-cmd): Likewise.
22024
b4b4c296
AJ
220252012-10-22 Andreas Jaeger <aj@suse.de>
22026
22027 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22028 __O_RSYNC if it exists, otherwise to O_SYNC.
22029
6fb54a22
JB
220302012-10-22 Jim Blandy <jimb@codesourcery.com>
22031 Joseph Myers <joseph@codesourcery.com>
22032
22033 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22034 /dev/null.
22035 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22036 from /dev/null
22037 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22038 /dev/null.
22039
481b90b9
AJ
220402012-10-22 Andreas Jaeger <aj@suse.de>
22041
2a0e2669
AJ
22042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22043 Define always.
22044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22045
76e38f9a
AJ
22046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22047 bits/fcntl-linux.h.
22048
7cd37b43
AJ
22049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22050 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22051
481b90b9
AJ
22052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22053 to __O_LARGEFILE.
22054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22055 to __O_LARGEFILE.
22056
aba75984
JB
220572012-10-21 Jim Blandy <jimb@codesourcery.com>
22058 Joseph Myers <joseph@codesourcery.com>
22059
22060 * config.make.in (NM): New variable.
22061
88d4247f
AJ
220622012-10-21 Andreas Jaeger <aj@suse.de>
22063
22064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22065 definitions and declarations that are provided by
22066 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22067
f2eed205
L
220682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22069
22070 [BZ #14683]
22071 * elf/Makefile (tests-static): Add tst-leaks1-static.
22072 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22073 ($(objpfx)tst-leaks1-static): New rule.
22074 ($(objpfx)tst-leaks1-static-mem): Likewise.
22075 (tst-leaks1-static-ENV): New macro.
22076 * elf/dl-open.c (dl_open_worker): Check the main application
22077 only if SHARED is defined.
22078 * elf/tst-leaks1-static.c: New file.
22079
335e6931
AJ
220802012-10-20 Andreas Jaeger <aj@suse.de>
22081
22082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22083 generic values for Linux.
22084 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22085 and declarations that are provided by <bits/fcntl-linux.h> and
22086 include <bits/fcntl-linux.h>.
22087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22089
ac5c94d3
RM
220902012-10-20 Roland McGrath <roland@hack.frob.com>
22091
22092 * io/fcntl.h: Move include of <bits/types.h> to the top and
22093 include it unconditionally.
22094
de54b33a
L
220952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22096
228cfb01
L
22097 * wcsmbs/Makefile (tests-ifunc): New variable.
22098 (tests): Add $(tests-ifunc).
22099 * wcsmbs/test-wcschr-ifunc.c: New file.
22100 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22101 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22102 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22103 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22104 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22105
69f07e5f
L
22106 * string/Makefile (tests-ifunc): New variable.
22107 (tests): Add $(tests-ifunc).
22108 * string/test-memccpy.c (TEST_NAME): New macro.
22109 * string/test-memchr.c (TEST_NAME): Likewise.
22110 * string/test-memcmp.c (TEST_NAME): Likewise.
22111 * string/test-memcpy.c (TEST_NAME): Likewise.
22112 * string/test-memmem.c (TEST_NAME): Likewise.
22113 * string/test-memmove.c (TEST_NAME): Likewise.
22114 * string/test-memset.c (TEST_NAME): Likewise.
22115 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22116 * string/test-stpcpy.c (TEST_NAME): Likewise.
22117 * string/test-stpncpy.c (TEST_NAME): Likewise.
22118 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22119 * string/test-strcasestr.c (TEST_NAME): Likewise.
22120 * string/test-strcat.c (TEST_NAME): Likewise.
22121 * string/test-strchr.c (TEST_NAME): Likewise.
22122 * string/test-strcmp.c(TEST_NAME): Likewise.
22123 * string/test-strcpy.c (TEST_NAME): Likewise.
22124 * string/test-strcspn.c (TEST_NAME): Likewise.
22125 * string/test-strlen.c (TEST_NAME): Likewise.
22126 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22127 * string/test-strncmp.c (TEST_NAME): Likewise.
22128 * string/test-strncpy.c (TEST_NAME): Likewise.
22129 * string/test-strnlen.c (TEST_NAME): Likewise.
22130 * string/test-strpbrk.c (TEST_NAME): Likewise.
22131 * string/test-strrchr.c (TEST_NAME): Likewise.
22132 * string/test-strspn.c (TEST_NAME): Likewise.
22133 * string/test-strstr.c (TEST_NAME): Likewise.
22134 * string/test-bcopy-ifunc.c: New file.
22135 * string/test-bzero-ifunc.c: Likewise.
22136 * string/test-memccpy-ifunc.c: Likewise.
22137 * string/test-memchr-ifunc.c: Likewise.
22138 * string/test-memcmp-ifunc.c: Likewise.
22139 * string/test-memcpy-ifunc.c: Likewise.
22140 * string/test-memmem-ifunc.c: Likewise.
22141 * string/test-memmove-ifunc.c: Likewise.
22142 * string/test-mempcpy-ifunc.c: Likewise.
22143 * string/test-memset-ifunc.c: Likewise.
22144 * string/test-rawmemchr-ifunc.c: Likewise.
22145 * string/test-stpcpy-ifunc.c: Likewise.
22146 * string/test-stpncpy-ifunc.c: Likewise.
22147 * string/test-strcasecmp-ifunc.c: Likewise.
22148 * string/test-strcasestr-ifunc.c: Likewise.
22149 * string/test-strcat-ifunc.c: Likewise.
22150 * string/test-strchr-ifunc.c: Likewise.
22151 * string/test-strchrnul-ifunc.c: Likewise.
22152 * string/test-strcmp-ifunc.c: Likewise.
22153 * string/test-strcpy-ifunc.c: Likewise.
22154 * string/test-strcspn-ifunc.c: Likewise.
22155 * string/test-strlen-ifunc.c: Likewise.
22156 * string/test-strncasecmp-ifunc.c: Likewise.
22157 * string/test-strncat-ifunc.c: Likewise.
22158 * string/test-strncmp-ifunc.c: Likewise.
22159 * string/test-strncpy-ifunc.c: Likewise.
22160 * string/test-strnlen-ifunc.c: Likewise.
22161 * string/test-strpbrk-ifunc.c: Likewise.
22162 * string/test-strrchr-ifunc.c: Likewise.
22163 * string/test-strspn-ifunc.c: Likewise.
22164 * string/test-strstr-ifunc.c: Likewise.
22165
de54b33a
L
22166 * debug/Makefile (tests-ifunc): New variable.
22167 (tests): Add $(tests-ifunc).
22168 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22169 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22170 * debug/test-stpcpy_chk-ifunc.c: New file.
22171 * debug/test-strcpy_chk-ifunc.c: Likewise.
22172
88481c16
SP
221732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22174
22175 [BZ #13601]
22176 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22177 header is not read in.
22178
135948bd
JM
221792012-10-19 Joseph Myers <joseph@codesourcery.com>
22180
89f1c388
JM
22181 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22182 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22183 directly. Pass built executable to script as
22184 $(built-program-cmd).
22185 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22186 $testprogram without using LD_LIBRARY_PATH and $ldso.
22187
e40a0d21
JM
22188 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22189 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22190 $(rtld-installed-name).
22191 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22192 (rtld_installed_name): Likewise.
22193 (library_path): Likewise.
22194 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22195 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22196 $(run-program-prefix) to tst-tables.sh.
22197 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22198 it to run tst-table-from and tst-table-to.
22199 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22200 Pass it to tst-table.sh.
22201 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22202 $(run-program-prefix) to tst-gettext.sh.
22203 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22204 tst-translit.sh.
22205 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22206 tst-gettext2.sh.
22207 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22208 to run tst-gettext.
22209 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22210 to run tst-gettext2.
22211 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22212 to run tst-translit.
22213 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22214 $(run-program-prefix) to tst-mtrace.sh.
22215 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22216 to run tst-mtrace.
22217 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22218 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22219 $(rtld-installed-name).
22220 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22221 (rtld_installed_name): Likewise.
22222 (run_program_prefix): New variable. Use it to run wordexp-test.
22223
728e272a
JM
22224 * Makeconfig (ARCH): Remove all definitions.
22225 (machine): Likewise.
22226 [ARCH]: Remove conditional code.
22227 [!objdir]: Give error.
22228 [!objdir] (objpfx): Remove.
22229 [!objdir] (common-objpfx): Likewise.
22230 [!objdir] (common-objdir): Likewise.
22231 * configure.in (config_makefile): Remove. Hardcode Makefile in
22232 AC_CONFIG_FILES call.
22233 * configure: Regenerated.
22234
d528cdcf
JM
22235 [BZ #13888]
22236 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22237 or TMPDIR.
22238 (testout): Likewise.
22239
135948bd
JM
22240 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22241 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22242 $(rtld-installed-name).
22243 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22244 (rtld_installed_name): Likwise.
22245 (runit): Remove function.
22246 (run_getconf): New variable, Use it for running getconf binary.
22247
38c78296
L
222482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22249
22250 [BZ #14716]
22251 * string/test-memmem.c (check_result): New function.
22252 (do_one_test): Use it.
22253 (check1): New function.
22254 (test_main): Use it.
22255
d077f65f
MT
222562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22257
22258 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22259
ced52c71
JM
222602012-10-18 Joseph Myers <joseph@codesourcery.com>
22261
22262 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22263 (_G_LSEEK64): Likewise.
22264 (_G_MMAP64): Likewise.
22265 (_G_FSTAT64): Likewise.
22266 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22267 (_G_LSEEK64): Likewise.
22268 (_G_MMAP64): Likewise.
22269 (_G_FSTAT64): Likewise.
22270 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22271 unconditional. Call __mmap64 directly.
22272 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22273 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22274 __lseek64 directly.
22275 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22276 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22277 __mmap64 directly.
22278 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22279 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22280 __lseek64 directly.
22281 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22282 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22283 __lseek64 directly.
22284 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22285 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22286 __lseek64 directly.
22287 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22288 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22289 __fxstat64 directly.
22290 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22291 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22292 unconditional.
22293 (freopen64) [!_G_OPEN64]: Remove conditional code.
22294 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22295 unconditional.
22296 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22297 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22298 unconditional.
22299 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22300 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22301 unconditional.
22302 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22303 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22304 unconditional.
22305 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22306 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22307 unconditional.
22308 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22309 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22310 unconditional.
22311 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22312 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22313 unconditional.
22314 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22315
b741de23
SP
223162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22317
22318 [BZ #12140]
22319 * manual/memory.texi (Malloc Tunable Parameters): Add note
22320 about free list pointers overwriting some perturb bytes.
22321 Wording suggested by Roland McGrath.
22322
f9b9d9c9
JM
223232012-10-17 Joseph Myers <joseph@codesourcery.com>
22324
22325 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22326 (lgamma_test): Likewise.
22327 (tgamma_test): Likewise.
22328
172a631a
FW
223292012-10-16 Florian Weimer <fweimer@redhat.com>
22330
22331 [BZ #14700]
22332 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22333 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22334
e9f37252
MK
223352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22336
22337 * NEWS: Mention BZ #14716.
22338 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22339 when removing AVAILABLE1_USES_J macro.
22340
d394eb74
L
223412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22342
22343 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22344 (__bswap_64): __uint64_t for unsigned 64-bit int.
22345
ca38dc17
AS
223462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22347
22348 * include/string.h (memmem): Declare libc hidden alias.
22349 * string/memmem.c (memmem): Define libc hidden alias.
22350 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22351 __read, __close instead of open, read, close.
22352
9a387d1f
L
223532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22354
ac49ecaf
L
22355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22356 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22357 global and hidden.
22358 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22359 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22360 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22361 Likewise.
22362 (__rawmemchr_sse2): Likewise.
22363 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22364 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22365 (__strchr_sse2): Likewise.
22366 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22367 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22368 (__strcasecmp_sse2): Likewise.
22369 (__strncasecmp_sse2): Likewise.
22370 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22371 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22372 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22373 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22374 (__strrchr_sse2): Likewise.
22375 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22376 ifunc-impl-list.c.
22377 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22378 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22379 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22380 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22381 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22382 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22383 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22384 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22385 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22386 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22387 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22388 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22389 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22390 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22391 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22392 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22393 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22394 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22395 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22396 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22397 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22398 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22399 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22400 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22401 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22402 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22403 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22404 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22405 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22406 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22407
b090e8ea
L
22408 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22409 global and hidden.
22410 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22411 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22412 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22413 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22414 Likewise.
22415 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22416 Likewise.
22417 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22418 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22419 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22420 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22421 ifunc-impl-list.c.
22422 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22423 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22424 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22425 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22426 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22427 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22428 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22429 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22430 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22431 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22432 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22433 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22434 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22435 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22436 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22437 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22438 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22439 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22440 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22441 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22442 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22443 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22444 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22445 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22446 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22447 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22448 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22449 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22450 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22451 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22452 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22453 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22454 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22455 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22456 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22457 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22458 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22459 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22460 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22461 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22462 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22463
11dd4af6
L
22464 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22465 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22466 * include/ifunc-impl-list.h: New file.
22467 * misc/ifunc-impl-list.c: Likewise.
22468 * misc/Makefile (routines): Add ifunc-impl-list.
22469 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22470 * string/test-string.h: Include <ifunc-impl-list.h>.
22471 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22472 impl_array): New variables.
22473 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22474 are defined.
22475 (test_init): Call __libc_ifunc_impl_list to initialize
22476 func_list if TEST_IFUNC and TEST_NAME are defined.
22477
9a387d1f
L
22478 * string/Makefile (strop-tests): Add bcopy and bzero.
22479 * string/test-bcopy.c: New file.
22480 * string/test-bzero.c: Likewise.
22481 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22482 defined.
22483 * string/test-memset.c: Support bzero test if TEST_BZERO is
22484 defined.
22485 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22486 __libc_memmove.
22487 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22488 __libc_memset.
22489 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22490 of memset.
22491
472371b9
JM
224922012-10-10 Joseph Myers <joseph@codesourcery.com>
22493
1e4a9536
JM
22494 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22495 * configure: Regenerated.
22496
d173d12e
JM
22497 * Makeconfig (+link-static-before-libc): Don't include
22498 $(link-static-libc).
22499
472371b9
JM
22500 * libio/libio.h (_IO_pos_t): Remove.
22501
89a3ad0b
AO
225022012-10-10 Alexandre Oliva <aoliva@redhat.com>
22503
22504 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22505 McGrath.
22506
e7451425
AO
225072012-10-10 Alexandre Oliva <aoliva@redhat.com>
22508
22509 * crypt/crypt-entry.c: Include fips-private.h.
22510 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22511 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22512 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22513 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22514
4ba74a35
AO
225152012-10-10 Alexandre Oliva <aoliva@redhat.com>
22516
22517 * crypt/crypt-private.h: Include stdbool.h.
22518 (_ufc_setup_salt_r): Return bool.
22519 * crypt/crypt-entry.c: Include errno.h.
22520 (__crypt_r): Return NULL with EINVAL for bad salt.
22521 * crypt/crypt_util.c (bad_for_salt): New.
22522 (_ufc_setup_salt_r): Check that salt is long enough and within
22523 the specified alphabet.
22524 * crypt/badsalttest.c: New file.
22525 * crypt/Makefile (tests): Add it.
22526 ($(objpfx)badsalttest): New.
22527
f96f1242
MK
225282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22529
22530 * NEWS: Add entry for BZ #14602.
22531
0e8e0c1c
JM
225322012-10-09 Joseph Myers <joseph@codesourcery.com>
22533
22534 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22535 type-generic.
22536 * math/libm-test.inc: Update comment listing what functions and
22537 macros are tested.
22538 (isgreater_test): New function.
22539 (isgreaterequal_test): Likewise.
22540 (isless_test): Likewise.
22541 (islessequal_test): Likewise.
22542 (islessgreater_test): Likewise.
22543 (isunordered_test): Likewise.
22544 (main): Call the new functions.
22545
273edc5e
RM
225462012-10-09 Roland McGrath <roland@hack.frob.com>
22547
b8493de0
RM
22548 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22549 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22550 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22551 * sysdeps/i386/configure: Regenerated.
22552 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22553 * sysdeps/mach/configure: Regenerated.
22554 * sysdeps/mach/hurd/configure: Regenerated.
22555 * sysdeps/powerpc/configure: Regenerated.
22556 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22557 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22558 * sysdeps/s390/s390-32/configure: Regenerated.
22559 * sysdeps/s390/s390-64/configure: Regenerated.
22560 * sysdeps/sh/configure: Regenerated.
22561 * sysdeps/sparc/configure: Regenerated.
22562 * sysdeps/unix/sysv/linux/configure: Regenerated.
22563 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22564 * sysdeps/x86_64/configure: Regenerated.
22565
273edc5e
RM
22566 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22567 defined. Don't check if MAP is NULL.
22568
c8450f70
JM
225692012-10-09 Joseph Myers <joseph@codesourcery.com>
22570
22571 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22572 (_G_stat64): Likewise.
22573 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22574 (_G_stat64): Likewise.
22575 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22576 instead of struct _G_stat64.
22577 * libio/fileops.c (mmap_remap_check): Likewise.
22578 (decide_maybe_mmap): Likewise.
22579 (_IO_new_file_seekoff): Likewise.
22580 (_IO_file_stat): Likewise.
22581 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22582 _G_off64_t.
22583 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22584 instead of struct _G_stat64.
22585 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22586
57e605ba
MK
225872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22588
22589 [BZ #14602]
22590 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22591 Replace with ...
22592 (CHECK_EOL): New macro.
22593 (two_way_short_needle): Check beginning of haystack for EOL. Use
22594 CHECK_EOL.
22595 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22596 Replace with CHECK_EOL.
22597 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22598 Replace with CHECK_EOL.
22599
ef1bb361
JM
226002012-10-08 Joseph Myers <joseph@codesourcery.com>
22601
22602 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22603 type-generic.
22604 * math/libm-test.inc: Update comment listing what functions and
22605 macros are tested.
22606 (finite_test): New function.
22607 (isinf_test): Likewise.
22608 (isnan_test): Likewise.
22609 (fpclassify_test): Test subnormal input.
22610 (isfinite_test): Likewise.
22611 (isnormal_test): Likewise.
22612 (main): Call the new functions.
22613
55f11534
JN
226142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22615
22616 [BZ #14660]
22617 * Makerules (%.dynsym): Force C locale when running
22618 $(OBJDUMP) --dynamic-syms.
22619
1ab29350
AS
226202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22621
22622 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22623 <stdint.h>.
22624
f1ecb7ef
DM
226252012-10-06 David S. Miller <davem@davemloft.net>
22626
22627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22628 upper 32-bits of the length value in %o2 since we use branch-on-register
22629 tests which consider the entire 64-bit register.
22630
5d41d91a
L
226312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22632
22633 * string/test-strstr.c (check2): Add a test for page boundary.
22634
3baddb72
DM
226352012-10-05 David S. Miller <davem@davemloft.net>
22636
22637 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22638 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22639 file.
22640 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22641 sysdep_routines.
22642 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22643 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22644 and bzero when HWCAP_SPARC_CRYPTO is present.
22645
9cee5585
L
226462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22647
d7e0dab9
L
22648 [BZ #14602]
22649 * string/test-strstr.c (check2): New function.
22650 (test_main): Call check2.
22651
03759f47
L
22652 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22653 and bug-strchr1.
22654 * string/bug-strcasestr1.c (do_test): Moved to ...
22655 * string/test-strcasestr.c (check1): Here. New function.
22656 (do_one_test): Break out result checking code into ...
22657 (check_result): This. New function.
22658 (do_one_test): Call check_result.
22659 (test_main): Call check1.
22660 * string/bug-strchr1.c (do_test): Moved to ...
22661 * string/test-strchr.c (check1): Here. New function.
22662 (do_one_test): Break out result checking code into ...
22663 (check_result): This. New function.
22664 (do_one_test): Call check_result.
22665 (test_main): Call check1.
22666 * string/bug-strstr1.c (main): Moved to ...
046f153e 22667 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22668 (do_one_test): Break out result checking code into ...
22669 (check_result): This. New function.
22670 (do_one_test): Call check_result.
22671 (test_main): Call check1.
22672 * string/bug-strcasestr1.c: Removed.
22673 * string/bug-strchr1.c: Likewise.
22674 * string/bug-strstr1.c: Likewise.
22675
53cea63e
L
22676 * elf/Makefile (dl-routines): Add hwcaps.
22677 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22678 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22679 (_dl_important_hwcaps): Moved to ...
22680 * elf/dl-hwcaps.c: Here. New file.
22681 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22682
9cee5585 22683 [BZ #14557]
bb859b06
L
22684 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22685 if IS_IN_rtld isn't defined.
22686
9cee5585
L
22687 * elf/dl-support.c (_dl_sysinfo_map): New.
22688 Include "get-dynamic-info.h" and "setup-vdso.h".
22689 (_dl_non_dynamic_init): Call setup_vdso.
22690 * elf/dynamic-link.h: Don't include <assert.h>.
22691 (elf_get_dynamic_info): Moved to ...
22692 * elf/get-dynamic-info.h: Here. New file.
22693 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22694 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22695 * elf/setup-vdso.h: Here. New file.
22696 * elf/rtld.c: Include "setup-vdso.h".
22697 (dl_main): Call setup_vdso.
22698
23c31b76
JM
226992012-10-05 Joseph Myers <joseph@codesourcery.com>
22700
28234b07
JM
22701 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22702 creal in comment listing functions tested. List finite, isinf,
22703 isnan, isless, islessequal, isgreater, isgreaterequal,
22704 islessgreater, isunordered, lgamma_r and pow10 as functions and
22705 macros not tested. Mention which functions not tested are aliases
22706 for other functions. Fix typo. Note that signs of NaNs are not
22707 tested.
22708
23c31b76
JM
22709 * scripts/config.guess: Update from config.git.
22710 * scripts/config.sub: Likewise.
22711
9043e228
RM
227122012-10-04 Roland McGrath <roland@hack.frob.com>
22713
22714 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22715 * misc/madvise.c (madvise): Renamed to __madvise.
22716 Make madvise a weak alias.
22717 * include/sys/mman.h: Declare __madvise.
22718 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22719 * sysdeps/unix/syscalls.list
22720 (madvise): Make __madvise the strong name, and madvise a weak alias.
22721 * sysdeps/unix/sysv/linux/syscalls.list
22722 (madvise, mmap): Remove redundant entries.
22723 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22724 * malloc/malloc.c (mtrim): Likewise.
22725 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22726
f57f8055
RM
227272012-10-03 Roland McGrath <roland@hack.frob.com>
22728
22729 * sysdeps/mach/hurd/dl-cache.c: File removed.
22730 * config.h.in (USE_LDCONFIG): New #undef.
22731 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22732 * configure: Regenerated.
22733 * elf/Makefile (dl-routines): Add dl-cache only under
22734 [$(use-ldconfig) = yes].
22735 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22736 cache on [USE_LDCONFIG].
22737 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22738 [USE_LDCONFIG].
22739 * elf/rtld.c (dl_main): Likewise.
22740
5bb0c10a
PT
227412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22742
22743 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22744 _SC_LEVEL4_CACHE_LINESIZE.
22745
010188c6
RM
227462012-10-03 Roland McGrath <roland@hack.frob.com>
22747
22748 * sysdeps/unix/bsd/confstr.h: File removed.
22749
b6c5ec07
AO
227502012-10-02 Alexandre Oliva <aoliva@redhat.com>
22751
22752 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22753 sys/sdt-config.h.
22754
408223d4
RM
227552012-10-02 Roland McGrath <roland@hack.frob.com>
22756
22757 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22758 Make 'mapoff' field ElfW(Off) rather than off_t.
22759
bb9510dc
DL
227602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22761
fc997c6e
DL
22762 * nscd/Makefile: Remove nscd-cflags and all its users.
22763 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22764 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22765
bb9510dc
DL
22766 [BZ #10631]
22767 * malloc.c (malloc_printerr): Clarify error message.
22768
05699367
L
227692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22770
22771 [BZ #14648]
22772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22773 Set bit_FMA_Usable if FMA is supported.
22774 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22775 macro.
22776 (bit_FMA4_Usable): Updated.
22777 (index_FMA_Usable): New macro.
22778 (CPUID_FMA): Likewise
22779 (HAS_FMA): Defined with bit_FMA_Usable.
22780
51367701
RM
227812012-10-01 Roland McGrath <roland@hack.frob.com>
22782
22783 * bits/types.h (__swblk_t): Type removed.
22784 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22785 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22787 (__SWBLK_T_TYPE): Likewise.
22788 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22789 (__SWBLK_T_TYPE): Likewise.
22790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22791 (__SWBLK_T_TYPE): Likewise.
22792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22793 (__SWBLK_T_TYPE): Likewise.
22794
4d57bf63 227952012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22796 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22797
22798 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22799 (xdr_mapname): Use YPMAXMAP as maxsize.
22800 (xdr_peername): Use YPMAXPEER as maxsize.
22801 (xdr_keydat): Use YPAXRECORD as maxsize.
22802 (xdr_valdat): Use YPMAXRECORD as maxsize.
22803
93c65d43
RM
228042012-10-01 Roland McGrath <roland@hack.frob.com>
22805
497a03d6
RM
22806 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22807
93c65d43
RM
22808 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22809 * csu/init-first.c: ... here.
22810 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22811 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22812 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22813 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22814 * sysdeps/i386/init-first.c: File removed.
22815 * sysdeps/sh/init-first.c: File removed.
22816
bec749fd
JM
228172012-10-01 Joseph Myers <joseph@codesourcery.com>
22818
22819 [BZ #14645]
22820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22821 if x * y might underflow to zero and z is zero.
22822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22824 * math/libm-test.inc (min_subnorm_value): New variable.
22825 (fma_test): Add more tests.
22826 (fma_test_towardzero): Likewise.
22827 (fma_test_downward): Likewise
22828 (fma_test_upward): Likewise.
22829 (initialize): Set min_subnorm_value.
22830
8ec5b013
JM
228312012-09-29 Joseph Myers <joseph@codesourcery.com>
22832
22833 [BZ #14638]
22834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22835 0 + 0.
22836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22837 mode for addition resulting in exact zero.
22838 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22840 exact 0 + 0.
22841 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22843 * math/libm-test.inc (fma_test): Add more tests.
22844 (fma_test_towardzero): New function.
22845 (fma_test_downward): Likewise.
22846 (fma_test_upward): Likewise.
22847 (main): Call the new functions.
22848
b1fa802e
DM
228492012-09-28 David S. Miller <davem@davemloft.net>
22850
22851 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22852
d3b9fd9e
RM
228532012-09-28 Roland McGrath <roland@hack.frob.com>
22854
ea4d37b3
RM
22855 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22856 instead of SIGALRM.
22857
ac51c949
RM
22858 * sysdeps/gnu/_G_config.h: Moved to ...
22859 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22860 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22861 * sysdeps/generic/_G_config.h: ... here.
22862
28c195f7
RM
22863 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22864
848917f9
RM
22865 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22866
6bacf05b
RM
22867 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22868 Conditionalize target on [libnss_test1.so-version].
22869
91363dbb
RM
22870 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22871
cc87f7d8
RM
22872 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22873 (elfobjdir): Move out of conditionals.
22874
b1c608fe
RM
22875 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22876 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22877 (__nss_lookup_function): Conditionalize label remove_from_tree on
22878 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22879
1d9a6d96
DM
228802012-09-28 David S. Miller <davem@davemloft.net>
22881
22882 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22883 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22884 file.
22885 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22886 sysdep_routines.
22887 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22889 when HWCAP_SPARC_CRYPTO is present.
22890
72581615
PT
228912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22892
22893 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22894
715a900c
JL
228952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22896
22897 [BZ #6530]
22898 * stdio-common/vfprintf.c (process_string_arg): Revert
22899 2000-07-22 change.
22900
229012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22902
22903 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22904 for testcase.
22905 * stdio-common/tst-sprintf.c: Include <locale.h>
22906 (main): Test sprintf's handling of incomplete multibyte
22907 characters.
22908
9bac1d86
L
229092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22910
22911 * elf/dl-runtime.c (VERSYMIDX): Removed.
22912 * elf/dl-version.c (VERSYMIDX): Likewise.
22913 * elf/do-rel.h (VERSYMIDX): Likewise.
22914 (VALIDX): Likewise.
22915 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22916 * elf/rtld.c (VALIDX): Likewise.
22917 (ADDRIDX): Likewise.
9bac1d86
L
22918 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22919 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22920 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22921 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22922 (VALIDX): Likewise.
22923 (ADDRIDX): Likewise.
9bac1d86 22924
b31606c0
PT
229252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22926
22927 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22928
11541177
JL
229292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22930
22931 [BZ #11438]
22932 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22933 to global scope.
22934 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22935 addresses are in the same scope as 192.0.2/24.
22936 * posix/gai.conf: Document new scope table defaults.
22937
adb26fae
SP
229382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22939
22940 [BZ #5298]
22941 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22942 for ftell. Compute offsets from write pointers instead.
22943 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22944
4573c6b0
SP
229452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22946
22947 [BZ #14543]
22948 * libio/Makefile (tests): New test case tst-fseek.
22949 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22950 combination works in wide mode.
22951 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22952 state when the external buffer state changes.
22953
aa9bbfe6
DM
229542012-09-27 David S. Miller <davem@davemloft.net>
22955
22956 [BZ #14376]
22957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22958 pass reloc->r_addend in as the 'high' argument to
22959 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22960
784421e7
DM
22961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22962
c39bc8b8
PT
229632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22964
22965 * rt/tst-aio2.c: Include <pthread.h>.
22966 * rt/tst-aio3.c: Likewise.
22967
1ccc2399
SE
229682012-09-27 Steve Ellcey <sellcey@mips.com>
22969
22970 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22971
31ed4153
L
229722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22973
25f5f885
L
22974 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22975 contents on [SHARED].
31ed4153 22976
b7bfe116
MP
229772012-09-26 Marek Polacek <polacek@redhat.com>
22978
22979 [BZ #14530]
22980 [BZ #13741]
22981 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22982 for C++ and GCC <4.3 as well as for non GCC compilers.
22983
43c4edba
MT
229842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22985
22986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22987
6a1bf82f
RM
229882012-09-25 Roland McGrath <roland@hack.frob.com>
22989
22990 * Makefile.in (all, install): Declare with .PHONY.
22991 Reported by Michael Hope <michael.hope@linaro.org>.
22992
8ad11b9a
TMQMF
229932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22994
22995 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22996 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22997 system header.
22998 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22999 Likewise.
23000 (sydep_routines): Add the new and the internal functions.
23001 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23002 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23004 (GLIBC_2.17): Add the new function.
23005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23006 (GLIBC_2.17): Likewise.
23007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23008 (GLIBC_2.17): Likewise.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23010 (GLIBC_2.17): Likewise.
23011 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23012
7e2fca8d
AM
230132012-09-25 Alan Modra <amodra@gmail.com>
23014
23015 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23016 Add release barrier before setting once_control to say
23017 initialisation is done. Add hints on lwarx. Use macro in
23018 place of isync.
23019 (clear_once_control): Add release barrier.
23020
b87c4b24
JM
230212012-09-25 Joseph Myers <joseph@codesourcery.com>
23022
d032e0d2
JM
23023 [BZ #13629]
23024 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23025 specially.
23026 * math/s_clog10.c (__clog10): Likewise.
23027 * math/s_clog10f.c (__clog10f): Likewise.
23028 * math/s_clog10l.c (__clog10l): Likewise.
23029 * math/s_clogf.c (__clogf): Likewise.
23030 * math/s_clogl.c (__clogl): Likewise.
23031 * math/Makefile (libm-calls): Add x2y2m1.
23032 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23033 (__x2y2m1): Likewise.
23034 (__x2y2m1l): Likewise.
23035 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23036 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23038 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23039 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23040 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23041 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23042 * sysdeps/i386/fpu/libm-test-ulps: Update.
23043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23044
b87c4b24
JM
23045 [BZ #14621]
23046 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23047 int as type of variable DEPTH.
23048 (glob): Use size_t instead of int as type of variables NEWCOUNT
23049 and OLD_PATHC.
23050
6d3bf199
LD
230512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23052
22bf5c17
LD
23053 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23054 Add s_sincosf-sse2.
23055 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23056 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23057 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23058 macros for using routine as __sincosf_ia32.
23059 Use macro for function declaration and weak_alias.
23060 * sysdeps/i386/fpu/libm-test-ulps: Update.
23061
23062 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23064
23065 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23066 subnormal argument.
23067 * math/s_cexpf.c (__cexpf): Likewise.
23068 * math/s_csinf.c (__csinf): Likewise.
23069 * math/s_csinhf.c (__csinhf): Likewise.
23070 * math/s_ctanf.c (__ctanf): Likewise.
23071 * math/s_ctanhf.c (__ctanhf): Likewise.
23072 * math/s_ccosh.c (__ccoshf): Likewise.
23073 * math/s_cexp.c (__cexpl): Likewise.
23074 * math/s_csin.c (__csin): Likewise.
23075 * math/s_csinh.c (__csinh): Likewise.
23076 * math/s_ctan.c (__ctan): Likewise.
23077 * math/s_ctanh.c (ctanh): Likewise.
23078 * math/s_ccoshl.c (__ccoshl): Likewise.
23079 * math/s_cexpl.c (__cexpl): Likewise.
23080 * math/s_csinl.c (__csinl): Likewise.
23081 * math/s_csinhl.c (__csinhl): Likewise.
23082 * math/s_ctanl.c (__ctanl): Likewise.
23083 * math/s_ctanhl.c (__ctanhl): Likewise.
23084
203e5603
JM
230852012-09-25 Joseph Myers <joseph@codesourcery.com>
23086
23087 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23088 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23089 (_IO_off_t): Define to __off_t, not _G_off_t.
23090 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23091 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23092 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23093 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23094 type of __dummy and __dummy2 fields.
23095 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23096 (_G_ssize_t): Likewise.
23097 (_G_off_t): Likewise.
23098 (_G_pid_t): Likewise.
23099 (_G_uid_t): Likewise.
23100 (_G_wchar_t): Likewise.
23101 (_G_wint_t): Likewise.
23102 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23103 (_G_ssize_t): Likewise.
23104 (_G_off_t): Likewise.
23105 (_G_pid_t): Likewise.
23106 (_G_uid_t): Likewise.
23107 (_G_wchar_t): Likewise.
23108 (_G_wint_t): Likewise.
23109 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23110 (_G_ssize_t): Likewise.
23111 (_G_off_t): Likewise.
23112 (_G_pid_t): Likewise.
23113 (_G_uid_t): Likewise.
23114 (_G_wchar_t): Likewise.
23115 (_G_wint_t): Likewise.
23116
9fab36eb
SP
231172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23118
23119 * malloc/arena.c: Include malloc-sysdep.h.
23120 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23121 is sufficient to shrink the heap or an unmap is needed.
23122 * sysdeps/generic/malloc-sysdep.h: New file. Define
23123 new function check_may_shrink_heap.
23124 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23125 new function check_may_shrink_heap.
23126
2b4f00d1
SP
231272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23128
23129 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23130 comments.
23131
9a9028b1
DL
231322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23133
57c69bef
DL
23134 * catgets/test-gencat.sh: Add "set -e".
23135 * elf/tst-pathopt.sh: Likewise.
23136 * grp/tst_fgetgrent.sh: Likewise.
23137 * iconvdata/run-iconv-test.sh: Likewise.
23138 * intl/tst-gettext.sh: Likewise.
23139 * intl/tst-gettext2.sh: Likewise.
23140 * intl/tst-gettext4.sh: Likewise.
23141 * intl/tst-gettext6.sh: Likewise.
23142 * intl/tst-translit.sh: Likewise.
23143 * io/ftwtest-sh: Likewise.
23144 * libio/test-freopen.sh: Likewise.
23145 * malloc/tst-mtrace.sh: Likewise.
23146 * posix/globtest.sh: Likewise.
23147 * posix/tst-getconf.sh: Likewise.
23148 * posix/wordexp-tst.sh: Likewise.
23149 * stdio-common/tst-printf.sh: Likewise.
23150 * stdio-common/tst-unbputc.sh: Likewise.
23151 * stdlib/tst-fmtmsg.sh: Likewise.
23152 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23153 * catgets/Makefile: Do not specify -e option when running
23154 testsuite shell scripts.
23155 * elf/Makefile: Likewise.
23156 * grp/Makefile: Likewise.
23157 * iconvdata/Makefile: Likewise.
23158 * intl/Makefile: Likewise.
23159 * io/Makefile: Likewise.
23160 * libio/Makefile: Likewise.
23161 * malloc/Makefile: Likewise.
23162 * posix/Makefile: Likewise.
23163 * stdio-common/Makefile: Likewise.
23164 * stdlib/Makefile: Likewise.
23165 * sysdeps/x86_64/Makefile: Likewise.
23166
9a9028b1
DL
23167 * io/ftwtest-sh: Add copyright header.
23168 * posix/globtest.sh: Likewise.
23169 * posix/tst-getconf.sh: Likewise.
23170 * posix/wordexp-tst.sh: Likewise.
23171 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23172
ced6f16e
L
231732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23174
94b32c39
L
23175 [BZ #13679]
23176 * Makeconfig (+link): Defined as $(+link-static) if
23177 $(build-shared) isn't yes.
23178 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23179 isn't yes.
23180 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23181
189e935b
L
23182 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23183
ced6f16e
L
23184 [BZ #14562]
23185 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23186 new chunk size with MALLOC_ALIGN_MASK.
23187
a9f8e53a
JM
231882012-09-24 Joseph Myers <joseph@codesourcery.com>
23189
23190 [BZ #5044]
23191 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23192 <rounding-mode.h>.
23193 (__printf_fphex): Determine rounding using get_rounding_mode and
23194 round_away.
23195 * stdio-common/tst-printf-round.c (struct hex_test): New
23196 structure.
23197 (hex_tests): New variable.
23198 (test_hex_in_one_mode): New function.
23199 (do_test): Also run tests for hex float output.
23200
43153109
JM
232012012-09-21 Joseph Myers <joseph@codesourcery.com>
23202
23203 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23204 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23205 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23206 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23207 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23208 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23209 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23210 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23211
8a26625d
JM
232122012-09-20 Joseph Myers <joseph@codesourcery.com>
23213
23214 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23215 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23216 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23217 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23218
f3fd569c
DL
232192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23220
23221 [BZ #14579]
23222 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23223 mode only.
23224 * elf/tst-rtld-load-self.sh: New test.
23225 * elf/Makefile: Run it.
23226
63bbedd4
JM
232272012-09-18 Joseph Myers <joseph@codesourcery.com>
23228
23229 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23230 (tst-writev-ENV): Remove.
23231 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23232
626f8b6a
CM
232332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23234
23235 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23236
b7aaa4d6
JM
232372012-09-17 Joseph Myers <joseph@codesourcery.com>
23238
23239 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23240 unconditional.
23241 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23242 Likewise.
23243 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23244 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23245 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23246 Likewise.
23247
65513990
L
232482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23249
23250 [BZ #14587]
23251 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23252 * config.make.in (have-cpp-asm-debuginfo): Removed.
23253 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23254 * configure: Regenerated.
23255
784761be
JM
232562012-09-14 Joseph Myers <joseph@codesourcery.com>
23257
23258 [BZ #5044]
23259 * stdio-common/printf_fp.c: Include <stdbool.h> and
23260 <rounding-mode.h>.
23261 (___printf_fp): Determine rounding using get_rounding_mode and
23262 round_away.
23263 * stdio-common/tst-printf-round.c: New file.
23264 * stdio-common/Makefile (tests): Add tst-printf-round.
23265 (link-libm): New variable.
23266 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23267
9503345f
L
232682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23269
23270 [BZ #14576]
23271 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23272 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23273 Likewise.
23274 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23275 Likewise.
23276
ad35fc00
JM
232772012-09-13 Joseph Myers <joseph@codesourcery.com>
23278
23279 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23280 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23281 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23282 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23283
6c9b0f68
JM
232842012-09-12 Joseph Myers <joseph@codesourcery.com>
23285
23286 [BZ #14518]
23287 * include/rounding-mode.h: New file.
23288 * sysdeps/generic/get-rounding-mode.h: Likewise.
23289 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23290 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23291 (MAX_VALUE): New macro.
23292 (MIN_VALUE): Likewise.
23293 (overflow_value): New function.
23294 (underflow_value): Likewise.
23295 (round_and_return): Use overflow_value and underflow_value to
23296 determine return values in overflow and underflow cases. Use
23297 round_away to determine rounding depending on rounding mode.
23298 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23299 determine return values in overflow and underflow cases.
23300 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23301 (struct test_results): New structure.
23302 (struct test): Use struct test_results to store expected results
23303 for all rounding modes.
23304 (TEST): Include expected results for all rounding modes.
23305 (test_in_one_mode): New function.
23306 (do_test): Use test_in_one_mode to compute and check results.
23307 Check results for all rounding modes.
23308 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23309 $(link-libm).
23310
19fcedd5
AM
233112012-12-09 Allan McRae <allan@archlinux.org>
23312
1e9d84cd 23313 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23314
8bbfd2f1
JM
233152012-09-11 Joseph Myers <joseph@codesourcery.com>
23316
23317 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23318 (_G_int32_t): Likewise.
23319 (_G_uint16_t): Likewise.
23320 (_G_uint32_t): Likewise.
23321 (_G_HAVE_BOOL): Likewise.
23322 (_G_HAVE_ATEXIT): Likewise.
23323 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23324 (_G_HAVE_IO_FILE_OPEN): Likewise.
23325 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23326 (_G_int32_t): Likewise.
23327 (_G_uint16_t): Likewise.
23328 (_G_uint32_t): Likewise.
23329 (_G_HAVE_BOOL): Likewise.
23330 (_G_HAVE_ATEXIT): Likewise.
23331 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23332 (_G_HAVE_IO_FILE_OPEN): Likewise.
23333 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23334 (_G_int32_t): Likewise.
23335 (_G_uint16_t): Likewise.
23336 (_G_uint32_t): Likewise.
23337 (_G_HAVE_BOOL): Likewise.
23338 (_G_HAVE_ATEXIT): Likewise.
23339 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23340 (_G_HAVE_IO_FILE_OPEN): Likewise.
23341
b1dc5912
L
233422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23343
23344 * csu/libc-tls.c: Update copyright years.
23345
0e886ef9
JM
233462012-09-10 Joseph Myers <joseph@codesourcery.com>
23347
28361c5e
JM
23348 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23349 [!_G_USING_THUNKS]: Remove conditional code.
23350 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23351 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23352
0e886ef9
JM
23353 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23354 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23355 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23356 (_G_VTABLE_LABEL_PREFIX): Likewise.
23357 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23358 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23359 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23360 (_G_VTABLE_LABEL_PREFIX): Likewise.
23361 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23362 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23363 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23364 (_G_VTABLE_LABEL_PREFIX): Likewise.
23365 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23366
bcba7aa2
L
233672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23368
23369 * libio/Makefile: Include ../Makeconfig before tests.
23370 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23371 only if $(build-shared) is yes.
23372
06585ee8
L
23373 * iconv/gconv_db.c: Update copyright years.
23374
80ccd52c
LD
233752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23376
23377 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23378 unwind info if defined PIC. Fix special cases description.
23379 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23380
23381 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23382 DP_HI_MASK entry.
23383 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23384
691bc9c1
L
233852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23386
3d9b46b3
L
23387 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23388
de2139a9
L
23389 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23390 is NULL.
23391
5ca78dd0
L
23392 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23393 (LDLIBS-tst-chk4): This.
23394 (LDFLAGS-tst-chk5): Renamed to ...
23395 (LDLIBS-tst-chk5): This.
23396 (LDFLAGS-tst-chk6): Renamed to ...
23397 (LDLIBS-tst-chk6): This.
23398 (LDFLAGS-tst-lfschk4): Renamed to ...
23399 (LDLIBS-tst-lfschk4): This.
23400 (LDFLAGS-tst-lfschk5): Renamed to ...
23401 (LDLIBS-tst-lfschk5): This.
23402 (LDFLAGS-tst-lfschk6): Renamed to ...
23403 (LDLIBS-tst-lfschk6): This.
23404
691bc9c1
L
23405 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23406 on $(common-objpfx)soversions.mk.
23407
65cafb1c
JM
234082012-09-07 Joseph Myers <joseph@codesourcery.com>
23409
23410 [BZ #10014]
23411 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23412 example host name.
23413
c78ab094
SP
234142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23415
23416 * malloc/arena.c (arena_get_retry): New function that gets
23417 another arena for the caller to try its request on.
23418 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23419 current arena cannot fulfill the request.
23420 (__libc_memalign): Likewise.
23421 (__libc_memalign): Likewise.
23422 (__libc_pvalloc): Likewise.
23423 (__libc_calloc): Likewise.
23424
01f49f59
JT
234252012-09-05 John Tobey <john.tobey@gmail.com>
23426
23427 [BZ #13542]
23428 * manual/arith.texi (Operations on Complex): Fix description
23429 of carg branch cut.
23430
4c23fed5
JM
234312012-09-06 Joseph Myers <joseph@codesourcery.com>
23432
1d3c8572
JM
23433 [BZ #10014]
23434 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23435 host name.
23436
4c23fed5
JM
23437 [BZ #10038]
23438 * manual/memory.texi (Memory): Make order of menu items match
23439 order of sections.
23440
04570aaa
L
234412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23442
23443 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23444 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23445 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23446
b80af2f4
L
234472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23448
23449 * csu/libc-tls.c (static_dtv): Renamed to ...
23450 (_dl_static_dtv): This. Make it global.
23451 (_dl_initial_dtv): Removed.
23452 (__libc_setup_tls): Updated.
23453 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23454 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23455 DL_INITIAL_DTV.
23456
2abe9f15
PM
234572012-09-06 Petr Machata <pmachata@redhat.com>
23458
23459 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23460 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23461 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23462 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23463
0948c3af
L
234642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23465
23466 [BZ #14545]
23467 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23468 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23469 freeing dtv[-1].
23470
a5055ad1
L
234712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23472
23473 [BZ #14544]
23474 * Makeconfig (link-static-before-libc): Replace $(+prector)
23475 with $(+prectorT).
23476 (link-static-after-libc): Replace $(+postctor) with
23477 $(+postctorT).
23478 (link-bounded): Replace $(+prector)/$(+postctor) with
23479 $(+prectorT)/$(+postctorT).
23480 (+prectorT): New macro.
23481 (+postctorT): Likewise.
23482
ed8c2ecd
JM
234832012-09-06 Joseph Myers <joseph@codesourcery.com>
23484
23485 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23486 (round_str): Handle values above the maximum for IBM long double
23487 as inexact.
23488 * stdlib/tst-strtod-round.c (tests): Regenerated.
23489
14c996c8
AK
234902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23491
23492 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23493 assembler flag.
23494 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23495 zarch_nohighgprs around the zarch optimized routines.
23496 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23497 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23498 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23499 for zarch.
23500
430d6ce6
DM
235012012-09-05 David S. Miller <davem@davemloft.net>
23502
23503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23504
ff04dda4
DM
23505 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23506 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23507 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23508 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23509 entries.
23510
24d4e01b
AO
235112012-09-05 Alexandre Oliva <aoliva@redhat.com>
23512
23513 * malloc/arena.c: Fold copyright years.
23514 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23515
61d58174
AO
235162012-09-05 Alexandre Oliva <aoliva@redhat.com>
23517
23518 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23519
20196a5e
AO
235202012-09-05 Alexandre Oliva <aoliva@redhat.com>
23521
23522 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23523
5c447383
AO
235242012-09-05 Alexandre Oliva <aoliva@redhat.com>
23525
23526 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23527 change internal state upon failure.
23528
fad64255
AO
235292012-09-05 Alexandre Oliva <aoliva@redhat.com>
23530
23531 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23532 * malloc/memusage.c (mmap): Likewise.
23533 (mmap64, mremap): Likewise. Adjust name in comment.
23534
1ffb8c90
SP
235352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23536
23537 * libio/fileops.c: Fix typos in comments.
23538 * libio/oldfileops.c: Likewise.
23539 * libio/wfileops.c: Likewise.
23540
6ef9cc37
SP
235412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23542
23543 [BZ #1349]
23544 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23545 (tst-malloc-usable-ENV): Set environment for test case.
23546 * malloc/hooks.c (malloc_check_get_size): New function to get
23547 requested size.
23548 * malloc/malloc.c (musable): Use malloc_check_get_size.
23549 * malloc/tst-malloc-usable.c: New test case.
23550
4d038ae3
AS
235512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23552
23553 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23554
c4e85184
AM
235552012-09-05 Allan McRae <allan@archlinux.org>
23556
b9dafc56 23557 [BZ #13966]
c4e85184
AM
23558 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23559 determine header location.
23560 * configure: Regenerated.
23561
e1343020
AS
235622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23563
23564 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23565 float format.
23566 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23567 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23568 format.
e1343020
AS
23569 (test): Regenerate.
23570
0a9f1987
DM
235712012-09-04 David S. Miller <davem@davemloft.net>
23572
23573 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23574 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23575 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23576
29237804
FW
235772012-09-04 Florian Weimer <fweimer@redhat.com>
23578
23579 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23580 failures.
23581
edb3cb88
FW
23582 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23583
60160d83
JM
235842012-09-04 Joseph Myers <joseph@codesourcery.com>
23585
23586 [BZ #9914]
23587 * libio/iogetdelim.c: Include <limits.h>.
23588 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23589 + len + 1 would overflow.
23590
bcd6c8dc
AJ
235912012-09-03 Andreas Jaeger <aj@suse.de>
23592
23593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23594 * sysdeps/i386/fpu/libm-test-ulps: Update.
23595
4ffffbd2
LD
235962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23597
23598 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23599 Add s_sinf-sse2, s_conf-sse2.
23600
23601 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23602 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23603 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23604 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23605
23606 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23607 for using routine as __sinf_ia32.
23608 Use macro for function declaration and weak_alias.
23609 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23610 for using routine as __cosf_ia32.
23611 Use macro for function declaration and weak_alias.
23612
23613 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23614 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23615
23616 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23617 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23619
23620 * math/libm-test.inc (cos_test): Add more test cases.
23621 (sin_test): Likewise.
23622 (sincos_test): Likewise.
23623
511fa286
AK
236242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23625
23626 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23627 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23628 hidden.
23629 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23630
5f30cfec
L
236312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23632
23633 [BZ #14538]
23634 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23635 first element of the GOT.
23636 (elf_machine_load_address): Return the difference between
23637 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23638
0786794f
AM
236392012-09-01 Allan McRae <allan@archlinux.org>
23640
5f30cfec
L
23641 [BZ #13412]
23642 * configure.in (AWK): Require gawk version 3.0 or later.
23643 * configure: Regenerated.
0786794f 23644
26889eac
JM
236452012-09-01 Joseph Myers <joseph@codesourcery.com>
23646
23647 * sysdeps/unix/sysv/linux/kernel-features.h
23648 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23649 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23650 [__NR_clock_getres]: Make code unconditional.
23651 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23652 (clock_getcpuclockid): Remove code left unreachable by removal of
23653 conditionals.
23654 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23655 code unconditional.
23656 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23657 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23658 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23659 Make code unconditional.
23660 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23661 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23662 * sysdeps/unix/sysv/linux/clock_settime.c
23663 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23664 conditional code.
23665 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23666 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23667
d22e28b0
L
236682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23669
23670 [BZ #14476]
23671 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23672 scripts/test-installation.pl.
23673
23674 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23675 and $ld_so_version if it is set.
23676
050af9c4
SP
236772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23678
23679 [BZ #14516]
23680 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23681 failure if reading from procfs failed.
23682 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23683
ad845c0b
JM
236842012-08-27 Joseph Myers <joseph@codesourcery.com>
23685
23686 * sysdeps/unix/sysv/linux/kernel-features.h
23687 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23688 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23689 Remove conditional code.
23690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23691 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23692 Remove conditional code.
23693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23694 * sysdeps/unix/sysv/linux/i386/fxstat.c
23695 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23696 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23697 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23698 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23699 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23700 * sysdeps/unix/sysv/linux/i386/lxstat.c
23701 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23702 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23703 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23704 Remove conditional code.
23705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23706 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23707 Remove conditional code.
23708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23709 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23710 <kernel-features.h>.
23711 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23712 Remove.
23713 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23714 Remove conditional code.
23715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23716 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23717 Remove conditional.
23718
5dbf56af
MF
237192012-08-27 Mike Frysinger <vapier@gentoo.org>
23720
23721 [BZ #5400]
23722 * NEWS: Add fixed bug number.
23723
d6e70f43
JM
237242012-08-27 Joseph Myers <joseph@codesourcery.com>
23725
7efb4737
JM
23726 [BZ #14519]
23727 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23728 underflowing exponent in case of negative sign.
23729 * stdlib/tst-strtod-round-data: Add more tests.
23730 * stdlib/tst-strtod-round.c (tests): Regenerated.
23731
af92131a
JM
23732 [BZ #3479]
23733 * stdlib/strtod_l.c (NDIG): Remove.
23734 (HEXNDIG): Likewise.
23735 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23736 smallest representable value.
23737 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23738 lie within an exact representation of 1/2 ulp of the result.
23739 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23740 unconditionally.
23741 (TENS_P9_IDX): Define unconditionally.
23742 (TENS_P9_SIZE): Likewise.
23743 (TENS_P10_IDX): Likewise.
23744 (TENS_P10_SIZE): Likewise.
23745 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23746 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23747 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23748 entries for 10^2^13 and 10^2^14.
23749 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23750 (TENS_P13_IDX): Define.
23751 (TENS_P13_SIZE): Likewise.
23752 (TENS_P14_IDX): Likewise.
23753 (TENS_P14_SIZE): Likewise.
23754 (_fpioconst_pow10): Change array size to
23755 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23756 unconditional.
23757 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23758 1024]: Add entries for 10^2^13 and 10^2^14.
23759 [LAST_POW10 > _LAST_POW10]: Remove #error.
23760 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23761 (_fpioconst_pow10): Change array size to
23762 FPIOCONST_POW10_ARRAY_SIZE.
23763 * stdlib/gen-fpioconst.c: New file.
23764 * stdlib/gen-tst-strtod-round.c: Likewise.
23765 * stdlib/tst-strtod-round-data: Likewise.
23766 * stdlib/tst-strtod-round.c: Likewise.
23767 * stdlib/Makefile (tests): Add tst-strtod-round.
23768
d6e70f43
JM
23769 [BZ #14459]
23770 * stdlib/strtod_l.c: Include <stdint.h>.
23771 (NDEBUG): Do not define.
23772 (round_and_return): Change EXPONENT parameter to type intmax_t.
23773 Rearrange calculations to avoid internal overflow possibilities.
23774 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23775 Rearrange calculations to avoid internal overflow possibilities.
23776 Assert that number fits inside MPNSIZE limbs.
23777 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23778 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23779 calculations and add assertions to avoid internal overflow
23780 possibilities. Add casts to avoid signed/unsigned operations.
23781 * stdlib/tst-strtod-overflow.c: New file.
23782 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23783
1f529f7d
MP
237842012-08-25 Marek Polacek <polacek@redhat.com>
23785
23786 * time/time.h: Fix some typos in comments.
23787
59a629f1
RM
237882012-08-23 Roland McGrath <roland@hack.frob.com>
23789
23790 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23791 * posix/tst-rfc3484-2.c: Likewise.
23792 * posix/tst-rfc3484-3.c: Likewise.
23793
d3bafbc9
SM
237942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23795
23796 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23797 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23798
4efcc022
JM
237992012-08-23 Joseph Myers <joseph@codesourcery.com>
23800
23801 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23802 #include of fxstatat64.c.
23803
3cc3ef96
RM
238042012-08-22 Roland McGrath <roland@hack.frob.com>
23805
f04e2132
RM
23806 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23807 * shadow/getspent_r.c: Likewise.
23808 * shadow/getspnam.c: Likewise.
23809 * shadow/getspnam_r.c: Likewise.
23810 * gshadow/getsgent.c: Likewise.
23811 * gshadow/getsgent_r.c: Likewise.
23812 * gshadow/getsgnam.c: Likewise.
23813 * gshadow/getsgnam_r.c: Likewise.
23814 * inet/getnetbyad.c: Likewise.
23815 * inet/getnetbyad_r.c: Likewise.
23816 * inet/getnetbynm.c: Likewise.
23817 * inet/getnetbynm_r.c: Likewise.
23818 * inet/getnetent.c: Likewise.
23819 * inet/getnetent_r.c: Likewise.
23820 * inet/getproto.c: Likewise.
23821 * inet/getproto_r.c: Likewise.
23822 * inet/getprtent.c: Likewise.
23823 * inet/getprtent_r.c: Likewise.
23824 * inet/getprtname.c: Likewise.
23825 * inet/getprtname_r.c: Likewise.
23826 * inet/getrpcbyname.c: Likewise.
23827 * inet/getrpcbyname_r.c: Likewise.
23828 * inet/getrpcbynumber.c: Likewise.
23829 * inet/getrpcbynumber_r.c: Likewise.
23830 * inet/getrpcent.c: Likewise.
23831 * inet/getrpcent_r.c: Likewise.
23832 * inet/getaliasent.c: Likewise.
23833 * inet/getaliasent_r.c: Likewise.
23834 * inet/getaliasname.c: Likewise.
23835 * inet/getaliasname_r.c: Likewise.
23836 * nscd/getgrgid_r.c: Likewise.
23837 * nscd/getgrnam_r.c: Likewise.
23838 * nscd/gethstbyad_r.c: Likewise.
23839 * nscd/gethstbynm3_r.c: Likewise.
23840 * nscd/getpwnam_r.c: Likewise.
23841 * nscd/getpwuid_r.c: Likewise.
23842 * nscd/getsrvbynm_r.c: Likewise.
23843 * nscd/getsrvbypt_r.c: Likewise.
23844 * nscd/gai.c: Likewise.
23845
c53d909c
RM
23846 * configure.in (build_nscd): New substituted variable, set
23847 by --disable-build-nscd and defaults to $use_nscd.
23848 * configure: Regenerated.
23849 * config.make.in (build-nscd): New substituted variable.
23850 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23851 Change conditional to require [$(build-nscd) = yes] as well.
23852 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23853
3cc3ef96
RM
23854 [BZ# 13696]
23855 * configure.in (use_nscd): New substituted variable, set by
23856 --disable-nscd. If enabled, define USE_NSCD.
23857 * configure: Regenerated.
23858 * config.h.in: Add USE_NSCD.
23859 * config.make.in (use-nscd): New substituted variable.
23860 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23861 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23862 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23863 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23864 (CFLAGS-getgrnam_r.c): Likewise.
23865 (CFLAGS-initgroups.c): Likewise.
23866 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23867 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23868 Variables removed.
23869 * inet/getnetgrent_r.c
23870 (nscd_setnetgrent): New function, broken out of ...
23871 (setnetgrent): ... here. Call it.
23872 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23873 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23874 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23875 * nscd/Makefile (routines, aux): Move definitions after include of
23876 Makeconfig. Conditionalize on [$(use-nscd) != no].
23877 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23878 Conditionalize on [USE_NSCD].
23879 (is_nscd, nscd_init_cb): Likewise.
23880 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23881 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23882 * nss/nss_db/db-init.c: Likewise.
23883 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23884 [USE_NSCD].
23885 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23886 (make_request): Use it.
23887 (cache_valid_p): New function.
23888 (__check_pf): Use it.
23889 * NEWS: Add item for --disable-nscd.
23890
07e51550
DL
238912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23892
23893 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23894 to support sed >= 4.2.1-20-ga9bf076.
23895 * configure: Regenerated.
23896
35a5b08b
RM
238972012-08-22 Roland McGrath <roland@hack.frob.com>
23898
23899 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23900 Conditionalize whole body on [IREL].
23901
8479f23a
JL
239022012-08-22 Jeff Law <law@redhat.com>
23903
23904 [BZ #14505]
23905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23906 if the family is PF_UNSPEC.
23907
48da0b21
MF
239082012-08-22 Mike Frysinger <vapier@gentoo.org>
23909
23910 * Makerules (lib-version): Rename from V.
23911 (install-lib-nosubdir): Change V to lib-version.
23912
15d0da8c
WS
239132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23914
23915 [BZ #14252]
23916 * powerpc32/power6/wcschr.c: New file.
23917 * powerpc32/power6/wcscpy.c: New file.
23918 * powerpc32/power6/wcsrchr.c: New file.
23919 * powerpc64/power6/wcschr.c: New file.
23920 * powerpc64/power6/wcscpy.c: New file.
23921 * powerpc64/power6/wcsrchr.c: New file.
23922
bcca0895
MK
239232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23924
23925 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23926 (two_way_short_needle): Use it.
5a4aaa33
RM
23927 * string/strstr.c (AVAILABLE1_USES_J): Define.
23928 * string/strcasestr.c: Likewise.
99677e57
MK
23929
23930 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23931 array references.
23932 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23933
400726de
MK
23934 [BZ #11607]
23935 * NEWS: Add an entry.
23936 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23937 define their defaults.
23938 (two_way_short_needle): Detect end-of-string on-the-fly.
23939 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23940 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23941 * string/bug-strcasestr1.c: New test.
23942 * string/Makefile: Run it.
23943
20a71f2c
MK
239442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23945
23946 [BZ #11607]
23947 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23948 the first character.
23949
21ad0558
RM
239502012-08-21 Roland McGrath <roland@hack.frob.com>
23951
23952 * csu/elf-init.c (__libc_csu_irel): Function removed.
23953 * csu/libc-start.c (apply_irel): New function.
23954 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23955
0e1d9911
JM
239562012-08-21 Joseph Myers <joseph@codesourcery.com>
23957
23958 * sysdeps/unix/sysv/linux/kernel-features.h
23959 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23960 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23961 <kernel-features.h>.
23962 [__NR_fadvise64_64]: Make code unconditional.
23963 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23964 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23965 !__NR_fadvise64_64)]: Likewise.
23966 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23967 !__NR_fadvise64_64))]: Likewise.
23968 [__NR_fadvise64]: Make code unconditional.
23969 [!__NR_fadvise64]: Remove conditional code.
23970 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23971 <kernel-features.h>.
23972 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23973 unconditional.
23974 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23975 conditional code.
23976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23977 not include <kernel-features.h>.
23978 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23979 unconditional.
23980 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23981 conditional code.
23982 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23983 include <kernel-features.h>.
23984 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23985 unconditional.
23986 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23987 conditional code.
23988
14a50c9d
WS
239892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23990
23991 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23992 slight instruction rearrangements per scrollpipe analysis.
23993 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23994
c0f4faf0
RM
239952012-08-20 Roland McGrath <roland@hack.frob.com>
23996
696da859
RM
23997 * manual/syslog.texi (syslog; vsyslog, closelog):
23998 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23999 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24000
c0f4faf0
RM
24001 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24002 DSOCAPS to match condition on defining it.
24003
348363b2
JM
240042012-08-20 Joseph Myers <joseph@codesourcery.com>
24005
a35cbf28
JM
24006 * sysdeps/unix/sysv/linux/kernel-features.h
24007 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24009 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24010 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24012 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24013 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24015 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24016 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24017
445f7ecd
JM
24018 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24019 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24020
348363b2
JM
24021 * sysdeps/unix/sysv/linux/kernel-features.h
24022 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24023 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24024 unconditional.
24025 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24026 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24027 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24028 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24029 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24030 Make code unconditional.
24031 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24032 (__mmap64) [!__NR_mmap2]: Likewise.
24033 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24034 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24035 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24036 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24037 [__NR_mmap2]: Make code unconditional.
24038 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24039 (__mmap64) [!__NR_mmap2]: Likewise.
24040
bc5bc0e5
AK
240412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24042
24043 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24044
88d506de
AJ
240452012-08-18 Andreas Jaeger <aj@suse.de>
24046
24047 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24048
493387d2
MF
240492012-08-18 Mike Frysinger <vapier@gentoo.org>
24050
24051 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24052 * include/unistd.h (__have_sock_cloexec): Likewise.
24053 (__have_pipe2): Likewise.
24054 (__have_dup3): Likewise.
24055
a277af22
MF
240562012-08-18 Mike Frysinger <vapier@gentoo.org>
24057
24058 [BZ #9685]
24059 * include/unistd.h (__have_pipe2): Change define into an extern int.
24060 (__have_dup3): Likewise.
24061 * socket/have_sock_cloexec.c: Include fcntl.h.
24062 (__have_pipe2): New variable.
24063 (__have_dup3): Likewise.
24064
fdab8fd3
MF
240652012-08-17 Mike Frysinger <vapier@gentoo.org>
24066
24067 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24068
31035e80
MP
240692012-08-17 Marek Polacek <polacek@redhat.com>
24070
24071 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24072 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24073
3bd9e993
RM
240742012-08-17 Roland McGrath <roland@hack.frob.com>
24075
c91c505f
RM
24076 * configure.in: Add AC_SUBST for sysheaders.
24077 * configure: Regenerated.
24078 * config.make.in (sysheaders): New substituted variable.
24079
7c6f9d53
RM
24080 * sysdeps/unix/mkfifo.c: Moved ...
24081 * sysdeps/posix/mkfifo.c: ... here.
24082 * sysdeps/unix/mkfifoat.c: Moved ...
24083 * sysdeps/posix/mkfifoat.c: ... here.
24084
24085 * sysdeps/unix/utime.c: Moved ...
24086 * sysdeps/posix/utime.c: ... here.
24087
24088 * sysdeps/unix/time.c: Moved ...
24089 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24090 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24091 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24092
24093 * sysdeps/unix/nice.c: Moved ...
24094 * sysdeps/posix/nice.c: ... here.
24095
24096 * sysdeps/unix/alarm.c: Moved ...
24097 * sysdeps/posix/alarm.c: ... here.
24098
3bd9e993
RM
24099 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24100
d1f09384
JL
241012012-08-17 Jeff Law <law@redhat.com>
24102
24103 * intl/Makefile (codeset_mo): New variable.
24104 ($(codeset_mo)): New target.
24105 (tst-codeset.out): Depend on that. Remove explicit rule.
24106 (tst-gettext3.out, tst-gettext5.out): Likewise.
24107 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24108 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24109 * intl/tst-codeset.sh: Remove.
24110 * intl/tst-gettext3.sh: Likewise.
24111 * intl/tst-gettext5.sh: Likewise.
24112
2ae1ae5c
RM
241132012-08-17 Roland McGrath <roland@hack.frob.com>
24114
c31fdb83
RM
24115 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24116 * sysdeps/unix/syscalls.list: ... here.
24117
a0844057
RM
24118 * sysdeps/posix/getaddrinfo.c
24119 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24120 (gaiconf_init, gaiconf_reload): Use them.
24121 [!_STATBUF_ST_NSEC]
24122 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24123 Define using time_t rather than struct timespec.
24124
750c1f2a
RM
24125 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24126 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24127 Macros removed.
24128 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24129 [!NO_THREADS].
24130 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24131 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24132 Likewise.
24133
2ae1ae5c
RM
24134 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24135 __libc_cleanup_push argument.
24136
e66a42f5
RM
24137 * bits/param.h: New file.
24138 * misc/sys/param.h: New file.
24139 * include/sys/param.h: New file.
24140 * misc/Makefile (headers): Add bits/param.h.
24141 * sysdeps/generic/sys/param.h: File removed.
24142 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24143 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24144 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24145 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24146
b7c08a66
RM
24147 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24148 last change.
24149
b2e1c562
RM
24150 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24151 [_IO_MTSAFE_IO].
24152 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24153 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24154 New macros.
24155
c75ccd4c
RM
24156 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24157 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24158 rather than -D_IO_MTSAFE_IO conditionally.
24159 * stdio-common/Makefile (CPPFLAGS): Likewise.
24160 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24161 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24162 Use $(libio-mtsafe).
24163 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24164 of -D_IO_MTSAFE_IO.
24165 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24166 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24167 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24168 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24169 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24170 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24171 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24172 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24173 (CFLAGS-fread_u_chk.c): Likewise.
24174 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24175 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24176 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24177 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24178 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24179 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24180 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24181 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24182 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24183
24184 * libio/Makefile: Test [$(libc-reentrant) = yes]
24185 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24186
24187 * Makeconfig
24188 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24189 * sysdeps/pthread/configure: File removed.
24190 * sysdeps/pthread/Makeconfig: New file.
24191 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24192 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24193
d9195db8
GB
241942012-08-16 Gary Benson <gbenson@redhat.com>
24195
24196 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24197 unmapping the first object in a namespace.
24198
86466cd9
RM
241992012-08-16 Roland McGrath <roland@hack.frob.com>
24200
24201 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24202 (__internal_setnetgrent): ... this. Add internal_function to
24203 definition. Add libc_hidden_def.
24204 (setnetgrent): Update caller.
24205 (internal_endnetgrent): Renamed to ...
24206 (__internal_endnetgrent): ... this. Add internal_function to
24207 definition. Add libc_hidden_def.
24208 (endnetgrent): Update caller.
24209 (internal_getnetgrent_r): Renamed to ...
24210 (__internal_getnetgrent_r): ... this. Add internal_function to
24211 definition. Add libc_hidden_def.
24212 (__getnetgrent_r): Update caller.
24213 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24214
c3c8283c
JM
242152012-08-16 Joseph Myers <joseph@codesourcery.com>
24216
24217 * stdlib/longlong.h: Update from GCC.
24218
db1ee0a8
RM
242192012-08-16 Roland McGrath <roland@hack.frob.com>
24220
24221 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24222 on _QL, which is set by umul_ppmm but never used.
24223 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24224 variables, which are set by GMP macros but never used.
24225 * stdio-common/_itowa.c (_itowa): Likewise.
24226 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24227 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24228
30f69637
CD
242292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24230
24231 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24232 struct La_sh_regs is not constant.
24233 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24234 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24235 and struct La_sparc64_regs are not constant.
24236
93a78ac4
JM
242372012-08-16 Joseph Myers <joseph@codesourcery.com>
24238
24239 * sysdeps/unix/sysv/linux/kernel-features.h
24240 (__ASSUME_POSIX_TIMERS): Remove.
24241 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24242 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24243 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24244 Make code unconditional.
24245 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24246 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24247 Make code unconditional.
24248 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24249 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24250 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24251 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24252 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24253 Make code unconditional.
24254 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24255 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24256 (__libc_missing_posix_timers): Remove.
24257
dd924cd7
RM
242582012-08-15 Roland McGrath <roland@hack.frob.com>
24259
4b4f2771
RM
24260 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24261 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24262
601c888b
RM
24263 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24264
176790a7
RM
24265 * elf/dl-sym.c: Include <stdlib.h>.
24266
329bc018
RM
24267 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24268 constants, which avoids warnings in 32-bit builds.
24269
e04e272d
RM
24270 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24271 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24272
952bf94a
RM
24273 * misc/lseek.c: File moved to ...
24274 * io/lseek.c: ... here.
24275
7c99b50a
RM
24276 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24277
dd924cd7
RM
24278 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24279 shifting LEN more than 31 bits at once.
24280
b3f479a8
LD
242812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24282
24283 [BZ #14195]
8c4ae0d4
RM
24284 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24285 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24286 * string/test-strncasecmp.c (check1): Renamed to...
24287 (bz12205): ...this.
24288 (bz14195): Add new testcase for two empty input strings and N > 0.
24289 (test_main): Call new testcase, adapt for renamed function.
24290
9c55864e
AJ
242912012-08-15 Andreas Jaeger <aj@suse.de>
24292
24293 [BZ #14090]
24294 * crypt/md5test2.c: New test, based on test supplied by Serge
24295 Belyshev <belyshev@depni.sinp.msu.ru>.
24296 * crypt/Makefile (xtests): Add md5test-giant..
24297 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24298
02dcb6c5
PE
242992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24300
24301 [BZ #14090]
24302 * crypt/md5.c (md5_process_block): Don't assume the buffer
24303 length is less than 2**32.
24304 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24305 length is less than 2**64.
24306
a3f95dcc
RM
243072012-08-15 Roland McGrath <roland@hack.frob.com>
24308
be75d758
RM
24309 * string/str-two-way.h: Include <sys/param.h>.
24310 (MAX): Macro removed.
24311
7312ca90
RM
24312 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24313 Move #define and #undef of memmove to just before and after
24314 including <string.h>.
24315
9a0a5486
RM
24316 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24317 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24318 and after including <string.h>. Move declarations of
24319 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24320 to before #include "string/memmove.c".
24321
67cc348d
RM
24322 * include/dirent.h: Declare __getdirentries.
24323
a3f95dcc
RM
24324 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24325 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24326
ca98e171
MF
243272012-08-14 Mike Frysinger <vapier@gentoo.org>
24328
24329 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24330 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24331 * sysdeps/i386/configure: Regenerated.
24332 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24333 STABS_CURRENT_FILE, and STABS_FUN.
24334 (END): Remove call to STABS_FUN_END.
24335 (STABS_CURRENT_FILE1): Delete.
24336 (STABS_CURRENT_FILE): Likewise.
24337 (STABS_FUN): Likewise.
24338 (STABS_FUN_END): Likewise.
24339 (STABS_FUN2): Likewise.
24340 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24341 * sysdeps/x86_64/configure: Regenerated.
24342
5908bf46
RM
243432012-08-14 Roland McGrath <roland@hack.frob.com>
24344
24345 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24346 * elf/dl-lookup.c: Likewise.
5908bf46 24347
f2c05b9e
JM
243482012-08-14 Joseph Myers <joseph@codesourcery.com>
24349
24350 * sysdeps/unix/sysv/linux/kernel-features.h
24351 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24352 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24353 unconditionally.
24354 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24355 unconditionally.
24356 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24357 condition on __ASSUME_CLONE_THREAD_FLAGS.
24358
e11f5155
AJ
243592012-08-14 Andreas Jaeger <aj@suse.de>
24360
24361 * sysdeps/i386/fpu/libm-test-ulps: Update.
24362
51a9ba86
MK
243632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24364
2fdd4f78
AJ
24365 * include/atomic.h (atomic_exchange_and_add): Split into ...
24366 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24367 New atomic macros.
51a9ba86 24368
ba6cba9e
MT
243692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24370
24371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24372
42443a47
JL
243732012-08-13 Jeff Law <law@redhat.com>
24374
24375 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24376 null byte in the output string.
24377
121dce05
JM
243782012-08-10 Joseph Myers <joseph@codesourcery.com>
24379
24380 * sysdeps/unix/sysv/linux/kernel-features.h
24381 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24382 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24383 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24384 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24385 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24386 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24387 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24388
bf51f568
JL
243892012-08-09 Jeff Law <law@redhat.com>
24390
24391 [BZ #13939]
24392 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24393 When avoid_arena is set, don't retry in the that arena. Pick the
24394 next one, whatever it might be.
24395 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24396 (arena_lock): Pass in new parameter to arena_get2.
24397 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24398 arena_get2.
24399 (__libc_malloc): Unify retrying after main arena failure with
24400 __libc_memalign version.
24401 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24402
f85fa270
L
244032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24404
24405 [BZ #14166]
24406 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24407 to __redirect_strstr.
24408 (__strstr_sse42): Use typeof __redirect_strstr.
24409 (__strstr_ia32): Likewise.
24410 (__libc_strstr): New prototype.
24411 (strstr): Renamed to ...
24412 (__libc_strstr): This.
24413 (strstr): New strong alias of __libc_strstr.
24414 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24415 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24416 __redirect_time.
24417 Include <time.h>.
24418 (__libc_time): New prototype.
24419 (time_ifunc): Replace time with __libc_time.
24420 (time): New strong alias and hidden definition of __libc_time.
24421 (__GI_time): Remove strong alias.
24422 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24423 Include <stddef.h>.
24424 (memmove): Redefined to __redirect_memmove.
24425 (__memmove_sse2): Use typeof __redirect_memmove.
24426 (__memmove_ssse3): Likewise.
24427 (__memmove_ssse3_back): Likewise.
24428 (__libc_memmove): New prototype.
24429 (memmove): Renamed to ...
24430 (__libc_memmove): This.
24431 (memmove): New strong alias of __libc_memmove.
24432
33b4a91e
MS
244332012-08-08 Mark Salter <msalter@redhat.com>
24434
24435 * elf/elf.h
24436 (R_MN10300_TLS_GD): Define.
24437 (R_MN10300_TLS_LD): Likewise.
24438 (R_MN10300_TLS_LDO): Likewise.
24439 (R_MN10300_TLS_GOTIE): Likewise.
24440 (R_MN10300_TLS_IE): Likewise.
24441 (R_MN10300_TLS_LE): Likewise.
24442 (R_MN10300_TLS_DTPMOD): Likewise.
24443 (R_MN10300_TLS_DTPOFF): Likewise.
24444 (R_MN10300_TLS_TPOFF): Likewise.
24445 (R_MN10300_SYM_DIFF): Likewise.
24446 (R_MN10300_ALIGN): Likewise.
24447 (R_MN10300_NUM): Update.
24448
b36137f1
JM
244492012-08-08 Joseph Myers <joseph@codesourcery.com>
24450
24451 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24452 Remove.
24453
cdd915fd
RM
244542012-08-08 Roland McGrath <roland@hack.frob.com>
24455
a2433aac
RM
24456 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24457
cdd915fd
RM
24458 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24459 sysdeps/unix -> sysdeps/posix move.
24460 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24461
bf9b740a
AM
244622012-08-07 Allan McRae <allan@archlinux.org>
24463
24464 [BZ #14303]
24465 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24466 (SUNOS_CPP): Likewise.
24467 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24468 not found.
24469 (open_input): Call CPP using execvp.
24470
93df14ee
JM
244712012-08-07 Joseph Myers <joseph@codesourcery.com>
24472
24473 * sysdeps/unix/sysv/linux/kernel-features.h
24474 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24475 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24476 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24477 (__ASSUME_WAITID_SYSCALL): Likewise.
24478 * sysdeps/unix/sysv/linux/dl-execstack.c
24479 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24480 code unconditional.
24481 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24482 conditional code.
24483 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24484 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24485 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24486 code.
24487 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24488 unconditional.
24489 [__ASSUME_WAITID_SYSCALL]: Likewise.
24490 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24491
d34689de
RM
244922012-08-07 Roland McGrath <roland@hack.frob.com>
24493
a281decc
RM
24494 * sysdeps/unix/closedir.c: Renamed to ...
24495 * sysdeps/posix/closedir.c: ... here.
24496 * sysdeps/unix/dirfd.c: Renamed to ...
24497 * sysdeps/posix/dirfd.c: ... here.
24498 * sysdeps/unix/dirstream.h: Renamed to ...
24499 * sysdeps/posix/dirstream.h: ... here.
24500 * sysdeps/unix/fdopendir.c: Renamed to ...
24501 * sysdeps/posix/fdopendir.c: ... here.
24502 * sysdeps/unix/opendir.c: Renamed to ...
24503 * sysdeps/posix/opendir.c: ... here.
24504 * sysdeps/unix/readdir.c: Renamed to ...
24505 * sysdeps/posix/readdir.c: ... here.
24506 * sysdeps/unix/readdir_r.c: Renamed to ...
24507 * sysdeps/posix/readdir_r.c: ... here.
24508 * sysdeps/unix/rewinddir.c: Renamed to ...
24509 * sysdeps/posix/rewinddir.c: ... here.
24510 * sysdeps/unix/seekdir.c: Renamed to ...
24511 * sysdeps/posix/seekdir.c: ... here.
24512 * sysdeps/unix/telldir.c: Renamed to ...
24513 * sysdeps/posix/telldir.c: ... here.
24514 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24515 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24516 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24517 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24518
22895b47
RM
24519 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24520 * bits/fcntl.h: ... here.
24521
707a53b6
RM
24522 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24523 not 0.
24524 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24525 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24526 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24527 (struct flock): Move l_start, l_len to the beginning.
24528 Use __pid_t for l_pid.
24529 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24530 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24531 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24532 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24533 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24534 [__USE_LARGEFILE64] (struct flock64): New type.
24535 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24536
f0bd3e25
RM
24537 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24538 * bits/dirent.h: ... here.
24539
d34689de
RM
24540 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24541 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24542
6dad2c06
JM
245432012-08-07 Joseph Myers <joseph@codesourcery.com>
24544
24545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24546 Change from 2.6.0 to 2.6.16.
24547 * sysdeps/unix/sysv/linux/configure: Regenerated.
24548 * sysdeps/unix/sysv/linux/kernel-features.h
24549 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24550 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24551 version.
24552 (__ASSUME_UTIMES): Likewise.
24553 (__ASSUME_CLONE_STOPPED): Remove.
24554 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24555 architectures, not kernel version.
24556 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24557 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24558 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24559 (__ASSUME_WAITID_SYSCALL): Likewise.
24560 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24561 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24562 * README: State 2.6.16 as minimum Linux kernel version. Do not
24563 refer to older versions.
24564
03af9520
RM
245652012-08-06 Roland McGrath <roland@hack.frob.com>
24566
8e49df1d
RM
24567 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24568 Define alphasort64 as an alias.
24569 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24570 Define versionsort64 as an alias.
24571 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24572 Define scandir64 as an alias.
24573 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24574 Define scandirat64 as an alias.
24575 * dirent/alphasort64.c (alphasort64):
24576 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24577 * dirent/versionsort64.c: Likewise.
24578 * dirent/scandir64.c: Likewise.
24579 * dirent/scandirat64.c: Likewise.
24580 * sysdeps/wordsize-64/alphasort.c: File removed.
24581 * sysdeps/wordsize-64/alphasort64.c: File removed.
24582 * sysdeps/wordsize-64/scandir.c: File removed.
24583 * sysdeps/wordsize-64/scandir64.c: File removed.
24584 * sysdeps/wordsize-64/scandirat.c: File removed.
24585 * sysdeps/wordsize-64/scandirat64.c: File removed.
24586 * sysdeps/wordsize-64/versionsort.c: File removed.
24587 * sysdeps/wordsize-64/versionsort64.c: File removed.
24588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24589 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24591 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24593 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24594 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24595 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24596
24597 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24599 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24601 [defined __arch64__ || defined __sparcv9]
24602 (__INO_T_MATCHES_INO64_T): New macro.
24603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24604 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24605 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24606 * sysdeps/unix/sysv/linux/bits/dirent.h
24607 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24608 (_DIRENT_MATCHES_DIRENT64): New macro.
24609
03af9520
RM
24610 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24611 Define lockf64 as an alias.
24612 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24613 Define fseeko64 as an alias.
24614 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24615 Define ftello64 as an alias.
24616 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24617 Define _IO_fgetpos64 and fgetpos64 as aliases.
24618 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24619 Define _IO_fsetpos64 and fsetpos64 as aliases.
24620 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24621 Conditionalize body on this.
24622 * libio/fseeko64.c: Likewise.
24623 * libio/ftello64.c: Likewise.
24624 * libio/iofgetpos64.c: Likewise.
24625 * libio/iofsetpos64.c: Likewise.
24626 * sysdeps/wordsize-64/lockf.c: File removed.
24627 * sysdeps/wordsize-64/lockf64.c: File removed.
24628 * sysdeps/wordsize-64/fseeko.c: File removed.
24629 * sysdeps/wordsize-64/fseeko64.c: File removed.
24630 * sysdeps/wordsize-64/ftello.c: File removed.
24631 * sysdeps/wordsize-64/ftello64.c: File removed.
24632 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24633 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24634 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24635 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24637 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24638 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24639 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24640 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24641 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24642 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24643 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24644 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24645 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24646
24647 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24649 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24651 [defined __arch64__ || defined __sparcv9]
24652 (__OFF_T_MATCHES_OFF64_T): New macro.
24653 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24654 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24656 (__OFF_T_MATCHES_OFF64_T): New macro.
24657
c5757acd
L
246582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24659
24660 * stdlib/secure-getenv.c (__secure_getenv): Replace
24661 GLIBC_2_16 with GLIBC_2_17.
24662
3a31811e
L
246632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24664
24665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24666 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24667
faa2bccb
DM
246682012-08-03 David S. Miller <davem@davemloft.net>
24669
24670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24671
85fe1997
JM
246722012-08-03 Joseph Myers <joseph@codesourcery.com>
24673
24674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24675 Remove.
24676 (__ASSUME_CORRECT_SI_PID): Likewise.
24677 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24678 (__ASSUME_TMPFS_NAME): Likewise.
24679 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24680 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24681 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24682 (HAVE_AUX_SECURE): Make definition unconditional.
24683 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24684 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24685
4f75b7a0
RM
246862012-08-03 Roland McGrath <roland@hack.frob.com>
24687
24688 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24689 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24690 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24691 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24692 __eloop_threshold instead of SYMLOOP_MAX.
24693
24694 * sysdeps/generic/eloop-threshold.h: New file.
24695 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24696 of MAXSYMLINKS.
24697 * elf/chroot_canon.c (chroot_canon): Likewise.
24698
7aab07e4
JM
246992012-08-03 Joseph Myers <joseph@codesourcery.com>
24700
24701 [BZ #13717]
24702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24703 Change to 2.6.0 everywhere.
24704 * sysdeps/unix/sysv/linux/configure: Regenerated.
24705 * sysdeps/unix/sysv/linux/kernel-features.h
24706 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24707 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24708 kernel versions.
24709 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24710 (__ASSUME_FUTEX_REQUEUE): Remove.
24711 (__ASSUME_STATFS64): Define unconditionally.
24712 (__ASSUME_AT_SECURE): Likewise.
24713 (__ASSUME_CORRECT_SI_PID): Likewise.
24714 (__ASSUME_TGKILL): Define without depending on kernel version for
24715 i386.
24716 (__ASSUME_UTIMES): Likewise.
24717 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24718 kernel version.
24719 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24720 (__ASSUME_TMPFS_NAME): Likewise.
24721 * README: Update reference to Linux kernel versions.
24722
b67e9372
MP
247232012-08-02 Marek Polacek <polacek@redhat.com>
24724
1f529f7d 24725 [BZ# 14150]
b67e9372
MP
24726 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24727 libc_cv_asm_type_prefix with %.
24728 * configure: Regenerated.
d2441631
RM
24729 * include/libc-symbols.h: Remove comment about
24730 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24731 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24732 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24733 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24734 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24735 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24736 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24737 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24738 * elf/tst-unique2mod1.c: Likewise.
24739 * elf/tst-unique1mod2.c: Likewise.
24740 * elf/tst-unique1mod1.c: Likewise.
24741 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24742 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24743 Replace ASM_TYPE_DIRECTIVE with .type.
24744 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24745 * sysdeps/i386/sysdep.h: Likewise.
24746 * sysdeps/x86_64/sysdep.h: Likewise.
24747 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24749 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24750 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24751 * sysdeps/powerpc/powerpc32/sysdep.h:
24752 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24753 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24754 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24755 * sysdeps/i386/fpu/e_powf.S: Likewise.
24756 * sysdeps/i386/fpu/e_expl.S: Likewise.
24757 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24758 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24759 * sysdeps/i386/fpu/e_pow.S: Likewise.
24760 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24761 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24762 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24763 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24764 * sysdeps/i386/fpu/e_log2.S: Likewise.
24765 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24766 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24767 * sysdeps/i386/fpu/e_powl.S: Likewise.
24768 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24769 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24770 * sysdeps/i386/fpu/e_logl.S: Likewise.
24771 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24772 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24773 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24774 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24775 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24776 * sysdeps/i386/fpu/e_log.S: Likewise.
24777 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24778 * sysdeps/i386/fpu/e_logf.S: Likewise.
24779 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24780 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24781 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24782 * sysdeps/i386/fpu/e_log10.S: Likewise.
24783 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24784 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24785 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24786 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24787 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24788 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24789 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24790 * sysdeps/i386/i686/strtok.S: Likewise.
24791 * sysdeps/i386/i386-mcount.S: Likewise.
24792 * sysdeps/i386/strtok.S: Likewise.
24793 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24794 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24796 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24797 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24798 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24799 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24800 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24802 * sysdeps/x86_64/_mcount.S: Likewise.
24803 * sysdeps/x86_64/strtok.S: Likewise.
24804 * sysdeps/sh/_mcount.S: Likewise.
24805
2747bf9a
RM
248062012-08-01 Roland McGrath <roland@hack.frob.com>
24807
24808 * libio/iofopen.c: Include <fcntl.h>.
24809 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24810 (_IO_fopen64, fopen64): Define as aliases.
24811 * libio/iofopen64.c: Include <fcntl.h>.
24812 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24813 Conditionalize body on this.
24814 * sysdeps/wordsize-64/iofopen.c: File removed.
24815 * sysdeps/wordsize-64/iofopen64.c: File removed.
24816
3fb791b8
MP
248172012-08-01 Marek Polacek <polacek@redhat.com>
24818
24819 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24820 Use dlfcn directly instead of a variable.
24821 (binfmt-subdir): Do not define.
24822 (dlfcn): Likewise.
24823
a9f1039f
JM
248242012-08-01 Joseph Myers <joseph@codesourcery.com>
24825
23bddc06
JM
24826 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24827 Remove all definitions.
24828 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24829 <kernel-features.h>.
24830 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24831 (miss_F_GETOWN_EX): Remove all definitions.
24832 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24833 macro definition.
24834 [!__ASSUME_FCNTL64]: Remove conditional code.
24835 [__ASSUME_FCNTL64]: Make code unconditional.
24836 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24837 <kernel-features.h>.
24838 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24839 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24840 (lockf64) [__NR_fcntl64]: Make code unconditional.
24841 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24842
a9f1039f
JM
24843 * sysdeps/unix/sysv/linux/kernel-features.h
24844 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24845 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24846 Make code unconditional.
24847 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24848 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24850 [__NR_vfork]: Make code unconditional.
24851 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24852 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24854 [__NR_vfork]: Make code unconditional.
24855 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24856 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24857
09c0ee5f
RM
248582012-08-01 Roland McGrath <roland@hack.frob.com>
24859
48aec5b9
RM
24860 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24861 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24862
cd97c966
RM
24863 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24864 Define mkstemp64 as an alias.
3f55550c
RM
24865 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24866 Define mkstemps64 as an alias.
cd97c966
RM
24867 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24868 Define mkostemp64 as an alias.
b8625cfc
RM
24869 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24870 Define mkostemps64 as an alias.
cd97c966
RM
24871 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24872 Conditionalize body on this.
24873 * misc/mkostemp64.c: Likewise.
b8625cfc 24874 * misc/mkostemps64.c: Likewise.
3f55550c 24875 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24876 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24877 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24878 * sysdeps/wordsize-64/mkostemp.c: File removed.
24879 * sysdeps/wordsize-64/mkstemp.c: File removed.
24880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24881 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24882 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24883 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24884
09c0ee5f
RM
24885 [BZ #14138]
24886 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24887 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24888 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24889 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24890
24891 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24892 compat_symbol macros from <shlib-compat.h> rather than the underlying
24893 default_symbol_version and symbol_version macros, so that DEFAULT
24894 lines in shlib-versions are respected.
24895 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24896
7e66ee51
FW
248972012-08-01 Florian Weimer <fweimer@redhat.com>
24898
24899 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24900 Declare with warn_unused_result.
24901 (setgid, setregid, setegid, setresgid): Likewise.
24902 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24903 Likewise.
24904 * WUR-REPORT: Remove set*id functions.
24905
d2a54255
PT
249062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24907
24908 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24909
7ecdb005
RM
249102012-07-31 Roland McGrath <roland@hack.frob.com>
24911
b4180a5e 24912 [BZ #10191]
789bd351
RM
24913 * include/sys/socket.h (__libc_accept, __libc_accept4):
24914 Add attribute_hidden.
24915 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24916
40ce302d
RM
24917 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24918 use of PTR_MANGLE.
24919 * inet/getnetgrent_r.c (setup): Likewise.
24920
7ecdb005
RM
24921 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24922
e2eabb2c
DM
249232012-07-31 David S. Miller <davem@davemloft.net>
24924
24925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24926
d0419dbf
JM
249272012-07-31 Joseph Myers <joseph@codesourcery.com>
24928
24929 [BZ #13629]
24930 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24931 value between 1.0 and 2.0 and smaller part has absolute value less
24932 than 1.0.
24933 * math/s_clog10.c (__clog10): Likewise.
24934 * math/s_clog10f.c (__clog10f): Likewise.
24935 * math/s_clog10l.c (__clog10l): Likewise.
24936 * math/s_clogf.c (__clogf): Likewise.
24937 * math/s_clogl.c (__clogl): Likewise.
24938 * math/libm-test.inc (clog_test): Add more tests.
24939 (clog10_test): Likewise.
24940 * sysdeps/i386/fpu/libm-test-ulps: Update.
24941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24942
2bc13872
FW
249432012-07-31 Florian Weimer <fweimer@redhat.com>
24944
24945 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24946 Exit with zero in case no suitable GID is found, and write a
24947 message to standard error.
24948
bea9b193
RM
249492012-07-30 Roland McGrath <roland@hack.frob.com>
24950
24951 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24952 rather than to 1.
24953 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24954 (MAXPATHLEN): Removed.
24955 (NOGROUP, NODEV): New macros.
24956 (setbit, clrbit, isset, isclr): New macros.
24957 (howmany, roundup, powerof2): New macros.
24958 (DEV_BSIZE): New macro.
24959
24960 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24961 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24962
24963 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24964 definition on [!__NO_LONG_DOUBLE_MATH].
24965
24966 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24967 PTR_MANGLE and PTR_DEMANGLE.
24968
24969 * socket/accept4.c (accept4): Rename to __libc_accept4.
24970 Define accept4 as a weak alias.
24971
24972 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24973 on [_DIRENT_HAVE_D_TYPE].
24974 * io/ftw.c (ftw_dir): Likewise.
24975
24976 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24977
24978 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24979
24980 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24981 Use the BSD numbers rather than the arbitrary ones we had.
24982 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24983 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24984 (SIGXCPU, SIGXFSZ): New macros.
24985 (_NSIG): Now 32.
24986
24987 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24988 initializer on [_LIBC_REENTRANT].
24989
24990 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24991 definitions inside [_POSIX_MAPPED_FILES].
24992
24993 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24994
24995 * dirent/opendir.c: Include <fcntl.h>.
24996
24997 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24998 (__libc_getspecific): Likewise.
24999 (__libc_key_create): Likewise.
25000
25001 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25002 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25003 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25004 (tmpfile64): Define as alias.
25005 * sysdeps/wordsize-64/tmpfile.c: File removed.
25006 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25007 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25008 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25009
25010 * stdio-common/vfscanf.c: Include <stdbool.h>.
25011 * nss/makedb.c: Likewise.
25012 * stdio-common/_i18n_number.h: Likewise.
25013 * argp/argp-help.c: Likewise.
25014 * posix/wordexp.c: Likewise.
25015 * sysdeps/posix/spawni.c: Likewise.
25016 * nss/nss_files/files-initgroups.c: Likewise.
25017 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25018 * nss/nss_files/files-initgroups.c: Likewise.
25019 * nss/nss_db/db-netgrp.c: Likewise.
25020 * nss/nss_db/db-initgroups.c: Likewise.
25021 * io/fchmodat.c: Include <sys/stat.h>.
25022
25023 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25024 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25025
25026 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25027 [HAVE_MMAP].
25028
25029 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25030 Add multiple inclusion protection.
25031
e5abc686
DM
250322012-07-27 David S. Miller <davem@davemloft.net>
25033
25034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25035
815e6fa3
GB
250362012-07-27 Gary Benson <gbenson@redhat.com>
25037
25038 [BZ #14298]
25039 * elf/rtld.c: Include <stap-probe.h>.
25040 (dl_main): Added static probes "init_start" and "init_complete".
25041 * elf/dl-load.c: Include <stap-probe.h>.
25042 (lose): Take new parameter "nsid".
25043 Added static probe "map_failed".
25044 (_dl_map_object_from_fd): Pass namespace id to lose.
25045 Added static probe "map_start".
25046 (open_verify): Pass namespace id to lose.
25047 * elf/dl-open.c: Include <stap-probe.h>.
25048 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25049 and "reloc_complete".
25050 * elf/dl-close.c: Include <stap-probe.h>.
25051 (_dl_close_worker): Added static probes "unmap_start" and
25052 "unmap_complete".
25053 * elf/rtld-debugger-interface.txt: New file documenting the above.
25054
9f98c16c
RM
250552012-07-26 Roland McGrath <roland@hack.frob.com>
25056
25057 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25058 rather than a string variable.
25059 * sunrpc/rpc_main.c (h_output): Likewise.
25060 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25061
f3c22df3
PT
250622012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25063
25064 * inet/check_native.c: New file.
25065
3129cfc6
JM
250662012-07-26 Joseph Myers <joseph@codesourcery.com>
25067
da865e95
JM
25068 [BZ #13629]
25069 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25070 if larger part has absolute value 1.0.
25071 * math/s_clog10.c (__clog10): Likewise.
25072 * math/s_clog10f.c (__clog10f): Likewise.
25073 * math/s_clog10l.c (__clog10l): Likewise.
25074 * math/s_clogf.c (__clogf): Likewise.
25075 * math/s_clogl.c (__clogl): Likewise.
25076 * math/libm-test.inc (clog_test): Add more tests.
25077 (clog10_test): Likewise.
25078 * sysdeps/i386/fpu/libm-test-ulps: Update.
25079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25080
3129cfc6
JM
25081 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25082 (pltexit): Likewise.
25083 (La_regs): Likewise.
25084 (La_retval): Likewise.
25085 (int_retval): Likewise.
25086 Update #error for removed macros to refer only to definitions in
25087 tst-audit.h.
25088 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25089 macro.
25090 (pltexit): Likewise.
25091 (La_regs): Likewise.
25092 (La_retval): Likewise.
25093 (int_retval): Likewise.
25094 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25095 macro.
25096 (pltexit): Likewise.
25097 (La_regs): Likewise.
25098 (La_retval): Likewise.
25099 (int_retval): Likewise.
25100 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25101 macro.
25102 (pltexit): Likewise.
25103 (La_regs): Likewise.
25104 (La_retval): Likewise.
25105 (int_retval): Likewise.
25106 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25107 macro.
25108 (pltexit): Likewise.
25109 (La_regs): Likewise.
25110 (La_retval): Likewise.
25111 (int_retval): Likewise.
25112 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25113 macro.
25114 (pltexit): Likewise.
25115 (La_regs): Likewise.
25116 (La_retval): Likewise.
25117 (int_retval): Likewise.
25118 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25119 macro.
25120 (pltexit): Likewise.
25121 (La_regs): Likewise.
25122 (La_retval): Likewise.
25123 (int_retval): Likewise.
25124 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25125 macro definitions in tst-audit.h.
25126 * sysdeps/i386/tst-audit.h: New file.
25127 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25128 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25129 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25130 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25131 * sysdeps/sh/tst-audit.h: Likewise.
25132 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25133 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25134 * sysdeps/x86_64/tst-audit.h: Likewise.
25135
bfc07087
AJ
251362012-07-26 Andreas Jaeger <aj@suse.de>
25137
b1b2aaf8
AJ
25138 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25139 ptrace.
25140
25141 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25142 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25143 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25144 PTRACE_O_MASK.
25145 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25146 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25147 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25148
bfc07087
AJ
25149 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25150 value.
25151
25152 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25153 _sigsys.
25154 (si_call_addr, si_syscall, si_arch): Define new macro.
25155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25156 _sigsys.
25157 (si_call_addr, si_syscall, si_arch): Define new marcro.
25158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25159 _sigsys.
25160 (si_call_addr, si_syscall, si_arch): Define new macro.
25161 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25162 _sigsys.
25163 (si_call_addr, si_syscall, si_arch): Define new macro.
25164
89b4b02f
JM
251652012-07-25 Joseph Myers <joseph@codesourcery.com>
25166
25167 [BZ #13717]
25168 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25169 Change to 2.4.21 where previously 2.4.1.
25170 * sysdeps/unix/sysv/linux/configure: Regenerated.
25171 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25172 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25173 Linux kernel version.
25174 (__ASSUME_STD_AUXV): Remove.
25175 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25176 kernel version.
25177 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25178 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25179 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25180 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25181 (__ASSUME_NETLINK_SUPPORT): Likewise.
25182 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25183 (__no_netlink_support): Remove conditional definition.
25184 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25185 Remove.
25186 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25187 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25188 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25189 (if_nameindex_ioctl): Remove.
25190 (if_nameindex_netlink): Do not handle __no_netlink_support.
25191 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25192 code.
25193 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25194 Remove conditional code.
25195 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25196 code.
25197 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25198 unconditional.
25199 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25200 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25201 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25202 Remove.
25203 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25204 [!__ASSUME_STD_AUXV]: Remove conditional code.
25205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25206 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25207 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25209 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25210 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25211 code.
25212 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25214 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25215 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25216 conditional code.
25217 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25219 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25220 code.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25222 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25223 conditional code.
25224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25225 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25226 code unconditional.
25227 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25228 conditional code.
25229 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25230 unconditional.
25231 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25232 conditional code.
25233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25234 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25235 unconditional.
25236 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25237 conditional code.
25238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25239 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25240 code unconditional.
25241 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25242 conditional code.
25243 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25244 unconditional.
25245 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25246 conditional code.
25247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25248 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25249 code unconditional.
25250 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25251 conditional code.
25252 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25253 unconditional.
25254 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25255 conditional code.
25256
842a39cd
AS
252572012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25258
25259 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25260 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25261 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25262 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25263 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25264 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25265 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25266 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25267 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25268 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25269 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25270 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25271 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25272 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25273 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25274 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25275 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25276 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25277 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25279 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25280 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25281 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25282
84b3fd84
FW
252832012-07-25 Florian Weimer <fweimer@redhat.com>
25284
25285 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25286 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25287 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25288 Introduce __libc_secure_getenv.
0c7936d5
FW
25289 * stdlib/Versions (2.17): Add secure_getenv
25290 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25291 * stdlib/secure-getenv.c: Rename __secure_getenv to
25292 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25293 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25294 * stdlib/tst-secure-getenv.c: New.
25295 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25296 * manual/startup.texi (Environment Access): Document
25297 secure_getenv.
84b3fd84
FW
25298 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25299 __libc_secure_getenv.
25300 * inet/ruserpass.c (ruserpass): Likewise.
25301 * malloc/mtrace.c (mtrace): Likewise.
25302 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25303 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25304 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25305 * sysdeps/posix/tempname.c: Likewise. Evaluate
25306 HAVE_SECURE_GETENV.
25307 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25308 __secure_getenv to __libc_secure_getenv.
84b3fd84 25309 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25311 Likewise.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25313 Likewise.
25314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25321
56e49b71
JM
253222012-07-25 Joseph Myers <joseph@codesourcery.com>
25323
25324 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25325 (struct La_i86_retval): Likewise.
25326 (struct La_x86_64_regs): Likewise.
25327 (struct La_x86_64_retval): Likewise.
25328 (struct La_x32_regs): Likewise.
25329 (struct La_x32_retval): Likewise.
25330 (struct La_ppc32_regs): Likewise.
25331 (struct La_ppc32_retval): Likewise.
25332 (struct La_ppc64_regs): Likewise.
25333 (struct La_ppc64_retval): Likewise.
25334 (struct La_sh_regs): Likewise.
25335 (struct La_sh_retval): Likewise.
25336 (struct La_s390_32_regs): Likewise.
25337 (struct La_s390_32_retval): Likewise.
25338 (struct La_s390_64_regs): Likewise.
25339 (struct La_s390_64_retval): Likewise.
25340 (struct La_sparc32_regs): Likewise.
25341 (struct La_sparc32_retval): Likewise.
25342 (struct La_sparc64_regs): Likewise.
25343 (struct La_sparc64_retval): Likewise.
25344 (struct audit_ifaces): Remove architecture-specific pltenter and
25345 pltexit members.
25346 * sysdeps/i386/ldsodefs.h: New file.
25347 * sysdeps/powerpc/ldsodefs.h: Likewise.
25348 * sysdeps/s390/ldsodefs.h: Likewise.
25349 * sysdeps/sh/ldsodefs.h: Likewise.
25350 * sysdeps/sparc/ldsodefs.h: Likewise.
25351 * sysdeps/x86_64/ldsodefs.h: Likewise.
25352
354691b7
MP
253532012-07-25 Marek Polacek <polacek@redhat.com>
25354
25355 [BZ #6808]
25356 * math/libm-test.inc (yn_test): Add another test.
25357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25358 to ERANGE when the result is +-Inf.
25359 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25360 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25361 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25362 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25363
bf9e2071
JM
253642012-07-24 Joseph Myers <joseph@codesourcery.com>
25365
25366 * conform/data/time.h-data (NULL): Use macro-constant. Require
25367 equal to 0.
25368 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25369 clock_t.
25370 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25371
57633811
TS
253722012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25373
25374 * configure.in <sysdeps resolving>: Correct printing
25375 Implies_before.
25376 * configure: Regenerate.
25377
c23c33b0
TS
253782012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25379
25380 * math/w_ilogb.c: Include <limits.h>.
25381 * math/w_ilogbl.c: Likewise.
25382
b5982523
JM
253832012-07-20 Joseph Myers <joseph@codesourcery.com>
25384
25385 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25386 va_copy. Document allowing for unavailable va_copy only as
25387 pre-C99 compatibility.
25388 * manual/string.texi (Copying and Concatenation): Use va_copy
25389 instead of __va_copy in concat example.
25390
ac4ea442
PT
253912012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25392
25393 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25394 (__sendto): Use create_address_port. Initialize APORT and deallocate
25395 it if not null.
25396
f98eafbd
PT
25397 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25398 with O_NOLINK passed to __file_name_lookup.
25399
898c7aab
PT
25400 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25401 with O_NOLINK passed to __file_name_lookup.
25402
0ced335a
PT
25403 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25404 negative N or less than NGIDS.
25405
b3404dbd
PT
25406 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25407 type to string_t. Set ERANGE as errno and return it if NAME is not big
25408 enough. Use memcpy instead of strncpy.
25409
0f48659e
JM
254102012-07-20 Joseph Myers <joseph@codesourcery.com>
25411
25412 * elf/Makefile (check-data): Remove.
25413 (localplt.data): New vpath directive.
25414 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25415 instead of $(check-data).
25416 * scripts/data/localplt-generic.data: Move to ...
25417 * sysdeps/generic/localplt.data: ... here.
25418 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25419 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25420 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25422 ... here.
25423 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25425 ... here.
25426 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25428 ... here.
25429 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25431 ... here.
25432 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25434 ... here.
25435 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25437 ... here.
25438
d37cbdaa
AZ
254392012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25440
25441 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25442 PPC32 and PPC64 files.
25443 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25444 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25445
46f85fc2
AK
254462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25447
25448 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25449 __makecontext_ret to ...
25450 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25451 ... here and call exit if uc_link is NULL. New file.
25452 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25453 __makecontext_ret.S.
25454 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25455 __makecontext_ret to ...
25456 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25457 ... here and call exit if uc_link is NULL. New file.
25458 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25459 __makecontext_ret.S.
25460
08f43f9b
AK
254612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25462
25463 * elf/elf.h (R_390_IRELATIVE): New definition.
25464 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25465 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25466 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25467 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25468 (elf_machine_lazy_rel): Likewise.
25469 * sysdeps/s390/dl-irel.h: New file.
25470 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25471 * sysdeps/s390/s390-64/memset.S: New asm code.
25472 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25473 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25474 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25475 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25476 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25477 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25478 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25479 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25480 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25481 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25482 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25483 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25484 * sysdeps/s390/s390-32/memset.S: New asm code.
25485 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25486
3b05db33
MP
254872012-07-17 Marek Polacek <polacek@redhat.com>
25488
25489 [BZ #14349]
25490 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25491 * sysdeps/s390/s390-64/configure.in: Likewise.
25492 * sysdeps/sparc/configure.in: Likewise.
25493 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25494 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25495 * sysdeps/i386/configure.in: Likewise.
25496 * sysdeps/x86_64/configure.in: Likewise.
25497 * sysdeps/sh/configure.in: Likewise.
25498 * sysdeps/s390/s390-32/configure: Regenerated.
25499 * sysdeps/s390/s390-64/configure: Likewise.
25500 * sysdeps/x86_64/configure: Likewise.
25501 * sysdeps/sh/configure: Likewise.
25502 * sysdeps/powerpc/powerpc64/configure: Likewise.
25503 * sysdeps/powerpc/powerpc32/configure: Likewise.
25504 * sysdeps/sparc/configure: Likwise.
25505 * sysdeps/i386/configure: Likewise.
25506
a66877c6
MP
25507 * elf/dl-open.c: Comment fixes.
25508
cfc82fd8
JM
255092012-07-17 Joseph Myers <joseph@codesourcery.com>
25510
bd29910a
JM
25511 * Makefile [CXX] (check-data): Remove.
25512 [CXX] (c++-types.data): New vpath directive.
25513 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25514 vpath. Do not allow for C++ type data being missing.
25515 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25516 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25517 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25518 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25519 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25520 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25521 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25523 ... here.
25524 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25526 ... here.
25527 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25529 ... here.
25530 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25532 ... here.
25533 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25535 ... here.
25536 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25538 ... here.
25539 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25541 ... here.
25542 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25544
cfc82fd8
JM
25545 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25546 definitions to architecture-specific files.
25547 (TLS_IE): Likewise.
25548 (TLS_LD): Likewise.
25549 (TLS_GD): Likewise.
25550 * sysdeps/i386/tls-macros.h: New file.
25551 * sysdeps/powerpc/tls-macros.h: Likewise.
25552 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25553 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25554 * sysdeps/sh/tls-macros.h: Likewise.
25555 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25556 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25557 * sysdeps/x86_64/tls-macros.h: Likewise.
25558
f7db3170
TS
255592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25560
07cbfc23
TS
25561 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25562 zero value for regular exit case.
25563
f7db3170
TS
25564 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25565 (__start_context): Preserve zero value for regular exit case.
25566
dc97c227
TS
255672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25568 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25569
25570 * manual/setjmp.texi (setcontext): Clarify normal process
25571 termination when uc_link is the null pointer.
25572 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25573 exit call.
25574
d0cd7d02
AS
255752012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25576
25577 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25578 preprocessor. Test for each exception mask separately.
25579
dd318934
AJ
255802012-07-16 Andreas Jaeger <aj@suse.de>
25581
25582 * po/ru.po: Update from translation team.
25583
8048311a
JM
255842012-07-15 Joseph Myers <joseph@codesourcery.com>
25585
25586 * conform/data/string.h-data (NULL): Use macro-constant. Require
25587 equal to 0.
25588 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25589 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25590 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25591 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25593
b637d46e
AJ
255942012-07-13 Andreas Jaeger <aj@suse.de>
25595
25596 * po/fr.po: Update from translation team.
25597
541428fe
MP
255982012-07-12 Marek Polacek <polacek@redhat.com>
25599
25600 [BZ #14173]
25601 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25602 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25603 loop condition.
25604
ec332e94
JM
256052012-07-12 Joseph Myers <joseph@codesourcery.com>
25606
25607 [BZ #13717]
25608 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25609 Change to 2.4.1 where previously 2.4.0.
25610 * sysdeps/unix/sysv/linux/configure: Regenerated.
25611 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25612 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25613 version.
25614 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25615 (__ASSUME_AT_CLKTCK): Remove.
25616 (__ASSUME_AT_PAGESIZE): Likewise.
25617 (__ASSUME_AT_XID): Likewise.
25618 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25619 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25620 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25621 unconditionally.
25622 (HAVE_AUX_PAGESIZE): Likewise.
25623 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25624 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25625 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25626
7b6e99be
JB
256272012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25628
25629 [BZ #14307]
25630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25631 the temporary buffer used to invoke __gethostbyname2_r,
25632 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25633 host_data / struct gaih_addrtuple.
25634 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25635 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25636 header file nss/nsswitch.h.
25637 * nss/nsswitch.h (global scope): Add definition of implementation
25638 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25639 resolv/nss_dns/dns-host.c).
25640
608404eb
AJ
256412012-07-11 Andreas Jaeger <aj@suse.de>
25642
25643 * po/fr.po: Update from translation team.
25644
71220aca
AJ
25645 * po/sv.po: Update from translation team
25646 * po/fr.po: Another update from translation team.
25647
28cfe843
AZ
256482012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25649
25650 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25651 for subnormals or multiply small sinh result by itself.
25652 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25654
6b90f981
DM
256552012-07-11 David S. Miller <davem@davemloft.net>
25656
25657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25658
c6825772
AS
256592012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25660
25661 [BZ #14347]
25662 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25663 (INTERNAL_MARK): Shift it here.
25664
7b8e0d49
MP
256652012-07-10 Marek Polacek <polacek@redhat.com>
25666
25667 [BZ #14151]
25668 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25669 libc_cv_asm_global_directive with .globl.
25670 * configure: Regenerated.
25671 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25672 with .globl.
25673 * sysdeps/i386/configure: Regenerated.
25674 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25675 with .globl.
25676 * sysdeps/x86_64/configure: Regenerated.
25677 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25678 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25679 * elf/tst-unique2mod2.c: Likewise.
25680 * elf/tst-unique2mod1.c: Likewise.
25681 * elf/tst-unique1mod2.c: Likewise.
25682 * elf/tst-unique1mod1.c: Likewise.
25683 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25684 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25685 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25686 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25687 * sysdeps/mach/sysdep.h: Likewise.
25688 * sysdeps/i386/sysdep.h: Likewise.
25689 * sysdeps/i386/i386-mcount.S: Likewise.
25690 * sysdeps/x86_64/_mcount.S: Likewise.
25691 * sysdeps/x86_64/sysdep.h: Likewise.
25692 * sysdeps/sh/_mcount.S: Likewise.
25693 * sysdeps/sh/sysdep.h: Likewise.
25694 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25695 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25696 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25697 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25698 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25699 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25700 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25701 * locale/localeinfo.h: Likewise.
25702 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25703 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25704
6c55cda3
RM
257052012-07-09 Roland McGrath <roland@hack.frob.com>
25706
25707 [BZ #14336]
25708 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25709 system".
25710 * manual/message.texi (The Uniforum approach): Likewise.
25711 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25712 (glibc iconv Implementation): Likewise.
25713
638a572e
JM
257142012-07-09 Joseph Myers <joseph@codesourcery.com>
25715
25716 [BZ #14337]
25717 * math/s_clog.c (__clog): Avoid scaling a value down where that
25718 could result in underflow.
25719 * math/s_clog10.c (__clog10): Likewise.
25720 * math/s_clog10f.c (__clog10f): Likewise.
25721 * math/s_clog10l.c (__clog10l): Likewise.
25722 * math/s_clogf.c (__clogf): Likewise.
25723 * math/s_clogl.c (__clogl): Likewise.
25724 * math/libm-test.inc (clog_test): Add more tests.
25725 (clog10_test): Likewise.
25726 * sysdeps/i386/fpu/libm-test-ulps: Update.
25727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25728
261f4859
AS
257292012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25730
0abaf3e4
AS
25731 [BZ #14283]
25732 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25733 by 7 not 8 to examine high bit of fractional part.
25734
261f4859
AS
25735 [BZ #14042]
25736 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25737 for call to __mcount_internal.
25738 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25739 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25740 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25741
f17ac40d
JM
257422012-07-06 Joseph Myers <joseph@codesourcery.com>
25743
9ad63c23
JM
25744 [BZ #14154]
25745 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25746 approximation for values within 0x1p-13f of an odd multiple of
25747 pi/4.
25748 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25749 exception. Add more tests.
25750 * sysdeps/i386/fpu/libm-test-ulps: Update.
25751
f17ac40d
JM
25752 [BZ #6778]
25753 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25754 inputs and return -1 for them. Do not check for +Inf in case not
25755 reachable for +Inf.
25756 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25757 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25758 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25759 and return -1 for them. Do not check for +Inf in case not
25760 reachable for +Inf.
25761 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25762 define.
25763 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25764 and return -1 for them. Do not check for +Inf in case not
25765 reachable for +Inf.
25766 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25767 spurious underflow.
25768 * sysdeps/i386/fpu/libm-test-ulps: Update.
25769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25770
fb21f89b
MF
257712012-07-06 Mike Frysinger <vapier@gentoo.org>
25772
25773 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25774
cdfe2c5e
JM
257752012-07-05 Joseph Myers <joseph@codesourcery.com>
25776
25777 [BZ #14157]
25778 [BZ #14331]
25779 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25780 could result in spurious underflow. Scale down values above
25781 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25782 * math/s_csqrtf.c (__csqrtf): Likewise.
25783 * math/s_csqrtl.c (__csqrtl): Likewise.
25784 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25785 spurious underflow.
25786 * sysdeps/i386/fpu/libm-test-ulps: Update.
25787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25788
70d35b67
AS
257892012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25790
704bc459
AS
25791 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25792 xopen-msg.sed.
25793 * catgets/xopen-msg.awk: New file.
25794 * catgets/xopen-msg.sed: Removed.
25795
70d35b67
AS
25796 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25797 po2text.sed.
25798 * intl/po2test.awk: New file.
25799 * intl/po2test.sed: Removed.
25800
ca61cf32
JM
258012012-07-04 Joseph Myers <joseph@codesourcery.com>
25802
25803 [BZ #14328]
25804 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25805 or multiply small sinh result by itself.
25806 * math/s_ctanf.c (__ctanf): Likewise.
25807 * math/s_ctanh.c (__ctanh): Likewise.
25808 * math/s_ctanhf.c (__ctanhf): Likewise.
25809 * math/s_ctanhl.c (__ctanhl): Likewise.
25810 * math/s_ctanl.c (__ctanl): Likewise.
25811 * math/libm-test.inc (ctan_test_tonearest): New function.
25812 (ctan_test_towardzero): Likewise.
25813 (ctan_test_downward): Likewise.
25814 (ctan_test_upward): Likewise.
25815 (ctanh_test_tonearest): Likewise.
25816 (ctanh_test_towardzero): Likewise.
25817 (ctanh_test_downward): Likewise.
25818 (ctanh_test_upward): Likewise.
25819 (main): Call these new functions.
25820 * sysdeps/i386/fpu/libm-test-ulps: Update.
25821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25822
ca48a46a
MF
258232012-07-03 Mike Frysinger <vapier@gentoo.org>
25824
25825 * .gitignore: Delete /ports entry.
25826
9d63d37d
AJ
258272012-07-03 Andreas Jaeger <aj@suse.de>
25828
25829 * po/bg.po: Update from translation team.
25830 * po/cs.po: Likewise.
25831 * po/de.po: Likewise.
25832 * po/hr.po: Likewise.
25833 * po/nl.pl: Likewise.
25834 * po/pl.po: Likewise.
25835 * po/vi.po: Likewise.
25836
370ca3d2
JM
258372012-07-03 Joseph Myers <joseph@codesourcery.com>
25838
95f5a9a8
JM
25839 * Makeconfig [!+link] (+link-before-libc): New variable.
25840 [!+link] (+link-after-libc): Likewise.
25841 [!+link] (+link-tests): Likewise.
25842 [!+link] (+link): Define in terms of $(+link-before-libc) and
25843 $(+link-after-libc).
25844 [!+link-static] (+link-static-before-libc): New variable.
25845 [!+link-static] (+link-static-after-libc): Likewise.
25846 [!+link-static] (+link-static-tests): Likewise.
25847 [!+link-static] (+link-static): Define in terms of
25848 $(+link-static-before-libc) and $(+link-static-after-libc).
25849 [build-shared] (link-libc-before-gnulib): New variable.
25850 [build-shared] (link-libc-tests): Likewise.
25851 [build-shared] (link-libc): Define in terms of
25852 $(link-libc-before-gnulib).
25853 [!build-shared] (link-libc-tests): New variable.
25854 (link-libc-static-tests): New variable.
25855 [!gnulib] (gnulib-arch): New variable.
25856 [!gnulib] (gnulib-tests): Likewise.
25857 [!gnulib] (static-gnulib-arch): Likewise.
25858 [!gnulib] (static-gnulib-tests): Likewise.
25859 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25860 Define with "=" instead of ":=".
25861 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25862 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25863 * Rules (binaries-all-notests): New variable.
25864 (binaries-all-tests): Likewise.
25865 (binaries-static-notests): Likewise.
25866 (binaries-static-tests): Likewise.
25867 (binaries-all): Define using $(binaries-all-notests) and
25868 $(binaries-all-tests).
25869 (binaries-static): Define using $(binaries-static-notests) and
25870 $(binaries-static-tests).
25871 (binaries-shared-tests): New variable.
25872 (binaries-shared-notests): Likewise.
25873 (binaries-shared): Remove variable.
25874 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25875 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25876 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25877 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25878 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25879 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25880 * elf/Makefile (sln-modules): New variable.
25881 (extra-objs): Add $(sln-modules:=.o).
25882 (ldconfig-modules): Add static-stubs.
25883 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25884 * elf/static-stubs.c: New file.
25885
7a845b2c
JM
25886 [BZ #14283]
25887 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25888 by 7 not 8 to examine high bit of fractional part. Use volatile
25889 variables when splitting into final array of floats if
25890 __FLT_EVAL_METHOD__ != 0.
25891 * math/libm-test.inc (cos_test): Add another test.
25892 (sin_test): Likewise.
25893 * sysdeps/i386/fpu/libm-test-ulps: Update.
25894
e2283f38
JM
25895 [BZ #14273]
25896 * math/libm-test.inc (cosh_test): Add more tests.
25897
370ca3d2
JM
25898 * version.h (RELEASE): Set to "development".
25899 (VERSION): Set to "2.16.90".
25900
ee9247c3
CD
259012012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25902
25903 * NEWS: Update copyright. Remove last-updated date.
25904 Mention math library bug fixes and timezone data changes.
25905 * README: Mention GNU/Hurd, x32, and HPPA support status.
25906
4648c381
TS
259072012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25908
25909 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25910
aac78a43
AJ
259112012-06-27 Andreas Jaeger <aj@suse.de>
25912
25913 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25914
ed3dbfad
AJ
259152012-06-25 Andreas Jaeger <aj@suse.de>
25916
25917 * sysdeps/s390/fpu/libm-test-ulps: Update.
25918
4d0ee855
AS
259192012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25920 Thomas Schwinge <thomas@codesourcery.com>
25921
25922 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25923 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25925 fanotify_mark.
25926
af1bce34
TS
259272012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25928
a9fa33ba
TS
25929 * sysdeps/mach/start.c: Remove file.
25930 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25931 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25932 * sysdeps/sh/init-first.c: Likewise.
25933
58f902b8
TS
25934 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25935 registers for frame unwinding purposes, add CFI directives.
25936 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25937 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25938 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25939 Likewise.
25940
1518f58b
TS
25941 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25942 __fortify_fail returning.
25943 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25944
db9b5059
TS
25945 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25946 sysdeps/sh/____longjmp_chk.S.
25947 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25948 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25949 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25950 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25951
967705fe
TS
25952 * sysdeps/sh/abort-instr.h: New file.
25953 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25954 process in case exit returns.
25955
a9def8c4
TS
25956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25957 initialize the GOT register before use.
25958
2a649725
TS
25959 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25960 calculation of ARGC > 4.
25961
af1bce34
TS
25962 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25963 meaningful names to some local labels.
25964
d230f50a
KK
259652012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25966 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25967
25968 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25969 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25970 (__arch_compare_and_exchange_val_16_acq): Likewise.
25971 (__arch_compare_and_exchange_val_32_acq): Likewise.
25972 (atomic_exchange_and_add): Fix gUSA sequence.
25973 (atomic_add): Likewise.
25974 (atomic_add_negative): Likewise.
25975 (atomic_add_zero): Likewise.
25976 (atomic_bit_test_set): Likewise.
25977
0479b305
AS
259782012-06-22 Andreas Schwab <schwab@redhat.com>
25979
25980 [BZ #13579]
25981 * include/link.h (struct link_map): Add l_free_initfini.
25982 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25983 l_initfini.
25984 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25985 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25986 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25987 set.
25988
0e3933b9
CD
259892012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25990
25991 * configure.in: Use AC_LANG_SOURCE.
25992 * configure: Regenerate.
25993
4248b1b1
RM
259942012-06-22 Roland McGrath <roland@hack.frob.com>
25995
25996 * configure.in (libc_cv_localstatedir): New substituted variable.
25997 * configure: Regenerated.
25998 * config.make.in (localstatedir): New variable, substituted from
25999 libc_cv_localstatedir.
26000 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26001 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26002 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26003 * sysdeps/gnu/configure: Regenerated.
26004
006dd861
JL
260052012-06-21 Jeff Law <law@redhat.com>
26006
26007 [BZ #14277]
26008 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26009 free. Simplify list management for _LIBC case.
26010
79662d42
JM
260112012-06-21 Joseph Myers <joseph@codesourcery.com>
26012
b7abb4bf
JM
26013 [BZ #14273]
26014 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26015 Clear sign bit of 64-bit integer value before comparing against
26016 overflow value.
26017
79662d42
JM
26018 * sysdeps/mach/configure: Regenerated.
26019
1f150908
L
260202012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26021
26022 [BZ #14278]
26023 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26024
28363bbf
JL
260252012-06-21 Jeff Law <law@redhat.com>
26026
26027 [BZ #13882]
26028 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26029 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26030 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26031 * elf/dl-open.c (dl_open_worker): Likewise.
26032
09615db4
CD
260332012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26034
26035 * scripts/list-sources.sh: Scan PORTS for translations.
26036 * po/libc.pot: Regenerated.
26037
2174c6dd
AJ
260382012-06-21 Andreas Jaeger <aj@suse.de>
26039
26040 [BZ #12194]
26041 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26042 warning.
26043 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26044 * bits/byteswap-16.h (__bswap_16): Likewise.
26045 * bits/byteswap.h (__bswap_constant_16): Likewise.
26046
3ee947b1
L
260472012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26048
26049 [BZ #14117]
a2f34833
L
26050 * sysdeps/i386/fpu_control.h: Removed.
26051 * sysdeps/x86_64/fpu_control.h: Moved to ...
26052 * sysdeps/x86/fpu_control.h: Here.
26053
3ee947b1
L
26054 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26055 (_FPU_SETCW): Likewise.
26056
ed1825f8
L
260572012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26058
25f1282a
L
26059 [BZ #14117]
26060 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26061 * sysdeps/x86/fpu/bits/mathinline.h: This.
26062 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26063
ed1825f8
L
26064 [BZ #14050]
26065 [BZ #14117]
26066 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26067 functions if __x86_64__ is defined.
26068
36d54b74
CLT
260692012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26070
26071 * string/endian.h: Add !__ASSEMBLER__ condition for including
26072 conversion interfaces.
26073
10285c21
JM
260742012-06-15 Joseph Myers <joseph@codesourcery.com>
26075
26076 [BZ #14241]
26077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26078 of ABS(x) in calculating zero to negative powers other than odd
26079 integers.
26080 * math/libm-test.inc (pow_test): Add more tests.
26081
06c5abbd
AJ
260822012-06-15 Andreas Jaeger <aj@suse.de>
26083
26084 * manual/contrib.texi (Contributors): Update entry of Liubov
26085 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26086 Machado Filho.
26087
a3aeac40
CH
260882012-06-15 Cyril Hrubis <metan@ucw.cz>
26089
26090 * string/string.h: Add __wur to GNU version of strerror_r.
26091
49bdf4c1
L
260922012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26093
26094 [BZ #14229]
26095 * string/Makefile (tests): Add tst-strtok_r.
26096 * string/tst-strtok_r.c: New file.
26097 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26098 RAX_LP/RDX_LP on SAVE_PTR.
26099
834f9b8d
RM
261002012-06-14 Roland McGrath <roland@hack.frob.com>
26101
26102 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26103
75fa1921
JM
261042012-06-14 Joseph Myers <joseph@codesourcery.com>
26105
26106 * libm_test.inc (csqrt_test): Allow more spurious underflow
26107 exceptions.
26108 (j0_test): Likewise.
26109 (j1_test): Likewise.
26110 (y0_test): Likewise.
26111 (y1_test): Likewise.
26112
771766df
CD
261132012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26114
26115 * po/Makefile (libc.pot): Use UTF-8 charset.
26116
ceb9e56b
PP
261172012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26118
26119 [BZ #14210]
26120 Suppress sign-conversion warning from FD_SET.
26121 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26122 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26123 not unsigned long int.
26124 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26125
ddb28975
L
261262012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26127
26128 [BZ #14050]
26129 [BZ #14117]
26130 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26131 __extern_always_inline instead of __extern_inline.
26132 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26133 (__signbit): Likewise.
26134 (__signbitl): Support C++ namespace.
26135 (lrintf): New inline function.
26136 (lrint): Likewise.
26137 (llrintf): Likewise.
26138 (llrint): Likewise.
26139 (fmaxf): Likewise.
26140 (fmax): Likewise.
26141 (fminf): Likewise.
26142 (fmin): Likewise.
26143 (rint): Likewise.
26144 (rintf): Likewise.
26145 (ceil): Likewise.
26146 (ceilf): Likewise.
26147 (floor): Likewise.
26148 (floorf): Likewise.
26149 (nearbyint): Likewise.
26150 (nearbyintf): Likewise.
26151
d7b4fb26
TS
261522012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26153
26154 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26155 non-default versions.
26156
eb55f5c2
RM
261572012-06-11 Roland McGrath <roland@hack.frob.com>
26158
26159 [BZ #14218]
26160 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26161
366af02c
TS
261622012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26163
99ff6e5c
TS
26164 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26165 (FE_UPWARD, FE_DOWNWARD): Don't define.
26166 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26167 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26168
366af02c
TS
26169 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26170 reading it.
26171 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26172 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26173
793ea851
KK
261742012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26175
26176 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26178 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26179 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26180
a728a38f
L
261812012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26182
26183 [BZ #14117]
c08010c7
L
26184 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26185 * sysdeps/i386/fpu/Implies: New file.
26186 * sysdeps/x86_64/fpu/Implies: Likewise.
26187 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26188 * sysdeps/x86/fpu/bits/fenv.h: This.
26189
a728a38f
L
26190 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26191 __SSE_MATH__.
26192
6e230d11
SP
261932012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26194
26195 [BZ #14134]
26196 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26197 character 0xffff that matches the last element of the
26198 conversion table.
26199
1b671feb
AZ
262002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26201
26202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26203 fmodl commit.
26204
6043738b
AZ
262052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26206
26207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26208 values higher than 25.6283.
26209
34ae0b32
AZ
262102012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26211
26212 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26213 subnormal exponent extraction and add some __builtin_expect.
26214 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26215 Fix for subnormal mantissa calculation.
26216
1214ec8f
MF
262172012-06-04 Mike Frysinger <vapier@gentoo.org>
26218
26219 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26220 cpu2 is -1 and errno is not ENOSYS.
26221
f3d1f93c
L
262222012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26223
26224 [BZ #14117]
0e4a3cd7
L
26225 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26226 * sysdeps/x86/bits/string.h: This.
26227 * sysdeps/x86_64/bits/string.h: Removed.
26228
6704c645
L
26229 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26230 if not compiling for x86-64, but compiling for >= i486.
26231
48495318
L
26232 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26233 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26234
14adcbfc
L
26235 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26236 New macro from Linux kernel 3.4.0.
26237 (FP_XSTATE_MAGIC2): Likewise.
26238 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26239 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26240 (struct _fpx_sw_bytes): New struct.
26241 (struct _xsave_hdr): Likewise.
26242 (struct _ymmh_state): Likewise.
26243 (struct _xstate): Likewise.
26244
68e408ab
L
26245 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26246 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26247 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26248 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26249 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26250 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26251
f3d1f93c
L
26252 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26253 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26254 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26255 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26256 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26257 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26258
d9dc34cd
TMQMF
262592012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26260
26261 [BZ #13743]
26262 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26263 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26264 (sysdep_headers): Include sys/platform/ppc.h.
26265 * sysdeps/powerpc/test-gettimebase.c: Test for
26266 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26267 * manual/Makefile (appendices): Include platform.texi.
26268 * manual/contrib.texi (Contributors): Update @node pointers.
26269 * manual/maint.texi (Maintenance): Likewise.
26270 (Platform): New node.
26271 * manual/platform.texi: New file. Document the new features.
26272
4af3879c
SP
262732012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26274 Jakub Jelinek <jakub@redhat.com>
26275
26276 [BZ #14188]
26277 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26278 where __builtin_expect is unavailable.
26279
2fd6ff13
DM
262802012-06-03 David S. Miller <davem@davemloft.net>
26281
26282 * stdlib/longlong.h: Updated from GCC.
26283
173f7220
AS
262842012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26285
26286 [BZ #14042]
26287 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26288 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26289 __mcount_internal.
26290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26291 (GLIBC_2.16): Likewise.
26292
f34a1c6f
L
262932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26294
26295 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26296
88a4576f
JM
262972012-06-01 Joseph Myers <joseph@codesourcery.com>
26298
ea32bcdd
JM
26299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26300 (default-abi): New variable.
26301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26302 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26303 variable.
26304 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26305 Likewise.
26306 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26307 Likewise.
26308 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26309 Likewise.
26310
88a4576f
JM
26311 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26312 definition. Document in comment.
26313
402fe938
DM
263142012-06-01 David S. Miller <davem@davemloft.net>
26315
26316 * stdlib/longlong.h: Updated from GCC.
26317
3553723f
L
263182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26319
26320 [BZ #14117]
3bd872c4
L
26321 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26322 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26323 sys/debugreg.h sys/io.h here.
26324 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26325 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26326 sys/io.h.
26327 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26328 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26329 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26330 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26331 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26332 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26333
3553723f
L
26334 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26335 Define only if __x86_64__ is defined.
26336
4842e4fe
JM
263372012-06-01 Joseph Myers <joseph@codesourcery.com>
26338
c5bfe3d5
JM
26339 [BZ #14048]
26340 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26341 Use int64_t for variable i.
26342 * math/libm-test.inc (fmod_test): Add more tests.
26343
4842e4fe
JM
26344 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26345 z computation is not scheduled after fetestexcept.
26346 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26347 Use math_force_eval instead of asm to ensure calculation scheduled
26348 before exception test.
26349 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26350 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26351
efb73488
AJ
263522012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26353
26354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26355 computation is not scheduled after fetestexcept.
26356
29bcce7c
L
263572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26358
26359 [BZ #14117]
26360 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26361 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26362
73a68f94
AZ
263632012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26364
26365 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26366 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26367
67b6df78
L
263682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26369
edf2933a 26370 [BZ #14117]
ebc64a18
L
26371 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26372 <bits/wordsize.h>.
26373 (__WCHAR_MIN): Support __WORDSIZE == 64.
26374 (__WCHAR_MAX): Likewise.
26375
edf2933a
L
26376 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26377 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26378
57c6cf40
L
26379 [BZ #14183]
26380 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26381 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26382
67b6df78 26383 [BZ #14117]
8eb6281e
L
26384 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26385 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26386
aac639f4
L
26387 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26388 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26389
67b6df78
L
26390 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26391 Defined to 1 if __x86_64__ isn't defined.
26392 (_STAT_VER_LINUX_OLD): New.
26393 (st_atime): Remove duplicate.
26394 (st_mtime): Likewise.
26395 (st_ctime): Likewise.
26396
1c2cfe81
DM
263972012-05-31 David S. Miller <davem@davemloft.net>
26398
26399 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26400 entries.
26401
5be8418c
AS
264022012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26403
e7725326
AS
26404 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26405 gen-libm-test.pl.
26406
5be8418c
AS
26407 [BZ #14132]
26408 * elf/dl-reloc.c: Include <_itoa.h>.
26409 (_dl_reloc_bad_type): Remove use of INTUSE.
26410 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26411 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26412 * stdio-common/psiginfo.c (psiginfo): Likewise.
26413 * stdio-common/psignal.c (psignal): Likewise.
26414 * string/strsignal.c (strsignal): Likewise.
26415 * include/signal.h (_sys_siglist): Declare hidden proto.
26416 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26417 INTVARDEF with libc_hidden_data_def.
26418 * stdio-common/itoa-udigits.c: Likewise.
26419 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26420 (_itoa_lower_digits_internal): Remove declaration.
26421 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26422 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26423 (_sys_sigabbrev_internal): Remove aliases.
26424 (_sys_siglist): Define hidden alias.
26425
507352f1
MT
264262012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26427
26428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26429 bits/sysctl.h.
26430
42bbb1c3
L
264312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26432
26433 [BZ #14117]
6bd784b6
L
26434 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26435 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26436
8bca20f0
L
26437 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26438 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26439 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26440 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26441 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26442 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26443
f9e890a9
L
26444 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26445 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26446 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26447
471101a1
L
26448 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26449 with __addr.
26450 (insw): Likewise.
26451 (insl): Likewise.
26452 (outsb): Likewise.
26453 (outsw): Likewise.
26454 (outsl): Likewise.
26455
6451c862
L
26456 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26458 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26459
a254b8c9
L
26460 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26461 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26462 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26463 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26464 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26465 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26466
b8dfdd92
L
26467 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26468 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26469
578cd270
L
26470 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26471 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26472
de662f5f
L
26473 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26475 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26476
25653439
L
26477 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26478 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26479 to ...
26480 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26481
6bad24a0
L
26482 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26483 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26484 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26485
42bbb1c3
L
26486 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26487 for x86-64.
26488 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26489
2d10d547
JM
264902012-05-31 Joseph Myers <joseph@codesourcery.com>
26491
26492 * math/math.h (M_El): Use two more decimal places.
26493 (M_LOG2El): Likewise.
26494 (M_LOG10El): Likewise.
26495 (M_LN2l): Likewise.
26496 (M_LN10l): Likewise.
26497 (M_PIl): Likewise.
26498 (M_PI_2l): Likewise.
26499 (M_PI_4l): Likewise.
26500 (M_1_PIl): Likewise.
26501 (M_2_PIl): Likewise.
26502 (M_2_SQRTPIl): Likewise.
26503 (M_SQRT2l): Likewise.
26504 (M_SQRT1_2l): Likewise.
26505
f230c29b
DM
265062012-05-31 David S. Miller <davem@davemloft.net>
26507
26508 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26509 values between float registers.
26510 * sysdeps/sparc/sparc64/memset.S: Likewise.
26511 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26512
fed806c3
MF
265132012-05-31 Mike Frysinger <vapier@gentoo.org>
26514
26515 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26516 -D_FORTIFY_SOURCE=1.
26517 (CPPFLAGS-tst-longjmp_chk.c): Define.
26518 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26519 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26520 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26521 CFLAGS-tst-wchar-h.c.
26522
30917259
MP
265232012-05-31 Marek Polacek <polacek@redhat.com>
26524
26525 [BZ #14132]
26526 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26527 __endmntent_internal): Remove declaration.
26528 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26529 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26530 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26531
1c58d5dc
DM
265322012-05-30 David S. Miller <davem@davemloft.net>
26533
26534 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26535 (___Q_simulate_exceptions): Use real FP ops rather than writing
26536 into the %fsr.
26537 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26538 Likewise.
26539
7dc00e0d
L
265402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26541
26542 [BZ #14117]
0bd53985
L
26543 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26544 * sysdeps/x86/bits/xtitypes.h: This.
26545
3a257e66
L
26546 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26547 * sysdeps/x86/bits/wordsize.h: This.
26548
62f62904
L
26549 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26550 * sysdeps/x86/bits/huge_vall.h: This.
26551
404fe9d9
L
26552 * sysdeps/i386/bits/select.h: Removed.
26553 * sysdeps/x86_64/bits/select.h: Renamed to ...
26554 * sysdeps/x86/bits/select.h: This.
26555
d48d0446
L
26556 * sysdeps/i386/bits/setjmp.h: Removed.
26557 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26558 * sysdeps/x86/bits/setjmp.h: This.
26559
7dc00e0d
L
26560 * sysdeps/i386/bits/mathdef.h: Removed.
26561 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26562 * sysdeps/x86/bits/mathdef.h: This.
26563
03277f8f
AS
265642012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26565
26566 [BZ #14132]
26567 * include/sys/socket.h (__connect_internal)
26568 (__libc_sa_len_internal): Remove declaration.
26569 (__connect, __libc_sa_len): Declare hidden_proto.
26570 (SA_LEN): Remove use of INTUSE.
26571 * socket/connect.c: Add libc_hidden_def.
26572 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26573 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26574 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26575 alias.
26576 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26577 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26578 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26579 of adding _internal alias.
26580
13764867
L
265812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26582
26583 [BZ #14117]
6bd97696
L
26584 * sysdeps/i386/bits/link.h: Removed.
26585 * sysdeps/i386/bits/linkmap.h: Likewise.
26586 * sysdeps/x86_64/bits/link.h: Renamed to ...
26587 * sysdeps/x86/bits/link.h: This.
26588 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26589 * sysdeps/x86/bits/linkmap.h: This.
26590
f726f0bb
L
26591 * sysdeps/i386/bits/endian.h: Removed.
26592 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26593 * sysdeps/x86/bits/endian.h: This.
26594
13764867
L
26595 * sysdeps/i386/bits/byteswap.h: Removed.
26596 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26597 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26598 * sysdeps/x86/bits/byteswap.h: This.
26599 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26600 * sysdeps/x86/bits/byteswap-16.h: This.
26601 * sysdeps/i386/Implies: Add x86.
26602 * sysdeps/x86_64/Implies: Likewise.
26603
ae251b0b
DM
266042012-05-30 David S. Miller <davem@davemloft.net>
26605
26606 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26607 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26608 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26609 (FP_TRAPPING_EXCEPTIONS): Define.
26610 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26611 (FP_TRAPPING_EXCEPTIONS): Define.
26612 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26613 subnormals only when inexact has been signalled or underflow
26614 exceptions are enabled.
26615 (_FP_PACK_CANONICAL): Likewise.
26616
d5c90867
L
266172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26618
26619 [BZ #14183]
26620 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26621 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26622
63f1549e
RH
266232012-05-30 Richard Henderson <rth@twiddle.net>
26624
8d8f2279
RH
26625 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26626 with #ifndef NOT_IN_libc.
26627
63f1549e
RH
26628 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26629 marked to avoid plt entry.
26630
0ab0291b
L
266312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26632
26633 [BZ #14112]
26634 * Makeconfig (default-abi): New macro.
26635 (abi-includes): Likewise.
26636 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26637 $(abi-$(default-abi)-lib-soname) for soname if defined.
26638 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26639 abi-variants.
26640 * Makefile (installed-stubs): Likewise.
26641 * include/stubs-biarch.h: Removed.
26642 * scripts/lib-names.awk: Only handle one library at a time.
26643 * scripts/soversions.awk: Remove WORDSIZE support.
26644 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26645 entries.
26646 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26647 Removed.
26648 (syscall-list-default-condition): Likewise.
26649 (syscall-list-default-condition): Likewise.
26650 (syscall-list-includes): Likewise.
26651 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26652 syscall-list-* with abi-*. Handle undefined abi-variants.
26653 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26654 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26655 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26656 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26657 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26658 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26659 Removed.
26660 (syscall-list-32-options): Likewise.
26661 (syscall-list-32-condition): Likewise.
26662 (syscall-list-64-options): Likewise.
26663 (syscall-list-64-condition): Likewise.
26664 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26665 macro.
26666 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26667 Renamed to ...
26668 (abi-*): This.
26669 (abi-64-ld-soname): New macro.
26670 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26671 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26672 Renamed to ...
26673 (abi-*): This.
26674 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26675 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26676
4da0431d
JM
266772012-05-30 Joseph Myers <joseph@codesourcery.com>
26678
3a85279c
JM
26679 * sysdeps/unix/sysv/linux/kernel-features.h
26680 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26681 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26682 include <kernel-features.h>.
26683 [!__NR_ftruncate64]: Remove conditional code.
26684 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26685 [__NR_ftruncate64]: Make code unconditional.
26686 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26687 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26688 include <kernel-features.h>.
26689 [!__NR_ftruncate64]: Remove conditional code.
26690 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26691 [__NR_ftruncate64]: Make code unconditional.
26692 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26694 include <kernel-features.h>.
26695 [!__NR_ftruncate64]: Remove conditional code.
26696 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26697 [__NR_ftruncate64]: Make code unconditional.
26698 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26700 include <kernel-features.h>.
26701 [!__NR_ftruncate64]: Remove conditional code.
26702 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26703 [__NR_ftruncate64]: Make code unconditional.
26704 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26705
4da0431d
JM
26706 * configure.in (libc_cv_fpie): Weaken to a compile test using
26707 LIBC_TRY_CC_OPTION.
26708 * configure: Regenerated.
26709
11ef492c
AK
267102012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26711
26712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26716 Refreshed.
26717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26723 Refreshed.
26724
d66ef399
DM
267252012-05-27 David S. Miller <davem@davemloft.net>
26726
26727 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26728 (___Q_zero): New.
26729 (__Q_simulate_exceptions): Return void. Change to simulate
26730 exceptions by writing into the %fsr.
26731 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26732 (__Qp_handle_exceptions): Likewise.
26733 (numbers): Delete.
26734 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26735 __Qp_handle_exceptions.
26736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26737 __Qp_handle_exceptions.
26738 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26739 as unused and give dummy FP_RND_NEAREST initializer.
26740 (FP_INHIBIT_RESULTS): Define.
26741 (___Q_simulate_exceptions): Update declaration.
26742 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26743 formatting.
26744 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26745 as unused and give dummy FP_RND_NEAREST initializer.
26746 (__Qp_handle_exceptions): Update declaration.
26747 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26748 formatting.
26749
04fb54b5
TS
267502012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26751
26752 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26753 the temporary FPU control word.
26754 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26755 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26756 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26757 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26758 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26759 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26760 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26761 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26762 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26763 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26764 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26765
3f99608f
KK
267662012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26767
26768 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26769 fields.
26770
65a4de4e
CLT
267712012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26772
26773 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26774 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26775 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26776 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26777 Likewise.
26778 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26779 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26780 Likewise.
26781
15749d40
UD
267822012-05-27 Ulrich Drepper <drepper@gmail.com>
26783
26784 * po/h.po: Update from translation team.
26785
25dbcb27
AS
267862012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26787
3d3f8e55
AS
26788 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26789
25dbcb27
AS
26790 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26791 handling of denormals.
26792 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26793 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26794 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26795 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26799 Likewise.
26800
7ad47a80 268012012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26802
26803 [BZ #14152]
26804 * math/libm-test.inc (fma_test): Don't always expect underflow
26805 exception.
26806
9c6ea9fa
SP
268072012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26808
26809 [BZ #12416]
26810 * elf/tst-execstack.c: Include stackinfo.h.
26811 (do_test): Adjust test case to ensure that pthread_getattr_np
26812 behaviour remains the same after marking stack executable.
26813
a8239222
JM
268142012-05-25 Joseph Myers <joseph@codesourcery.com>
26815
26816 * sysdeps/unix/sysv/linux/kernel-features.h
26817 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26818 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26819 kernel-features.h.
26820 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26821 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26822 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26823 kernel-features.h.
26824 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26825 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26826
918b5606
L
268272012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26828
26829 * configure.in: Define the default includes to being none.
26830 * configure: Regenerated.
26831
3a097cc7
RM
268322012-05-25 Roland McGrath <roland@hack.frob.com>
26833
8422c9a5
RM
26834 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26835 * sysdeps/x86_64/setjmp.S: Likewise.
26836 * sysdeps/i386/bsd-setjmp.S: Likewise.
26837 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26838 * sysdeps/i386/setjmp.S: Likewise.
26839 * sysdeps/i386/__longjmp.S: Likewise.
26840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26841 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26842
3a097cc7
RM
26843 * include/stap-probe.h: New file.
26844 * configure.in: Handle --enable-systemtap.
26845 * configure: Regenerated.
26846 * config.h.in (USE_STAP_PROBE): New #undef.
26847 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26848 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26849 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26850
21708942
JM
268512012-05-25 Joseph Myers <joseph@codesourcery.com>
26852
26853 [BZ #13717]
26854 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26855 to 2.4.0 where earlier.
26856 * sysdeps/unix/sysv/linux/configure: Regenerated.
26857 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26858 <kernel-features.h>.
26859 [__ASSUME_32BITUIDS]: Make code unconditional.
26860 [!__ASSUME_32BITUIDS]: Remove conditional code.
26861 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26862 <kernel-features.h>.
26863 [__ASSUME_32BITUIDS]: Make code unconditional.
26864 [!__ASSUME_32BITUIDS]: Remove conditional code.
26865 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26866 [__ASSUME_32BITUIDS]: Make code unconditional.
26867 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26868 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26869 <kernel-features.h>.
26870 [__ASSUME_32BITUIDS]: Make code unconditional.
26871 [!__ASSUME_32BITUIDS]: Remove conditional code.
26872 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26873 <kernel-features.h>.
26874 [__ASSUME_32BITUIDS]: Make code unconditional.
26875 [!__ASSUME_32BITUIDS]: Remove conditional code.
26876 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26877 <kernel-features.h>.
26878 [__ASSUME_32BITUIDS]: Make code unconditional.
26879 [!__ASSUME_32BITUIDS]: Remove conditional code.
26880 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26881 <kernel-features.h>.
26882 [__ASSUME_32BITUIDS]: Make code unconditional.
26883 [!__ASSUME_32BITUIDS]: Remove conditional code.
26884 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26885 <kernel-features.h>.
26886 [__ASSUME_32BITUIDS]: Make code unconditional.
26887 [!__ASSUME_32BITUIDS]: Remove conditional code.
26888 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26889 <kernel-features.h>.
26890 [__ASSUME_32BITUIDS]: Make code unconditional.
26891 [!__ASSUME_32BITUIDS]: Remove conditional code.
26892 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26893 <kernel-features.h>.
26894 [__ASSUME_32BITUIDS]: Make code unconditional.
26895 [!__ASSUME_32BITUIDS]: Remove conditional code.
26896 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26897 <kernel-features.h>.
26898 [__ASSUME_32BITUIDS]: Make code unconditional.
26899 [!__ASSUME_32BITUIDS]: Remove conditional code.
26900 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26901 <kernel-features.h>.
26902 [__ASSUME_32BITUIDS]: Make code unconditional.
26903 [!__ASSUME_32BITUIDS]: Remove conditional code.
26904 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26905 <kernel-features.h>.
26906 [__ASSUME_32BITUIDS]: Make code unconditional.
26907 [!__ASSUME_32BITUIDS]: Remove conditional code.
26908 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26909 <kernel-features.h>.
26910 [__NR_setresgid] (__setresgid): Do not declare.
26911 [__ASSUME_32BITUIDS]: Make code unconditional.
26912 [!__ASSUME_32BITUIDS]: Remove conditional code.
26913 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26914 <kernel-features.h>.
26915 [__NR_setresuid] (__setresuid): Do not declare.
26916 [__ASSUME_32BITUIDS]: Make code unconditional.
26917 [!__ASSUME_32BITUIDS]: Remove conditional code.
26918 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26919 <kernel-features.h>.
26920 [__ASSUME_32BITUIDS]: Make code unconditional.
26921 [!__ASSUME_32BITUIDS]: Remove conditional code.
26922 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26923 <kernel-features.h>.
26924 [__ASSUME_32BITUIDS]: Make code unconditional.
26925 [!__ASSUME_32BITUIDS]: Remove conditional code.
26926 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26927 <kernel-features.h>.
26928 [__ASSUME_32BITUIDS]: Make code unconditional.
26929 [!__ASSUME_32BITUIDS]: Remove conditional code.
26930 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26931 <kernel-features.h>.
26932 [__ASSUME_32BITUIDS]: Make code unconditional.
26933 [!__ASSUME_32BITUIDS]: Remove conditional code.
26934 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26935 <kernel-features.h>.
26936 [__ASSUME_32BITUIDS]: Make code unconditional.
26937 [!__ASSUME_32BITUIDS]: Remove conditional code.
26938 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26939 <kernel-features.h>.
26940 [__ASSUME_32BITUIDS]: Make code unconditional.
26941 [!__ASSUME_32BITUIDS]: Remove conditional code.
26942 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26943 <kernel-features.h>.
26944 [__ASSUME_32BITUIDS]: Make code unconditional.
26945 [!__ASSUME_32BITUIDS]: Remove conditional code.
26946 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26947 <kernel-features.h>.
26948 [__ASSUME_32BITUIDS]: Make code unconditional.
26949 [!__ASSUME_32BITUIDS]: Remove conditional code.
26950 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26951 <kernel-features.h>.
26952 [__ASSUME_32BITUIDS]: Make code unconditional.
26953 [!__ASSUME_32BITUIDS]: Remove conditional code.
26954 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26955 <kernel-features.h>.
26956 [__ASSUME_32BITUIDS]: Make code unconditional.
26957 [!__ASSUME_32BITUIDS]: Remove conditional code.
26958 * sysdeps/unix/sysv/linux/kernel-features.h
26959 (__ASSUME_SETRESUID_SYSCALL): Remove.
26960 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26961 (__ASSUME_32BITUIDS): Likewise.
26962 (__ASSUME_LDT_WORKS): Likewise.
26963 (__ASSUME_O_DIRECTORY): Likewise.
26964 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26965 architecture but not kernel version.
26966 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26967 (__ASSUME_MMAP2_SYSCALL): Likewise.
26968 (__ASSUME_STAT64_SYSCALL): Likewise.
26969 (__ASSUME_IPC64): Likewise.
26970 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26971 <kernel-features.h>.
26972 [__ASSUME_32BITUIDS]: Make code unconditional.
26973 [!__ASSUME_32BITUIDS]: Remove conditional code.
26974 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26975 <kernel-features.h>.
26976 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26977 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26978 132096]: Remove conditional code.
26979 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26980 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26981 <kernel-features.h>.
26982 [__ASSUME_32BITUIDS]: Make code unconditional.
26983 [!__ASSUME_32BITUIDS]: Remove conditional code.
26984 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26985 <kernel-features.h>.
26986 [__ASSUME_32BITUIDS]: Make code unconditional.
26987 [!__ASSUME_32BITUIDS]: Remove conditional code.
26988 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26989 <kernel-features.h>.
26990 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26991 unconditional.
26992 (__setresgid): Do not declare.
26993 [__ASSUME_32BITUIDS]: Make code unconditional.
26994 [!__ASSUME_32BITUIDS]: Remove conditional code.
26995 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26996 <kernel-features.h>.
26997 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26998 unconditional.
26999 (__setresuid): Do not declare.
27000 [__ASSUME_32BITUIDS]: Make code unconditional.
27001 [!__ASSUME_32BITUIDS]: Remove conditional code.
27002 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27003 <kernel-features.h>.
27004 [__ASSUME_32BITUIDS]: Make code unconditional.
27005 [!__ASSUME_32BITUIDS]: Remove conditional code.
27006 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27007 <kernel-features.h>.
27008 [__ASSUME_32BITUIDS]: Make code unconditional.
27009 [!__ASSUME_32BITUIDS]: Remove conditional code.
27010
a386f1cc
RH
270112012-05-25 Richard Henderson <rth@twiddle.net>
27012
27013 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27014 dl_hwcap to ifunc resolver.
27015 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27016 elf_ifunc_invoke.
27017 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27018 dl_hwcap to ifunc resolver.
27019 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27020
b6550497
JM
270212012-05-24 Joseph Myers <joseph@codesourcery.com>
27022
27023 [BZ #14153]
27024 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27025 for |x| <= 2**-26, not 2**-57.
27026 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27027 exception.
27028
b0bc23a1
JL
270292012-05-24 Jeff Law <law@redhat.com>
27030
27031 * stdio-common/Makefile (tests): Add bug25.
27032 * stdio-common/bug25.c: New test.
27033
347c92e9
L
270342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27035
27036 [BZ #13576]
27037 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27038 multiple of MALLOC_ALIGNMENT in size.
27039 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27040
6bcc8b3f
JM
270412012-05-24 Joseph Myers <joseph@codesourcery.com>
27042
27043 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27044 Require >= 256.
27045 (FILENAME_MAX): Use macro-int-constant.
27046 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27047 (_IOFBF): Use macro-int-constant.
27048 (_IOLBF): Likewise.
27049 (_IONBF): Likewise.
27050 (SEEK_CUR): Likewise.
27051 (SEEK_END): Likewise.
27052 (SEEK_SET): Likewise.
27053 (TMP_MAX): Likewise.
27054 (EOF): Use macro-int-constant. Require < 0.
27055 (NULL): Use macro-constant. Require == 0.
27056 (stdin): Require type to be FILE *.
27057 (stdout): Likewise.
27058 (stderr): Likewise.
27059 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27060 macro-int-constant.
27061 (EXIT_SUCCESS): Likewise.
27062 (NULL): Use macro-constant. Require == 0.
27063 (RAND_MAX): Use macro-int-constant.
27064 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27065 [C99-based standards] (strtof): Require function.
27066 [C99-based standards] (strtold): Likewise.
27067 [C99-based standards] (strtoll): Likewise.
27068 [C99-based standards] (strtoull): Likewise.
27069 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27070 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27071 [ISO || ISO99 || ISO11] (math.h): Likewise.
27072 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27073 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27074 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27075
d18ea0c5
AS
270762012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27077
27078 [BZ #14132]
56d25bb8
AS
27079 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27080 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27081 * intl/dgettext.c (DCGETTEXT): Likewise.
27082 * intl/gettext.c (DCGETTEXT): Likewise.
27083 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27084 * posix/regex_internal.h (gettext): Likewise.
27085 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27086 Remove declaration.
27087 * include/argz.h (__argz_count_internal)
27088 (__argz_stringify_internal): Remove declaration.
27089 (__argz_count, __argz_stringify): Declare hidden proto.
27090 * intl/dcgettext.c: Remove use of INTDEF.
27091 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27092 * string/argz-stringify.c: Likewise.
27093 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27094 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27095 Declare hidden proto.
d18ea0c5
AS
27096 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27097 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27098 Declare hidden proto.
27099 * include/stdio.h (__asprintf_internal): Don't declare.
27100 (__asprintf): Don't define as macro. Declare hidden proto.
27101 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27102 (__fsetlocking): Declare hidden proto.
27103 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27104 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27105 hidden proto.
27106 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27107 (_IO_setlinebuf): Remove use of INTUSE.
27108 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27109 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27110 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27111 Remove declaration.
27112 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27113 (_IO_do_flush): Remove use of INTUSE.
27114 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27115 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27116 (_IO_adjust_column, _IO_least_wmarker)
27117 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27118 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27119 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27120 (_IO_default_doallocate, _IO_wdefault_doallocate)
27121 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27122 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27123 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27124 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27125 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27126 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27127 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27128 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27129 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27130 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27131 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27132 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27133 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27134 proto.
27135 (_IO_flush_all_internal, _IO_adjust_column_internal)
27136 (_IO_default_uflow_internal, _IO_default_finish_internal)
27137 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27138 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27139 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27140 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27141 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27142 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27143 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27144 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27145 (_IO_file_close_internal, _IO_file_close_it_internal)
27146 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27147 (_IO_file_init_internal, _IO_file_attach_internal)
27148 (_IO_file_fopen_internal, _IO_file_read_internal)
27149 (_IO_file_sync_internal, _IO_file_seek_internal)
27150 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27151 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27152 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27153 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27154 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27155 (_IO_list_all_internal, _IO_link_in_internal)
27156 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27157 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27158 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27159 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27160 (_IO_do_write_internal, _IO_padn_internal)
27161 (_IO_getline_info_internal, _IO_getline_internal)
27162 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27163 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27164 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27165 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27166 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27167 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27168 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27169 with libc_hidden_ver, remove use of INTUSE.
27170 * libio/genops.c: Likewise.
27171 * libio/freopen.c: Likewise.
27172 * libio/freopen64.c: Likewise.
27173 * libio/iofclose.c: Likewise.
27174 * libio/iofdopen.c: Likewise.
27175 * libio/iofflush.c: Likewise.
27176 * libio/iofflush_u.c: Likewise.
27177 * libio/iofgets.c: Likewise.
27178 * libio/iofgets_u.c: Likewise.
27179 * libio/iofopen.c: Likewise.
27180 * libio/iofopncook.c: Likewise.
27181 * libio/iofread.c: Likewise.
27182 * libio/iofread_u.c: Likewise.
27183 * libio/ioftell.c: Likewise.
27184 * libio/iofwrite.c: Likewise.
27185 * libio/iogetline.c: Likewise.
27186 * libio/iogets.c: Likewise.
27187 * libio/iogetwline.c: Likewise.
27188 * libio/iopadn.c: Likewise.
27189 * libio/iopopen.c: Likewise.
27190 * libio/ioseekoff.c: Likewise.
27191 * libio/ioseekpos.c: Likewise.
27192 * libio/iosetbuffer.c: Likewise.
27193 * libio/iosetvbuf.c: Likewise.
27194 * libio/ioungetc.c: Likewise.
27195 * libio/ioungetwc.c: Likewise.
27196 * libio/iovdprintf.c: Likewise.
27197 * libio/iovsprintf.c: Likewise.
27198 * libio/iovsscanf.c: Likewise.
27199 * libio/memstream.c: Likewise.
27200 * libio/obprintf.c: Likewise.
27201 * libio/oldfileops.c: Likewise.
27202 * libio/oldiofclose.c: Likewise.
27203 * libio/oldiofdopen.c: Likewise.
27204 * libio/oldiofopen.c: Likewise.
27205 * libio/oldiopopen.c: Likewise.
27206 * libio/oldstdfiles.c: Likewise.
27207 * libio/putc.c: Likewise.
27208 * libio/setbuf.c: Likewise.
27209 * libio/setlinebuf.c: Likewise.
27210 * libio/stdfiles.c: Likewise.
27211 * libio/strops.c: Likewise.
27212 * libio/vasprintf.c: Likewise.
27213 * libio/vscanf.c: Likewise.
27214 * libio/vsnprintf.c: Likewise.
27215 * libio/vswprintf.c: Likewise.
27216 * libio/wfiledoalloc.c: Likewise.
27217 * libio/wfileops.c: Likewise.
27218 * libio/wgenops.c: Likewise.
27219 * libio/wmemstream.c: Likewise.
27220 * libio/wstrops.c: Likewise.
27221 * libio/__fpurge.c: Likewise.
27222 * libio/__fsetlocking.c: Likewise.
27223 * assert/assert.c: Likewise.
27224 * debug/fgets_chk.c: Likewise.
27225 * debug/fgets_u_chk.c: Likewise.
27226 * debug/fread_chk.c: Likewise.
27227 * debug/fread_u_chk.c: Likewise.
27228 * debug/gets_chk.c: Likewise.
27229 * debug/obprintf_chk.c: Likewise.
27230 * debug/vasprintf_chk.c: Likewise.
27231 * debug/vdprintf_chk.c: Likewise.
27232 * debug/vsnprintf_chk.c: Likewise.
27233 * debug/vsprintf_chk.c: Likewise.
27234 * malloc/mtrace.c: Likewise.
27235 * misc/error.c: Likewise.
27236 * misc/syslog.c: Likewise.
27237 * stdio-common/asprintf.c: Likewise.
27238 * stdio-common/fxprintf.c: Likewise.
27239 * stdio-common/getw.c: Likewise.
27240 * stdio-common/isoc99_fscanf.c: Likewise.
27241 * stdio-common/isoc99_scanf.c: Likewise.
27242 * stdio-common/isoc99_vfscanf.c: Likewise.
27243 * stdio-common/isoc99_vscanf.c: Likewise.
27244 * stdio-common/isoc99_vsscanf.c: Likewise.
27245 * stdio-common/printf-prs.c: Likewise.
27246 * stdio-common/printf_fp.c: Likewise.
27247 * stdio-common/printf_fphex.c: Likewise.
27248 * stdio-common/printf_size.c: Likewise.
27249 * stdio-common/putw.c: Likewise.
27250 * stdio-common/scanf.c: Likewise.
27251 * stdio-common/sprintf.c: Likewise.
27252 * stdio-common/tmpfile.c: Likewise.
27253 * stdio-common/vfprintf.c: Likewise.
27254 * stdio-common/vfscanf.c: Likewise.
27255 * stdlib/strfmon_l.c: Likewise.
27256 * sunrpc/openchild.c: Likewise.
27257 * sunrpc/xdr_stdio.c: Likewise.
27258 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27259 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27260
d6c33fda
RM
272612012-05-24 Roland McGrath <roland@hack.frob.com>
27262
c1487492
RM
27263 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27264
27265 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27266 in the third column, to generate for the shared library an IFUNC
27267 that uses _dl_vdso_vsym.
27268 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27269 * Makeconfig (object-suffixes-noshared): New variable.
27270
27271 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27272 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27273 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27274 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27275
d6c33fda
RM
27276 [BZ #14132]
27277 * include/sys/time.h (__gettimeofday): Remove macro.
27278 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27279 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27280 Remove INTDEF.
27281 (__gettimeofday): Add libc_hidden_def.
27282 (gettimeofday): Add libc_hidden_weak.
27283 * sysdeps/mach/gettimeofday.c: Likewise.
27284 * sysdeps/posix/gettimeofday.c: Likewise.
27285 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27286 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27288 (__gettimeofday_internal): Remove strong_alias.
27289 (__gettimeofday): Add libc_hidden_def.
27290 (gettimeofday): Add libc_hidden_weak.
27291 * sysdeps/unix/syscalls.list (gettimeofday):
27292 Remove __gettimeofday_internal alias.
27293
b5a2bbe6
L
272942012-05-24 Daniel Jacobowitz <drow@false.org>
27295 H.J. Lu <hongjiu.lu@intel.com>
27296
27297 [BZ #12495]
27298 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27299 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27300 (largebin_index_32_big): New.
27301 (largebin_index): Use it for 16-byte alignment.
27302 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27303 correction with front_misalign.
27304
cfba4fda
L
273052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27306
7f907421
L
27307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27309 Likewise.
27310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27311 Likewise.
27312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27313 Likewise.
27314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27315 Likewise.
27316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27317 Likewise.
27318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27319 Likewise.
27320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27321 Likewise.
27322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27323 Likewise.
27324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27325 Likewise.
27326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27327 Likewise.
27328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27329 Likewise.
27330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27331 Likewise.
27332
cfba4fda
L
27333 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27334 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27335
80bad0cc
JM
273362012-05-24 Joseph Myers <joseph@codesourcery.com>
27337
7a25eb06
JM
27338 [BZ #10846]
27339 [BZ #14036]
27340 * math/libm-test.inc (exp_test): Add test from bug 14036.
27341 (pow_test): Add test from bug 10846.
27342
795405f9
JM
27343 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27344 and other flags.
27345 (special_function): Do not include flags in test name.
27346 (parse_args): Likewise.
27347 * sysdeps/i386/fpu/libm-test-ulps: Update.
27348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27349 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27350 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27352
80bad0cc
JM
27353 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27354 exceptions.
27355 * math/libm-test.inc ("Philosophy"): Update comment about
27356 exception testing.
27357 (UNDERFLOW_EXCEPTION): New macro.
27358 (UNDERFLOW_EXCEPTION_OK): Likewise.
27359 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27360 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27361 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27362 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27363 (INVALID_EXCEPTION_OK): Update value.
27364 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27365 (OVERFLOW_EXCEPTION_OK): Likewise.
27366 (IGNORE_ZERO_INF_SIGN): Likewise.
27367 (test_exceptions): Handle underflow exceptions.
27368 (acos_test): Update for underflow exception expectations.
27369 (cexp_test): Likewise.
27370 (clog_test): Likewise.
27371 (clog10_test): Likewise.
27372 (csqrt_test): Likewise.
27373 (ctan_test): Likewise.
27374 (ctanh_test): Likewise.
27375 (exp_test): Likewise.
27376 (exp10_test): Likewise.
27377 (exp2_test): Likewise.
27378 (expm1_test): Likewise.
27379 (fma_test): Likewise.
27380 (j0_test): Likewise.
27381 (jn_test): Likewise.
27382 (nexttoward_test): Likewise.
27383 (pow_test): Likewise.
27384 (scalbn_test): Likewise.
27385 (scalbln_test): Likewise.
27386 (tan_test): Likewise.
27387 (y1_test): Likewise.
27388 * sysdeps/i386/fpu/libm-test-ulps: Update.
27389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27390
9e0e3d0b
DM
273912012-05-23 David S. Miller <davem@davemloft.net>
27392
27393 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27394 (__libc_sigaction): Remove unused local variables.
27395
ccd0a08f
L
273962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27397
27398 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27399
62bdf9a6
PE
274002012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27401
f8591f80
PE
27402 mktime: avoid signed integer overflow
27403 * time/mktime.c (__mktime_internal): Do not mishandle the case
27404 where diff == INT_MIN.
27405
94c7d826
PE
27406 mktime: simplify computation of average
27407 * time/mktime.c (ranged_convert): Use new time_t_avg function
27408 instead of rolling our own (probably-slower) code.
27409
ce73d683
PE
27410 mktime: do not assume signed right shift propagates sign bit
27411 * time/mktime.c (isdst_differ): New static function.
27412 (__mktime_internal): No need to normalize tm_isdst now.
27413 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27414 tm_isdst values.
27415
72a22e59
PE
27416 mktime: merge another wrapv change from gnulib
27417 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27418 from some compilers.
27419
68605433
PE
27420 mktime: remove incorrect attempt at unusual arithmetics
27421 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27422 The code didn't really work on such machines anyway.
27423 (TYPE_MINIMUM): Assume two's complement.
27424 (twos_complement_arithmetic): Verify that long_int and time_t
27425 are two's complement (or unsigned, in the latter case).
27426
03cf7fe3
PE
27427 mktime: check signed shifts on long_int and time_t, too
27428 * time/mktime.c (SHR): Check that shifts work as desired
27429 on the types long_int and time_t too, as SHR is used on
27430 such types.
27431
f04dfbc2
PE
27432 mktime: do not assume 'long' is wide enough
27433 * time/mktime.c (verify): Move decl up.
27434 (long_int): New type.
27435 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27436 to remove assumption in the code that 'long' is wide enough to
27437 store year values. This assumption is not true on x32 and on
27438 some non-glibc platforms.
27439
62bdf9a6
PE
27440 mktime: merge wrapv change from gnulib
27441 * time/mktime.c (WRAPV): New macro.
27442 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27443 (guess_time_tm, __mktime_internal): Do not assume that signed
27444 integer overflow wraps around; modern compilers generate code
27445 where this assumption is no longer valid.
27446
5e292e4f
L
274472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27448
27449 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27450 Replace "jmp L(pseudo_end)" with "ret".
27451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27452 Likewise.
27453
8caf8c87
AJ
274542012-05-23 Andreas Jaeger <aj@suse.de>
27455
27456 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27457 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27458
1a09dc56
AJ
274592012-05-23 Andreas Jaeger <aj@suse.de>
27460 Maximilian Attems <max@stro.at>
27461
27462 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27463 New macros.
27464
1c87aba0
L
274652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27466
27467 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27468 code so that pseudo_end is just ret and the stack pointer is
27469 correct also for static library in error case.
27470
40e45bd5
JM
274712012-05-23 Joseph Myers <joseph@codesourcery.com>
27472
c2670533
JM
27473 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27474 move to syscalls.list.
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27479
40e45bd5
JM
27480 * manual/install.texi (Running make install): Do not mention Linux
27481 kernel version for which pt_chown is not needed.
27482 (Linux): Do not mention problems with nscd with 2.0 kernels.
27483 * INSTALL: Regenerated.
27484
be08eda5
AJ
274852012-05-23 Andreas Jaeger <aj@suse.de>
27486
27487 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27488 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27489 macro.
27490 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27491 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27492 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27493 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27494 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27495 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27496 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27497 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27498 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27499 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27500 * sysdeps/unix/sysv/linux/bits/in.h
27501 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27502
a6a056bb
RM
275032012-05-22 Roland McGrath <roland@hack.frob.com>
27504
27505 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27506 (PREPARE_VERSION): Just use assert instead, it will be elided
27507 under [NDEBUG] anyway.
27508
c9009328
L
275092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27510
27511 * sysdeps/unix/sysv/linux/Makefile: Include
27512 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27513 (sysdep_routines): Remove sysctl.
c9009328
L
27514 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27515 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27516 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27517 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27518 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27519
73338355
AJ
275202012-05-22 Andreas Jaeger <aj@suse.de>
27521
27522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27523 that pseudo_end is just ret and the stack pointer is correct also
27524 for static library in error case.
27525
d44638b0
PP
275262012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27527
27528 [BZ #14122]
27529 * nss/nsswitch.c (defconfig_entries): New variable.
27530 (__nss_database_lookup): Don't leak defconfig entries.
27531 (nss_parse_service_list): Don't leak on error paths.
27532 (free_database_entries): New function.
27533 (free_defconfig): New function.
27534 (free_mem): Move common code to free_database_entries.
27535
31a39bd8
L
275362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27537
da0331a8
L
27538 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27539 Add arch_prctl.
27540 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27541
31a39bd8
L
27542 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27543 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27545 New macro.
27546 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27547 (INTERNAL_SYSCALL_TYPES): Likewise.
27548 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27549 (LOAD_REGS_TYPES_[1-6]): Likewise.
27550 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27551 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27552
45470df3
AZ
275532012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27554
27555 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27556 copysignl for GLIBC_2_0.
27557 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27558 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27560 logbl for GLIBC_2_0.
27561 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27562 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27563
98a61bcb
L
275642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27565
a4f6e481
L
27566 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27567 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27568
f63d5db6
L
27569 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27570 Use "neg %eax".
27571
98a61bcb
L
27572 * time/mktime.c: Update copyright years.
27573
95770f14
PE
275742012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27575
6226efbd
PE
27576 mktime: merge comment-quoting-style change from gnulib
27577 * time/mktime.c: Quote 'like this' in comments.
27578 The GNU coding standards suggest that we no longer quote `like this',
27579 as "`" and "'" are typically rendered asymmetrically nowadays.
27580 The typical gnulib style is to quote 'like this' when quoting
27581 code, and "like this" when quoting English.
27582
b99e4f78
PE
27583 * time/mktime.c (compile-command): Add "-I.".
27584
643e01e6
PE
27585 mktime: merge mktime-internal.h change from gnulib
27586 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27587
2554247d
PE
27588 mktime: merge time_r change from gnulib
27589 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27590
826dd0ab
PE
27591 mktime: merge DEBUG change from gnulib
27592 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27593 case system <time.h> has a #define.
27594
bd83aabe
PE
27595 mktime: merge <sys/types.h> change from gnulib
27596 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27597 since <time.t> is now guaranteed to define time_t.
27598
95770f14
PE
27599 mktime: merge HAVE_CONFIG_H change from gnulib
27600 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27601
5e1a27a9
L
276022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27603
0e44a77e
L
27604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27605 Use "neg %eax".
27606
5e1a27a9
L
27607 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27608 __rlim_t cast.
27609 (struct rusage): Use anonymous union to pad each field to
27610 __syscall_slong_t.
27611
46259bec
DM
276122012-05-21 David S. Miller <davem@davemloft.net>
27613
27614 * Makefules (o-iterator): Remove .s cases.
27615 (compile-command.s): Delete.
27616 (COMPILE.s): Delete.
27617 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27618
59f0c22e
JM
276192012-05-21 Joseph Myers <joseph@codesourcery.com>
27620
27621 * configure.in (libc_cv_predef_stack_protector): Only consider
27622 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27623 * configure: Regenerated.
27624
20c07380
L
276252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27626
bbb3154b
L
27627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27628 New macro. Use R*LP on int and pointer.
27629 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27630 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27631 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27632 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27633
20c07380
L
27634 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27635 [__WORDSIZE_TIME64_COMPAT32] instead of
27636 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27637 (struct utmp): Likewise.
27638 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27639 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27640 Renamed to ...
27641 (__WORDSIZE_TIME64_COMPAT32): This.
27642 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27643 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27644 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27645 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27646 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27647 (__WORDSIZE_TIME64_COMPAT32): New macro.
27648
d8d1017e
AJ
276492012-05-21 Andreas Jaeger <aj@suse.de>
27650
27651 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27652 only if [SHARED]. Add prototype for __wcschr_ia32.
27653
6c7fb145
RM
276542012-05-21 Roland McGrath <roland@hack.frob.com>
27655
27656 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27657 of %rbp unmolested in the jmp_buf while mangling the low bits.
27658 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27659 unmolested high bits of %rbp while demangling the low bits.
27660 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27661
66274218
AJ
276622012-05-21 Andreas Jaeger <aj@suse.de>
27663
07c58f8f
AJ
27664 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27665 * sunrpc/svc_simple.c: Use it for registerrpc.
27666 * sunrpc/xcrypt.c: Use it for passwd2des.
27667
66274218
AJ
27668 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27669
61f65140
L
276702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27671
27672 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27673 Don't define if [__SYSCALL_WORDSIZE != 32].
27674 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27675 New macro.
27676
5fefb436
AJ
276772012-05-21 Bruno Haible <bruno@clisp.org>
27678 Andreas Jaeger <aj@suse.de>
27679
27680 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27681 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27682 inptr and inend for must_buffer_ch.
27683 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27684 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27685 * stdio-common/Makefile (tests): Remove bug15.
27686 (bug15-ENV): Remove macro.
27687 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27688 anymore.
27689
d8e272ab
AJ
276902012-05-19 Andreas Jaeger <aj@suse.de>
27691 Roland McGrath <roland@hack.frob.com>
27692
27693 * manual/contrib.texi: Completely rewritten. It contains now an
27694 alphabetical list of contributors and their contributions.
27695
4a56a162
RH
276962012-05-21 Richard Henderson <rth@twiddle.net>
27697
27698 * misc/getauxval.c (__getauxval): Use unsigned long int.
27699 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27700 (getauxval): Use unsigned long int.
27701
d024d23c
L
277022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27703
27704 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27705
cbc00a03
RM
277062012-05-21 Roland McGrath <roland@hack.frob.com>
27707
27708 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27709 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27710 __alignof__ (long double).
27711
478143fa
AZ
277122012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27713
27714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27715
c7683a6d
RH
277162012-05-20 Richard Henderson <rth@twiddle.net>
27717
27718 * misc/getauxval.c: New file.
27719 * misc/sys/auxv.h: New file.
27720 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27721 (routines): Add getauxval.
27722 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27723 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27724 * elf/dl-sysdep.c (_dl_auxv): Remove.
27725 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27726 * elf/dl-support.c (_dl_auxv): New variable.
27727 (_dl_aux_init): Initialize it.
27728 * manual/startup.texi (Auxiliary Vector): New node.
27729 * sysdeps/generic/bits/hwcap.h: New file.
27730 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27731 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27732 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27733 * sysdeps/sparc/sysdep.h: ... here. Include it.
27734 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27737 Update.
c7683a6d
RH
27738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27741 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27746
a6f1845d
AZ
277472012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27748
27749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27750
cbcbe830
DM
277512012-05-19 David S. Miller <davem@davemloft.net>
27752
27753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27754
e0b16cc2
JM
277552012-05-19 Joseph Myers <joseph@codesourcery.com>
27756
27757 [BZ #14123]
27758 * math/s_ccosh.c: Include <float.h>
27759 (__ccosh): Avoid internal overflow calculating sinh and cosh
27760 values before multiplying by sin and cos values.
27761 * math/s_ccoshf.c: Likewise.
27762 * math/s_ccoshl.c: Likewise.
27763 * math/s_csin.c: Likewise.
27764 * math/s_csinf.c: Likewise.
27765 * math/s_csinl.c: Likewise.
27766 * math/s_csinh.c: Likewise.
27767 * math/s_csinhf.c: Likewise.
27768 * math/s_csinhl.c: Likewise.
27769 * math/libm-test.inc (ccos_test): Add more tests.
27770 (ccosh_test): Likewise.
27771 (csin_test): Likewise.
27772 (csinh_test): Likewise.
27773 * sysdeps/i386/fpu/libm-test-ulps: Update.
27774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27775
6ad13e08
L
277762012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27777
f66f0ce8
L
27778 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27779 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27780
6ad13e08
L
27781 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27782
b1d072a7
JM
277832012-05-19 Joseph Myers <joseph@codesourcery.com>
27784
27785 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27786 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27787 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27788 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27789 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27790 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27791 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27792 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27793 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27794 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27795 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27796 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27797 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27798 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27799 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27800 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27801 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27802 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27803 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27804 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27805 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27806 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27807 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27808 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27809 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27810 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27811 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27812 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27813 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27814 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27815 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27816
9eae47cb
AJ
278172012-05-18 Andreas Jaeger <aj@suse.de>
27818
27819 * csu/.gitignore: Delete.
27820
bb07f69f
L
278212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27822
27823 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27824 (timex): Use __syscall_slong_t.
27825
e6bdb741
AJ
278262012-05-18 Andreas Jaeger <aj@suse.de>
27827 Carlos O'Donell <carlos_odonell@mentor.com>
27828
27829 * manual/install.texi (Configuring and compiling): Update
27830 description about files modified in the source directory.
d6c33fda 27831 * INSTALL: Regenerated.
e6bdb741 27832
1b74487e
L
278332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27834
27835 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27836 value. Use "or" to set return value to -1.
27837 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27838 negate return value.
27839
a88b64b9
TMQMF
278402012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27841
27842 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27843 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27844 failure if the compiler has Graphite support disabled.
27845 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27846 Likewise.
27847 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27848 CFLAGS-memmove.c): Likewise.
27849 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27850 Likewise.
27851
3707636e
L
278522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27853
610b8622
L
27854 * sysdeps/x86_64/x32/_itoa.h: New file.
27855
7cd195df
L
27856 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27857 getdents system call only if kernel and user dirents have the
27858 same d_ino and d_off.
27859
94b07d20
L
27860 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27861 LLONG_MAX != LONG_MAX.
27862 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27863 (_fitoa_word): Likewise.
27864
18298070
L
27865 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27866 years.
27867 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27868 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27869 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27870
553c7ea4
L
27871 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27872 include <bits/wordsize.h>. Check __x86_64__ instead of
27873 __WORDSIZE.
27874 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27875 if __x86_64__ is defined. Use anonymous union on fpstate.
27876
3707636e
L
27877 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27878 anonymous union.
27879
b53ef01a
AS
278802012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27881
37fb1dc0
AS
27882 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27883 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27884 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27885 Refer to _rtld_local_ro instead of _rtld_global_ro.
27886 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27887 Likewise.
27888 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27889 Likewise.
27890 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27891 Likewise.
27892 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27893 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27894 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27895
b53ef01a
AS
27896 * sysdeps/powerpc/powerpc32/dl-machine.c
27897 (__elf_machine_runtime_setup) [PROF]: Don't reference
27898 _dl_prof_resolve.
27899
7a185db2
AJ
279002012-05-18 Andreas Jaeger <aj@suse.de>
27901
27902 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27903 function only available for GCCs before 3.4 since GCC 3.4
27904 introduced a builtin.
27905 (lrint): Likewise.
27906 (llrintf): Likewise.
27907 (llrint): Likewise.
27908 (fmaxf): Likewise.
27909 (fmax): Likewise.
27910 (fminf): Likewise.
27911 (fmin): Likewise.
27912 (rint): Likewise.
27913 (rintf): Likewise.
27914 (nearbyint): Likewise.
27915 (nearbyintf): Likewise.
27916 (ceil): Likewise.
27917 (ceilf): Likewise.
27918 (floor): Likewise.
27919 (floorf): Likewise.
27920
3e5aef87
L
279212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27922
428bd707
L
27923 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27924 on both fields and cast pointer to __syscall_ulong_t.
27925
3e5aef87
L
27926 * bits/types.h (__fsword_t): New type.
27927 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27928 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27930 (__FSWORD_T_TYPE): Likewise.
27931 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27932 (__FSWORD_T_TYPE): Likewise.
27933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27934 (__FSWORD_T_TYPE): Likewise.
27935 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27936 (__FSWORD_T_TYPE): Likewise.
27937 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27938 __SWORD_TYPE with __fsword_t.
27939 (statfs64): Likewise.
27940
1ba7c3dc
DM
279412012-05-17 David S. Miller <davem@davemloft.net>
27942
27943 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27944
59910343
AJ
279452012-05-17 Andreas Jaeger <aj@suse.de>
27946
27947 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27948 warning.
27949
2e4c1e9e
L
279502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27951
27952 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27953
de7f5ce7
AJ
279542012-05-17 Andreas Jaeger <aj@suse.de>
27955
27956 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27957 when it is used.
27958
286abc3d
CM
279592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27960
27961 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27962
477cc68e
L
279632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27964
27965 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27966 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27967
1a0994f5
CD
279682012-05-17 Andreas Jaeger <aj@suse.de>
27969 Carlos O'Donell <carlos_odonell@mentor.com>
27970
27971 [BZ #14059]
27972 * sysdeps/x86_64/multiarch/init-arch.h
27973 (bit_YMM_Usable): Rename to...
27974 (bit_AVX_Usable): ... this.
27975 (bit_FMA4_Usable): New macro.
27976 (bit_XMM_state): New macro.
27977 (bit_YMM_state): New macro.
27978 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27979 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27980 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27981 (CPUID_OSXSAVE): New macro.
27982 (CPUID_AVX): New macro.
27983 (CPUID_FMA4): New macro.
27984 (index_YMM_Usable): Rename to...
27985 (index_AVX_Usable): ... this.
27986 (HAS_AVX): Use HAS_ARCH_FEATURE.
27987 (HAS_FMA4): Likewise.
27988 (HAS_YMM_USABLE): Remove.
27989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27990 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27991 are present.
27992 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27993 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27994 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27995 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27996 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27997
0af797de
CM
279982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27999
28000 * math/libm-test.c: Support platforms without multiple rounding modes.
28001 * math/bug-nextafter.c: Support platforms without FP exceptions.
28002 * math/bug-nexttoward.c: Likewise.
28003 * math/test-fenv.c: Likewise.
28004 * math/test-misc.c: Likewise.
28005 * stdlib/bug-getcontext.c: Likewise.
28006
e39745ff
AJ
280072012-05-17 Andreas Jaeger <aj@suse.de>
28008
28009 * manual/examples/search.c (critter_cmp): Change signature to
28010 avoid warnings.
28011 * manual/string.texi (Collation Functions): Likewise.
28012
48970aba
L
280132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28014
28015 * bits/types.h: Fold copyright years.
28016 * bits/typesizes.h: Likewise.
28017 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28021 * time/time.h: Likewise.
28022
bedee953
PP
280232012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28024
28025 [BZ #208]
28026 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28027 in instead of returning them. Return void.
28028 (__libc_mallinfo): Accumulate over all arenas.
28029 (__malloc_stats): Adjust for change in int_mallinfo interface.
28030
61653dfb
RM
280312012-05-16 Roland McGrath <roland@hack.frob.com>
28032
30b99d79
RM
28033 [BZ #10375]
28034 * configure.in (NM): Add AC_CHECK_TOOL for it.
28035 (libc_extra_cflags): New substituted variable.
28036 Check for -fstack-protector being used implicitly.
28037 * configure: Regenerated.
28038 * config.make.in (config-extra-cflags): New variable,
28039 gets @libc_extra_cflags@.
28040 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28041
61653dfb
RM
28042 [BZ #10375]
28043 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28044 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28045 * configure: Regenerated.
28046 * config.make.in (CPPUNDEFS): New substituted variable.
28047 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28048 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28049 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28050
661768bb
L
280512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28052
28053 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28054 (mq_attr): Use __syscall_slong_t.
28055
d4261567
L
280562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28057
28058 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28059 Check __x86_64__ instead of __WORDSIZE.
28060 (_STAT_VER_LINUX): Likewise.
28061 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28062 __syscall_ulong_t and __syscall_slong_t.
28063 (stat64): Likewise.
28064
cf3ff365
L
280652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28066
28067 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28068
76cf3e4d
L
280692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28070
28071 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28072
a637753a
L
280732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28074
28075 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28076 __syscall_ulong_t.
28077
d5e05119
L
28078 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28079 include <bits/wordsize.h>. Check __x86_64__ instead of
28080 __WORDSIZE.
28081 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28082 defined.
28083 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28084
f62ee380
L
28085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28086 include <bits/wordsize.h>. Check __x86_64__ instead of
28087 __WORDSIZE.
28088 (user_regs_struct): Use "__extension__ unsigned long long"
28089 instead of "unsigned long" if __x86_64__ is defined.
28090 (user): Likewise. Pad after pointer field if __ILP32__ is
28091 defined.
28092
4e124ced
JM
280932012-05-16 Joseph Myers <joseph@codesourcery.com>
28094
6a3951a0
JM
28095 * configure.in (makeinfo): Require version 4.5 or later. Allow
28096 versions 5 to 9.
28097 * configure: Regenerated.
28098 * manual/install.texi (texinfo): Increase version requirement to
28099 4.5 or later.
28100 * INSTALL: Regenerated.
28101
4e124ced
JM
28102 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28103
953ca31a
L
281042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28105
28106 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28107
617aca05
L
28108 * sysdeps/x86_64/x32/ffs.c: New file.
28109
5762f7ae
L
28110 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28111 __syscall_ulong_t.
28112 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28113 defined. Use __syscall_ulong_t.
28114 (shminfo): Use __syscall_ulong_t.
28115 (shm_info): Likewise.
28116
a26b6856
L
28117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28118 __syscall_ulong_t.
28119
cb2b9ef7
L
28120 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28121 <bits/wordsize.h>.
28122 (msgqnum_t): Use __syscall_ulong_t.
28123 (msglen_t): Likewise.
28124 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28125 __syscall_ulong_t.
28126
34683bb0
L
28127 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28128 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28129
84a68786
L
28130 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28131
48baa5f1
L
28132 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28133 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28134
180be88b
L
28135 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28136 __syscall_slong_t.
28137
5e90c8ad
L
28138 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28139 include <bits/wordsize.h>. Check __x86_64__ instead of
28140 __WORDSIZE.
28141
23dfb58b
L
28142 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28143 "unsigned long long int" if __x86_64__ is defined.
28144 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28145
ce5d54b0
L
28146 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28147 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28148 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28149
13dc9eac
L
28150 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28151 <stdint.h>.
28152 (GET_PC): Cast to uintptr_t first.
28153 (GET_FRAME): Likewise.
28154 (GET_STACK): Likewise.
28155
a7895d15
L
28156 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28157 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28158 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28159 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28160 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28161 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28162 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28163 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28164 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28165 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28166 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28167 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28168 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28170 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28171 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28172 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28173 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28174 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28175 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28176 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28177 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28178 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28179 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28180 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28181 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28182 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28183 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28184 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28185
656416c9
AS
281862012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28187
5bd66283
AS
28188 * Makerules (+depfiles): Also collect depfiles from .oS in
28189 $(extra-objs).
28190 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28191 .oS, $(libnldbl-routines)).
28192
656416c9
AS
28193 * Makerules (native-compile-mkdep-flags): Define.
28194 * sunrpc/Makefile (extra-objs): Add $(addprefix
28195 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28196 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28197 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28198 calling $(make-target-directory).
28199
a46f2169
L
282002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28201
28202 * bits/types.h (__snseconds_t): Removed.
28203 * time/time.h (struct timespec): Replace __snseconds_t with
28204 __syscall_slong_t.
28205 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28206 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28207 Likewise.
28208 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28209 (__SNSECONDS_T_TYPE): Likewise.
28210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28211 (__SNSECONDS_T_TYPE): Likewise.
28212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28213 (__SNSECONDS_T_TYPE): Likewise.
28214
6af6528b
L
282152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28216
28217 * sysdeps/mach/hurd/bits/typesizes.h
28218 (__SYSCALL_SLONG_TYPE): New macro.
28219 (__SYSCALL_ULONG_TYPE): Likewise.
28220
de986b56
L
282212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28222
28223 * bits/types.h (__syscall_slong_t): New type.
28224 (__syscall_ulong_t): Likewise.
28225
28226 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28227 (__SYSCALL_ULONG_TYPE): Likewise.
28228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28229 (__SYSCALL_SLONG_TYPE): Likewise.
28230 (__SYSCALL_ULONG_TYPE): Likewise.
28231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28232 (__SYSCALL_SLONG_TYPE): Likewise.
28233 (__SYSCALL_ULONG_TYPE): Likewise.
28234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28235 (__SYSCALL_SLONG_TYPE): Likewise.
28236 (__SYSCALL_ULONG_TYPE): Likewise.
28237
85736dc7
L
282382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28239
28240 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28241 Add sigaltstack-offsets.sym.
28242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28243 <sigaltstack-offsets.h>.
28244 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28245 longjmp_msg pointer.
28246 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28247 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28248 signal stack.
28249 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28250
cc03b296
JM
282512012-05-15 Joseph Myers <joseph@codesourcery.com>
28252
a9538892
JM
28253 * elf/stackguard-macros.h: Remove file.
28254 * sysdeps/generic/stackguard-macros.h: New file.
28255 * sysdeps/i386/stackguard-macros.h: Likewise.
28256 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28257 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28258 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28259 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28260 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28261 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28262 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28263 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28264 <elf/stackguard-macros.h>.
28265
cc03b296
JM
28266 [BZ #14109]
28267 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28268 __aligned__ in attribute.
28269 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28270 (gregset_t): Likewise.
28271
93171016
L
282722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28273
28274 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28275 * sysdeps/x86_64/64/Implies-after: Here. New file.
28276 * sysdeps/x86_64/x32/Implies-after: New file.
28277
d86813a0
L
282782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28281 and access return value for _dl_profile_fixup. Use R10_LP to
28282 load frame size.
28283
2953ec75
L
282842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28285
28286 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28287
3b550e9e
L
282882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28289
28290 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28291 * sysdeps/x86_64/x32/sysdep.h: New file.
28292
eda41706
L
282932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28294
28295 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28296 * sysdeps/x86_64/setjmp.S: Likewise.
28297
9ea01d93
AZ
282982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28299
28300 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28301 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28302 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28303 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28304 remove unused global constant.
28305
02a91938
CM
283062012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28307
28308 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28309 include of <not-cancel.h>.
28310
6540185f
RM
283112012-05-15 Roland McGrath <roland@hack.frob.com>
28312
28313 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28314
509072a0
AJ
283152012-05-15 Jeff Law <law@redhat.com>
28316 Andreas Jaeger <aj@suse.de>
28317
28318 [BZ #13594]
28319 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28320 out from...
28321 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28322 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28323 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28324 code changing __hst_map_handle.map.
28325
ba75122d
RM
283262012-05-15 Roland McGrath <roland@hack.frob.com>
28327
28328 * configure.in (sysnames): Look for Implies-before and Implies-after
28329 files.
28330 * configure: Regenerated.
28331
890d8bd8
L
283322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28333
28334 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28335 8-byte data alignment with LP_SIZE alignment.
28336
f6ee6623
L
283372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28338
28339 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28340 into R10_LP.
28341
ea2626f6
L
283422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28345
085f715e
L
283462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28347
28348 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28349 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28350 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28351 Likewise.
28352 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28353
be8498fc
L
283542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28355
28356 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28357 (stackinfo_sub_sp): Likewise.
28358
70bc83b9
L
283592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28360
28361 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28362 RAX_LP.
28363
9bc0b730
L
283642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28365
28366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28367 into R*_LP.
28368
6d2850e7
L
283692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28370
28371 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28372 sizes into R*_LP.
28373
3cb84561
L
283742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28375
28376 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28377
54e2ed81
L
283782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28379
28380 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28381 into R11_LP and load __x86_64_shared_cache_size_half into
28382 R8_LP.
28383
8a17f349
L
283842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28385
28386 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28387 R8_LP.
28388
777b1eea
AZ
283892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28390
28391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28392 logb for POWER7.
28393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28394 logbf for POWER7.
28395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28396 logbl for POWER7.
28397 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28398 powerpc32/power7/fpu/s_logb.c via #include.
28399 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28400 powerpc32/power7/fpu/s_logbf.c via #include.
28401 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28402 powerpc32/power7/fpu/s_logbl.c via #include.
28403
d20d4ac2
JM
284042012-05-15 Joseph Myers <joseph@codesourcery.com>
28405
28406 * README.libm: Remove file.
28407
6cdef1ab
L
284082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28411 count for x32. Use R*_LP and omit operand-size suffix.
28412
0b254d8f
L
284132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28416 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28417 * sysdeps/x86_64/x32/shlib-versions: New file.
28418
ceb809dc
RM
284192012-05-14 Roland McGrath <roland@hack.frob.com>
28420
28421 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28422 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28423 Use _dl_fatal_printf instead.
28424
37f1abd4
JM
284252012-05-14 Joseph Myers <joseph@codesourcery.com>
28426
28427 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28428 set if not set by the user. Do not allow for being unset.
28429 * sysdeps/unix/sysv/linux/configure: Regenerated.
28430
11de3a33
L
284312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28432
28433 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28434 the `q' suffix from lea and replace .quad with ASM_ADDR.
28435
e02f153a
L
284362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28437
28438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28439 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28440 instead of $17.
28441 (PTR_DEMANGLE): Likewise.
28442
520ae0fd
L
284432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28446 (LP_OP): Likewise.
28447 (ASM_ADDR): Likewise.
28448 (RAX_LP): Likewise.
28449 (RBP_LP): Likewise.
28450 (RBX_LP): Likewise.
28451 (RCX_LP): Likewise.
28452 (RDI_LP): Likewise.
28453 (RSI_LP): Likewise.
28454 (RSP_LP): Likewise.
28455 (R8_LP): Likewise.
28456 (R9_LP): Likewise.
28457 (R10_LP): Likewise.
28458 (R10_LP): Likewise.
28459 (R11_LP): Likewise.
28460 (R12_LP): Likewise.
28461 (R13_LP): Likewise.
28462 (R14_LP): Likewise.
28463 (R15_LP): Likewise.
28464
b985be81
L
284652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 * sysdeps/x86_64/x32/dl-machine.h: New file.
28468
6a4888ff
AJ
284692012-05-14 Andreas Jaeger <aj@suse.de>
28470
28471 * manual/Makefile (subdir): Remove export of subdir.
28472 (all): Remove target.
28473 (.PHONY): Remove all from list.
28474 (mkinstalldirs): Remove.
28475 (.PHONY): Remove installdirs from list.
28476 ($(inst_infodir)/libc.info): Use make-target-directory.
28477 (installdirs): Remove.
28478 (subdir_%): Remove.
28479 (glibc-targets): Remove.
28480 (lib): Remove.
28481 (stubs): Remove.
28482 ($(objpfx)stubs ../po/manual.pot): Remove.
28483 ($(objpfx)stamp%): Remove.
28484 (make-target-directory): Remove.
28485 (subdir_install): Remove.
28486 (routines): Remove.
28487 (aux): Remove.
28488 (sources): Remove.
28489 (objects): Remove.
28490 (headers): Remove.
28491
28492 [BZ #13750]
28493 * manual/.gitignore: Remove, it's not needed anymore.
28494 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28495 all files in it.
28496 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28497 directory.
28498 (texis): Renamed to $(objpfx)texis.
28499 (texis-path): New, contains path to generated files.
28500 (chapters.%): Use texis-path for complete path, add extra argument
28501 libc-texinfo.sh.
28502 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28503 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28504 (summary,texi, stamp-summary): Use complete path of
28505 files. Generate files in build dir.
28506 (dir-add.texi): Build in build dir.
28507 (libm-err.texi,stamp-libm-err): Likewise.
28508 (version.texi, stamp-version): Likewise.
28509 (.%c.texi): Likewise.
28510 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28511 (mostlyclean): Remove target.
28512 (realclean): Remove target.
28513 (generated): Add new variable with contents from mostlyclean and
28514 realclean, remove entries duplicated in common-mostlyclean, add
28515 stamp-libm-err and stamp-version.
28516 (generated-dirs): Add libc directory.
28517 ($(inst_infodir)/libc.info): Install files from build dir.
28518
28519 * manual/install.texi (Configuring and compiling): Adjust since
28520 the info files are not part of the tar ball anymore.
28521
7ac77294
AJ
285222012-05-14 Andreas Jaeger <aj@suse.de>
28523
28524 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28525 variable.
28526
ffb7875d
JM
285272012-05-14 Joseph Myers <joseph@codesourcery.com>
28528
28529 [BZ #13717]
28530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28531 to 2.2.0 where earlier.
28532 * sysdeps/unix/sysv/linux/configure: Regenerated.
28533 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28534 Remove conditional code.
28535 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28536 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28537 Remove conditional code.
28538 [!__NR_lchown]: Likewise.
28539 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28540 [__NR_lchown]: Likewise.
28541 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28542 comment referencing __ASSUME_LCHOWN_SYSCALL.
28543 * sysdeps/unix/sysv/linux/i386/sigaction.c
28544 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28545 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28546 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28547 Remove conditional code.
28548 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28549 (__protocol_available): Remove #if 0 code.
28550 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28551 conditional code.
28552 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28553 * sysdeps/unix/sysv/linux/kernel-features.h
28554 (__ASSUME_GETCWD_SYSCALL): Don't define.
28555 (__ASSUME_REALTIME_SIGNALS): Likewise.
28556 (__ASSUME_PREAD_SYSCALL): Likewise.
28557 (__ASSUME_PWRITE_SYSCALL): Likewise.
28558 (__ASSUME_POLL_SYSCALL): Likewise.
28559 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28560 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28561 non-SPARC.
28562 (__ASSUME_SIOCGIFNAME): Don't define.
28563 (__ASSUME_MSG_NOSIGNAL): Likewise.
28564 (__ASSUME_SENDFILE): Define unconditionally.
28565 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28566 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28567 conditional code.
28568 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28569 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28570 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28571 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28572 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28573 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28574 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28579 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28588 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28591 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28594 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28597 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28599 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28600 Remove conditional code.
28601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28602 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28603 Remove conditional code.
28604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28605 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28606 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28607 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28608 Remove conditional code.
28609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28610 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28611 Remove conditional code.
28612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28613 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28614 Remove conditional code.
28615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28616 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28617 Remove conditional code.
28618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28619 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28620 Remove conditional code.
28621 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28622 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28623 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28624 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28625 * sysdeps/unix/sysv/linux/sigaction.c
28626 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28627 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28628 * sysdeps/unix/sysv/linux/sigpending.c
28629 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28630 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28631 * sysdeps/unix/sysv/linux/sigprocmask.c
28632 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28633 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28634 * sysdeps/unix/sysv/linux/sigsuspend.c
28635 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28636 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28637 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28638 (__libc_missing_rt_sigs): Remove.
28639 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28640 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28641 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28642 Remove conditional code.
28643 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28644 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28645 return 1.
28646 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28647 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28648 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28649 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28650
1bfb7291
AJ
286512012-05-14 Andreas Jaeger <aj@suse.de>
28652
caae5a81
AJ
28653 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28654 it's not used in glibc.
28655 (__coshm1): Likewise.
28656 (__acosh1p): Likewise.
28657 (__sgn): Likewise.
28658
1bfb7291
AJ
28659 * manual/string.texi (Copying and Concatenation): Add missing
28660 variable in concat example.
28661 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28662
c044d724
L
286632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28664
144c5467 28665 [BZ #14103]
c044d724
L
28666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28667 __builtin_clzl with __builtin_clzll.
28668
2523c62b
L
286692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28670
28671 [BZ #14104]
28672 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28673 libc_freeres_ptr.
28674
d7bb4c42
LD
286752012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28676
28677 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28678 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28679 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28680 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28681
9dc4e1fb
MF
286822012-05-14 Mike Frysinger <vapier@gentoo.org>
28683
28684 * NEWS: Update ia64 info.
28685
c7df0112
AS
286862012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28687
28688 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28689 used as bcopy.
28690
dc70356c
TS
286912012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28692
28693 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28694 * sysdeps/unix/syscalls.list (dup3): Likewise.
28695 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28696 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28697
9fb1a21f
L
286982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28699
28700 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28701 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28702
4822a2a5
L
287032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28704
28705 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28706 thread pointer.
28707 (TLS_IE): Use mov/add instead of movq/addq to load thread
28708 pointer.
28709 (TLS_GD_PREFIX): New.
28710 (TLS_GD): Use it.
28711
842b81d6
DM
287122012-05-11 David S. Miller <davem@davemloft.net>
28713
28714 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28715 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28716 (_FPU_SETCW): Likewise.
28717
1cf463cd
L
287182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28719
28720 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28721 is 32-byte aligned.
28722
60cc4a18
AS
287232012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28724
28725 [BZ #11837]
28726 * iconvdata/gb18030.c: Update tables.
28727 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28728 characters specially.
28729 (BODY for TO_LOOP): Add encoding of missing ranges.
28730
febb44a4
TS
287312012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28732
28733 [BZ #13673]
28734 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28735 * sysdeps/mach/hurd/dup3.c: Likewise.
28736 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28737 * sysdeps/powerpc/memmove.c:: Likewise.
28738
0a10fb9e
L
287392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28740
28741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28742 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28743
df8a552f
L
287442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28745
28746 * elf/elf.h (R_X86_64_RELATIVE64): New.
28747 (R_X86_64_NUM): Updated.
28748 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28749 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28750 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28751 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28752 tst-quad1pie tst-quad2pie
28753 (modules-names): Add tst-quadmod1 tst-quadmod2.
28754 ($(objpfx)tst-quad1): New dependency.
28755 ($(objpfx)tst-quad2): Likewise.
28756 ($(objpfx)tst-quad1pie): Likewise.
28757 ($(objpfx)tst-quad2pie): Likewise.
28758 * sysdeps/x86_64/tst-quad1.c: New file.
28759 * sysdeps/x86_64/tst-quad1pie.c: New file.
28760 * sysdeps/x86_64/tst-quad2.c: Likewise.
28761 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28762 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28763 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28764 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28765 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28766
f34d6f84
ST
287672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28768
f42d41d1
ST
28769 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28770 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28771 * streams/stropts.h (t_scalar_t): Define type.
28772
3c3571fc
ST
28773 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28774 (_PATH_PRESERVE): Set to "/var/lib".
28775 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28776
61f06bd3
ST
28777 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28778 instead of int.
28779
918d4d71
ST
28780 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28781 if __dir_mkfile succeeded.
28782
f34d6f84
ST
28783 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28784 checking for _hurd_dtablesize. Unlock it right after having
28785 finished _hurd_dtable allocation.
28786
10589b4a
TS
287872012-05-10 Thomas Schwinge <thomas@schwinge.name>
28788
674cdbc7
TS
28789 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28790 * sysdeps/mach/hurd/configure: Regenerated.
28791 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28792 special-casing to...
28793 * sysdeps/gnu/configure.in: ... this new file.
28794 * sysdeps/unix/sysv/linux/configure: Regenerated.
28795 * sysdeps/gnu/configure: New generated file.
28796
8e41b99f
TS
28797 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28798 for Linux: use nsec instead of usec, as well as:
28799 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28800 members of type struct timespec.
28801 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28802 New macros.
28803 (struct stat64): Likewise.
28804 (_STATBUF_ST_NSEC): New macro.
28805 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28806
10589b4a
TS
28807 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28808 __strtoul_internal rather than strtoul.
28809
63643c85
PT
288102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28811
28812 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28813 and reject them.
28814
3faebe6a
ST
288152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28816
28817 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28818 which preserves existing values.
28819 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28820
c6474b07
PT
288212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28822
28823 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28824 TIMEOUT values. Return EINVAL for NFDS values either negative or
28825 greater than FD_SETSIZE.
28826
1043890b
ST
288272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28828
28829 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28830 allocated, call __vm_protect to finish enabling the existing space, and
28831 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28832 allocate the remainder.
28833
37ed8b9b
PT
288342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28835
28836 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28837 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28838
db653660
ST
288392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28840
37ed8b9b
PT
28841 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28842 sysdeps/mach/hurd/readlink.c.
b29d4053 28843
db653660
ST
28844 * posix/tst-sysconf.c (posix_options): Only use
28845 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28846 _POSIX_SYNCHRONIZED_IO when they are defined
28847 * sysdeps/mach/hurd/bits/posix_opt.h:
28848 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28849 (_XOPEN_REALTIME): Undefine macro.
28850 (_XOPEN_REALTIME_THREADS): Undefine macro.
28851 (_XOPEN_SHM): Undefine macro.
28852 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28853 macro to -1.
28854 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28855 macro to -1.
28856 (_POSIX_ASYNC_IO): Undefine macro.
28857 (_POSIX_PRIORITIZED_IO): Undefine macro.
28858 (_POSIX_SPIN_LOCKS): Define macro to -1.
28859
ee16e894
ST
28860 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28861 SA_NODEFER, SA_RESETHAND.
28862 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28863 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28864 F_DUPFD_CLOEXEC.
28865
6103ae3b
TS
288662012-05-10 Thomas Schwinge <thomas@schwinge.name>
28867
28868 * elf/Makefile (pldd-modules): Define unconditionally.
28869
80b4e5f3
TS
288702012-05-10 Thomas Schwinge <thomas@schwinge.name>
28871
28872 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28873
edadcbd6
ST
288742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28875
28876 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28877 Return ENOENT when name is empty.
28878 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28879
80694780
TS
288802012-05-10 Thomas Schwinge <thomas@schwinge.name>
28881
1792c087
TS
28882 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28883
80694780
TS
28884 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28885
6b645f0d
ST
288862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28887
80694780
TS
28888 Fix mlock in all cases except non-readable pages.
28889 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28890 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28891
6b645f0d
ST
28892 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28893 (__mkdir): When path is `/', just fail with EEXIST.
28894 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28895
e468f8a3
TS
288962012-05-10 Thomas Schwinge <thomas@schwinge.name>
28897
28898 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28899 <sys/uio.h> (for writev).
28900 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28901 and <sys/param.h> (for MIN).
28902
a4186cff
PT
289032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28904
28905 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28906 REQUESTED_TIME. Properly set the remaining time and return EINTR
28907 if interrupted.
28908
510bbf14
TS
289092012-05-10 Thomas Schwinge <thomas@schwinge.name>
28910
28911 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28912 Depend on against $(link-rpcuserlibs).
28913
5d5722e8
ST
289142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28915
a4186cff
PT
28916 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28917 (__libc_stack_end): Do not use attribute_relro.
28918 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28919 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28920 to libthread-provided value.
a4186cff
PT
28921 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28922 attribute_relro.
5d5722e8 28923
37233df9
TS
289242012-05-10 Thomas Schwinge <thomas@schwinge.name>
28925
be971a2b
TS
28926 [BZ #3748]
28927 * bits/libc-lock.h (__libc_once_get): New macro.
28928 * sysdeps/mach/bits/libc-lock.h: Likewise.
28929 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28930 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28931 instead of using implementation details.
28932
37233df9
TS
28933 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28934 * libio/freopen.c: Likewise.
28935 * libio/freopen64.c: Likewise.
28936 * misc/syslog.c: Likewise.
28937 * nscd/connections.c: Likewise.
28938 * nscd/netgroupcache.c: Likewise.
28939 * sysdeps/posix/getcwd.c: Likewise.
28940
38de94a5
RM
289412012-05-10 Roland McGrath <roland@hack.frob.com>
28942
28943 * math/w_ilogbf.c: Add #include <limits.h>.
28944
67530489
ST
289452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28946
a4186cff 28947 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28948 path instead of returning without unlocking.
28949
67530489
ST
28950 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28951 immediate-write ioctls.
28952 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28953
5aa3a74a
TS
289542012-05-10 Thomas Schwinge <thomas@schwinge.name>
28955
18bad2ae
TS
28956 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28957 __builtin_frame_address instead of making assumptions about the
28958 location of the return address relative to DATA. Force early load of
28959 the return address.
28960 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28961 __builtin_frame_address.
28962
5aa3a74a
TS
28963 dup3 for GNU Hurd.
28964 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28965 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28966 implement dup3 and do some further code clean-ups.
28967 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28968 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28969
ecd0de9a
ST
289702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28971
cd9fa985
ST
28972 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28973
a4186cff
PT
28974 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28975 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28976 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28977 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28978 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28979 d->port.lock.
802ca5a5 28980
a4186cff
PT
28981 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28982 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28983 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28984
bcf55240
TS
289852012-05-10 Thomas Schwinge <thomas@schwinge.name>
28986
6960eb42
TS
28987 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28988 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28989 definitions.
28990
eb43375f
TS
28991 accept4 for GNU Hurd.
28992 * include/sys/socket.h (__libc_accept4): New prototype.
28993 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28994 to implement __libc_accept4.
28995 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28996 __libc_accept4.
28997 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28998
bcf55240
TS
28999 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29000 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29001 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29002 signal-defines.sym.
29003
6178c55b
ST
290042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29005
a4186cff 29006 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29007
6f080c2f
TS
290082012-05-10 Thomas Schwinge <thomas@schwinge.name>
29009
29010 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29011 assertion on O_CLOEXEC flag.
29012 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29013 * hurd/intern-fd.c: Likewise.
29014 * hurd/port2fd.c: Likewise.
29015
bcfe3a54
ST
290162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29017
29018 [BZ #3906]
29019 * bits/in.h (IPV6_PKTINFO): Define new macro.
29020 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29021
89c9aa49
AZ
290222012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29023
29024 [BZ #13954]
29025 [BZ #13955]
29026 [BZ #13956]
29027 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29028 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29029 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29030 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29031 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29032 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29033 * math/libm-test.inc (logb_test) : Additional logb tests.
29034
021db4be
AJ
290352012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29036 Andreas Jaeger <aj@suse.de>
29037
29038 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29039 * configure: Regenerated.
29040 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29041 * config.make.in (link-obsolete-rpc): New substituted variable.
29042 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29043 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29044 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29045 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29046 so that libc.a contains the symbols.
29047 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29048 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29049 * sunrpc/auth_none.c: Likewise.
29050 * sunrpc/auth_unix.c: Likewise.
29051 * sunrpc/authdes_prot.c: Likewise.
29052 * sunrpc/authuxprot.c: Likewise.
29053 * sunrpc/clnt_gen.c: Likewise.
29054 * sunrpc/clnt_perr.c: Likewise.
29055 * sunrpc/clnt_raw.c: Likewise.
29056 * sunrpc/clnt_simp.c: Likewise.
29057 * sunrpc/clnt_tcp.c: Likewise.
29058 * sunrpc/clnt_udp.c: Likewise.
29059 * sunrpc/clnt_unix.c: Likewise.
29060 * sunrpc/des_crypt.c: Likewise.
29061 * sunrpc/des_soft.c: Likewise.
29062 * sunrpc/get_myaddr.c: Likewise.
29063 * sunrpc/key_call.c: Likewise.
29064 * sunrpc/key_prot.c: Likewise.
29065 * sunrpc/netname.c: Likewise.
29066 * sunrpc/pm_getmaps.c: Likewise.
29067 * sunrpc/pm_getport.c: Likewise.
29068 * sunrpc/pmap_clnt.c: Likewise.
29069 * sunrpc/pmap_prot.c: Likewise.
29070 * sunrpc/pmap_prot2.c: Likewise.
29071 * sunrpc/pmap_rmt.c: Likewise.
29072 * sunrpc/publickey.c: Likewise.
29073 * sunrpc/rpc_cmsg.c: Likewise.
29074 * sunrpc/rpc_common.c: Likewise.
29075 * sunrpc/rpc_dtable.c: Likewise.
29076 * sunrpc/rpc_prot.c: Likewise.
29077 * sunrpc/rpc_thread.c: Likewise.
29078 * sunrpc/rtime.c: Likewise.
29079 * sunrpc/svc.c: Likewise.
29080 * sunrpc/svc_auth.c: Likewise.
29081 * sunrpc/svc_raw.c: Likewise.
29082 * sunrpc/svc_run.c: Likewise.
29083 * sunrpc/svc_tcp.c: Likewise.
29084 * sunrpc/svc_udp.c: Likewise.
29085 * sunrpc/svc_unix.c: Likewise.
29086 * sunrpc/svcauth_des.c: Likewise.
29087 * sunrpc/xcrypt.c: Likewise.
29088 * sunrpc/xdr.c: Likewise.
29089 * sunrpc/xdr_array.c: Likewise.
29090 * sunrpc/xdr_float.c: Likewise.
29091 * sunrpc/xdr_intXX_t.c: Likewise.
29092 * sunrpc/xdr_mem.c: Likewise.
29093 * sunrpc/xdr_rec.c: Likewise.
29094 * sunrpc/xdr_ref.c: Likewise.
29095 * sunrpc/xdr_sizeof.c: Likewise.
29096 * sunrpc/xdr_stdio.c: Likewise.
29097
b5c086a2
RM
290982012-05-10 Roland McGrath <roland@hack.frob.com>
29099
29100 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29101 change. Update copyright years.
29102
6d74dd09
JM
291032012-05-10 Joseph Myers <joseph@codesourcery.com>
29104
29105 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29106
28e72501
MK
291072012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29108 Joseph Myers <joseph@codesourcery.com>
29109 Paul Pluzhnikov <ppluzhnikov@google.com>
29110
29111 [BZ #14012]
29112 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29113 requiring rpcgen.
29114 [cross-compiling] (extra-libs): Likewise.
29115 [cross-compiling] (extra-libs-others): Likewise.
29116 [cross-compiling] (librpcsvc-routines): Likewise.
29117 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29118 [cross-compiling] (omit-deps): Likewise.
29119 (sunrpc-CPPFLAGS): New variable.
29120 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29121 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29122 (cross-rpcgen-objs): New variable.
29123 (extra-objs): Append $(cross-rpcgen-objs).
29124 ($(cross-rpcgen-objs)): New rule.
29125 ($(objpfx)cross-rpcgen): Likewise.
29126 (rpcgen-cmd): Define to use $(built-program-file). Expand
29127 comment.
29128 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29129 ($(objpfx)x%.stmp): Likewise.
29130 * sunrpc/proto.h [IS_IN_build] (_): Define.
29131 [IS_IN_build] (_libc_intl_domainname): Likewise.
29132
c8c59454
L
291332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29134
29135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29136 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29137 and R_X86_64_TPOFF64.
29138
6f27cd16
JM
291392012-05-10 Joseph Myers <joseph@codesourcery.com>
29140
29141 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29142 sysdeps/unix/sysv/syscalls.list.
29143 (stime): Likewise.
29144 (utime): Likewise.
29145 * sysdeps/unix/sysv/syscalls.list: Remove file.
29146
02467e1c
PE
291472012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29148
29149 [BZ #3440]
29150 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29151 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29152 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29153 (__LC_IDENTIFICATION): Make these macros useful in #if
29154 expressions, as required by C99.
29155
da392631
AS
291562012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29157
29158 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29159 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29160 after this.
29161
8115f29b
L
291622012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29163
29164 * stdlib/longlong.h: Updated from GCC.
29165
bdd74070
AJ
291662012-05-09 Andreas Jaeger <aj@suse.de>
29167
edfe0dbe
AJ
29168 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29169 default is first entry.
29170 (run_mode): Set type.
29171 (main): Remove informal message about syslog.
29172 (options): Fix typo.
29173
bcfe3a54
ST
29174 [BZ #14053]
29175 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29176 to asm.
bcfe3a54
ST
29177 (lrint): Likewise.
29178 (llrintf): Likewise.
29179 (llrint): Likewise.
29180 (rint): Likewise.
29181 (rintf): Likewise.
29182 (nearbyint): Likewise.
29183 (nearbyintf): Likewise.
bdd74070 29184
91d8d69e
AJ
291852012-05-09 Andreas Jaeger <aj@suse.de>
29186 Pedro Alves <palves@redhat.com>
29187
29188 * nscd/nscd.c (run_mode): Use enum.
29189 (main): Cleanup coding style issue.
29190
bb90b80b
AJ
291912012-05-09 Alexandre Oliva <aoliva@redhat.com>
29192 Andreas Jaeger <aj@suse.de>
29193
bcfe3a54
ST
29194 * nscd/nscd.c (go_background): Replaced with...
29195 (run_mode): ... this.
bb90b80b 29196 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29197 (options): Add -F --foreground.
29198 (main): Implement it.
29199 (parse_opt): Parse it.
bb90b80b 29200
1a4b75a1
AJ
292012012-05-09 Andreas Jaeger <aj@suse.de>
29202
29203 [BZ #14083]
29204 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29205 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29206 -Wconversion warning.
29207 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29208 Likewise.
29209
b1cc2472
JM
292102012-05-09 Joseph Myers <joseph@codesourcery.com>
29211
29212 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29213 == 0.
29214 (LC_ALL): Use macro-int-constant.
29215 (LC_COLLATE): Likewise.
29216 (LC_CTYPE): Likewise.
29217 (LC_MESSAGES): Likewise.
29218 (LC_MONETARY): Likewise.
29219 (LC_NUMERIC): Likewise.
29220 (LC_TIME): Likewise.
29221 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29222 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29224 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29225 Specify type.
29226 [C99-based standards] (float_t): Expect type.
29227 [C99-based standards] (double_t): Expect type.
29228 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29229 type.
29230 [C99-based standards] (HUGE_VALL): Likewise.
29231 [C99-based standards] (INFINITY): Likewise.
29232 [C99-based standards] (NAN): Likewise.
29233 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29234 [C99-based standards] (FP_NAN): Likewise.
29235 [C99-based standards] (FP_NORMAL): Likewise.
29236 [C99-based standards] (FP_SUBNORMAL): Likewise.
29237 [C99-based standards] (FP_ZERO): Likewise.
29238 [C99-based standards] (FP_FAST_FMA): Use
29239 optional-macro-int-constant. Specify type. Require == 1.
29240 [C99-based standards] (FP_FAST_FMAF): Likewise.
29241 [C99-based standards] (FP_FAST_FMAL): Likewise.
29242 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29243 [C99-based standards] (FP_ILOGBNAN): Likewise.
29244 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29245 Specify type.
29246 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29247 [C99-based standards] (math_errhandling): Specify type.
29248 [ISO99 || ISO11] (signgam): Do not allow.
29249 [non-C99-based standards] (copysignf): Do not allow.
29250 [non-C99-based standards] (exp2f): Likewise.
29251 [non-C99-based standards] (log2f): Likewise.
29252 [non-C99-based standards] (modff): Allow.
29253 [non-C99-based standards] (erff): Do not allow.
29254 [non-C99-based standards] (erfcf): Likewise.
29255 [non-C99-based standards] (gammaf): Likewise.
29256 [non-C99-based standards] (hypotf): Likewise.
29257 [non-C99-based standards] (j0f): Likewise.
29258 [non-C99-based standards] (j1f): Likewise.
29259 [non-C99-based standards] (jnf): Likewise.
29260 [non-C99-based standards] (lgammaf): Likewise.
29261 [non-C99-based standards] (tgammaf): Likewise.
29262 [non-C99-based standards] (y0f): Likewise.
29263 [non-C99-based standards] (y1f): Likewise.
29264 [non-C99-based standards] (ynf): Likewise.
29265 [non-C99-based standards] (isnanf): Likewise.
29266 [non-C99-based standards] (acoshf): Likewise.
29267 [non-C99-based standards] (asinhf): Likewise.
29268 [non-C99-based standards] (atanhf): Likewise.
29269 [non-C99-based standards] (cbrtf): Likewise.
29270 [non-C99-based standards] (expm1f): Likewise.
29271 [non-C99-based standards] (ilogbf): Likewise.
29272 [non-C99-based standards] (log1pf): Likewise.
29273 [non-C99-based standards] (logbf): Likewise.
29274 [non-C99-based standards] (nextafterf): Likewise.
29275 [non-C99-based standards] (remainderf): Likewise.
29276 [non-C99-based standards] (rintf): Likewise.
29277 [non-C99-based standards] (scalbf): Likewise.
29278 [non-C99-based standards] (copysignl): Likewise.
29279 [non-C99-based standards] (exp2l): Likewise.
29280 [non-C99-based standards] (log2l): Likewise.
29281 [non-C99-based standards] (modfl): Allow.
29282 [non-C99-based standards] (erfl): Do not allow.
29283 [non-C99-based standards] (erfcl): Likewise.
29284 [non-C99-based standards] (gammal): Likewise.
29285 [non-C99-based standards] (hypotl): Likewise.
29286 [non-C99-based standards] (j0l): Likewise.
29287 [non-C99-based standards] (j1l): Likewise.
29288 [non-C99-based standards] (jnl): Likewise.
29289 [non-C99-based standards] (lgammal): Likewise.
29290 [non-C99-based standards] (tgammal): Likewise.
29291 [non-C99-based standards] (y0l): Likewise.
29292 [non-C99-based standards] (y1l): Likewise.
29293 [non-C99-based standards] (ynl): Likewise.
29294 [non-C99-based standards] (isnanl): Likewise.
29295 [non-C99-based standards] (acoshl): Likewise.
29296 [non-C99-based standards] (asinhl): Likewise.
29297 [non-C99-based standards] (atanhl): Likewise.
29298 [non-C99-based standards] (cbrtl): Likewise.
29299 [non-C99-based standards] (expm1l): Likewise.
29300 [non-C99-based standards] (ilogbl): Likewise.
29301 [non-C99-based standards] (log1pl): Likewise.
29302 [non-C99-based standards] (logbl): Likewise.
29303 [non-C99-based standards] (nextafterl): Likewise.
29304 [non-C99-based standards] (remainderl): Likewise.
29305 [non-C99-based standards] (rintl): Likewise.
29306 [non-C99-based standards] (scalbl): Likewise.
29307 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29308 [non-C99-based standards] (FP_*): Do not allow.
29309 [C99-based standards] (FP_*): Change to
29310 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29311 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29312 allow.
29313 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29314 (SIG_ERR): Likewise.
29315 [X/Open-based standards] (SIG_HOLD): Likewise.
29316 (SIG_IGN): Likewise.
29317 (SIGABRT): Use macro-int-constant. Specify type. Require
29318 positive value.
29319 (SIGFPE): Likewise.
29320 (SIGILL): Likewise.
29321 (SIGINT): Likewise.
29322 (SIGSEGV): Likewise.
29323 (SIGTER): Likewise.
29324 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29325 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29326 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29327 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29328 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29329 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29330 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29331 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29332 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29333 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29334 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29335 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29336 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29337 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29338 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29339 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29340 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29341 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29342 [X/Open-based standards] (SIGTRAP): Likewise.
29343 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29344 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29345 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29346 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29347 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29348 allow.
29349
b9f1922d
IW
293502012-05-08 Ian Wienand <ianw@vmware.com>
29351
29352 [BZ #14080]
29353 * time/tzset.c (__tzset_parse_tz): Update default rules for
29354 daylight time changes in the Energy Policy Act of 2005.
29355
1db86e88
AJ
293562012-05-09 Andreas Jaeger <aj@suse.de>
29357
29358 [BZ #13983]
29359 * elf/ldconfig.c (parse_conf): Change string to make clear that
29360 ldconfig only issued a warning if ld.so.conf does not exist.
29361
dee4a4e3
DM
293622012-05-08 David S. Miller <davem@davemloft.net>
29363
ee0db190
DM
29364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29365 movxtod instead of popping the value on the stack.
29366
dee4a4e3
DM
29367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29368
6a43ec98
CD
293692012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29370
29371 * config.h.in: Add HAVE_ARM_PCS_VFP.
29372
05c2c961
RMG
293732012-05-08 Roland Mc Grath <roland@hack.frob.com>
29374
bcfe3a54
ST
29375 [BZ #13979]
29376 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29377 checking but the checks are disabled for any reason.
05c2c961 29378
4b30f61a
L
293792012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29380
29381 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29382 and ELF64_R_TYPE with ELFW(R_TYPE).
29383
eee2bc67
JM
293842012-05-08 Joseph Myers <joseph@codesourcery.com>
29385
7ea5391a
JM
29386 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29387 (ulimit): Likewise.
29388
eee2bc67
JM
29389 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29390 (settimeofday): Likewise.
29391
abb66a67
MF
293922012-05-08 Mike Frysinger <vapier@gentoo.org>
29393
29394 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29395 a struct th_u2 inside the union, and move tu_block/tu_code into
29396 a new th_u3 union of tu_block/tu_code inside of that. Move
29397 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29398 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29399 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29400 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29401 (th_stuff): Change to th_u1.tu_stuff.
29402 (th_data): Define.
29403 (th_msg): Change to th_u1.th_u2.tu_data.
29404
7f18b530
DM
294052012-05-07 David S. Miller <davem@davemloft.net>
29406
05760585
DM
29407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29408
7f18b530
DM
29409 [BZ #14074]
29410 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29411 (SETUP_PIC_REG): Use it.
29412 (SETUP_PIC_REG_LEAF): Use it.
29413
495fd99f
JM
294142012-05-07 Joseph Myers <joseph@codesourcery.com>
29415
29416 [BZ #13885]
29417 [BZ #13923]
29418 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29419 USE_AS_EXPM1L.
29420 (EXPL_FINITE): Likewise.
29421 (FLDLOG): Likewise.
29422 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29423 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29424 e_expl.S.
29425 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29426 USE_AS_EXPM1L.
29427 (EXPL_FINITE): Likewise.
29428 (FLDLOG): Likewise.
29429 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29430 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29431 e_expl.S.
29432 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29433 test of -max_value argument for long double.
29434 * sysdeps/i386/fpu/libm-test-ulps: Update.
29435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29436
6693d694
DM
294372012-05-06 David S. Miller <davem@davemloft.net>
29438
29439 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29440 quad soft-float symbols whose references which are compiler
29441 generated.
29442 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29443
6c23e11c
JM
294442012-05-06 Joseph Myers <joseph@codesourcery.com>
29445
d8b82cad
JM
29446 [BZ #13884]
29447 [BZ #13914]
29448 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29449 USE_AS_EXP10L.
29450 (EXPL_FINITE): Likewise.
29451 (FLDLOG): Likewise.
29452 (c0): Likewise.
29453 (c1): Likewise.
29454 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29455 Adjust comments for base varying.
29456 (__expl_finite): Change alias to EXPL_FINITE.
29457 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29458 e_expl.S.
29459 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29460 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29461 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29462 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29463 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29464 USE_AS_EXP10L.
29465 (EXPL_FINITE): Likewise.
29466 (FLDLOG): Likewise.
29467 (c0): Likewise.
29468 (c1): Likewise.
29469 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29470 Adjust comments for base varying.
29471 (__expl_finite): Change alias to EXPL_FINITE.
29472 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29473 tests for bugs.
29474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29475
6c23e11c
JM
29476 [BZ #14064]
29477 * math/libm-test.inc (check_float_internal): Correct ulp
29478 calculation for subnormal expected results.
29479
29ba805c
AJ
294802012-05-06 Andreas Jaeger <aj@suse.de>
29481
29482 * Makeconfig (+math-flags): New, set to -frounding-math.
29483 (+cflags): Add +math-flags so that all of glibc gets compiled with
29484 it.
29485
29486 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29487
7b17aeda
JM
294882012-05-05 Joseph Myers <joseph@codesourcery.com>
29489
5779f134
JM
29490 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29491 Disable one test.
29492
41498f4d
JM
29493 [BZ #13787]
29494 [BZ #13922]
29495 [BZ #14036]
29496 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29497 (__ieee754_expl): Allow for and saturate large arguments.
29498 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29499 (u_threshold): Likewise.
29500 (__exp): Call __ieee754_exp before checking for overflow and
29501 underflow.
29502 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29503 (u_threshold): Likewise.
29504 (__expf): Call __ieee754_expf before checking for overflow and
29505 underflow.
29506 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29507 (u_threshold): Likewise.
29508 (__expl): Call __ieee754_expl before checking for overflow and
29509 underflow.
29510 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29511 (__ieee754_expl): Allow for and saturate large arguments.
29512 * math/libm-test.inc (exp_test): Add another test. Do not allow
29513 missing overflow exception on overflow.
29514 (expm1_test): Do not allow missing overflow exception on overflow.
29515
6698b8bf
JM
29516 * sysdeps/i386/fpu/e_expl.c: Move to ...
29517 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29518 rather than using inline asm.
29519 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29520 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29521 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29522
7b17aeda
JM
29523 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29524 (nice): Likewise.
29525 (poll): Likewise.
29526 (signal): Likewise.
29527 (time): Likewise.
29528 (times): Likewise.
29529
f7c85819
JM
295302012-05-04 Joseph Myers <joseph@codesourcery.com>
29531
29532 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29533 sysdeps/unix/common/syscalls.list.
29534 (fchmod): Likewise.
29535 (fchown): Likewise.
29536 (ftruncate): Likewise.
29537 (getrusage): Likewise.
29538 (gettimeofday): Likewise.
29539 (setpgid): Likewise.
29540 (setregid): Likewise.
29541 (setreuid): Likewise.
29542 (sigaction): Likewise.
29543 (truncate): Likewise.
29544 (vhangup): Likewise.
29545 * sysdeps/unix/common/syscalls.list: Remove file.
29546 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29547 * sysdeps/unix/sysv/linux/Implies: Likewise.
29548
336270d0
L
295492012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29550
29551 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29553 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29554 Moved to ...
29555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29556 Here.
29557 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29558 to ...
29559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29560 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29561 to ...
29562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29563 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29564 to ...
29565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29566 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29567 to ...
29568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29569 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29570 to ...
29571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29572 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29573 to ...
29574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29575 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29576 to ...
29577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29578 Here.
29579 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29580 to ...
29581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29582 Here.
29583 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29584 to ...
29585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29586 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29587 Moved to ...
29588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29589 Here.
29590 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29591 to ...
29592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29593
d128e450
JM
295942012-05-04 Joseph Myers <joseph@codesourcery.com>
29595
fa8ee516
JM
29596 * sysdeps/unix/common/bits/dirent.h: Remove file.
29597 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29598
d128e450
JM
29599 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29600 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29601 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29602 * sysdeps/unix/bsd/isatty.c: Likewise.
29603 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29604 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29605 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29606
ff8faaf0 296072012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29608
62881be4 29609 [BZ #13563]
31dc8730
AZ
29610 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29611 long double comparison inaccuracies.
29612 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29614
6fef930c
AS
296152012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29616
29617 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29618 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29619
8f203e6c
JM
296202012-05-04 Joseph Myers <joseph@codesourcery.com>
29621
29622 [BZ #14049]
29623 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29624 nonzero digits before rounding a hex value.
29625 * stdlib/tst-strtod.c (tests): Add another test.
29626
5197d9c2
AK
296272012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29628
29629 * sysdeps/s390/fpu/libm-test-ulps: Update.
29630
f0c1dedf
AJ
296312012-05-03 Andreas Jaeger <aj@suse.de>
29632
29633 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29634 does not get optimized out.
29635 (malloc_opt_barrier): New.
29636
a65ef2ae 296372012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29638 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29639
2b942cb7 29640 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29641 intermediate file deletion.
2b942cb7 29642 (generated): Add .symlist files.
a65ef2ae 29643
54b71e02
JM
296442012-05-03 Joseph Myers <joseph@codesourcery.com>
29645
29646 [BZ #13775]
29647 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29648 Redirect under this condition.
29649 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29650 [__USE_GNU] (__dprintf_chk): Not under this condition.
29651 [__USE_GNU] (__vdprintf_chk): Likewise.
29652 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29653 under this condition.
29654 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29655 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29656 [__USE_XOPEN2K8] (vdprintf): Likewise.
29657 [__USE_GNU] (__dprintf_chk): Not under this condition.
29658 [__USE_GNU] (__vdprintf_chk): Likewise.
29659 [__USE_GNU] (dprintf): Likewise.
29660 [__USE_GNU] (vdprintf): Likewise.
29661
d3dfcc41
RM
296622012-05-03 Roland McGrath <roland@hack.frob.com>
29663
29664 * elf/Makefile (common-generated): Set this instead of generated for
29665 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29666 $(all-built-dso)-derived lists.
29667
7ac30cc5
AJ
296682012-05-03 Andreas Jaeger <aj@suse.de>
29669
0c51e550
AJ
29670 * sysdeps/i386/fpu/libm-test-ulps: Update.
29671
7ac30cc5
AJ
29672 * FAQ: Removed.
29673 * FAQ.in: Likewise.
29674 * scripts/gen-FAQ.pl: Likewise.
29675 * manual/install.texi (Installation): Point to online location of
29676 FAQ.
29677 * Makefile (files-for-dist): Remove FAQ.
29678 (FAQ): Remove.
29679
d4c2917f
AM
296802012-05-02 Allan McRae <allan@archlinux.org>
29681
29682 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29683 (LDFLAGS-reldepmod5.so): Likewise.
29684 (LDFLAGS-reldep6mod1.so): Likewise.
29685 (LDFLAGS-reldep6mod4.so): Likewise.
29686 (LDFLAGS-reldep8mod3.so): Likewise.
29687 (LDFLAGS-unload4mod1.so): Likewise.
29688 (LDFLAGS-unload4mod2.so): Likewise.
29689 (LDFLAGS-tst-initorder): Likewise.
29690 (LDFLAGS-tst-initordera2.so): Likewise.
29691 (LDFLAGS-tst-initordera3.so): Likewise.
29692 (LDFLAGS-tst-initordera4.so): Likewise.
29693 (LDFLAGS-tst-initorderb2.so): Likewise.
29694 (LDFLAGS-noload): Likewise.
29695 (LDFLAGS-next): Likewise.
29696 (LDFLAGS-order2mod1.so): Likewise.
29697 (LDFLAGS-order2mod2.so): Likewise.
29698 (LDFLAGS-tst-initorder2): Likewise.
29699 (LDFLAGS-tst-initorder2a.so): Likewise.
29700 (LDFLAGS-tst-initorder2b.so): Likewise.
29701 (LDFLAGS-tst-initorder2c.so): Likewise.
29702 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29703
d77f993f
DM
297042012-05-02 David S. Miller <davem@davemloft.net>
29705
29706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29707
171a70b4
PP
297082012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29709
29710 [BZ #14055]
29711 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29712
0be196ad
AJ
297132012-05-02 Andreas Jaeger <aj@suse.de>
29714
29715 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29716 since we manipulate rounding mode.
29717 (CPPFLAGS-test-idouble.c): Likewise.
29718 (CPPFLAGS-test-ifloat.c): Likewise.
29719 (CFLAGS-test-ldouble.c): Likewise.
29720 (CFLAGS-test-double.c): Likewise.
29721 (CFLAGS-test-float.c): Likewise.
29722 (CFLAGS-test-misc.c): Likewise.
29723 (CFLAGS-test-test-fenv.c): Likewise.
29724
4f9d04aa
AZ
297252012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29726
2b942cb7
RM
29727 [BZ #2550]
29728 [BZ #2570]
29729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29730 comparisons to determine direction to adjust input.
4f9d04aa 29731
82a79e7d
RM
297322012-05-01 Roland McGrath <roland@hack.frob.com>
29733
f5a01ca9
RM
29734 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29735 output to the target.
29736
90fe4186
RM
29737 * scripts/localplt.awk: New file.
29738 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29739 (check-localplt-CFLAGS): Variable removed.
29740 ($(all-built-dso:=.jmprel)): New static pattern rule.
29741 (generated): Add those targets.
29742 (localplt-built-dso): New variable.
29743 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29744
29745 * elf/check-localplt.c: File removed.
29746
82397ed6
RM
29747 * scripts/check-execstack.awk: New file.
29748 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29749 (check-execstack-CFLAGS): Variable removed.
29750 ($(objpfx)check-execstack.h): Target removed.
29751 ($(objpfx)execstack-default): New target.
29752 (generated): Add that instead of check-execstack.h.
29753 ($(all-built-dso:=.phdr)): New static pattern rule.
29754 (generated): Add those targets.
29755 * elf/check-execstack.c: File removed.
29756
82a79e7d
RM
29757 * scripts/check-textrel.awk: New file.
29758 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29759 (check-textrel-CFLAGS): Variable removed.
29760 (all-built-dso): Use := to define.o
29761 ($(all-built-dso:=.dyn)): New static pattern rule.
29762 (generated): Add those targets.
29763 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29764 * config.make.in (READELF): New substituted variable.
29765 * elf/check-textrel.c: File removed.
29766
62fde54f 297672012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29768
615605c9
JM
29769 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29770 allow.
29771 * conform/data/ctype.h-data [C99-based standards] (isblank):
29772 Expect function.
29773 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29774 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29775 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29776 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29777 Specify type. Require positive value.
29778 (EILSEQ): Likewise.
29779 (ERANGE): Likewise.
29780 [ISO || POSIX] (EILSEQ): Do not expect.
29781 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29782 Specify type. Require positive value.
29783 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29784 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29785 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29786 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29787 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29788 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29789 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29790 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29791 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29792 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29793 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29794 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29795 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29796 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29797 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29798 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29799 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29800 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29801 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29802 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29803 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29804 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29805 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29806 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29807 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29808 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29809 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29810 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29811 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29812 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29813 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29814 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29815 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29816 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29817 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29818 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29819 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29820 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29821 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29822 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29823 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29824 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29825 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29826 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29827 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29828 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29829 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29830 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29831 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29832 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29833 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29834 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29835 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29836 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29837 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29838 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29839 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29840 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29841 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29842 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29843 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29844 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29845 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29846 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29847 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29848 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29849 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29850 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29851 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29852 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29857 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29858 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29859 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29860 Require >= 2.
29861 (FLT_ROUNDS): Expect as macro, not constant.
29862 (FLT_MANT_DIG): Use macro-int-constant.
29863 (DBL_MANT_DIG): Likewise.
29864 (LDBL_MANT_DIG): Likewise.
29865 (FLT_DIG): Likewise.
29866 (DBL_DIG): Likewise.
29867 (LDBL_DIG): Likewise.
29868 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29869 (DBL_MIN_EXP): Likewise.
29870 (LDBL_MIN_EXP): Likewise.
29871 (FLT_MAX_EXP): Use macro-int-constant.
29872 (DBL_MAX_EXP): Likewise.
29873 (LDBL_MAX_EXP): Likewise.
29874 (FLT_MAX_10_EXP): Likewise.
29875 (DBL_MAX_10_EXP): Likewise.
29876 (LDBL_MAX_10_EXP): Likewise.
29877 (FLT_MAX): Use macro-constant.
29878 (DBL_MAX): Likewise.
29879 (LDBL_MAX): Likewise.
29880 (FLT_EPSILON): Use macro-constant. Give upper bound.
29881 (DBL_EPSILON): Likewise.
29882 (LDBL_EPSILON): Likewise.
29883 (FLT_MIN): Likewise.
29884 (DBL_MIN): Likewise.
29885 (LDBL_MIN): Likewise.
29886 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29887 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29888 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29889 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29890 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29891 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29892 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29893 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29894 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29895 [ISO11] (FLT_TRUE_MIN): Likewise.
29896 [ISO11] (LDBL_TRUE_MIN): Likewise.
29897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29898 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29899 (SCHAR_MIN): Use macro-int-constant. Specify type.
29900 (SCHAR_MAX): Likewise.
29901 (UCHAR_MAX): Likewise.
29902 (CHAR_MIN): Likewise.
29903 (CHAR_MAX): Likewise.
29904 (MB_LEN_MAX): Use macro-int-constant.
29905 (SHRT_MIN): Use macro-int-constant. Specify type.
29906 (SHRT_MAX): Likewise.
29907 (USHRT_MAX): Likewise.
29908 (INT_MAX): Likewise.
29909 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29910 bound negative.
29911 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29912 bound with "U".
29913 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29914 bound with "L".
29915 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29916 bound negative. Suffix upper bound with "L".
29917 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29918 bound with "UL".
29919 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29920 Specify type.
29921 [C99-based standards] (LLONG_MAX): Likewise.
29922 [C99-based standards] (ULLONG_MAX): Likewise.
29923 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29924 == 0.
29925 [ISO11] (max_align_t): Require type.
29926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29927
c9140a62
JM
29928 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29929 from $CFLAGS, without defining away __attribute__ calls.
29930 (checknamespace): Use $CFLAGS_namespace.
29931
9af0bf29
JM
29932 * conform/conformtest.pl (@keywords): Only include C99 keywords
29933 for standards based on C99 or C11.
29934
343222a2
JM
29935 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29936 Disable tests.
29937 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29938 UNIX98]: Likewise.
29939
661f8cf0
JM
29940 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29941 usability of symbols in #if.
29942
ee74b9cb
JM
29943 * conform/conformtest.pl: If macro or constant types start
29944 "promoted:", expect the symbol to be of the following type
29945 promoted by the integer promotions.
62fde54f 29946
aafc49b3
JM
29947 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29948 in one place. Also handle "macro-constant".
29949
fefdf574
JM
29950 * conform/conformtest.pl: Only accept expected macro values with
29951 "==". Parse all "macro" lines in one place.
29952 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29953
f2d922fe
JM
29954 * conform/conformtest.pl: Handle braced types on "constant" lines
29955 instead of handling "typed-constant".
29956 * conform/data/signal.h-data: Use "constant" instead of
29957 "typed-constant".
29958
d22956c9
JM
29959 * conform/conformtest.pl: Handle "optional-" at start of lines in
29960 one place rather than duplicating several cases. Handle each
29961 format of "macro" line with initial "optional-".
29962
028e2e38
JM
29963 * conform/conformtest.pl: Only accept expected constant or
29964 optional-constant values with "==". Parse all "constant" lines in
29965 one place. Parse all "optional-constant" lines in one place.
29966 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29967 * conform/data/fmtmsg.h-data: Likewise.
29968 * conform/data/netinet/in.h-data: Likewise.
29969 * conform/data/tar.h-data: Likewise.
29970 * conform/data/limits.h-data: Use "==" form on "constant" and
29971 "optional-constant" lines.
29972
1b8f2850
JM
29973 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29974 Use -std=c99 for XOPEN2K.
29975 (@knownproblems): Remove.
29976 (newtoken): Don't check %isknown.
29977
a05a144b
JM
29978 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29979 Do not expect macro.
29980 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29981 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29982 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29983 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29984 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29985 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29986 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29987 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29988 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29989 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29990 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29991 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29992 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29993 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29994 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29995 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29996 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29997 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29998 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29999 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30000 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30001 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30002 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30003 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30004 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30005 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30006 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30007 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30008 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30009 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30010 [XPG3] (acosh): Likewise.
30011 [XPG3] (asinh): Likewise.
30012 [XPG3] (atanh): Likewise.
30013 [XPG3] (cbrt): Likewise.
30014 [XPG3] (expm1): Likewise.
30015 [XPG3] (ilogb): Likewise.
30016 [XPG3] (log1p): Likewise.
30017 [XPG3] (logb): Likewise.
30018 [XPG3] (nextafter): Likewise.
30019 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30020 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30021 [XPG3] (remainder): Likewise.
30022 [XPG3] (rint): Likewise.
30023 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30024 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30025 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30026 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30027 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30028 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30029 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30030 [UNIX98 || XOPEN2K] (scalb): Expect.
30031 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30032 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30033 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30034 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30035 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30036 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30037 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30038 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30039 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30040 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30041 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30042 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30043 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30044 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30045 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30046 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30047 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30048 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30049 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30050 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30051 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30052 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30053 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30056 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30062 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30063 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30064 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30065 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30066 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30067 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30068 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30069 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30070 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30073 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30074 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30078 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30082 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30087 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30088 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30168
73c5ebe3
JM
30169 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30170 _XOPEN_SOURCE_EXTENDED for XPG4.
30171
39c33b6c
JM
30172 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30173
62fde54f
JM
30174 * Makeconfig (localtime): Remove variable.
30175 (inst_localtime-file): Likewise.
30176
0741d64c
AS
301772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30178
30179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30180 Update.
30181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30182 Update.
30183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30184 Update.
30185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30186 Update.
30187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30188 Update.
30189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30190 Update.
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30192 Update.
30193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30194 Update.
30195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30196 Update.
30197
7cb029ee
JM
301982012-05-01 Joseph Myers <joseph@codesourcery.com>
30199
30200 [BZ #2550]
30201 [BZ #2570]
30202 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30203 comparisons to determine direction to adjust input.
30204 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30205 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30206 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30207 Likewise.
30208 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30209 Likewise.
30210 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30211 Likewise.
30212 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30213 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30214 Likewise.
30215 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30216 Likewise.
30217 * math/libm-test.inc (nexttoward_test): Add more tests.
30218
412bd966
AS
302192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30220
30221 [BZ #14040]
30222 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30223 in version GLIBC_2.1, not GLIBC_2.0.
30224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30225 Likewise.
30226
9568c0c2
JM
302272012-04-30 Joseph Myers <joseph@codesourcery.com>
30228
adfbc8ac
JM
30229 [BZ #13942]
30230 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30231 (1 - x) * (1 + x).
30232 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30233 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30234 * math/libm-test.inc (acos_test): Add more tests.
30235 (asin_test): Likewise.
30236 * sysdeps/i386/fpu/libm-test-ulps: Update.
30237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30238
5ba3cc69
JM
30239 [BZ #14034]
30240 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30241 of square root.
30242 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30243 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30244 * math/libm-test.inc (acos_test_tonearest): New function.
30245 (acos_test_towardzero): Likewise.
30246 (acos_test_downward): Likewise.
30247 (acos_test_upward): Likewise.
30248 (asin_test_tonearest): Likewise.
30249 (asin_test_towardzero): Likewise.
30250 (asin_test_downward): Likewise.
30251 (asin_test_upward): Likewise.
30252 (main): Call the new functions.
30253 * sysdeps/i386/fpu/libm-test-ulps: Update.
30254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30255
9568c0c2
JM
30256 [BZ #13884]
30257 [BZ #13924]
30258 * math/e_exp10.c: Include <float.h>.
30259 (__ieee754_exp10): Handle underflow here rather than multiplying
30260 large negative argument by M_LN10.
30261 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30262 of __ieee754_expf.
30263 * math/e_exp10l.c: Include <float.h>.
30264 (__ieee754_exp10l): Handle underflow here rather than multiplying
30265 large negative argument by M_LN10l.
30266 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30267 spurious overflow exception on underflow.
30268
5ac3ea17
MP
302692012-04-29 Marek Polacek <polacek@redhat.com>
30270
30271 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30272 (__fortify_function): New macro.
30273 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30274 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30275 __extern_always_inline.
30276 * libio/bits/stdio2.h: Likewise.
30277 * libio/bits/stdio.h: Likewise.
30278 * string/string.h: Likewise.
30279 * string/bits/string3.h: Likewise.
30280 * include/stdio.h: Likewise.
30281 * stdlib/bits/stdlib.h: Likewise.
30282 * stdlib/stdlib.h: Likewise.
30283 * rt/bits/mqueue2.h: Likewise.
30284 * rt/mqueue.h: Likewise.
30285 * posix/bits/unistd.h: Likewise.
30286 * posix/unistd.h: Likewise.
30287 * io/bits/poll2.h: Likewise.
30288 * io/bits/fcntl2.h: Likewise.
30289 * io/fcntl.h: Likewise.
30290 * io/sys/poll.h: Likewise.
30291 * misc/bits/syslog.h: Likewise.
30292 * misc/bits/syslog-ldbl.h: Likewise.
30293 * misc/sys/syslog.h: Likewise.
30294 * socket/bits/socket2.h: Likewise.
30295 * socket/sys/socket.h: Likewise.
30296 * debug/tst-chk1.c: Likewise.
30297 * wcsmbs/bits/wchar2.h: Likewise.
30298 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30299 * wcsmbs/wchar.h: Likewise.
30300
ecf0ebfb
AJ
303012012-04-29 Andreas Jaeger <aj@suse.de>
30302
30303 * Makerules (tests): Remove enable-check-abi protection.
30304 (check-abi-warn): Remove.
30305 (check-abi-%): Remove check-abi-warn usage.
30306
30307 * configure.in: Remove check-abi configure option.
30308 * configure: Regenerated.
30309 * config.make.in (enable-check-abi): Remove.
30310
6d5c57fa
AS
303112012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30312
24c5d07e 30313 [BZ #14033]
ded5180a
AS
30314 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30315 double functions to double *_finite functions.
30316
7e0d315d
AS
30317 [BZ #13941]
30318 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30319 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30320 LDBL_MIN_EXP.
30321 * stdio-common/Makefile (tests): Add tst-sprintf3.
30322 * stdio-common/tst-sprintf3.c: New file.
30323
6d5c57fa
AS
30324 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30325 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30326
0749ff8b
JM
303272012-04-28 Joseph Myers <joseph@codesourcery.com>
30328
30329 * conform/conformtest.pl: Remove duplicate typed-constant
30330 handling.
30331
8dbd5d7b
DM
303322012-04-28 David S. Miller <davem@davemloft.net>
30333
30334 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30335 (check-abi-%): Remove AWK script prerequisite and explicit
30336 abilist directory.
30337 (check-abi): Rewrite to just diff the symlist with the abilist.
30338 (config-tls, config-abi-config): Delete, no longer used.
30339 (update-abi-%): Remove AWK script and explicit abilist directory.
30340 (update-abi): Rewrite to simply compare and conditionally copy the
30341 symlist and the sysdep abilist file. Remove update-abi-config
30342 checks.
30343 * abilist/ld.abilist: Remove.
30344 * abilist/libBrokenLocale.abilist: Remove.
30345 * abilist/libanl.abilist: Remove.
30346 * abilist/libcrypt.abilist: Remove.
30347 * abilist/libdl.abilist: Remove.
30348 * abilist/librt.abilist: Remove.
30349 * abilist/libthread_db.abilist: Remove.
30350 * abilist/libutil.abilist: Remove.
30351 * scripts/extract-abilist.awk: Remove.
30352 * scripts/merge-abilist.awk: Remove.
30353 * sysdeps/generic/libcidn.abilist: New file.
30354 * sysdeps/generic/libnss_compat.abilist: New file.
30355 * sysdeps/generic/libnss_db.abilist: New file.
30356 * sysdeps/generic/libnss_dns.abilist: New file.
30357 * sysdeps/generic/libnss_files.abilist: New file.
30358 * sysdeps/generic/libnss_hesiod.abilist: New file.
30359 * sysdeps/generic/libnss_nis.abilist: New file.
30360 * sysdeps/generic/libnss_nisplus.abilist: New file.
30361 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30362 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30363 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30364 file.
30365 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30366 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30367 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30368 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30369 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30370 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30371 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30372 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30373 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30374 file.
30375 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30376 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30377 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30378 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30379 file.
30380 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30381 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30382 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30383 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30384 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30385 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30386 file.
30387 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30388 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30389 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30390 file.
30391 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30393 New file.
30394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30395 New file.
30396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30397 New file.
30398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30399 New file.
30400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30401 New file.
30402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30403 New file.
30404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30405 New file.
30406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30407 New file.
30408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30409 New file.
30410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30411 New file.
30412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30413 New file.
30414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30415 New file.
30416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30417 New file.
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30419 file.
30420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30421 New file.
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30423 New file.
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30425 file.
30426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30427 New file.
30428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30429 New file.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30431 file.
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30433 New file.
30434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30435 New file.
30436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30437 New file.
30438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30439 New file.
30440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30441 New file.
30442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30443 New file.
30444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30446 file.
30447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30448 New file.
30449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30450 file.
30451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30452 file.
30453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30454 file.
30455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30456 file.
30457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30458 file.
30459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30460 New file.
30461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30462 file.
30463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30464 file.
30465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30466 New file.
30467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30468 file.
30469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30471 file.
30472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30473 New file.
30474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30475 file.
30476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30477 file.
30478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30479 file.
30480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30481 file.
30482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30483 file.
30484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30485 New file.
30486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30487 file.
30488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30489 file.
30490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30491 New file.
30492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30493 file.
30494 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30495 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30496 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30497 file.
30498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30499 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30500 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30501 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30502 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30503 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30504 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30505 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30506 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30507 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30510 file.
30511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30512 New file.
30513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30514 file.
30515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30516 file.
30517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30518 file.
30519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30520 file.
30521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30522 file.
30523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30524 New file.
30525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30526 New file.
30527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30528 file.
30529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30530 New file.
30531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30532 file.
30533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30535 file.
30536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30537 New file.
30538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30539 file.
30540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30541 file.
30542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30543 file.
30544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30545 file.
30546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30547 file.
30548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30549 New file.
30550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30551 New file.
30552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30553 file.
30554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30555 New file.
30556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30557 file.
30558
41d73a1b
JM
305592012-04-28 Joseph Myers <joseph@codesourcery.com>
30560
30561 * conform/conformtest.pl: Fix typo in handling typed-constant from
30562 allow-header.
30563
28aeeda4
JM
305642012-04-27 Joseph Myers <joseph@codesourcery.com>
30565
adae8f5e
JM
30566 * README: Cut down references to pre-2.6 Linux kernels and
30567 Linuxthreads. Update lists of configurations in libc and ports
30568 and sort alphabetically. Say "or newer" with Linux kernel version
30569 requirements.
30570
28aeeda4
JM
30571 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30572
a462cb63
RA
305732012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30574
30575 [BZ #887]
30576 * math/libm-test.inc (logb_test_downward): New test to expose
30577 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30578 rounding mode.
30579
6ad3493e
JM
305802012-04-27 Joseph Myers <joseph@codesourcery.com>
30581
30582 [BZ #14027]
30583 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30584 to be done.
30585 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30586 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30587
2ce4f015
JM
305882012-04-26 Joseph Myers <joseph@codesourcery.com>
30589
5aeb141a
JM
30590 * sysdeps/unix/i386/brk.S: Remove file.
30591 * sysdeps/unix/i386/dl-brk.S: Likewise.
30592 * sysdeps/unix/i386/pipe.S: Likewise.
30593 * sysdeps/unix/i386/sigreturn.S: Likewise.
30594 * sysdeps/unix/i386/syscall.S: Likewise.
30595 * sysdeps/unix/i386/vfork.S: Likewise.
30596 * sysdeps/unix/i386/wait.S: Likewise.
30597
7143acae
JM
30598 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30599 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30600
2ce4f015
JM
30601 * configure.in (arm*-none*): Do not allow without
30602 --enable-hacker-mode.
30603 (netbsd*): Remove case setting base_os.
30604 (386bsd*): Likewise.
30605 (freebsd*): Likewise.
30606 (bsdi*): Likewise.
30607 (osf*): Likewise.
30608 (sunos*): Likewise.
30609 (ultrix*): Likewise.
30610 (newsos*): Likewise.
30611 (dynix*): Likewise.
30612 (*bsd*): Likewise.
30613 (sysv*): Likewise.
30614 (isc*): Likewise.
30615 (esix*): Likewise.
30616 (sco*): Likewise.
30617 (minix*): Likewise.
30618 (irix4*): Likewise.
30619 (irix6*): Likewise.
30620 (solaris[2-9]*): Likewise.
30621 (none): Likewise.
30622 * configure: Regenerated.
30623
0ac229c8
AZ
306242012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30625
30626 [BZ #11521]
30627 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30628 overflow or cancellation in calculating denominator.
30629 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30630 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30631 down expression to avoid unexpected rounding in newer GCCs.
30632 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30633
33f244f4
DM
306342012-04-26 David S. Miller <davem@davemloft.net>
30635
30636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30637 long-double compat symbols.
30638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30651
cfa1f3e8
DM
306522012-04-25 David S. Miller <davem@davemloft.net>
30653
30654 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30655 HWCAP_* values only after the memory barriers have been defined.
30656 (atomic_full_barrier): Define.
30657 (atomic_read_barrier): Define.
30658 (atomic_write_barrier): Define.
30659
6e236b92
SP
306602012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30661
30662 * shlib-versions: Add libgcc_s version information.
30663 * sysdeps/generic/libgcc_s.h: Remove.
30664 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30665 libgcc_s.h.
30666 * sysdeps/gnu/unwind-resume.c: Likewise.
30667 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30668
aab39a09
DM
306692012-04-25 David S. Miller <davem@davemloft.net>
30670
30671 * sysdeps/unix/sparc/brk.S: Delete.
30672 * sysdeps/unix/sparc/dl-brk.S: Delete.
30673 * sysdeps/unix/sparc/pipe.S: Delete.
30674 * sysdeps/unix/sparc/sysdep.S: Delete.
30675 * sysdeps/unix/sparc/sysdep.h: Delete.
30676 * sysdeps/unix/sparc/vfork.S: Delete.
30677 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30678 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30679 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30680 ret_ERRVAL, r0, r1, MOVE): Define.
30681 (JUMPTARGET): Remove.
30682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30683 sysdeps/unix/sparc/sysdep.h
30684 (ENTRY, END): Remove.
30685 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30686
a3cc4f48
JM
306872012-04-25 Joseph Myers <joseph@codesourcery.com>
30688
2ed8cda2
JM
30689 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30690 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30691 -DIS_IN_build.
30692
35d76d59
JM
30693 * timezone/README: Update upstream location and email address for
30694 tzcode and tzdata.
30695 * timezone/zdump.c: Update from tzcode 2012b.
30696 * timezone/zic.c: Likewise.
30697
a3cc4f48
JM
30698 * configure.in (libc_cv_as_needed): Remove test.
30699 * configure: Regenerated.
30700 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30701 conditional definition.
30702 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30703 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30704 * config.make.in (have-as-needed): Remove variable.
30705
ceab42c3
SP
307062012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30707 Paul Pluzhnikov <ppluzhnikov@google.com>
30708
30709 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30710 strings correctly.
30711
3ce2865f
CLT
307122012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30713
30714 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30715 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30716 * sysdeps/sh/strlen.S: Likewise.
30717
f37e0d68
JM
307182012-04-24 Joseph Myers <joseph@codesourcery.com>
30719
ae186e9a
JM
30720 * sysdeps/unix/fork.S: Remove file.
30721 * sysdeps/unix/i386/fork.S: Likewise.
30722 * sysdeps/unix/sparc/fork.S: Likewise.
30723
b96914af
JM
30724 * sysdeps/unix/system.c: Remove file.
30725 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30726
f37e0d68
JM
30727 * sysdeps/unix/getegid.S: Remove file.
30728 * sysdeps/unix/geteuid.S: Likewise.
30729
87ef29ca
RM
307302012-04-24 Roland McGrath <roland@hack.frob.com>
30731
83bcd236
RM
30732 * scripts/check-localplt.awk: New file.
30733 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30734 of diff.
30735 * scripts/data/localplt-generic.data: Add a comment.
30736
87ef29ca
RM
30737 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30738 NODE when __dir_mkfile failed.
30739 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30740 Reported by Ludovic Courtès <ludo@gnu.org>.
30741
e5a6e567
AJ
307422012-04-24 Andreas Jaeger <aj@suse.de>
30743
30744 * Makerules (common-clean): Also remove gen-as-const-headers
30745 files.
30746
c1820385
JM
307472012-04-24 Joseph Myers <joseph@codesourcery.com>
30748
30749 * Makerules (native-compile): Do not change working directory for
30750 build. Use $(OUTPUT_OPTION) in command.
30751 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30752
94e02fc4
AZ
307532012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30754
30755 [BZ #13886]
30756 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30757 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30758 * math/libm-test.inc (floor_test): Add more tests.
30759 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30760
3a533ca3
JM
307612012-04-24 Joseph Myers <joseph@codesourcery.com>
30762
940ab4b3
JM
30763 * sysdeps/unix/getdents.c: Remove file.
30764 * sysdeps/unix/sysv/getdents.c: Likewise.
30765 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30766
90e037bd
JM
30767 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30768 sysdeps/unix/mman/syscalls.list.
30769 (mmap): Likewise.
30770 (mprotect): Likewise.
30771 (msync): Likewise.
30772 (munmap): Likewise.
30773 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30774 * sysdeps/unix/mman/syscalls.list: Remove.
30775 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30776
3a533ca3
JM
30777 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30778 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30779 * configure: Regenerated.
30780 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30781 $(libgcc_s_suffix).
30782 * config.make.in (libgcc_s_suffix): Remove variable.
30783
1ad743de
JM
307842012-04-23 Joseph Myers <joseph@codesourcery.com>
30785
4ad451e2
JM
30786 * sysdeps/unix/sysv/gethostname.c: Move to ...
30787 * sysdeps/posix/gethostname.c: ... here.
30788
5e37ce39
JM
30789 * sysdeps/unix/execve.S: Remove file.
30790
1ad743de
JM
30791 * sysdeps/unix/_exit.S: Remove file.
30792
4e681b5b
AJ
307932012-04-23 Andreas Jaeger <aj@suse.de>
30794
30795 [BZ #13739]
30796 * manual/Makefile: Remove make dist support, there's no
30797 need for a stand-alone documentation tar ball.
30798 (TEXI2DVI): Define always, it's not in Makeconfig.
30799 (dist): Removed.
30800 (tar-it): Removed.
30801 (edition): Removed.
30802 (glibc-doc-$(edition).tar): Removed
30803 (%.Z): Removed.
30804 (%.gz): Removed.
30805 (%.uu): Removed.
30806 (ETAGS): Remove, it's in Makeconfig.
30807 (move-if-change): Remove, it's in Makeconfig.
30808
38686a03 308092012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30810
30811 [BZ #13970]
30812 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30813 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30814 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30815 (strtod_l, strtof_l, strtold_l): Remove __wur.
30816 It is not necessarily an error to ignore strtol's return value.
30817 One can reliably look at the stored endptr to decide whether
30818 the number had valid syntax.
30819
7c0616fa
AJ
308202012-04-21 Andreas Jaeger <aj@suse.de>
30821
803cb6b7 30822 [BZ #13739]
7c0616fa
AJ
30823 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30824
b0fe253f
JM
308252012-04-21 Joseph Myers <joseph@codesourcery.com>
30826
30827 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30828 * sysdeps/unix/sysv/Versions: Remove file.
30829
8280f22d
MT
308302012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30831
30832 [BZ #13927]
30833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30834
75ce411f 308352012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30836
30837 [BZ #7064]
30838 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30839 version from __vm86.
30840
097d59fa
JM
308412012-04-20 Joseph Myers <joseph@codesourcery.com>
30842
a90f3bcb
JM
30843 * sysdeps/unix/common/lxstat.c: Remove file.
30844 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30845
edc7ea78
JM
30846 * sysdeps/unix/sysv/Makefile: Remove file.
30847
cb78c221
JM
30848 * sysdeps/unix/sysv/direct.h: Remove file.
30849
efa6a45f
JM
30850 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30851 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30852 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30853 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30854 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30855 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30856 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30857
9c9f2d0c
JM
30858 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30859
4541c83b
JM
30860 * sysdeps/unix/xmknod.c: Remove file.
30861 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30862
f5d153a0
JM
30863 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30864
aa746595
JM
30865 * sysdeps/unix/sysv/i386/time.S: Remove file.
30866
cce5905e
JM
30867 * sysdeps/unix/fxstat.c: Remove file.
30868 * sysdeps/unix/xstat.c: Likewise.
30869 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30870
37fa3841
JM
30871 * sysdeps/unix/sysv/sigaction.c: Remove file.
30872
ff1962a3
JM
30873 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30874 (sysdep_headers): Remove variable.
30875 [termio.h not in sysdep_headers] (generated): Likewise.
30876 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30877 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30878 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30879 * sysdeps/unix/sysv/tcflow.c: Likewise.
30880 * sysdeps/unix/sysv/tcflush.c: Likewise.
30881 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30882 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30883 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30884 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30885 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30886
e7740d31
JM
30887 * sysdeps/unix/siglist.c: Remove file.
30888
ee06f18b
JM
30889 * sysdeps/unix/getppid.S: Remove file.
30890
097d59fa
JM
30891 * sysdeps/unix/mkdir.c: Remove file.
30892 * sysdeps/unix/rmdir.c: Likewise.
30893
ff3d51ec
AS
308942012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30895
30896 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30897 ERR_MAX value.
30898 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30899 errlist-compat value.
30900
50f81fd7
DM
309012012-04-18 David S. Miller <davem@davemloft.net>
30902
30903 * sysdeps/generic/memcopy.h (reg_char): Delete.
30904 * debug/strcat_chk.c: Use char, not reg_char.
30905 * debug/strcpy_chk.c: Likewise.
30906 * debug/strncat_chk.c: Likewise.
30907 * debug/strncpy_chk.c: Likewise.
30908 * string/memchr.c: Likewise.
30909 * string/memrchr.c: Likewise.
30910 * string/rawmemchr.c: Likewise.
30911 * string/strcat.c: Likewise.
30912 * string/strchr.c: Likewise.
30913 * string/strchrnul.c: Likewise.
30914 * string/strcmp.c: Likewise.
30915 * string/strcpy.c: Likewise.
30916 * string/strncat.c: Likewise.
30917 * string/strncmp.c: Likewise.
30918 * string/strncpy.c: Likewise.
30919
8ff41c46
WS
309202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30921
30922 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30923 __builtin_memcopy is called when src and dest ranges are known to not
30924 overlap.
30925
6b652f46
WS
309262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30927
30928 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30929 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30930 fwd_align_merge macro call.
30931 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30932 bwd_align_merge macro call.
30933 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30934
b282631e
WS
309352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30936
30937 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30938 bwd_align_merge macros.
30939 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30940 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30941 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30942
95aa737c
DM
309432012-04-18 David S. Miller <davem@davemloft.net>
30944
30945 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30946
7a99a614
AJ
309472012-04-18 Andreas Jaeger <aj@suse.de>
30948
30949 [BZ# 6794]
30950 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30951 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30952 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30953
30954 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30955 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30956 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30957
30958 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30959 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30960 Adjust for changed ldbl-128 files.
30961
30962 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30963 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30964 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30965
e5270c23
DM
309662012-04-17 David S. Miller <davem@davemloft.net>
30967
30968 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30969
fb5e92c9
AS
309702012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30971
30972 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30973 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30974 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30975 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30976 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30977 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30978
76da7265
AZ
309792012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30980
30981 [BZ #6794]
30982 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30983 * math/libm-test.inc: Add ilogb errno and exception tests.
30984 * math/w_ilogb.c: New file: ilogb wrapper.
30985 * math/w_ilogbf.c: New file: ilogbf wrapper.
30986 * math/w_ilogbl.c: New file: ilogbl wrapper.
30987 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30988 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30989 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30990 exception being thrown with 0.0 as argument.
30991 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30992 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30993 exception being thrown with 0.0 as argument.
30994 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30995 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30996 exception being thrown with 0.0 as argument.
30997 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30998 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30999 exception being thrown with 0.0 as argument.
31000 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31001 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31003 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31004 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31005 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31006 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31007 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31008 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31009
0396e69d
PB
310102012-04-17 Petr Baudis <pasky@ucw.cz>
31011
31012 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31013 with altivec.
31014
750b5926
MP
310152012-04-16 Marek Polacek <polacek@redhat.com>
31016
31017 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31018
751728a1
MP
310192012-04-16 Marek Polacek <polacek@redhat.com>
31020
31021 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31022 operands of fdivp instruction.
31023
34a27407
L
310242012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31025
31026 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31027 * elf/tst-auditmod3b.c: Likewise.
31028 * elf/tst-auditmod4b.c: Likewise.
31029 * elf/tst-auditmod5b.c: Likewise.
31030 * elf/tst-auditmod6b.c: Likewise.
31031 * elf/tst-auditmod6c.c: Likewise.
31032 * elf/tst-auditmod7b.c: Likewise.
31033 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31034 * sysdeps/x86_64/preconfigure.in: Likewise.
31035 * sysdeps/x86_64/preconfigure: Regenerated.
31036
7e73e17d
L
310372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31038
31039 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31040 __ILP32__.
31041
c7a6ab72
AB
310422012-04-13 Antoine Balestrat <merkil33@gmail.com>
31043
31044 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31045 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31046
a9e8e0e0
CL
310472012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31048
31049 [BZ #13973]
31050 * locale/iso-639.def: Fix gl language name. Spotted by
31051 Yaron Shahrabani.
31052
ec98af7d
RM
310532012-04-12 Roland McGrath <roland@hack.frob.com>
31054
31055 [BZ #2074]
31056 * libio/libio.h (__io_write_fn): Update comment.
31057
247c3ede
PB
310582012-04-12 Petr Baudis <pasky@ucw.cz>
31059
31060 [BZ #2074]
31061 * stdio.texi (Hook Functions): The user provided writer function
31062 is not allowed to return -1.
31063
55939d6d
DM
310642012-04-11 David S. Miller <davem@davemloft.net>
31065
31066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31067
90020f5a
MF
310682012-04-11 Mike Frysinger <vapier@gentoo.org>
31069
31070 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31071 Add a leading slash to rtkaio.
31072
288f9098
JM
310732012-04-11 Jim Meyering <meyering@redhat.com>
31074
90020f5a
MF
31075 [BZ #11959]
31076 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31077 It is not necessarily an error to ignore fwrite's return
31078 value. One can reliably use ferror to test for errors after
31079 the fact.
288f9098 31080
4be2b570
L
310812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31082
31083 * bits/types.h (__snseconds_t): New type.
31084 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31085
31086 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31087 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31088 (__SNSECONDS_T_TYPE): Likewise.
31089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31090 (__SNSECONDS_T_TYPE): Likewise.
31091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31092 (__SNSECONDS_T_TYPE): Likewise.
31093
288f9098 310942012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31095
31096 [BZ #2636]
31097 * manual/time.texi (Processor Time): Return type of times is
31098 elapsed real time since an arbitrary point in the past.
31099 (CPU Time): Move CLK_TCK from here...
31100 (Processor Time): ...to here. Correct description.
31101 * manual/conf.texi (Constants for Sysconf): Correct description of
31102 _SC_CLK_TCK.
31103
d7dd4413
DM
311042012-04-10 David S. Miller <davem@davemloft.net>
31105
31106 [BZ #13967]
31107 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31108 where the is a gap between DT_REL(A) and DT_JMPREL.
31109
b46068fc
L
311102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31111
31112 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31113 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31114 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31115
73d65cc3
SP
311162012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31117
31118 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31119 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31120 (dl_main): Handle --inhibit-cache.
31121 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31122 _dl_inhibit_cache.
31123 * elf/dl-load.c (_dl_map_object): Use it.
31124 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31125
bcc8d661
JM
311262012-04-09 Joseph Myers <joseph@codesourcery.com>
31127
8f9a2fae
JM
31128 [BZ #13872]
31129 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31130 (__ieee754_powl): Saturate large exponents rather than testing for
31131 overflow of y*log2(x).
31132 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31133 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31134 exceptions.
31135
bcc8d661
JM
31136 [BZ #11521]
31137 * math/s_ctan.c: Include <float.h>.
31138 (__ctan): Avoid internal overflow or cancellation in calculating
31139 denominator.
31140 * math/s_ctanf.c: Likewise.
31141 * math/s_ctanl.c: Likewise.
31142 * math/s_ctanh.c: Likewise.
31143 * math/s_ctanhf.c: Likewise.
31144 * math/s_ctanhl.c: Likewise.
31145 * math/libm-test.inc (ctan_test): Add more tests.
31146 (ctanh_test): Likewise.
31147 * sysdeps/i386/fpu/libm-test-ulps: Update.
31148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31149
823fbbb4
AJ
311502012-04-09 Andreas Jaeger <aj@suse.de>
31151
03879793
AJ
31152 [BZ #6894]
31153 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31154 is an optional BSD extension.
31155
823fbbb4
AJ
31156 [BZ #10254]
31157 * manual/stdio.texi (Opening Streams): Document additional fopen
31158 parameters.
31159
8de131cb
RM
311602012-04-09 Roland McGrath <roland@hack.frob.com>
31161
31162 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31163 %eax without telling the compiler.
31164
c0ed9d7d
CD
311652012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31166
31167 [BZ # 13963]
31168 * manual/install.texi: Use sourceware.org.
31169
c483f6b4
JM
311702012-04-09 Joseph Myers <joseph@codesourcery.com>
31171
d7dd9453
JM
31172 [BZ #13873]
31173 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31174 (__ieee754_pow): Generate overflow and underflow using huge*huge
31175 and tiny*tiny rather than just returning constant infinity or zero
31176 for large exponents.
31177 * math/libm-test.inc (pow_test): Require overflow exceptions for
31178 applicable cases of large exponents.
31179
c483f6b4
JM
31180 [BZ #706]
31181 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31182 (__ieee754_pow): Use iterative multiplication algorithm only for
31183 integer exponents with absolute value below 1024. Check for odd
31184 integer exponents when using algorithm for real exponents.
31185 * math/libm-test.inc (pow_test): Add more tests.
31186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31187
d2de7579
JM
311882012-04-08 Joseph Myers <joseph@codesourcery.com>
31189
31190 [BZ #13705]
31191 * math/libm-test.inc (exp_test): Do not allow overflow exception
31192 on underflow test.
31193
f77f1232
AJ
311942012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31195
31196 [BZ #13705]
31197 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31198 instead of __kernel_standard_f.
31199
3884932b
MF
312002012-04-08 Mike Frysinger <vapier@gentoo.org>
31201
31202 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31203 * sysdeps/x86_64/memset_chk.S: Likewise.
31204
54472e9c
AJ
312052012-04-08 Andreas Jaeger <aj@suse.de>
31206
6ab0fbfc
AJ
31207 [BZ #10153]
31208 * manual/startup.texi (Environment Access): Describe return value
31209 for putenv and setenv.
31210
61efba8c
AJ
31211 [BZ #6895]
31212 * manual/filesys.texi (Directory Entries): Add description for
31213 DT_LNK.
31214
95c3f29a
AJ
31215 [BZ #6890]
31216 * manual/filesys.texi (Directory Entries): Clarify that it's file
31217 system not operating system in the description of DT_UNKNOWN.
31218
54472e9c
AJ
31219 [BZ #6578]
31220 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31221
624254b1
SC
312222012-04-08 Stephen Compall <s11@member.fsf.org>
31223
31224 [BZ #6649]
31225 * manual/llio.texi (Opening and Closing Files): Add cross
31226 reference to explain mode argument.
31227
1e4920e0
MF
312282012-04-07 Mike Frysinger <vapier@gentoo.org>
31229
31230 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31231 * sysdeps/x86_64/memset_chk.S: Likewise.
31232
5ed848f3
DM
312332012-04-07 David S. Miller <davem@davemloft.net>
31234
31235 * elf/elf.h (R_SPARC_WDISP10): Define.
31236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31237 R_SPARC_SIZE32.
31238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31239 R_SPARC_SIZE64 and R_SPARC_H34.
31240
96154cd8
CD
312412012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31242
31243 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31244 conditions and remove no longer applicable assertion.
31245
9904dc47
L
312462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31247
31248 * bits/byteswap.h: Include <features.h>.
31249 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31250 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31251
f8887d0a
L
312522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31253
31254 * bits/byteswap.h (__bswap_16): Removed.
31255 Include <bits/byteswap-16.h> to get __bswap_16.
31256 * sysdeps/i386/bits/byteswap.h: Likewise.
31257 * sysdeps/s390/bits/byteswap.h: Likewise.
31258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31259 * bits/byteswap-16.h: New file.
31260 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31261 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31262 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31263 * string/Makefile (headers): Add bits/byteswap-16.h.
31264
62470f60
PP
312652012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31266
31267 [BZ #13895]
31268 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31269 extra indirection.
31270 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31271 * nss/tst-nss-static.c: New.
31272
4dad7bab
RM
312732012-04-06 Robert Millan <rmh@gnu.org>
31274
31275 [BZ #6486]
31276 * manual/llio.texi (File Position Primitive): lseek
31277 refers to WHENCE when it really means OFFSET.
31278
e9142a17
AJ
312792012-04-06 Andreas Jaeger <aj@suse.de>
31280
2c040eff
AJ
31281 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31282 strncmp declarations.
31283
e9142a17
AJ
31284 * abilist/libc.abilist: Add __poll and __ppoll.
31285
ff9f1c5f
DM
312862012-04-05 David S. Miller <davem@davemloft.net>
31287
dcd2ae90
DM
31288 * scripts/check-local-headers.sh: Accept a host triplet in the
31289 path matched by the exclude regexp.
31290
993eb054
DM
31291 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31292 definition.
31293 * sysdeps/powerpc/powerpc32/dl-machine.h
31294 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31295 * sysdeps/s390/s390-32/dl-machine.h
31296 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31297 * sysdeps/sparc/sparc32/dl-machine.h
31298 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31299 * sysdeps/sparc/sparc64/dl-machine.h
31300 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31301
ff9f1c5f
DM
31302 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31303 lazy binding.
48e2e132 31304 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31305 undefined symbol errors.
31306
48e2e132 31307 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31308 DT_NEEDED entries.
31309
e80d6f94
MM
313102012-04-05 Michael Matz <matz@suse.de>
31311
31312 [BZ #13592]
31313 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31314
349fa79f
AJ
313152012-04-05 Andreas Jaeger <aj@suse.de>
31316
31317 [BZ #13908]
31318 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31319 comment.
31320
f402708f
KK
313212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31322
31323 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31324 which ROUND is no valid rounding mode.
31325
2ecccfc9
KK
313262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31327
31328 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31329 read again.
31330 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31331
8a53f50f
KK
313322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31333
31334 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31335 an exception using FPU order intentionally.
31336
313372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31338
31339 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31340 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31341 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31342 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31343
d653abb7
SJ
313442012-04-05 Simon Josefsson <simon@josefsson.org>
31345
31346 [BZ #12340]
31347 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31348 EINVAL when BUFLEN is too smal.
31349
c3b1bf7d
TS
313502012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31351
31352 [BZ #13553]
31353 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31354 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31355
b1aa60f3
AJ
313562012-04-03 Andreas Jaeger <aj@suse.de>
31357
c3b1bf7d 31358 [BZ #13938]
67f60a26
AJ
31359 * manual/setjmp.texi (System V contexts): Fix sentence.
31360
b1aa60f3
AJ
31361 [BZ #13926]
31362 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31363 New macro for this case.
31364 [!__GNUC__] (__bswap_64): New inline function for this case.
31365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31366 * bits/byteswap.h: Likewise.
31367 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31368 ull, guard with __GLIBC_HAVE_LONG_LONG.
31369
31370 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31371 __GLIBC_HAVE_LONG_LONG.
31372
31373 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31374 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31375
39c59c35
TMQMF
313762012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31377
31378 [BZ #13691]
31379 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31380 inptr and inend, rather than using last_ch.
31381
135ffda8
DM
313822012-04-02 David S. Miller <davem@davemloft.net>
31383
31384 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31385 * stdio-common/printf-parse.h (read_int): Change return type to
31386 'int', return -1 on INT_MAX overflow.
31387 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31388 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31389 overflows INT_MAX. Check for overflow of in-format-string precision
31390 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31391 SIZE_MAX not INT_MAX for integer overflow test.
31392 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31393 skip the construct in the format string but do not record anything.
31394 * stdio-common/bug22.c: Adjust to test both width/prevision
31395 INT_MAX overflow as well as total length INT_MAX overflow. Check
31396 explicitly for proper errno values.
31397
228c019e
TS
313982012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31399
302cadd3
TS
31400 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31401 CHAR_MAX.
31402 * string/test-strcmp.c [! WIDE]: Likewise.
31403 * time/tst-mktime2.c: Likewise for INT_MAX.
31404 * string/test-string.h: #include <sys/param.h> for MIN.
31405
228c019e
TS
31406 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31407 * sysdeps/i386/init-first.c (init): Likewise.
31408 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31409 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31410 * sysdeps/sh/init-first.c (init): Likewise.
31411
cfa633f5
UD
314122012-04-01 Ulrich Drepper <drepper@gmail.com>
31413
31414 * po/ru.po: Update from translation team.
d1635ef8 31415 * po/vi.po: Likewise.
cfa633f5 31416
6cd0a5ea
SP
314172012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31418
31419 * resolv/nss_dns/dns-host.c: Merge copyright years.
31420
4b43400f
LD
314212012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31422
31423 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31424 Optimize memcpy with prefetch if
31425 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31426 src, dst pointers have unequal 16 byte alignments.
31427
48c41d04
SP
314282012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31429
31430 [BZ #13928]
31431 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31432 from a CNAME entry and return the minimum ttl for the query.
31433 (gaih_getanswer_slice): Likewise.
31434
b8dc394d
JL
314352012-03-30 Jeff Law <law@redhat.com>
31436
31437 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31438 due to long keys.
31439 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31440 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31441
2f5a5ed0
JL
31442 * resolv/nss_dns/dns-host.c: Update copyright year.
31443
1d39e359
UD
314442012-03-30 Ulrich Drepper <drepper@gmail.com>
31445
c030f70c 31446 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31447 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31448
1d39e359
UD
31449 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31450 comments for sendmmsg.
31451
314522012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31453
31454 [BZ #13691]
31455 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31456 with only 1 character between 0x0041 and 0x01b0.
31457 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31458 * wcsmbs/tst-mbsnrtowcs.c: New file.
31459
20fde227
DM
314602012-03-29 David S. Miller <davem@davemloft.net>
31461
31462 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31463 small copies by hand.
31464
984a4237
JL
314652012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31466
31467 [BZ #13761]
31468 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31469 _nss_compat_initgroups_dyn): Fall back to malloc/free
31470 for large group memberships.
31471
18c9d62b
DM
314722012-03-28 David S. Miller <davem@davemloft.net>
31473
88d85d4f
DM
31474 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31475 that branches into memcpy.
31476 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31478 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31479 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31481 bits.
31482 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31483 implementation too.
31484 * sysdeps/sparc/mempcpy.S: New file.
31485
e5aa83e1
DM
31486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31487 the IFUNC routine in the libc case.
31488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31489
88570753
DM
31490 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31491 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31492 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31493 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31494 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31495 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31496 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31497 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31498
249d7567
DM
31499 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31500 loop to 256 bytes instead of 64 bytes and fix test signedness.
31501
18c9d62b
DM
31502 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31503 * sysdeps/sparc/sparc32/Makefile: rather than here...
31504 * sysdeps/sparc/sparc64/Makefile: and here.
31505
05f3d1f6
UD
315062012-03-28 Ulrich Drepper <drepper@gmail.com>
31507
31508 * malloc/mallocbug.c: Avoid warnings about unused variables.
31509
86ae07a8
JL
315102012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31511
31512 [BZ #13760]
31513 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31514 in the right place. Discard and retry query if response is
31515 larger than input buffer size.
31516
41bf21a1
JM
315172012-03-28 Joseph Myers <joseph@codesourcery.com>
31518
d6270972
JM
31519 [BZ #369]
31520 [BZ #2678]
31521 [BZ #3866]
31522 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31523 x for large integer exponent.
31524 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31525 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31526 sign of result as needed afterwards.
31527 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31528 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31529 result for underflowing pow the same as for overflow.
31530 (__kernel_standard_l): Handle powl overflow and underflow here
31531 rather than calling __kernel_standard.
31532 * math/libm-test.inc (pow_test): Add more tests.
31533
414fca03 31534 [BZ #3868]
41bf21a1
JM
31535 [BZ #13879]
31536 [BZ #13910]
31537 [BZ #13911]
31538 [BZ #13912]
31539 [BZ #13913]
31540 [BZ #13915]
31541 [BZ #13916]
31542 [BZ #13917]
31543 [BZ #13918]
31544 [BZ #13919]
31545 [BZ #13920]
31546 [BZ #13921]
31547 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31548 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31549 (__kernel_standard_l): New function.
31550 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31551 __kernel_standard.
31552 * math/w_acosl.c (__acosl): Likewise.
31553 * math/w_asinl.c (__asinl): Likewise.
31554 * math/w_atan2l.c (__atan2l): Likewise.
31555 * math/w_atanhl.c (__atanhl): Likewise.
31556 * math/w_coshl.c (__coshl): Likewise.
31557 * math/w_exp10l.c (__exp10l): Likewise.
31558 * math/w_exp2l.c (__exp2l): Likewise.
31559 * math/w_fmodl.c (__fmodl): Likewise.
31560 * math/w_hypotl.c (__hypotl): Likewise.
31561 * math/w_j0l.c (__j0l, __y0l): Likewise.
31562 * math/w_j1l.c (__j1l, __y1l): Likewise.
31563 * math/w_jnl.c (__jnl, __ynl): Likewise.
31564 * math/w_lgammal.c (__lgammal): Likewise.
31565 * math/w_log10l.c (__log10l): Likewise.
31566 * math/w_log2l.c (__log2l): Likewise.
31567 * math/w_logl.c (__logl): Likewise.
31568 * math/w_powl.c (__powl): Likewise.
31569 * math/w_remainderl.c (__remainderl): Likewise.
31570 * math/w_scalbl.c (sysv_scalbl): Likewise.
31571 * math/w_sinhl.c (__sinhl): Likewise.
31572 * math/w_sqrtl.c (__sqrtl): Likewise.
31573 * math/w_tgammal.c (__tgammal): Likewise.
31574 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31575 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31576 * math/libm-test.inc (acos_test): Add more tests.
31577 (acosh_test): Likewise.
31578 (asin_test): Likewise.
31579 (atanh_test): Likewise.
31580 (exp_test): Likewise.
31581 (exp10_test): Likewise.
31582 (exp2_test): Likewise.
31583 (expm1_test): Likewise.
31584 (lgamma_test): Likewise.
31585 (log_test): Likewise.
31586 (log10_test): Likewise.
31587 (log1p_test): Likewise.
31588 (log2_test): Likewise.
31589 (pow_test): Do not allow some spurious overflow exceptions.
31590 (sqrt_test): Add more tests.
31591 (tgamma_test): Likewise.
31592 (y0_test): Likewise.
31593 (y1_test): Likewise.
31594 (yn_test): Likewise.
31595
dd62fda6
AB
315962012-03-27 Anton Blanchard <anton@samba.org>
31597
31598 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31599 MAP_HUGETLB.
31600 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31601 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31603
1e3cdfda
AJ
316042012-03-27 David S. Miller <davem@davemloft.net>
31605
b855ab85
DM
31606 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31607
1e3cdfda
AJ
31608 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31609 have-as-vis3 check.
31610
316112012-03-27 Andreas Jaeger <aj@suse.de>
31612
31613 * sysdeps/x86_64/elf/configure.in: Moved to ...
31614 * sysdeps/x86_64/configure.in: ... here.
31615 * sysdeps/x86_64/elf/start.S: Moved to ...
31616 * sysdeps/x86_64/start.S: ... here.
31617 * sysdeps/x86_64/elf/configure: Delete.
31618
31619 * sysdeps/x86_64/configure.in: Merge contents from
31620 sysdeps/i386/configure.in (without i686 check).
31621
31622 * sysdeps/i386/elf/Versions: Merge into ...
31623 * sysdeps/i386/Versions: ... this.
31624 * sysdeps/i386/elf/Versions: Delete file.
31625 * sysdeps/i386/elf/start.S: Moved to ...
31626 * sysdeps/i386/start.S: ...here.
31627 * sysdeps/i386/elf/configure.in: Merge into...
31628 * sysdeps/i386/configure.in: ...here.
31629 * sysdeps/i386/elf/configure.in: Delete file.
31630 * sysdeps/i386/elf/configure: Delete file.
31631
31632 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31633 * debug/backtracesyms.c: ... here.
31634 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31635 * debug/backtracesymsfd.c: ... here.
31636 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31637 * sysdeps/generic/ifunc-sel.h: ... here.
31638
31639 * sysdeps/unix/i386/start.c: Delete file.
31640 * sysdeps/unix/sparc/start.c: Delete file.
31641 * sysdeps/unix/start.c: Delete file.
31642
31643 * sysdeps/sh/elf/configure.in: Moved to ...
31644 * sysdeps/sh/configure.in: ... here.
31645 * sysdeps/sh/elf/start.S: Moved to ...
31646 * sysdeps/sh/start.S: ... here.
31647 * sysdeps/sh/elf/configure: Delete file.
31648
31649 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31650 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31651 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31652 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31653 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31654 * sysdeps/powerpc/powerpc64/start.S: here.
31655 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31656 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31657 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31658 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31659 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31660
31661 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31662 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31663 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31664 * sysdeps/powerpc/powerpc32/start.S: ... here.
31665 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31666 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31667 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31668
31669 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31670 * sysdeps/powerpc/ifunc-sel.h: ... here.
31671 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31672 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31673
31674 * sysdeps/sparc/elf/configure.in: Moved to ...
31675 * sysdeps/sparc/configure.in: ... here.
31676 * sysdeps/sparc/elf/configure: Delete file.
31677 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31678 * sysdeps/sparc/sparc32/start.S: ... here.
31679 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31680 * sysdeps/sparc/sparc64/start.S: ... here.
31681 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31682 * sysdeps/sparc/sparc32/Makefile: ... this.
31683 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31684 * sysdeps/sparc/sparc64/Makefile: ... this.
31685
31686 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31687 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31688 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31689 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31690 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31691 * sysdeps/s390/s390-32/setjmp.S: ... here.
31692 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31693 * sysdeps/s390/s390-32/configure.in: ... here.
31694 * sysdeps/s390/s390-32/elf/configure: Delete file.
31695 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31696 * sysdeps/s390/s390-32/start.S: ... here.
31697
31698 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31699 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31700 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31701 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31702 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31703 * sysdeps/s390/s390-64/setjmp.S: ... here.
31704 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31705 * sysdeps/s390/s390-64/configure.in: ... here
31706 * sysdeps/s390/s390-64/elf/configure: Delete file.
31707 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31708 * sysdeps/s390/s390-64/start.S: ... here.
31709 * sysdeps/s390/s390-64/elf/configure: Delete.
31710
31711 * configure.in: Remove support for elf directories in sysdeps.
31712
31713 * configure: Regenerated.
31714 * sysdeps/i386/configure: Regenerated.
31715 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31716 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31717 * sysdeps/s390/s390-32/configure: Regenerated.
31718 * sysdeps/s390/s390-64/configure: Regenerated.
31719 * sysdeps/sh/configure: Regenerated.
31720 * sysdeps/sparc/configure: Regenerated.
31721 * sysdeps/x86_64/configure: Regenerated.
31722
a3f61311
AS
317232012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31724
c876e002
AS
31725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31726
a3f61311
AS
31727 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31728 denormal result into account.
31729
ac4c54f0
RM
317302012-03-25 Roland McGrath <roland@hack.frob.com>
31731
31732 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31733 Reported by Allan McRae <allan@archlinux.org>.
31734
6a9b9c02
JL
317352012-03-23 Jeff Law <law@redhat.com>
31736
31737 * nss/getnssent.c (__nss_getent): Fix typo.
31738
4c42a0c1
DM
317392012-03-23 David S. Miller <davem@davemloft.net>
31740
31741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31742
1532c7ac
L
317432012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31744
31745 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31746 to pad to uint64_t for each field.
31747 (dl_tls_index): Replace unsigned long with uint64_t.
31748
3ff42526
PP
317492012-03-23 Daniel Jacobowitz <dmj@google.com>
31750 Paul Pluzhnikov <ppluzhnikov@google.com>
31751
31752 [BZ #6528]
31753 * grp/Makefile (otherlibs): Don't set it.
31754 * inet/Makefile (otherlibs): Likewise.
31755 * login/Makefile (otherlibs): Likewise.
31756 * nscd/Makefile (otherlibs): Likewise.
31757 * posix/Makefile (otherlibs): Likewise.
31758 * pwd/Makefile (otherlibs): Likewise.
31759 * rt/Makefile (otherlibs): Likewise.
31760 * sunrpc/Makefile (otherlibs): Likewise.
31761 * nss/Makefile (otherlibs): Likewise.
31762 Add libnss_files to routines and static-only-routines.
31763 ($(objpfx)getent): Remove rule.
31764 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31765 static-only-routines.
31766
7c69cd14
JM
317672012-03-22 Joseph Myers <joseph@codesourcery.com>
31768
31769 [BZ #13892]
31770 * math/s_cexp.c: Include <float.h>.
31771 (__cexp): Handle exp result overflowing not necessarily
31772 overflowing both real and imaginary parts of result.
31773 * math/s_cexpf.c: Likewise.
31774 * math/s_cexpl.c: Likewise.
31775 * math/libm-test.inc (cexp_test): Add more tests.
31776 * sysdeps/i386/fpu/libm-test-ulps: Update.
31777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31778
81b035fe
L
317792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31780
31781 * include/link.h (ELFW): New macro.
31782 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31783 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31784
1da7940c
L
317852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31786
31787 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31788 with uint64_t.
31789
b749dbb9
L
317902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31791
31792 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31793 declaration.
31794 (struct La_x32_retval): Likewise.
31795
2ff87f3f
L
317962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31797
31798 * sysdeps/x86_64/preconfigure.in: New file.
31799 * sysdeps/x86_64/preconfigure: New generated file.
31800
c0df8e69
JM
318012012-03-22 Joseph Myers <joseph@codesourcery.com>
31802
48e44791
JM
31803 [BZ #13824]
31804 * math/e_exp2l.c: Include <float.h>.
31805 (__ieee754_exp2l): Handle overflow and underflow cases
31806 separately. Only pass fractional part of argument to
31807 __ieee754_expl.
31808 * math/libm-test.inc (exp2_test): Add more tests.
31809
c0df8e69
JM
31810 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31811 negating x to take absolute value.
31812 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31813 Likewise.
31814 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31815 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31816 Likewise.
31817 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31818 computing low part if x was negated.
31819 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31820
c8e43ba7
L
318212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31822
31823 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31824 la_x32_gnu_pltexit.
31825 (pltexit): Cast int_retval to ptrdiff_t.
31826 * elf/tst-auditmod3b.c: Likewise.
31827 * elf/tst-auditmod4b.c: Likewise.
31828 * elf/tst-auditmod5b.c: Likewise.
31829 * elf/tst-auditmod6b.c: Likewise.
31830 * elf/tst-auditmod6c.c: Likewise.
31831 * elf/tst-auditmod7b.c: Likewise.
31832
31833 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31834 and x32_gnu_pltexit.
31835
31836 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31837 __ELF_NATIVE_CLASS.
31838 (La_x32_regs): New macro.
31839 (La_x32_retval): Likewise.
31840 (la_x32_gnu_pltenter): New function prototype.
31841 (la_x32_gnu_pltexit): Likewise.
31842
7998fa78
AS
318432012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31844
dcb33988
AS
31845 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31846 exponent.
31847
233fc563
AS
31848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31849
7998fa78
AS
31850 * configure.in (libc_cv_cc_nofma): Check for option to disable
31851 generation of FMA instructions.
31852 * configure: Regenerate.
31853 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31854 * sysdeps/ieee754/dbl-64/Makefile: New file.
31855 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31856 Remove brandred-fma4.
31857 (CFLAGS-brandred-fma4.c): Remove.
31858 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31859 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31860 define.
31861 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31862 define.
31863
8e95c99a
L
318642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31865
31866 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31867 LLONG_MAX != LONG_MAX.
31868 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31869 (_fitoa_word): Likewise.
31870 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31871 LLONG_MAX != LONG_MAX.
31872 * stdio-common/_itowa.h: Include <_itoa.h>.
31873 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31874 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31875 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31876 only if not defined.
31877 (_ITOA_WORD_TYPE): Likewise.
31878 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31879 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31880
6f4db457
DM
318812012-03-21 David S. Miller <davem@davemloft.net>
31882
31883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31884
7785fe5a
L
318852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31886
31887 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31888 of x86_64 when setting libc_cv_slibdir, libdir and
31889 libc_cv_localedir.
31890 * sysdeps/unix/sysv/linux/configure: Regenerated.
31891
4535cd55
JM
318922012-03-21 Joseph Myers <joseph@codesourcery.com>
31893
31894 * manual/lang.texi (Old Varargs): Remove section.
31895 (How Variadic): Update menu.
31896 (va_start): Do not mention varargs.h.
31897
17228132
TS
318982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31899 Joseph Myers <joseph@codesourcery.com>
31900
31901 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31902 link test.
31903 * configure: Regenerated.
31904
8149f976
TS
319052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31906
05f3d1f6
UD
31907 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31908 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31909 conformtest.pl
8149f976 31910
1a4ac776
JM
319112012-03-21 Joseph Myers <joseph@codesourcery.com>
31912
be22ce65
JM
31913 * NOTES: Remove.
31914 * Makefile (files-for-dist): Remove NOTES.
31915 (NOTES): Remove rule.
31916 * README: Don't refer to NOTES.
31917 * manual/creature.texi: Don't include macros.texi.
31918 * manual/intro.texi (creature.texi): Remove comment referring to
31919 NOTES.
31920
40b601fb
JM
31921 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31922 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31923 * configure: Regenerated.
31924 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31925 LIBC_TRY_CC_OPTION.
31926 (libc_cv_as_i686): Likewise.
31927 (libc_cv_cc_avx): Likewise.
31928 (libc_cv_cc_sse2avx): Likewise.
31929 (libc_cv_cc_fma4): Likewise.
31930 (libc_cv_cc_novzeroupper): Likewise.
31931 * sysdeps/i386/configure: Regenerated.
31932
1a4ac776
JM
31933 [BZ #13883]
31934 * sysdeps/i386/fpu/s_cexp.S: Remove.
31935 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31936 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31937 * math/libm-test.inc (cexp_test): Add more tests.
31938 * sysdeps/i386/fpu/libm-test-ulps: Update.
31939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31940
a458e7fe
AM
319412012-03-21 Allan McRae <allan@archlinux.org>
31942
31943 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31944
0cb7efc5
JM
319452012-03-21 Joseph Myers <joseph@codesourcery.com>
31946
31947 [BZ #13871]
31948 * math/w_exp2.c: Do not include <float.h>.
31949 (o_threshold, u_threshold): Remove.
31950 (__exp2): Calculate result before checking finiteness and calling
31951 __kernel_standard.
31952 * math/w_exp2f.c: Likewise.
31953 * math/w_exp2l.c: Likewise.
31954 * math/libm-test.inc (exp2_test): Require overflow exception for
31955 1e6 input.
2460d3aa
JM
31956
31957 [BZ #3866]
31958 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31959 range of signed 64-bit integers before using fistpll. Remove
31960 checks for whether integers fit in mantissa bits.
31961 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31962 the range of signed 32-bit integers before using fistpl. Remove
31963 checks for whether integers fit in mantissa bits.
31964 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31965 (__ieee754_powl): Test for y outside the range of signed 64-bit
31966 integers before using fistpll. Reduce 64-bit values to 63-bit
31967 ones as needed.
31968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31969 divide-by-zero is raised for zero to large negative powers.
31970 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31971 (__ieee754_powl): Test for y outside the range of signed 64-bit
31972 integers before using fistpll. Reduce 64-bit values to 63-bit
31973 ones as needed.
31974 * math/libm-test.inc (pow_test): Add more tests.
31975
eb96ffb0
L
319762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31977
31978 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31979 <stdio-common/_itoa.h>.
31980 * debug/segfault.c: Likewise.
31981 * elf/dl-cache.c: Likewise.
31982 * elf/dl-minimal.c: Likewise.
31983 * elf/dl-misc.c: Likewise.
31984 * elf/dl-sysdep.c: Likewise.
31985 * elf/dl-version.c: Likewise.
31986 * elf/rtld.c: Likewise.
31987 * hurd/hurdsock.c: Likewise.
31988 * hurd/lookup-retry.c: Likewise.
31989 * malloc/malloc.c: Likewise.
31990 * malloc/mtrace.c: Likewise.
31991 * nscd/nscd_getgr_r.c: Likewise.
31992 * nscd/nscd_getpw_r.c: Likewise.
31993 * nscd/nscd_getserv_r.c: Likewise.
31994 * posix/getopt_init.c: Likewise.
31995 * posix/wordexp.c: Likewise.
31996 * stdio-common/_itoa.c: Likewise.
31997 * stdio-common/printf_fphex.c: Likewise.
31998 * stdio-common/vfprintf.c: Likewise.
31999 * string/_strerror.c: Likewise.
32000 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32001 * sysdeps/i386/i686/hp-timing.h: Likewise.
32002 * sysdeps/mach/_strerror.c: Likewise.
32003 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32004 * sysdeps/mach/hurd/sethostid.c: Likewise.
32005 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32006 * sysdeps/mach/xpg-strerror.c: Likewise.
32007 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32008 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32009 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32010 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32011 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32012 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32013 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32014 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32015 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32016 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32017 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32018 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32019 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32020 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32021 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32022 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32023 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32024 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32025 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32026 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32027 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32028
32029 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32030
32031 * stdio-common/_itoa.h: Moved to ...
32032 * sysdeps/generic/_itoa.h: Here.
32033
32034 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32035
32036 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32037 instead of "_itoa.h" and "_itowa.h".
32038 * stdio-common/vfprintf.: Likewise.
32039
d1af992d
L
320402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32041
32042 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32043 <bits/wordsize.h>.
32044 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32045 (__signbit): Likwise.
32046 (llrintf): Likwise.
32047 (llrint): Likwise.
32048
114883e0
L
320492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32050
32051 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32052 __WORDSIZE != 64.
32053
c135cc1b
JM
320542012-03-20 Joseph Myers <joseph@codesourcery.com>
32055
32056 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32057 OVERFLOW_EXCEPTION_OK.
32058 * math/libm-test.inc ("Philosophy"): Update comment about
32059 exception testing.
32060 (OVERFLOW_EXCEPTION): Define.
32061 (OVERFLOW_EXCEPTION_OK): Likewise.
32062 (INVALID_EXCEPTION_OK): Renumber.
32063 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32064 (IGNORE_ZERO_INF_SIGN): Likewise.
32065 (test_exceptions): Handle FE_OVERFLOW.
32066 (exp10_test): Expect overflow exceptions.
32067 (exp2_test): Likewise.
32068 (expm1_test): Likewise.
32069 (nextafter_test): Likewise.
32070 (pow_test): Likewise.
32071 (scalbn_test): Likewise.
32072 (scalbln_test): Likewise.
32073
95443d88
L
320742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32075
32076 * sysdeps/x86_64/bits/atomic.h
32077 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32078 64bit integer.
32079 (atomic_exchange_acq): Likewise.
32080 (__arch_exchange_and_add_body): Likewise.
32081 (__arch_add_body): Likewise.
32082 (atomic_add_negative): Likewise.
32083 (atomic_add_zero): Likewise.
32084
490df6c4
L
320852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32086
c2722551 32087 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32088 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32089
5e52b189
L
320902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32091
32092 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32093 Check __x86_64__ instead of __WORDSIZE.
32094
a9879d4c
L
320952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32096
32097 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32098
5df98260
DM
320992012-03-19 David S. Miller <davem@davemloft.net>
32100
e1497744
DM
32101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32102
5df98260
DM
32103 * sysdeps/sparc/fpu/fenv_private.h: New file.
32104 * sysdeps/sparc/fpu/math_private.h: Use it.
32105 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32106 Remove.
32107 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32108 (libc_feholdexcept_setroundl): Remove.
32109 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32110 Remove.
32111 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32112 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32113
b4c35121
L
321142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32115
32116 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32117 int64_t instead of long int.
32118 (INSERT_WORDS64): Likwise.
32119
56965fd7
L
321202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32121
32122 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32123 _Unwind_GetCFA return to _Unwind_Ptr first.
32124
83d1aec8
JM
321252012-03-19 Joseph Myers <joseph@codesourcery.com>
32126
1897ad44
JM
32127 [BZ #13629]
32128 * math/s_clog.c: Include <float.h>.
32129 (__clog): Scale large or subnormal inputs.
32130 * math/s_clogf.c: Likewise.
32131 * math/s_clogl.c: Likewise.
32132 * math/s_clog10.c: Include <float.h>.
32133 (M_LOG10_2): Define.
32134 (__clog10): Scale large or subnormal inputs.
32135 * math/s_clog10f.c: Likewise.
32136 * math/s_clog10l.c: Likewise.
32137 * math/libm-test.inc (clog_test): Add more tests.
32138 (clog10_test): Likewise.
32139 * sysdeps/i386/fpu/libm-test-ulps: Update.
32140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32141
7726d6a9
JM
32142 [BZ #11451]
32143 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32144 x and y.
32145 * math/libm-test.inc (atan2_test): Add another test.
32146
83d1aec8
JM
32147 * Makerules (common-objdir-compile): Remove.
32148 * sysdeps/unix/Makefile (config-generated): Do not add
32149 $(unix-generated) to variable.
32150 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32151 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32152 Remove rule.
32153 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32154 Likewise.
32155 [generic bits/local_lim.h] (before-compile): Do not append to
32156 variable.
32157 [generic bits/local_lim.h] (common-generated): Likewise.
32158 [generic sys/param.h] (before-compile): Do not append to variable.
32159 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32160 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32161 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32162 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32163 include.
32164 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32165 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32166 [generic sys/param.h] ($(addprefix
32167 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32168 [generic sys/param.h] (common-generated): Do not append to
32169 variable.
32170 [generic sys/param.h] (sysdep_headers): Likewise.
32171 [generic bits/errno.h] (before-compile): Do not append to
32172 variable.
32173 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32174 rule.
32175 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32176 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32177 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32178 [generic bits/errno.h] (common-generated): Do not append to
32179 variable.
32180 [generic bits/ioctls.h] (before-compile): Do not append to
32181 variable.
32182 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32183 rule.
32184 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32185 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32186 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32187 rule.
32188 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32189 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32190 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32191 [generic bits/ioctls.h] (common-generated): Do not append to
32192 variable.
32193 [generic sys/syscall.h] (syscall.h): Remove variable.
32194 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32195 rule.
32196 [generic sys/syscall.h] (before-compile): Do not append to
32197 variable.
32198 [generic sys/syscall.h] (common-generated): Likewise.
32199 * sysdeps/unix/errnos-tmpl.c: Remove file.
32200 * sysdeps/unix/errnos.awk: Likewise.
32201 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32202 * sysdeps/unix/ioctls.awk: Likewise.
32203 * sysdeps/unix/mk-local_lim.c: Likewise.
32204 * sysdeps/unix/snarf-ioctls: Likewise.
32205
4851a949
RH
322062012-03-19 Richard Henderson <rth@twiddle.net>
32207
bd37f2ee
RH
32208 * sysdeps/i386/fpu/fenv_private.h: New file.
32209 * sysdeps/i386/fpu/math_private.h: Use it.
32210 (math_opt_barrier, math_force_eval): Remove.
32211 (libc_feholdexcept_setround_53bit): Remove.
32212 (libc_feupdateenv_53bit): Remove.
32213 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32214 (math_opt_barrier, math_force_eval): Remove.
32215 (libc_feholdexcept): Remove.
32216 (libc_feholdexcept_setround): Remove.
32217 (libc_fetestexcept, libc_fesetenv): Remove.
32218 (libc_feupdateenv_test): Remove.
32219 (libc_feupdateenv, libc_feholdsetround): Remove.
32220 (libc_feresetround): Remove.
32221
d0adc922
RH
32222 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32223 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32224
0fe0f1f8
RH
32225 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32226 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32227 (libc_feupdateenv_testl): New.
32228 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32229 (libc_feupdateenv_testf): New.
32230 (libc_feupdateenv): Use libc_feupdateenv_test.
32231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32232 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32233
eb92c487
RH
32234 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32235 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32236 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32237 (libc_feresetround_noex): New.
32238 (libc_feresetround_noexf): New.
32239 (libc_feresetround_noexl): New.
32240 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32241 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32242 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32243 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32244 SET_RESTORE_ROUND.
32245 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32246 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32247 (__cos): Likewise.
32248 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32249 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32250 SET_RESTORE_ROUND_NOEX.
32251 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32252 SET_RESTORE_ROUND_NOEXF.
32253 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32254 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32255 (libc_feholdsetroundf): New.
32256 (libc_feresetround, libc_feresetroundf): New.
32257
7d2e8012
RH
32258 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32259 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32260 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32261
b4dabbb4
RH
32262 * sysdeps/generic/math_private.h: Include <fenv.h>.
32263 (default_libc_feholdexcept): New.
32264 (default_libc_feholdexcept_setround): New.
32265 (default_libc_fesetenv, default_libc_feupdateenv): New.
32266 (libc_feholdexcept): Only define if undefined.
32267 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32268 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32269 (libc_feholdexcept_setroundl): Likewise.
32270 (libc_feholdexcept_setround_53bit): Likewise.
32271 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32272 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32273 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32274 (libc_feupdateenv_53bit): Likewise.
32275 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32276 (libc_feholdexcept): Convert from macro to inline function.
32277 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32278 (libc_fesetenv, libc_feupdateenv): Likewise.
32279
4851a949
RH
32280 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32281 not previously defined.
32282 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32283 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32284 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32285 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32286 * sysdeps/ieee754/flt-32/math_private.h: New file.
32287 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32288 math_private.h below SET_FLOAT_WORD.
32289 (__isnan, __isinf_ns, __finite): Remove.
32290 (__isnanf, __isinf_nsf, __finitef): Remove.
32291
e79d442e
AS
322922012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32293
32294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32295
90b80344
DM
322962012-03-17 David S. Miller <davem@davemloft.net>
32297
32298 [BZ #6471]
32299 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32300 for 2.16.
32301
edc21804
DM
323022012-03-16 David S. Miller <davem@davemloft.net>
32303
77e927af
DM
32304 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32305 warnings.
32306
374976dd
DM
32307 [BZ #6471]
32308 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32309 properly.
32310 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32311 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32312 sysdep_routines when subdir is sysvipc.
32313 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32314 __getshmlba helper.
32315
edc21804
DM
32316 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32317
473c3ef3
L
323182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32319
32320 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32321 [__LP64__].
32322
eb0f39b6
L
323232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32324
32325 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32326 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32327 (__lround): Renamed to ...
32328 (__llround): This. Replace long int with long long int.
32329 Define lround functions as aliases of llround functions.
32330 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32331
6b6cd74b
L
323322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32333
32334 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32335 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32336 adresses to uintptr_t. Replace "long int" and "unsigned long
32337 int" with "greg_t" on va_arg.
32338
f1a77b01
L
323392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32340
32341 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32342 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32343
32344 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32345 Move e_machine check before EI_CLASS check. Handle x32
32346 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32347 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32348 SKIP_EM_IA_64 and include
32349 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32350
32351 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32352 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32353 (add_system_dir): New macro.
32354
32355 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32356 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32357
11b90b9f
JM
323582012-03-16 Joseph Myers <joseph@codesourcery.com>
32359
c36e1d23
JM
32360 [BZ #2551]
32361 [BZ #2552]
32362 [BZ #2553]
32363 [BZ #2554]
32364 [BZ #2562]
32365 [BZ #2563]
32366 [BZ #2565]
32367 [BZ #2566]
32368 [BZ #2576]
32369 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32370 (y0): Likewise.
32371 * math/w_j0f.c (j0f): Likewise.
32372 (y0f): Likewise.
32373 * math/w_j0l.c (__j0l): Likewise.
32374 (__y0l): Likewise.
32375 * math/w_j1.c (j1): Likewise.
32376 (y1): Likewise.
32377 * math/w_j1f.c (j1f): Likewise.
32378 (y1f): Likewise.
32379 * math/w_j1l.c (__j1l): Likewise.
32380 (__y1l): Likewise.
32381 * math/w_jn.c (jn): Likewise.
32382 (yn): Likewise.
32383 * math/w_jnf.c (jnf): Likewise.
32384 (ynf): Likewise.
32385 * math/w_jnl.c (__jnl): Likewise.
32386 (__ynl): Likewise.
32387 * math/libm-test.inc (j0_test): Add more tests.
32388 (j1_test): Likewise.
32389 (jn_test): Likewise. Add trailing semicolon to existing test.
32390 (y0_test): Likewise.
32391 (y1_test): Likewise.
32392 * sysdeps/i386/fpu/libm-test-ulps: Update.
32393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32394
11b90b9f
JM
32395 [BZ #13851]
32396 [BZ #13854]
32397 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32398 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32399 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32400 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32401 (__tanl): Set errno for infinite argument.
32402 * sysdeps/i386/fpu/mptan.c: Remove.
32403 * sysdeps/i386/fpu/s_tan.S: Likewise.
32404 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32405 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32406 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32407 * math/libm-test.inc (tan_test): Add more tests and enable more
32408 tests for double and long double.
32409 * sysdeps/i386/fpu/libm-test-ulps: Update.
32410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32411
6a1bd2a1
JK
324122012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32413
32414 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32415 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32416
10a803e0
RM
324172012-03-16 Roland McGrath <roland@hack.frob.com>
32418
32419 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32420 * configure.in: Use it for both main tree and add-ons.
32421 * configure: Regenerated.
32422
f196c7f7
L
324232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32424
32425 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32426
8848d99d
JM
324272012-03-16 Joseph Myers <joseph@codesourcery.com>
32428
96cbe7f4
JM
32429 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32430 in comment.
32431
8848d99d
JM
32432 [BZ #13851]
32433 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32434 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32438 infinite argument.
32439 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32440 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32441 != 0 for prec == 2.
32442 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32443 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32444 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32445 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32446 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32447 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32448 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32449 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32450 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32451 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32452 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32453 * math/libm-test.inc (cos_test): Add more tests and enable more
32454 tests for long double.
32455 (sin_test): Likewise.
32456 (sincos_test): Likewise.
32457 * sysdeps/i386/fpu/libm-test-ulps: Update.
32458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32459
dd7f4703
DM
324602012-03-16 David S. Miller <davem@davemloft.net>
32461
32462 * sysdeps/sparc/fpu/math_private.h: New file.
32463
006f1daa
DM
324642012-03-15 David S. Miller <davem@davemloft.net>
32465
c0c83bc8
DM
32466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32467 file.
e6a62e18 32468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32470 file.
e6a62e18
DM
32471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32477 sysdep routines.
32478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32479
88cb87d9
DM
32480 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32481 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32482
006f1daa 32483 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32485 sparc-ifunc.h
006f1daa 32486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32488 Likewise.
32489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32490 Likewise.
006f1daa
DM
32491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32495 Likewise.
006f1daa
DM
32496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32501 Likewise.
32502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32503 Likewise.
006f1daa
DM
32504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32511 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32525 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32527 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32528
11e0098e
AS
325292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32530
32531 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32532 scaling.
32533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32534
e85b09d0
AJ
325352012-03-15 Andreas Jaeger <aj@suse.de>
32536
32537 [BZ #13852]
32538 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32539 ieee754/flt-32 implementation for sin, cos and sincos.
32540 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32541 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32542 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32543 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32544 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32545 ieee754/flt-32 implementation for tan.
32546
32547 * math/libm-test.inc (cos_test): Enable some large input tests for
32548 float as well
32549 (sin_test): Likewise.
32550 (sincos_test): Likewise.
32551 (tan_test): Add tests for large input.
32552
32553 * sysdeps/i386/fpu/libm-test-ulps: Update.
32554
81c64153
AJ
325552012-03-15 Andreas Jaeger <aj@suse.de>
32556
32557 [BZ #13658]
32558 * math/libm-test.inc (cos_test): Add more test cases.
32559 (sin_test): Likewise.
32560 (sincos_test): Likewise.
32561
7bbfa5c6
AJ
325622012-03-15 Andreas Jaeger <aj@suse.de>
32563
32564 [BZ #13837]
32565 * math/libm-test.inc (cos_test): Add a test case for large input
32566 value.
32567 (sin_test): Likewise.
32568 (sincos_test): Likewise.
32569
325702012-03-15 Andreas Jaeger <aj@suse.de>,
32571 Joseph Myers <joseph@codesourcery.com>
32572
32573 [BZ #13658]
0671f479 32574 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32575 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32576 * sysdeps/i386/fpu/branred.c: Likewise.
32577 * sysdeps/i386/fpu/dosincos.c: Likewise.
32578 * sysdeps/i386/fpu/mpa.c: Likewise.
32579 * sysdeps/i386/fpu/s_cos.S: Likewise.
32580 * sysdeps/i386/fpu/s_sin.S: Likewise.
32581 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32582 * sysdeps/i386/fpu/sincos32.c: Likewise.
32583
32584 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32585 Define.
32586 (libc_feupdateenv_53bit): Define.
32587 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32588 Define.
32589 (libc_feupdateenv_53bit): Define.
32590
32591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32592 53 bit (without extend i386 double precision).
32593
32594 * math/libm-test.inc (sincos_test): Add tests for large input.
32595 (sin): Likewise.
32596 (cos): Likewise.
32597
32598 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32599
9cad04ea
AS
326002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32601
32602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32603
f7062b9a
DM
326042012-03-15 David S. Miller <davem@davemloft.net>
32605
32606 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32607 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32608 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32609 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32622 file.
f7062b9a 32623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32625 file.
f7062b9a 32626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32628 file.
f7062b9a 32629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32631 file.
f7062b9a
DM
32632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32634 fmin/fmax sysdep routines.
32635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32636
7bd951ff
DM
326372012-03-14 David S. Miller <davem@davemloft.net>
32638
559398ab
DM
32639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32644 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32660 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32666 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32667 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32668 routines.
32669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32670 file.
559398ab 32671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32673 file.
559398ab 32674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32676 file.
559398ab 32677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32679 file.
559398ab 32680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32682 file.
559398ab 32683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32685 file.
32686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32687 file.
32688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32689 file.
32690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32691 file.
32692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32693 New file.
32694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32695 file.
32696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32697 file.
559398ab 32698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32700 file.
559398ab 32701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32703 file.
559398ab 32704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32706 file.
559398ab 32707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32709 VIS3 routines.
559398ab
DM
32710
32711 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32712 New file.
32713
5a1c1e32
DM
32714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32715
eae47a36
DM
32716 * sysdeps/sparc/configure.in: New file.
32717 * sysdeps/sparc/configure: Generate.
32718 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32719 * configure: Regenerate.
32720 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32721 * config.make.in (have-as-vis3): New.
32722 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32723 available use -Av9d instead of -Av9a.
32724 * sysdeps/sparc/sparc64/Makefile: Likewise.
32725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32727 New file.
32728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32729 file.
32730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32731 New file.
32732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32733 file.
eae47a36
DM
32734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32735 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32739
c0c83bc8
DM
32740 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32741 fzeros/fnegs to load 0x80000000 into a float register instead of
32742 using the stack.
7bd951ff
DM
32743 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32744
bd951ccb
JM
327452012-03-14 Joseph Myers <joseph@codesourcery.com>
32746
32747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32748 bits/syscall.h.
32749 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32750 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32751 ($(inst_includedir)/bits/syscall.h): Remove rule.
32752 ($(objpfx)bits/syscall.d): Include instead of
32753 $(objpfx)syscall-list.d.
32754 (generated): Change syscall-list.h and syscall-list.d to
32755 bits/syscall.h and bits/syscall.d.
32756
bb4e6db2
RM
327572012-03-14 Roland McGrath <roland@hack.frob.com>
32758
32759 [BZ #13846]
32760 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32761
aa4a2ae1
JM
327622012-03-14 Joseph Myers <joseph@codesourcery.com>
32763
e456826d
JM
32764 [BZ #13841]
32765 * math/s_csqrt.c: Include <float.h>.
32766 (__csqrt): Scale large or subnormal inputs.
32767 * math/s_csqrtf.c: Likewise.
32768 * math/s_csqrtl.c: Likewise.
32769 * math/libm-test.inc (csqrt_test): Add more tests.
32770 * sysdeps/i386/fpu/libm-test-ulps: Update.
32771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32772
aa4a2ae1
JM
32773 [BZ #13840]
32774 * math/libm-test.inc (hypot_test): Add more tests.
32775
7c10fd35
DM
327762012-03-13 David S. Miller <davem@davemloft.net>
32777
32778 [BZ #13840]
32779 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32780 double-precision for the calculation instead of scaling.
32781
f453b98b
JM
327822012-03-13 Joseph Myers <joseph@codesourcery.com>
32783
32784 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32785 manipulate bits before adding and subtracting TWO52[sx].
32786 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32787 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32788 Likewise.
32789 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32790
09a3453f
DM
327912012-03-13 David S. Miller <davem@davemloft.net>
32792
8e59da90
DM
32793 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32794 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32795 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32796 rtld-global-offsets.h
32797 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32798
2a8ab7f2
DM
32799 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32800 large parameters.
32801
10f62770
DM
32802 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32803
5f0bdb18
DM
32804 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32805 'err' in the ifdef scope in which it is actually used.
32806
09a3453f
DM
32807 * nss/nss_db/db-init.c: Include string.h
32808
b4b2eb5e
DM
328092012-03-12 David S. Miller <davem@davemloft.net>
32810
98bb2f1c
DM
32811 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32812 masking out of the most significant byte of random value used.
32813 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32814 Fix coding style in previous change.
32815
b4b2eb5e
DM
32816 * sysdeps/unix/sysv/linux/kernel-features.h
32817 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32818 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32819 expression.
32820 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32821 later.
32822
6e226b09
DM
328232012-03-11 David S. Miller <davem@davemloft.net>
32824
a1bcbd40
DM
32825 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32826 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32827 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32828 for 'resultvar' otherwise things get truncated on 64-bit.
32829
cb9d6174
DM
32830 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32831 Fix masking out of the most significant byte of random value used.
32832
6e226b09
DM
32833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32834
058c132d
AS
328352012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32836
32837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32838
2d2cd515
DM
328392012-03-09 David S. Miller <davem@davemloft.net>
32840
32841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32842 variables with appropriate CPP guards.
32843 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32844 frame pointer, not the stack pointer. Correct layout comments. Fix test
32845 on resulting framesize and the management of the outregs buffer for pltexit.
32846 Preserve floating point return values across _dl_call_pltexit call.
32847 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32848 framesize and the management of the outregs buffer for pltexit.
32849 Preserve floating point return values across _dl_call_pltexit
32850 call.
32851 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32852 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32853 (print_exit): Fix format string for return register value.
32854
9a07f9d0
JM
328552012-03-10 Joseph Myers <joseph@codesourcery.com>
32856
32857 * sunrpc/Makefile (others): Add rpcgen.
32858 ($(objpfx)rpcgen): Remove special build rule and dependency on
32859 libc.
32860 * sunrpc/rpcgen.c: New file.
32861
547b5e30
PE
328622012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32863
c524201a
PE
32864 [BZ #13673]
32865 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32866 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32867 * sysdeps/i386/crti.S: Likewise.
32868 * sysdeps/i386/crtn.S: Likewise.
32869 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32870 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32871 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32872 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32873 * sysdeps/sh/crti.S: Likewise.
32874 * sysdeps/sh/crtn.S: Likewise.
32875 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32876
7b6235f2
PE
32877 [BZ #13673]
32878 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32879 with URL.
32880 * locale/programs/locfile-kw.gperf: Likewise.
32881 * locale/programs/charmap-kw.h: Regenerated.
32882 * locale/programs/locfile-kw.h: Likewise.
32883
547b5e30
PE
32884 [BZ #13673]
32885 * intl/plural.y: Replace FSF snail mail address with URL.
32886 * intl/plural.c: Regenerated.
32887
5f0a5dae
RH
328882012-03-09 Richard Henderson <rth@twiddle.net>
32889
32890 * include/math_private.h: Remove file.
32891 * math/math_private.h: Move file ...
32892 * sysdeps/generic/math_private.h: ... here.
32893
b8c03620
RH
32894 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32895 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32896 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32897
4e234f5d 32898 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32899 and <math_private.h>.
32900 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32901 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32902 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32903 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32904 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32909 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32912 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32913 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32914 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32916 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32917 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32918 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32919 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32921 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32922 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32924 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32925 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32926 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32930 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32931 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32932 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32933 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32934 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32935 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32936 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32937 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32938 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32939 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32940 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32941 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32944 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32945 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32946 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32947 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32949 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32951 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32961 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32968 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32969 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32970 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32971 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32975 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32978 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32979 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32980 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32988 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32989 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32990 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32991 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32992 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32993 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32994 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32995 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32996 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32997 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32998 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32999 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33000 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33001 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33002 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33003 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33004 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33005 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33006 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33007 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33008 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33009 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33010 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33011 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33012 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33013 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33014 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33015 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33016 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33017 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33018 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33019 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33020 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33021 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33022 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33023 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33026 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33027 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33028 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33029 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33030 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33031 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33032 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33033 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33034 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33035 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33036 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33037 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33038 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33039 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33040 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33041 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33042 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33043 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33044 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33045 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33046 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33047 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33048 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33049 * sysdeps/ieee754/k_standard.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33077 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33079 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33165 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33169 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33170 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33172 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33177 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33182 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33198 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33199 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33200 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33210 * sysdeps/ieee754/s_lib_version.c: Likewise.
33211 * sysdeps/ieee754/s_matherr.c: Likewise.
33212 * sysdeps/ieee754/s_signgam.c: Likewise.
33213 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33214 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33215 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33216 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33217 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33218 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33219 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33220 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33221 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33222 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33223 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33224 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33225 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33226 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33227 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33228 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33229 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33230 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33231 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33232 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33234
1991fa03
JM
332352012-03-09 Joseph Myers <joseph@codesourcery.com>
33236
33237 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33238 * sunrpc/rpc_main.c: Likewise.
33239 * sunrpc/rpc_svcout.c: Likewise.
33240
60d6f5a6
DM
332412012-03-09 David S. Miller <davem@davemloft.net>
33242
33243 * include/math_private.h: New file.
33244
4962050e
JM
332452012-03-09 Joseph Myers <joseph@codesourcery.com>
33246
02a6f887
JM
33247 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33248 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33249 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33250 from <bits/socket_type.h>.
33251 (enum __socket_type): Don't define here.
33252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33254 bits/socket_type.h.
33255
c6e013c1
JM
33256 [BZ #13566]
33257 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33258 checking __USE_GNU.
33259
4962050e
JM
33260 * Makerules ($(inst_includedir)/%.h): New rule.
33261 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33262 (install-others): Remove variable setting.
33263 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33264
38842f45
RH
332652012-03-08 Richard Henderson <rth@twiddle.net>
33266
67bb6da6
RH
33267 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33268 from macro to inline function; merge with the
33269 !__LIBC_INTERNAL_MATH_INLINES version.
33270 (__ieee754_sqrtf): Likewise.
33271
15194b4b
RH
33272 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33273 to inline function.
33274 (__rintf, __floor, __floorf): Likewise.
33275
64e21ede
RH
33276 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33277 macro to inline function.
33278 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33279
38842f45
RH
33280 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33281 not <math/math_private.h>.
33282
c64bf5fe
DM
332832012-03-08 David S. Miller <davem@davemloft.net>
33284
33285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33286 copyright year.
33287 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33288
82d86f28
TS
332892012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33290
33291 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33292 normalization.
33293 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33294 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33295
aea5d727
UD
332962012-03-08 Ulrich Drepper <drepper@gmail.com>
33297
33298 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33299 be defined individually, they must be defined as a block. Define
33300 S for printing a string instead of hidint the different by using a
33301 macro for adding the 'l'.
33302 * stdio-common/tst-fphex-wide.c: Adjust.
33303
70bca0a3
MP
333042012-03-07 Marek Polacek <polacek@redhat.com>
33305
33306 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33307
65b81130
MP
333082012-03-08 Marek Polacek <polacek@redhat.com>
33309
33310 [BZ #13806]
33311 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33312 * stdio-common/tst-fphex.c: Define a few macros to make the
33313 test reusable. Use them.
33314 * stdio-common/tst-fphex-wide.c: New file.
33315
07037eeb
JM
333162012-03-08 Joseph Myers <joseph@codesourcery.com>
33317
a7a93d50
JM
33318 [BZ #6911]
33319 * manual/macros.texi (gnusystems): New macro.
33320 (nongnusystems): Likewise.
33321 (gnulinuxhurdsystems): Likewise.
33322 (gnuhurdsystems): Likewise..
33323 (gnulinuxsystems): Likewise.
33324 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33325 variants of the GNU system, not "GNU system".
33326 * manual/conf.texi: Likewise.
33327 * manual/errno.texi: Likewise. Update example of errno macro
33328 expansion.
33329 * manual/filesys.texi: Likewise.
33330 (getumask): Document as specific to GNU/Hurd.
33331 * manual/install.texi: Likewise. Reword some references to
33332 GNU/Linux.
33333 * manual/intro.texi: Likewise.
33334 * manual/io.texi: Likewise.
33335 (File Name Portability): Detail which constraints are inapplicable
33336 to all GNU systems and which are only inapplicable to GNU/Hurd.
33337 * manual/job.texi: Likewise.
33338 * manual/llio.texi: Likewise.
33339 (O_NOCTTY): Document as present on GNU/Linux.
33340 * manual/maint.texi: Likewise.
33341 * manual/memory.texi: Likewise.
33342 * manual/pattern.texi: Likewise.
33343 * manual/pipe.texi: Likewise.
33344 * manual/process.texi: Likewise.
33345 * manual/resource.texi: Likewise.
33346 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33347 child on GNU/Hurd.
33348 * manual/setjmp.texi: Likewise.
33349 * manual/signal.texi: Likewise.
33350 * manual/startup.texi: Likewise.
33351 * manual/stdio.texi: Likewise.
33352 * manual/terminal.texi: Likewise.
33353 (ONLCR): Document as POSIX.
33354 (OXTABS): Document availability on GNU/Linux as XTABS.
33355 (ONOEOT): Document availability separately from other bits.
33356 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33357 * manual/time.texi: Likewise.
33358 * manual/users.texi: Likewise.
33359 * INSTALL: Regenerated.
33360 * sysdeps/gnu/errlist.c: Regenerated.
33361
07037eeb
JM
33362 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33363 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33364 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33365 puts.
33366 * configure: Regenerated.
33367
d1d3431a
JM
333682012-03-07 Joseph Myers <joseph@codesourcery.com>
33369
af6a1e37
JM
33370 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33371 default includes instead of AC_HEADER_CHECK.
33372 * sysdeps/i386/configure: Regenerated.
33373
d1d3431a
JM
33374 [BZ #10716]
33375 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33376 * math/s_cacoshf.c (__cacoshf): Likewise.
33377 * math/s_cacoshl.c (__cacoshl): Likewise.
33378 * math/s_casinh.c (__casinh): Set signs of result from argument.
33379 * math/s_casinhf.c (__casinhf): Likewise.
33380 * math/s_casinhl.c (__casinhl): Likewise.
33381 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33382 (casinh_test): Add more tests.
33383 * sysdeps/i386/fpu/libm-test-ulps: Update.
33384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33385
482ff4da
UD
333862012-03-07 Ulrich Drepper <drepper@gmail.com>
33387
872fda05
UD
33388 * po/zh_TW.po: Update from translation team.
33389
a4300c7a
UD
33390 * login/Makefile (distribute): Remove variable.
33391 * catgets/Makefile: Likewise.
33392 * mach/Makefile: Likewise.
33393 * malloc/Makefile: Likewise.
33394 * misc/Makefile: Likewise.
33395 * iconv/Makefile: Likewise.
33396 * nscd/Makefile: Likewise.
33397 * hurd/Makefile: Likewise.
33398 * manual/Makefile: Likewise.
33399 * locale/Makefile: Likewise.
33400 * intl/Makefile: Likewise.
33401 * conform/Makefile: Likewise.
33402 * nss/Makefile: Likewise.
33403 * time/Makefile: Likewise.
33404 * soft-fp/Makefile: Likewise.
33405 * dirent/Makefile: Likewise.
33406 * gmon/Makefile: Likewise.
33407 * po/Makefile: Likewise.
33408 * rt/Makefile: Likewise.
33409 * socket/Makefile: Likewise.
33410 * math/Makefile: Likewise.
33411 * signal/Makefile: Likewise.
33412 * debug/Makefile: Likewise.
33413 * elf/Makefile: Likewise.
33414 * timezone/Makefile: Likewise.
33415 * stdlib/Makefile: Likewise.
33416 * iconvdata/Makefile: Likewise.
33417 * sunrpc/Makefile: Likewise.
33418 * io/Makefile: Likewise.
33419 * argp/Makefile: Likewise.
33420 * inet/Makefile: Likewise.
33421 * hesiod/Makefile: Likewise.
33422 * grp/Makefile: Likewise.
33423 * csu/Makefile: Likewise.
33424 * wctype/Makefile: Likewise.
33425 * crypt/Makefile: Likewise.
33426 * libio/Makefile: Likewise.
33427 * string/Makefile: Likewise.
33428 * nis/Makefile: Likewise.
33429 * resolv/Makefile: Likewise.
33430 * stdio-common/Makefile: Likewise.
33431 * wcsmbs/Makefile: Likewise.
33432 * dlfcn/Makefile: Likewise.
33433 * posix/Makefile: Likewise.
33434
3b7c4e74 33435 [BZ #6959]
482ff4da
UD
33436 * timezone/Makefile: Don't install timezone files, just the programs
33437 and scripts.
33438
f72ed77d
UD
334392012-03-06 Ulrich Drepper <drepper@gmail.com>
33440
a000466f
UD
33441 * nss/databases.def: Add missing gshadow entry.
33442
f72ed77d
UD
33443 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33444
a53b7a4e
MP
334452012-03-06 Marek Polacek <polacek@redhat.com>
33446
33447 [BZ #13726]
33448 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33449 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33450 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33451 * stdio-common/tst-long-dbl-fphex.c: New file.
33452
e9258400
DM
334532012-03-06 David S. Miller <davem@davemloft.net>
33454
33455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33456 (set_obp_int): New function.
33457 (get_obp_int): New function.
33458 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33460 Avoid unused variable warnings on 'val' and use builtin_expect.
33461 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33462 __builtin_expect.
e9258400
DM
33463 (INLINE_CLONE_SYSCALL): Likewise.
33464
3bd2c723
DM
334652012-03-05 David S. Miller <davem@davemloft.net>
33466
33467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33468
bbb78d03
AS
334692012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33470
884c5db4
AS
33471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33472
bbb78d03
AS
33473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33474 only for |x| >= 40.
33475 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33476
1c9f702a 334772012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33478
33479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33480 Replace gettimeofday with __vdso_gettimeofday.
33481
7be16f82
RM
33482 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33483 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33484 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33485
33486 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33487 time with __vdso_time.
33488
ed58a00f
JM
334892012-03-05 Joseph Myers <joseph@codesourcery.com>
33490
33491 * manual/lang.texi (size_t): Note types to which size_t may be
33492 equivalent with the GNU C Library, but do not describe when
33493 differences between them are significant.
33494
30ee4ced
AJ
334952012-03-05 Andreas Jaeger <aj@suse.de>
33496
33497 * sysdeps/i386/fpu/libm-test-ulps: Update.
33498
b7cd39e8
JM
334992012-03-05 Joseph Myers <joseph@codesourcery.com>
33500
33501 [BZ #3976]
33502 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33503 (__ieee754_pow): Save and restore rounding mode and use
33504 round-to-nearest for main computations.
33505 * math/libm-test.inc (pow_test_tonearest): New function.
33506 (pow_test_towardzero): Likewise.
33507 (pow_test_downward): Likewise.
33508 (pow_test_upward): Likewise.
33509 (main): Call the new functions.
33510 * sysdeps/i386/fpu/libm-test-ulps: Update.
33511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33512
33513 [BZ #3976]
33514 * math/libm-test.inc (cosh_test_tonearest): New function.
33515 (cosh_test_towardzero): Likewise.
33516 (cosh_test_downward): Likewise.
33517 (cosh_test_upward): Likewise.
33518 (sinh_test_tonearest): Likewise.
33519 (sinh_test_towardzero): Likewise.
33520 (sinh_test_downward): Likewise.
33521 (sinh_test_upward): Likewise.
33522 (main): Call the new functions.
33523 * sysdeps/i386/fpu/libm-test-ulps: Update.
33524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33525
6c6a98c9
TV
335262012-03-05 Tom de Vries <tom@codesourcery.com>
33527
33528 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33529 default stack guard is set in last bytes.
33530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33531
21bb2d2e 335322012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33533
21bb2d2e 33534 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33535
21bb2d2e
AJ
33536 [BZ #13656]
33537 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33538 possibly allocate from heap instead of stack.
33539 * stdio-common/bug-vfprintf-nargs.c: New file.
33540 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33541
c6922934
AS
335422012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33543
33544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33545
bc957d53
MP
335462012-03-03 Marek Polacek <polacek@redhat.com>
33547
33548 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33549 * math/math_private.h: Likewise.
33550 * stdlib/tst-strtod.c: Likewise.
33551 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33552 * sysdeps/x86_64/bits/atomic.h: Likewise.
33553
6358490d
DM
335542012-03-02 David S. Miller <davem@davemloft.net>
33555
33556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33560 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33561 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33562 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33563 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33564
01ae168d
RM
335652012-03-02 Roland McGrath <roland@hack.frob.com>
33566
d9a17c07
RM
33567 [BZ #13792]
33568 * manual/examples/README: New file, says the example source files
33569 can be used under GPL>=2.
33570 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33571 line containing just "*/".
33572 * manual/examples/add.c: Add copyright header (GPL>=2).
33573 * manual/examples/argp-ex1.c: Likewise.
33574 * manual/examples/argp-ex2.c: Likewise.
33575 * manual/examples/argp-ex3.c: Likewise.
33576 * manual/examples/argp-ex4.c: Likewise.
33577 * manual/examples/atexit.c: Likewise.
33578 * manual/examples/db.c: Likewise.
33579 * manual/examples/dir.c: Likewise.
33580 * manual/examples/dir2.c: Likewise.
33581 * manual/examples/execinfo.c: Likewise.
33582 * manual/examples/filecli.c: Likewise.
33583 * manual/examples/filesrv.c: Likewise.
33584 * manual/examples/fmtmsgexpl.c: Likewise.
33585 * manual/examples/genpass.c: Likewise.
33586 * manual/examples/inetcli.c: Likewise.
33587 * manual/examples/inetsrv.c: Likewise.
33588 * manual/examples/isockad.c: Likewise.
33589 * manual/examples/longopt.c: Likewise.
33590 * manual/examples/memopen.c: Likewise.
33591 * manual/examples/memstrm.c: Likewise.
33592 * manual/examples/mkfsock.c: Likewise.
33593 * manual/examples/mkisock.c: Likewise.
33594 * manual/examples/mygetpass.c: Likewise.
33595 * manual/examples/pipe.c: Likewise.
33596 * manual/examples/popen.c: Likewise.
33597 * manual/examples/rprintf.c: Likewise.
33598 * manual/examples/search.c: Likewise.
33599 * manual/examples/select.c: Likewise.
33600 * manual/examples/setjmp.c: Likewise.
33601 * manual/examples/sigh1.c: Likewise.
33602 * manual/examples/sigusr.c: Likewise.
33603 * manual/examples/stpcpy.c: Likewise.
33604 * manual/examples/strdupa.c: Likewise.
33605 * manual/examples/strftim.c: Likewise.
33606 * manual/examples/strncat.c: Likewise.
33607 * manual/examples/subopt.c: Likewise.
33608 * manual/examples/swapcontext.c: Likewise.
33609 * manual/examples/termios.c: Likewise.
33610 * manual/examples/testopt.c: Likewise.
33611 * manual/examples/testpass.c: Likewise.
33612 * manual/examples/timeval_subtract.c: Likewise.
33613
01ae168d
RM
33614 [BZ #13792]
33615 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33616 function to ...
33617 * manual/timeval_subtract.c.texi: ... here, new file.
33618
49efa33d
DM
336192012-03-02 David S. Miller <davem@davemloft.net>
33620
33621 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33622
28afd92d
JM
336232012-03-02 Joseph Myers <joseph@codesourcery.com>
33624
804360ed
JM
33625 [BZ #3976]
33626 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33627 (__sin): Save and restore rounding mode and use round-to-nearest
33628 for all computations.
33629 (__cos): Save and restore rounding mode and use round-to-nearest
33630 for all computations.
33631 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33632 <fenv.h>.
33633 (tan): Save and restore rounding mode and use round-to-nearest for
33634 all computations.
33635 * math/libm-test.inc (cos_test_tonearest): New function.
33636 (cos_test_towardzero): Likewise.
33637 (cos_test_downward): Likewise.
33638 (cos_test_upward): Likewise.
33639 (sin_test_tonearest): Likewise.
33640 (sin_test_towardzero): Likewise.
33641 (sin_test_downward): Likewise.
33642 (sin_test_upward): Likewise.
33643 (tan_test_tonearest): Likewise.
33644 (tan_test_towardzero): Likewise.
33645 (tan_test_downward): Likewise.
33646 (tan_test_upward): Likewise.
33647 (main): Call the new functions.
33648 * sysdeps/i386/fpu/libm-test-ulps: Update.
33649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33650
a6d06d7b
JM
33651 [BZ #10135]
33652 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33653 small n, then large n, before computing and testing k+n.
33654 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33656 Likewise.
33657 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33658 Likewise.
33659 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33660 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33661 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33662 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33663 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33665 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33666 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33667 * math/libm-test.inc (scalbn_test): Add more tests.
33668 (scalbln_test): Likewise.
33669
07e12bb3
JM
33670 * manual/filesys.texi (mode_t): Describe constraints on size and
33671 signedness, not exact equivalence to a particular type.
33672 (ino_t): Likewise.
33673 (ino64_t): Likewise.
33674 (dev_t): Likewise.
33675 (nlink_t): Likewise.
33676 (blkcnt_t): Likewise.
33677 (blkcnt64_t): Likewise.
33678 * manual/llio.texi (off_t): Likewise.
33679
28afd92d
JM
33680 [BZ #3976]
33681 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33682 (__ieee754_exp): Save and restore rounding mode and use
33683 round-to-nearest for all computations.
33684 * math/libm-test.inc (exp_test_tonearest): New function.
33685 (exp_test_towardzero): Likewise.
33686 (exp_test_downward): Likewise.
33687 (exp_test_upward): Likewise.
33688 (main): Call the new functions.
33689 * sysdeps/i386/fpu/libm-test-ulps: Update.
33690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33691
b1eeb65d
CD
336922012-03-01 Chris Demetriou <cgd@google.com>
33693
33694 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33695 have predictable order.
33696
53362a4b
DM
336972012-03-01 David S. Miller <davem@davemloft.net>
33698
3c969083
DM
33699 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33700
759707de
DM
33701 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33702 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33703 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33704 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33705
dfdb8ff2
DM
33706 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33707 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33708 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33710 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33711 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33712 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33713 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33714 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33715
ead89f96
DM
33716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33717
7f66bd07
DM
33718 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33719 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33720 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33721
53362a4b
DM
33722 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33723 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33724 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33725 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33726 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33727 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33729 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33730 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33731 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33732 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33733 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33735 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33738 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33739 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33740 * sysdeps/sparc/elf/configure: Regenerated.
33741
7b1902cb
JM
337422012-03-01 Joseph Myers <joseph@codesourcery.com>
33743
bec039bc
JM
33744 * configure.in (AS, LD): Require binutils 2.20 or later.
33745 * configure: Regenerated.
33746 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33747 as required minimum version.
33748 * INSTALL: Regenerated.
33749
7b1902cb
JM
33750 [BZ #2541]
33751 [BZ #4108]
33752 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33753 before squaring exponent.
33754 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33755 bottom long double and 27 bits of top long double before squaring
33756 exponent.
33757 * math/libm-test.inc (erfc_test): Add more tests.
33758 * sysdeps/i386/fpu/libm-test-ulps: Update.
33759 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33761
f775c276
KT
337622012-03-01 Kai Tietz <ktietz@redhat.com>
33763
33764 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33765 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33766 containing bit-fields.
33767 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33768 * soft-fp/single.h (_FP_UNION_S): Likewise.
33769 * soft-fp/double.h (_FP_UNION_D): Likewise.
33770
5b8a4d4a
JM
337712012-02-29 Joseph Myers <joseph@codesourcery.com>
33772
0bab47b6
JM
33773 [BZ #13786]
33774 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33775 not include ../strcmp.S.
33776 [USE_AS_STRNCASECMP_L]: Likewise.
33777 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33778 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33779 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33780 (__strncasecmp_l_ia32): Define as alias to
33781 __strncasecmp_l_nonascii.
33782
0fcad3e2
JM
33783 [BZ #5794]
33784 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33785 * sysdeps/i386/fpu/libm-test-ulps: Update.
33786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33787
5b8a4d4a
JM
33788 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33790
8fdceb2e
JL
337912012-02-29 Jeff Law <law@redhat.com>
33792
33793 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33794 out of bounds read.
33795
1f393a11
MP
337962012-02-29 Marek Polacek <polacek@redhat.com>
33797
33798 [BZ #13706]
33799 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33800 * elf/Makefile: Add rules to run tst-unused-dep.out.
33801
8847f037
DM
338022012-02-28 David S. Miller <davem@davemloft.net>
33803
33804 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33805 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33806 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33807 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33808 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33809 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33810
169d7f11
JM
338112012-02-29 Joseph Myers <joseph@codesourcery.com>
33812
33813 * math/libm-test.inc (llround_test): Move one test from
33814 lround_test. Use TEST_f_L in moved test.
33815 (lround_test): Move misplaced test to llround_test. Add testcase
33816 from bug 2561.
33817
39adf059
UD
338182012-02-28 Ulrich Drepper <drepper@gmail.com>
33819
33820 * sysdeps/x86_64/fpu/e_expf.S: New file.
33821 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33822
71b5d1c5
SB
338232012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33824
33825 [BZ #13637]
33826 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33827 of remain_len that may cause incomplete multi-byte character and
33828 false match.
33829 * posix/bug-regex33.c: New file.
33830 * posix/Makefile (tests): Add bug-regex33.
33831
1f77f049
JM
338322012-02-28 Joseph Myers <joseph@codesourcery.com>
33833
33834 * manual/macros.texi: New file.
33835 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33836 * manual/libc.texinfo: Include macros.texi.
33837 * manual/creatute.texi: Likewise.
33838 * manual/install.texi: Likewise.
33839 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33840 @glibcadj{} in references to the GNU C Library.
33841 * manual/charset.texi: Likewise.
33842 * manual/conf.texi: Likewise.
33843 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33844 when not using those macros.
33845 * manual/creature.texi: Likewise.
33846 * manual/crypt.texi: Likewise.
33847 * manual/errno.texi: Likewise.
33848 * manual/filesys.texi: Likewise.
33849 * manual/header.texi: Likewise.
33850 * manual/install.texi: Likewise.
33851 * manual/intro.texi: Likewise.
33852 * manual/io.texi: Likewise.
33853 * manual/job.texi: Likewise.
33854 * manual/lang.texi: Likewise.
33855 * manual/libc.texiinfo: Likewise.
33856 * manual/llio.texi: Likewise.
33857 * manual/locale.texi: Likewise.
33858 * manual/maint.texi: Likewise.
33859 * manual/math.texi: Likewise.
33860 * manual/memory.texi: Likewise.
33861 * manual/message.texi: Likewise.
33862 * manual/nss.texi: Likewise.
33863 * manual/pattern.texi: Likewise.
33864 * manual/process.texi: Likewise.
33865 * manual/resource.texi: Likewise.
33866 * manual/search.texi: Likewise.
33867 * manual/setjmp.texi: Likewise.
33868 * manual/signal.texi: Likewise.
33869 * manual/socket.texi: Likewise.
33870 * manual/startup.texi: Likewise.
33871 * manual/stdio.texi: Likewise.
33872 * manual/string.texi: Likewise.
33873 * manual/sysinfo.texi: Likewise.
33874 * manual/syslog.texi: Likewise.
33875 * manual/terminal.texi: Likewise.
33876 * manual/time.texi: Likewise.
33877 * manual/users.texi: Likewise.
33878 * INSTALL: Regenerated.
33879 * NOTES: Regenerated.
d40c5d54 33880 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33881
450bf206
AS
338822012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33883
33884 * include/dirent.h: Include <dirstream.h> before
33885 <dirent/dirent.h>.
33886
741a235b
DM
338872012-02-28 David S. Miller <davem@davemloft.net>
33888
33889 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33890 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33891 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33892 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33893
d6b5aa58
DM
338942012-02-27 David S. Miller <davem@davemloft.net>
33895
1aff59a3
DM
33896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33898 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33899 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33900
d6b5aa58
DM
33901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33902 frame pointer instead of stack pointer relative arg slot.
33903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33904 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33905 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33906
433f48bf
CD
339072012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33908
33909 [BZ #3992]
33910 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33911
d674b76d
DM
339122012-02-27 David S. Miller <davem@davemloft.net>
33913
33914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33918 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33919 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33920 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33921 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33922
0e7727f7
JM
339232012-02-27 Joseph Myers <joseph@codesourcery.com>
33924
33925 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33926 later. Allow versions 5-9.
43be4ca2 33927 * configure: Regenerated.
0e7727f7
JM
33928 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33929 required minimum version and 4.6 as recommended version. Do not
33930 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33931 * INSTALL: Regenerated.
0e7727f7 33932
a78bc654
DM
339332012-02-27 David S. Miller <davem@davemloft.net>
33934
428d5830
DM
33935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33939 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33940 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33941 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33942 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33943
a78bc654
DM
33944 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33945 manipulate bits before adding and subtracting TWO112[sx].
33946 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33947
4579f81c
RM
339482012-02-27 Roland McGrath <roland@hack.frob.com>
33949
36c8acb4
RM
33950 [BZ #13775]
33951 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33952 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33953 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33954 being in POSIX, because they are in 1003.1-2008.
33955
84ad622b
RM
33956 * rt/tst-aio.c: Include <fcntl.h>.
33957 * rt/tst-aio7.c: Likewise.
33958 * rt/tst-aio64.c: Likewise.
33959
4579f81c
RM
33960 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33961
abd923db
JM
339622012-02-27 Joseph Myers <joseph@codesourcery.com>
33963
33964 * manual/install.texi (--with-headers): Describe headers as
33965 interface headers, not private headers.
33966 (Specific advice for GNU/Linux systems): Describe use of headers
33967 from "make headers_install", not private headers from older
33968 kernels.
43be4ca2 33969 * INSTALL: Regenerated.
abd923db
JM
33970 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33971 Change to 2.6.19.
33972 * sysdeps/unix/sysv/linux/configure: Regenerated.
33973
6664049b
JM
33974 * manual/llio.texi (fclean): Remove documentation.
33975
bb8b6697
JM
33976 * manual/Makefile (libc-texi-generated): New variable. Include
33977 version.texi.
33978 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33979 $(libc-texi-generated), not duplicated list of files.
33980 (version.texi, stamp-version): New rules.
33981 (realclean): Remove $(libc-texi-generated), not individual files
33982 from that list. Do not remove dir-add.texinfo.
33983 * manual/libc.texinfo: Comment out uses of edition numbers and
33984 references to printed manual. Remove last-updated dates.
33985 (EDITION): Comment out.
33986 (ISBN): Likewise.
33987 (VERSION, UPDATED): Remove.
33988 (version.texi): Include.
33989
12e5c3b9
AS
339902012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33991
33992 * sysdeps/posix/spawni.c: Include <signal.h>.
33993 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33994 * sysdeps/pthread/aio_fsync.c: Likewise.
33995
4efeffc1 339962012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33997
ba63ba08
UD
33998 * conform/Makefile (tests): Run only when not cross-compiling and
33999 when fast-check is not defined.
34000
d94a4670
UD
34001 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34002 * conform/data/limits.h-data: Fixes for POSIX2008.
34003 * conform/run-conformtest.sh: Run all tests.
34004 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34005 headers.
34006 * include/bits/dlfcn.h: Likewise.
34007 * include/langinfo.h: Likewise.
34008 * include/monetary.h: Likewise.
34009 * include/sys/poll.h: Likewise.
34010
34011 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34012 for __USE_GNU.
34013 * posix/spawn.h: Define __need_sigset_t.
34014 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34015 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34016 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34017 to get sigevent_t only.
34018 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34019 only for __USE_GNU.
34020 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34021 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34022 process_vm_writev only for __USE_GNU.
34023 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34024
34025 * conform/Makefile: For now ignore errors from run-conformtest.
34026 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34027 POSIX to avoid namespace pollution. Don't prepend headers.
34028 * conform/data/aio.h-data: Fixes for POSIX testing.
34029 * conform/data/fcntl.h-data: Likewise.
34030 * conform/data/glob.h-data: Likewise.
34031 * conform/data/grp.h-data: Likewise.
34032 * conform/data/pthread.h-data: Likewise.
34033 * conform/data/pwd.h-data: Likewise.
34034 * conform/data/signal.h-data: Likewise.
34035 * conform/data/spawn.h-data: Likewise.
34036 * conform/data/stdio.h-data: Likewise.
34037 * conform/data/stdlib.h-data: Likewise.
34038 * conform/data/stropts.h-data: Likewise.
34039 * conform/data/sys/mman.h-data: Likewise.
34040 * conform/data/sys/stat.h-data: Likewise.
34041 * conform/data/sys/types.h-data: Likewise.
34042 * conform/data/sys/wait.h-data: Likewise.
34043 * conform/data/time.h-data: Likewise.
34044 * conform/data/unistd.h-data: Likewise.
34045 * conform/data/utime.h-data: Likewise.
34046
34047 * io/sys/stat.h: fchmod was always in POSIX.
34048 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34049 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34050 * rt/aio.h: Define __need_timespec before including <time.h>.
34051 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34052 struct. Add forward declaration of pthread_attr_t and use it in
34053 sigevent.
34054 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34055 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34056 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34057 always remove CLK_TCK definition.
34058
c20105c3
AS
340592012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34060
34061 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34062
7a270350
UD
340632012-02-25 Ulrich Drepper <drepper@gmail.com>
34064
31341567
UD
34065 * conform/run-conformtest.sh: New file.
34066 * conform/Makefile: Run run-conformtest for tests.
34067 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34068 support.
34069
34070 * conform/data/uchar.h-data: New file.
34071 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34072 * conform/data/arpa/inet.h-data: Likewise.
34073 * conform/data/assert.h-data: Likewise.
34074 * conform/data/complex.h-data: Likewise.
34075 * conform/data/cpio.h-data: Likewise.
34076 * conform/data/ctype.h-data: Likewise.
34077 * conform/data/dirent.h-data: Likewise.
34078 * conform/data/dlfcn.h-data: Likewise.
34079 * conform/data/errno.h-data: Likewise.
34080 * conform/data/fcntl.h-data: Likewise.
34081 * conform/data/float.h-data: Likewise.
34082 * conform/data/fmtmsg.h-data: Likewise.
34083 * conform/data/fnmatch.h-data: Likewise.
34084 * conform/data/ftw.h-data: Likewise.
34085 * conform/data/glob.h-data: Likewise.
34086 * conform/data/grp.h-data: Likewise.
34087 * conform/data/iconv.h-data: Likewise.
34088 * conform/data/inttypes.h-data: Likewise.
34089 * conform/data/langinfo.h-data: Likewise.
34090 * conform/data/libgen.h-data: Likewise.
34091 * conform/data/limits.h-data: Likewise.
34092 * conform/data/locale.h-data: Likewise.
34093 * conform/data/math.h-data: Likewise.
34094 * conform/data/monetary.h-data: Likewise.
34095 * conform/data/mqueue.h-data: Likewise.
34096 * conform/data/ndbm.h-data: Likewise.
34097 * conform/data/net/if.h-data: Likewise.
34098 * conform/data/netdb.h-data: Likewise.
34099 * conform/data/netinet/in.h-data: Likewise.
34100 * conform/data/nl_types.h-data: Likewise.
34101 * conform/data/poll.h-data: Likewise.
34102 * conform/data/pthread.h-data: Likewise.
34103 * conform/data/pwd.h-data: Likewise.
34104 * conform/data/regex.h-data: Likewise.
34105 * conform/data/sched.h-data: Likewise.
34106 * conform/data/search.h-data: Likewise.
34107 * conform/data/semaphore.h-data: Likewise.
34108 * conform/data/setjmp.h-data: Likewise.
34109 * conform/data/signal.h-data: Likewise.
34110 * conform/data/spawn.h-data: Likewise.
34111 * conform/data/stdarg.h-data: Likewise.
34112 * conform/data/stdio.h-data: Likewise.
34113 * conform/data/stdlib.h-data: Likewise.
34114 * conform/data/string.h-data: Likewise.
34115 * conform/data/strings.h-data: Likewise.
34116 * conform/data/stropts.h-data: Likewise.
34117 * conform/data/sys/ipc.h-data: Likewise.
34118 * conform/data/sys/mman.h-data: Likewise.
34119 * conform/data/sys/msg.h-data: Likewise.
34120 * conform/data/sys/resource.h-data: Likewise.
34121 * conform/data/sys/select.h-data: Likewise.
34122 * conform/data/sys/sem.h-data: Likewise.
34123 * conform/data/sys/shm.h-data: Likewise.
34124 * conform/data/sys/socket.h-data: Likewise.
34125 * conform/data/sys/stat.h-data: Likewise.
34126 * conform/data/sys/statvfs.h-data: Likewise.
34127 * conform/data/sys/time.h-data: Likewise.
34128 * conform/data/sys/timeb.h-data: Likewise.
34129 * conform/data/sys/times.h-data: Likewise.
34130 * conform/data/sys/types.h-data: Likewise.
34131 * conform/data/sys/uio.h-data: Likewise.
34132 * conform/data/sys/un.h-data: Likewise.
34133 * conform/data/sys/utsname.h-data: Likewise.
34134 * conform/data/sys/wait.h-data: Likewise.
34135 * conform/data/syslog.h-data: Likewise.
34136 * conform/data/tar.h-data: Likewise.
34137 * conform/data/termios.h-data: Likewise.
34138 * conform/data/utime.h-data: Likewise.
34139 * conform/data/utmpx.h-data: Likewise.
34140 * conform/data/varargs.h-data: Likewise.
34141 * conform/data/wchar.h-data: Likewise.
34142 * conform/data/wctype.h-data: Likewise.
34143 * conform/data/wordexp.h-data: Likewise.
34144
34145 * include/stropts.h: New file.
34146 * include/uchar.h: New file.
34147 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34148 * include/assert.h: Likewise.
34149 * include/ctype.h: Likewise.
34150 * include/dirent.h: Likewise.
34151 * include/dlfcn.h: Likewise.
34152 * include/fcntl.h: Likewise.
34153 * include/fnmatch.h: Likewise.
34154 * include/glob.h: Likewise.
34155 * include/grp.h: Likewise.
34156 * include/libio.h: Likewise.
34157 * include/locale.h: Likewise.
34158 * include/math.h: Likewise.
34159 * include/net/if.h: Likewise.
34160 * include/netdb.h: Likewise.
34161 * include/netinet/in.h: Likewise.
34162 * include/pthread.h: Likewise.
34163 * include/pwd.h: Likewise.
34164 * include/regex.h: Likewise.
34165 * include/sched.h: Likewise.
34166 * include/search.h: Likewise.
34167 * include/setjmp.h: Likewise.
34168 * include/signal.h: Likewise.
34169 * include/stdio.h: Likewise.
34170 * include/stdlib.h: Likewise.
34171 * include/string.h: Likewise.
34172 * include/sys/cdefs.h: Likewise.
34173 * include/sys/mman.h: Likewise.
34174 * include/sys/msg.h: Likewise.
34175 * include/sys/resource.h: Likewise.
34176 * include/sys/select.h: Likewise.
34177 * include/sys/socket.h: Likewise.
34178 * include/sys/stat.h: Likewise.
34179 * include/sys/statvfs.h: Likewise.
34180 * include/sys/time.h: Likewise.
34181 * include/sys/times.h: Likewise.
34182 * include/sys/uio.h: Likewise.
34183 * include/sys/utsname.h: Likewise.
34184 * include/sys/wait.h: Likewise.
34185 * include/termios.h: Likewise.
34186 * include/time.h: Likewise.
34187 * include/ulimit.h: Likewise.
34188 * include/unistd.h: Likewise.
34189 * include/utime.h: Likewise.
34190 * include/wchar.h: Likewise.
34191 * include/wctype.h: Likewise.
34192 * include/wordexp.h: Likewise.
34193
34194 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34195
7a270350
UD
34196 * time/time.h: TIME_UTC must be a macro.
34197 Make timespec_get available for ISO C11 only as well.
34198
7724defc
UD
341992012-02-24 Ulrich Drepper <drepper@gmail.com>
34200
34201 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34202 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34203
6b1d1d46
JM
342042012-02-24 Joseph Myers <joseph@codesourcery.com>
34205
34206 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34207
0f8bbd69
JM
342082012-02-24 Joseph Myers <joseph@codesourcery.com>
34209
34210 * manual/texinfo.tex: Update to version 2012-01-19.16.
34211
66ab80bc
JM
342122012-02-24 Joseph Myers <joseph@codesourcery.com>
34213
34214 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34215
74981cc5
RM
342162012-02-24 Roland McGrath <roland@hack.frob.com>
34217
ee968201
RM
34218 [BZ #13738]
34219 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34220 * manual/fdl-1.3.texi: New file.
34221 * manual/fdl-1.1.texi: File removed.
34222
74981cc5
RM
34223 [BZ #13738]
34224 * manual/libc.texinfo (FDL_VERSION): New @set.
34225 Use it for mention of FDL in cover text.
34226 (Documentation License): Use it in @include file name.
34227
7bb764bc
JM
342282012-02-22 Joseph Myers <joseph@codesourcery.com>
34229 Roland McGrath <roland@hack.frob.com>
34230
34231 [BZ #5461]
34232 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34233 not LONG_LONG_MAX and LONG_LONG_MIN.
34234 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34235 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34236 name.
34237 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34238
6cbeae47
JM
342392012-02-22 Joseph Myers <joseph@codesourcery.com>
34240
34241 [BZ #2547]
34242 [BZ #11365]
34243 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34244 manipulate bits before adding and subtracting TWO23[sx].
34245 * math/libm-test.inc (nearbyint_test): Add more tests.
34246
fe45ce09
JM
342472012-02-22 Joseph Myers <joseph@codesourcery.com>
34248
34249 [BZ #2548]
34250 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34251 bits before adding and subtracting TWO23[sx].
34252 * math/libm-test.inc (rint_test): Add more tests.
34253 (rint_test_tonearest): Likewise.
34254 (rint_test_towardzero): Likewise.
34255 (rint_test_downward): Likewise.
34256 (rint_test_upward: Likewise.
34257
ff3b3d82
JM
342582012-02-22 Joseph Myers <joseph@codesourcery.com>
34259
34260 [BZ #10110]
34261 * include/stdc-predef.h: New file. Extracted from features.h.
34262 * include/features.h: Include stdc-predef.h.
34263 * Makefile (headers): Add stdc-predef.h.
34264 * CONFORMANCE (Compiler limitations): Update.
34265
ef0aab35
JM
342662012-02-22 Joseph Myers <joseph@codesourcery.com>
34267
34268 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34269
58639409
DM
342702012-02-21 David S. Miller <davem@davemloft.net>
34271
34272 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34273 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34274
c0e70b25
DM
342752012-02-20 David S. Miller <davem@davemloft.net>
34276
34277 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34278 using a normal save/restore sequence, rather than allocating a
34279 dummy stack frame just to store a frame pointer and restore.
34280 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34281
fb06851d
JM
342822012-02-21 Joseph Myers <joseph@codesourcery.com>
34283
34284 * manual/install.texi: Fix stray word in line-wrapped comment.
34285
7a8b71c3
DM
342862012-02-20 David S. Miller <davem@davemloft.net>
34287
d510c123
DM
34288 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34289 both binutils and gcc support GOTDATA.
34290
0722d7c2
DM
34291 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34292 "rd %pc" in the PIC register setup sequences.
34293
3d2b3019
DM
34294 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34295 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34296 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34297 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34298 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34300 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34303 (SYSCALL_ERROR_HANDLER): Likewise.
34304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34305 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34306 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34307 (SYSCALL_ERROR_HANDLER): Likewise.
34308
c80098a9
DM
34309 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34310 (HAVE_GCC_GOTDATA): New.
34311 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34312 relocation support in both binutils and gcc.
34313 * sysdeps/sparc/elf/configure: Regenerate.
34314
3a2545a0
DM
34315 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34316 * sysdeps/sparc/sparc32/elf/configure: Delete.
34317 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34318 * sysdeps/sparc/sparc64/elf/configure: Delete.
34319 * sysdeps/sparc/elf/configure.in: New file.
34320 * sysdeps/sparc/elf/configure: Generate.
34321
7a8b71c3
DM
34322 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34323 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34324 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34325 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34326 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34327
f1e86fca
JM
343282012-02-21 Joseph Myers <joseph@codesourcery.com>
34329
34330 * manual/install.texi: Do not mention specific glibc version
34331 numbers.
34332 * manual/libc.texinfo (VERSION, UPDATED): Update.
34333 (@copying): Use @copyright{} and range of years.
34334
0e7dfaef
JM
343352012-02-21 Joseph Myers <joseph@codesourcery.com>
34336
34337 [BZ #13695]
34338 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34339 [crti.S not in sysdirs] (generated): Do not append.
34340 [crti.S not in sysdirs] (omit-deps): Likewise.
34341 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34342 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34343 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34344 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34345 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34346 Likewise.
34347 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34348 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34349 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34350 * csu/defs.awk: Remove file.
34351 * sysdeps/generic/initfini.c: Likewise.
34352 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34353 variable.
34354 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34355 Likewise.
34356
599af3ca
JM
343572012-02-20 Joseph Myers <joseph@codesourcery.com>
34358
34359 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34360 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34361 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34362 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34363 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34364 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34365 <bits/epoll.h>.
34366 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34367 (__EPOLL_PACKED): Define to empty if not defined by
34368 <bits/epoll.h>.
34369 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34371 bits/epoll.h.
34372
0e499750
JM
343732012-02-20 Joseph Myers <joseph@codesourcery.com>
34374
34375 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34376 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34377 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34378 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34379 <bits/timerfd.h>.
34380 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34382 bits/timerfd.h.
34383
5ad91f6e
JM
343842012-02-20 Joseph Myers <joseph@codesourcery.com>
34385
34386 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34387 in C locale.
34388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34389 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34390 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34392
06b99b02
AJ
343932012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34394
34395 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34396 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34397
7638c0fd
AS
343982012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34399
34400 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34401 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34402 defined.
34403 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34404 Likewise.
34405 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34406 entry for 2.16.
34407
92221550
AJ
344082012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34409
34410 * math/w_acos.c: Use non-signaling floating-point comparisons.
34411 * math/w_acosf.c: Likewise.
34412 * math/w_acosh.c: Likewise.
34413 * math/w_acoshf.c: Likewise.
34414 * math/w_acoshl.c: Likewise.
34415 * math/w_acosl.c: Likewise.
34416 * math/w_asin.c: Likewise.
34417 * math/w_asinf.c: Likewise.
34418 * math/w_asinl.c: Likewise.
34419 * math/w_atanh.c: Likewise.
34420 * math/w_atanhf.c: Likewise.
34421 * math/w_atanhl.c: Likewise.
34422 * math/w_exp2.c: Likewise.
34423 * math/w_exp2f.c: Likewise.
34424 * math/w_exp2l.c: Likewise.
34425 * math/w_j0.c: Likewise.
34426 * math/w_j0f.c: Likewise.
34427 * math/w_j0l.c: Likewise.
34428 * math/w_j1.c: Likewise.
34429 * math/w_j1f.c: Likewise.
34430 * math/w_j1l.c: Likewise.
34431 * math/w_jn.c: Likewise.
34432 * math/w_jnf.c: Likewise.
34433 * math/w_log.c: Likewise.
34434 * math/w_log10.c: Likewise.
34435 * math/w_log10f.c: Likewise.
34436 * math/w_log10l.c: Likewise.
34437 * math/w_log2.c: Likewise.
34438 * math/w_log2f.c: Likewise.
34439 * math/w_log2l.c: Likewise.
34440 * math/w_logf.c: Likewise.
34441 * math/w_logl.c: Likewise.
34442 * math/w_sqrt.c: Likewise.
34443 * math/w_sqrtf.c: Likewise.
34444 * math/w_sqrtl.c: Likewise.
34445 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34446 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34447 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34448 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34449 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34450
ebaf36eb
JM
344512012-02-19 Joseph Myers <joseph@codesourcery.com>
34452
34453 [BZ #9739]
34454 * manual/string.texi (strnlen): Use correct parameter name in
34455 equivalent expression.
34456
71c254a6
JM
344572012-02-19 Joseph Myers <joseph@codesourcery.com>
34458
34459 [BZ #11174]
34460 * manual/users.texi (seteuid): Consistently use neweuid for
34461 argument name.
34462
16d2c631
JM
344632012-02-19 Joseph Myers <joseph@codesourcery.com>
34464
34465 [BZ #13704]
34466 * manual/nss.texi (Services in the NSS configuration): Correct
34467 list of services in example configuration file.
34468
cd837b09
NB
344692012-02-19 Nick Bowler <nbowler@draconx.ca>
34470
34471 [BZ #11322]
34472 * manual/arith.texi: Remove statements about negative zero
34473 behaving identically to zero.
34474
02c4bbad
JM
344752012-02-18 Joseph Myers <joseph@codesourcery.com>
34476
34477 [BZ #5993]
34478 * manual/install.texi: Do not document upgrading from libc5.
34479
366842e7
JM
344802012-02-18 Joseph Myers <joseph@codesourcery.com>
34481
34482 [BZ #4596]
34483 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34484
dd54084d
DM
344852012-02-18 David S. Miller <davem@davemloft.net>
34486
34487 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34488 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34489 %o7 across the call.
34490 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34491 instead.
34492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34493 SETUP_PIC_REG_LEAF.
34494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34495 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34496 * sysdeps/sparc/crtn.S: Likewise.
34497
2bcc53a3
UD
344982012-02-17 Ulrich Drepper <drepper@gmail.com>
34499
34500 * aout/Makefile: Remove.
34501
09c093b5
RK
345022012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34503
34504 [BZ #13058]
34505 * manual/examples/argp-ex1.c (main): Format definition in GNU
34506 style.
34507 * manual/examples/argp-ex2.c (main): Likewise.
34508 * manual/examples/argp-ex3.c (main): Likewise.
34509 * manual/examples/argp-ex4.c (main): Likewise.
34510 * manual/examples/longopt.c (main): Use new-style prototype
34511 definition.
34512 * manual/examples/strncat.c (main): Specify return type and use
34513 (void) for arguments.
34514 * manual/examples/subopt.c (main): Use char **argv argument.
34515
2ee633a2
JM
345162012-02-17 Joseph Myers <joseph@codesourcery.com>
34517
34518 [BZ #5077]
34519 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34520 rounding modes.
34521
0520adde
FB
345222012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34523
34524 [BZ #6907]
34525 * manual/string.texi (strchr): Change when strchrnul is
34526 recommended.
34527
3f4081cd
DGM
345282012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34529
34530 [BZ #174]
34531 * manual/locale.texi (setlocale): Document LOCPATH.
34532
d1b10e78
JM
345332012-02-17 Joseph Myers <joseph@codesourcery.com>
34534
34535 [BZ #10210]
34536 * manual/process.texi (execle): Move @dots{} before last argument.
34537
79c6869c
PB
345382012-02-17 Paul Bolle <pebolle@tiscali.nl>
34539
34540 [BZ #12047]
34541 * manual/charset.texi (Generic Charset Conversion): Fix typo
34542 (LC_TYPE -> LC_CTYPE).
34543
cc6e48bc
NB
345442012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34545
34546 [BZ #5805]
34547 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34548 (scalbnf): Likewise.
34549 (scalbnl): Likewise.
34550 (scalbln): Likewise.
34551 (scalblnf): Likewise.
34552 (scalblnl): Likewise.
34553 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34554 (vwarnx): Likewise.
34555 (verr): Likewise.
34556 (verrx): Likewise.
34557 * manual/filesys.texi (telldir): Use braces around return type.
34558 * manual/llio.texi (mmap): Add space after comma.
34559 (mmap64): Likewise.
34560 * manual/math.texi (jn): Use @var{} on parameter names.
34561 (jnf): Likewise.
34562 (jnl): Likewise.
34563 (yn): Likewise.
34564 (ynf): Likewise.
34565 (ynl): Likewise.
34566 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34567 line.
34568 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34569 "...".
34570 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34571 (sched_get_priority_max): Likewise.
34572 * manual/signal.texi (sigvec): Add space after comma.
34573 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34574 names.
34575 (if_indextoname): Likewise.
34576 (if_freenameindex): Likewise.
34577 (sendto): Use ',' instead of '.' in prototype.
34578 * manual/startup.texi (syscall): Use @dots{} instead of literal
34579 "...".
34580 * manual/stdio.texi (__fpending): Separate initial words of
34581 paragraph from @deftypefun line.
34582 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34583 "...".
34584 (vsyslog): Use @var{} on parameter names.
34585 * manual/terminal.texi (stty): Use @var{} on parameter names.
34586 * manual/users.texi (getutmp): Use @var{} on parameter names.
34587 (getutmpx): Likewise.
34588
5b23062f
JM
345892012-02-17 Joseph Myers <joseph@codesourcery.com>
34590
34591 [BZ #6884]
34592 * manual/stdio.texi (fopen): Fix typos in description of
34593 ",ccs=STRING".
34594
8dee4833
AJ
345952012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34596
34597 [BZ #4026]
34598 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34599 get clock_id definition.
34600
9078ce93
TS
346012012-02-17 Thomas Schwinge <thomas@schwinge.name>
34602
34603 [BZ #4822]
34604 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34605 (madvise): Cast every argument to void on its own.
34606
3835c55f
JM
346072012-02-17 Joseph Myers <joseph@codesourcery.com>
34608
34609 [BZ #9902]
34610 * manual/startup.texi (Exit Status): Fix typo.
34611
35c47e37
JM
346122012-02-17 Joseph Myers <joseph@codesourcery.com>
34613
34614 [BZ #10140]
34615 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34616 * manual/examples/argp-ex2.c: Likewise.
34617 * manual/examples/argp-ex3.c: Likewise.
34618
e3b69ca7
RH
346192012-02-16 Richard Henderson <rth@redhat.com>
34620
34621 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34622 * sysdeps/s390/s390-32/initfini.c: Remove.
34623 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34624 * sysdeps/s390/s390-64/initfini.c: Remove.
34625
df83af67
KK
346262012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34627
34628 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34629 compiler output for sysdeps/generic/initfini.c.
34630 * sysdeps/sh/elf/initfini.c: Remove file.
34631
f63f3380
DM
346322012-02-16 David S. Miller <davem@davemloft.net>
34633
fb59b3a4
DM
34634 [BZ #11494]
34635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34636
f63f3380
DM
34637 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34638 * sysdeps/sparc/crti.S: New file.
34639 * sysdeps/sparc/crtn.S: New file.
34640 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34641 * sysdeps/sparc/sparc64/Makefile: Likewise.
34642
df6a4a4a
MF
346432012-02-15 Mike Frysinger <vapier@gentoo.org>
34644
6dd8f3dc 34645 [BZ #3335]
df6a4a4a
MF
34646 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34647
1cac7236
RM
346482012-02-15 Roland McGrath <roland@hack.frob.com>
34649
d2c736f8
RM
34650 [BZ #4822]
34651 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34652
1cac7236
RM
34653 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34654 (write, read, close): Likewise.
34655 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34656
8e475601
JM
346572012-02-15 Joseph Myers <joseph@codesourcery.com>
34658
34659 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34660 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34661 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34662 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34663 <bits/signalfd.h>.
34664 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34666 bits/signalfd.h.
34667
ed656b40
MP
346682012-02-14 Marek Polacek <polacek@redhat.com>
34669
34670 * sysdeps/x86_64/crti.S: New file.
34671 * sysdeps/x86_64/crtn.S: New file.
34672 * sysdeps/x86_64/elf/initfini.c: Remove file.
34673
2a979d3a
JM
346742012-02-13 Joseph Myers <joseph@codesourcery.com>
34675
34676 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34677 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34678 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34679 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34680 <bits/inotify.h>.
34681 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34683 bits/inotify.h.
34684
2a418ac3
JM
346852012-02-13 Joseph Myers <joseph@codesourcery.com>
34686
34687 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34688 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34689 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34690 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34691 <bits/eventfd.h>.
34692 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34694 bits/eventfd.h.
34695
fb779be7
TS
346962012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34697
e19e83c5
RM
34698 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34699 __feraiseexcept instead of feraiseexcept.
7c35ffed 34700
fb779be7
TS
34701 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34702 nanosleep invocations.
34703 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34704 strings, and add error checking for a nanosleep invocations.
34705
59ba27a6
PE
347062012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34707
34708 Replace FSF snail mail address with URLs, as per GNU coding standards.
34709 Most of the snail mail addresses were wrong anyway, and omitting
34710 them makes the source code easier to maintain. Almost all of the
34711 changes are to license notices and to locale LC_IDENTIFICATION
34712 addresses, except for this one:
34713 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34714 not its snail mail address.
34715
57b957eb
RH
347162012-02-09 Richard Henderson <rth@twiddle.net>
34717
af850b1c
RH
34718 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34719 of kernel-features.h.
34720
57b957eb
RH
34721 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34722
6b73181a
MP
347232012-02-08 Marek Polacek <polacek@redhat.com>
34724
34725 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34726 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34727 * sysdeps/gnu/_G_config.h: Likewise.
34728 * sysdeps/generic/_G_config.h: Likewise.
34729
26ecc33a
AS
347302012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34731
6c6dbc63
AS
34732 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34733 tests.
34734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34735
e216c012
AS
34736 * sysdeps/powerpc/powerpc32/crti.S: New file.
34737 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34738 * sysdeps/powerpc/powerpc64/crti.S: New file.
34739 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34740
26ecc33a
AS
34741 * Makeconfig (have-initfini): Don't set.
34742 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34743 * configure.in (nopic_initfini): Don't substitute.
34744 * config.h.in (HAVE_INITFINI): Don't #undef.
34745 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34746 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34747
3add8e13
JM
347482012-02-08 Joseph Myers <joseph@codesourcery.com>
34749
34750 Support crti.S and crtn.S provided directly by architectures.
34751 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34752 [crti.S in sysdirs] (omit-deps): Likewise.
34753 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34754 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34755 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34756 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34757 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34758 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34759 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34760 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34761 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34762 compiler output for sysdeps/generic/initfini.c.
34763 * sysdeps/i386/elf/Makefile: Remove file.
34764 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34765
a22f12b4
MP
347662012-02-07 Marek Polacek <polacek@redhat.com>
34767
34768 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34769 * sysdeps/gnu/_G_config.h: Likewise.
34770 * sysdeps/mach/hurd/_G_config.h: Likewise.
34771
148cf100
MP
347722012-02-07 Marek Polacek <polacek@redhat.com>
34773
34774 * math/Makefile (tests): Add tst-CMPLX2.
34775 * math/tst-CMPLX2.c: New file.
34776
cfdc0dd7
AS
347772012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34778
84ba42c4
AS
34779 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34780
cfdc0dd7
AS
34781 * math/libm-test.inc (jn_test): Add missing L suffix.
34782
622c86f4
MP
347832012-02-06 Marek Polacek <polacek@redhat.com>
34784
34785 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34786 * sysdeps/i386/fpu/e_powf.S: Likewise.
34787 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34788 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34789 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34790 * sysdeps/i386/fpu/e_pow.S: Likewise.
34791 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34792 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34793 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34794 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34795 * sysdeps/i386/fpu/e_log2.S: Likewise.
34796 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34797 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34798 * sysdeps/i386/fpu/e_powl.S: Likewise.
34799 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34800 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34801 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34802 * sysdeps/i386/fpu/e_logl.S: Likewise.
34803 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34804 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34805 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34806 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34807 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34808 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34809 * sysdeps/i386/fpu/e_log.S: Likewise.
34810 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34811 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34812 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34813 * sysdeps/i386/fpu/e_logf.S: Likewise.
34814 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34815 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34816 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34817 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34818 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34819 * sysdeps/i386/fpu/e_log10.S: Likewise.
34820 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34821 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34822 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34823 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34824 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34825 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34826 * sysdeps/i386/asm-syntax.h: Likewise.
34827 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34828 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34829 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34830 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34831 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34832 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34833 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34834 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34835 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34836 * sysdeps/powerpc/sysdep.h: Likewise.
34837 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34838 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34839
d4a54ac6
JM
348402012-02-06 Joseph Myers <joseph@codesourcery.com>
34841
34842 [BZ #411]
34843 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34844
314054ea
JM
348452012-02-06 Joseph Myers <joseph@codesourcery.com>
34846
34847 * sysdeps/i386/sysdep.h: Include <features.h>.
34848 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34849 version.
34850
d8e0ca50
JM
348512012-02-05 Joseph Myers <joseph@codesourcery.com>
34852
34853 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34854 Define.
34855 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34856 LOAD_PIC_REG_STR.
34857
b1da7dd9
JM
348582012-02-03 Joseph Myers <joseph@codesourcery.com>
34859
34860 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34861 (SETUP_PIC_REG): Use GET_PC_THUNK.
34862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34863 macro.
34864
9a1d9254
JM
348652012-02-03 Joseph Myers <joseph@codesourcery.com>
34866
34867 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34868 for non-PIC compilation.
34869 (SETUP_PIC_REG): Add .p2align directive.
34870 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34871 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34872 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34873 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34874 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34875 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34876 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34878 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34879 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34880 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34881 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34882 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34883 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34884 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34885 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34886 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34887 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34888 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34889 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34890 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34891 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34892 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34893 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34896 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34897 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34898 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34899 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34900 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34901 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34902 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34903 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34904 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34905 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34906 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34907 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34908 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34909 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34910 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34911
65dc3b75
JM
349122012-02-03 Joseph Myers <joseph@codesourcery.com>
34913
34914 * math/tst-CMPLX.c: Include <stdio.h>.
34915
d55bf177
JM
349162012-01-31 Joseph Myers <joseph@codesourcery.com>
34917
34918 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34919 float.
34920 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34921 * sysdeps/sparc/bits/mathdef.h: Likewise.
34922
69db4f8f
MP
349232012-01-31 Marek Polacek <polacek@redhat.com>
34924
34925 * libio/libio.h: Don't define _PARAMS.
34926 * locale/programs/config.h: Don't define PARAMS.
34927 * stdlib/strtol_l.c: Likewise.
34928 (__strtol_l): Remove PARAMS from the prototype.
34929
41b81892
UD
349302012-01-31 Ulrich Drepper <drepper@gmail.com>
34931
3b49edc0
UD
34932 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34933 names. Just use the correct names. Remove unnecessary wrapper
34934 functions.
34935 * malloc/arena.c: Likewise.
34936 * malloc/hooks.c: Likewise.
34937
41b81892
UD
34938 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34939 ARENA_TEST says not to. Simplify test for creation of a new arena.
34940 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34941
27a25b6e
UD
349422012-01-30 Ulrich Drepper <drepper@gmail.com>
34943
34944 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34945 into tail calls.
34946 (update_get_addr): New function.
34947 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34948 GET_ADDR_MODULE parameter.
34949
c8a89e7d
JM
349502012-01-30 Joseph Myers <joseph@codesourcery.com>
34951
34952 * crypt/cert.c: Remove __STDC__ conditionals.
34953 * crypt/crypt-entry.c: Likewise.
34954 * crypt/crypt_util.c: Likewise.
34955 * libio/filedoalloc.c: Likewise.
34956 * libio/fileops.c: Likewise.
34957 * libio/genops.c: Likewise.
34958 * libio/iofclose.c: Likewise.
34959 * libio/iofdopen.c: Likewise.
34960 * libio/iofopen.c: Likewise.
34961 * libio/iofopen64.c: Likewise.
34962 * libio/iogetdelim.c: Likewise.
34963 * libio/iopopen.c: Likewise.
34964 * libio/obprintf.c: Likewise.
34965 * libio/oldfileops.c: Likewise.
34966 * libio/oldiofclose.c: Likewise.
34967 * libio/oldiofdopen.c: Likewise.
34968 * libio/oldiofopen.c: Likewise.
34969 * libio/oldiopopen.c: Likewise.
34970 * libio/wfiledoalloc.c: Likewise.
34971 * libio/wgenops.c: Likewise.
34972 * locale/programs/xmalloc.c: Likewise.
34973 * misc/syslog.c: Likewise.
34974 * stdio-common/xbug.c: Likewise.
34975 * string/memchr.c: Likewise.
34976 * string/memcmp.c: Likewise.
34977 * string/memrchr.c: Likewise.
34978 * string/rawmemchr.c: Likewise.
34979 * sysdeps/posix/getcwd.c: Likewise.
34980 * time/strftime_l.c: Likewise.
34981
3b100462
JM
349822012-01-30 Joseph Myers <joseph@codesourcery.com>
34983
34984 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34985 * config.make.in (config-cflags-sse2avx): Define.
34986 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34987 Fix typo.
34988
607998af
CM
349892012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34990
34991 * scripts/config.guess: Update from upstream config git repository.
34992 * scripts/config.sub: Likewise.
34993
3601428f
CM
349942012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34995
3ac8b282
CM
34996 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34997 (EM_NUM): Update.
34998 (R_TILEPRO_*, R_TILEGX_*): New macros.
34999
e034841e
CM
35000 * scripts/firstversions.awk: Fix bug in version range handling.
35001
540d7568
CM
35002 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35003
3601428f
CM
35004 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35005
463de862
CM
35006 * include/sys/epoll.h: New file.
35007 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35008 libc_hidden_def.
35009
73139a76
UD
350102012-01-28 Ulrich Drepper <drepper@gmail.com>
35011
96bc5b45
UD
35012 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35013 Avoid unnecessary __WORDSIZE == 64 test.
35014 (fmaxf): Use VEX format if possible.
35015 (fmax): Likewise.
35016 (fminf): Likewise.
35017 (fmin): Likewise.
35018
56f6f6a2
UD
35019 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35020 * math/math_private.h: Remove libc_fegetround* and
35021 libc_fesetround*.
35022 * sysdeps/i386/configure.in: Check for -msse2avx.
35023 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35024 also if SSE2AVX is defined.
35025 Remove libc_fegetround* and libc_fesetround*.
35026 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35027 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35028 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35029 of HAS_YMM_USABLE.
35030 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35031 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35035
73139a76
UD
35036 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35037
d73f93a4
AZ
350382012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35039
35040 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35041 size is not set.
35042 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35043
6ee65ed6
UD
350442012-01-27 Ulrich Drepper <drepper@gmail.com>
35045
35046 [BZ #13618]
35047 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35048 relocation.
35049 * Makeconfig (libm): Define.
35050 * elf/Makefile: Add rules to build and run tst-relsort1.
35051 * elf/tst-relsort1.c: New file.
35052 * elf/tst-relsort1mod1.c: New file.
35053 * elf/tst-relsort1mod2.c: New file.
35054
8db21882
JM
350552012-01-27 Joseph Myers <joseph@codesourcery.com>
35056
35057 * math/s_ldexp.c: Remove __STDC__ conditionals.
35058 * math/s_ldexpf.c: Likewise.
35059 * math/s_ldexpl.c: Likewise.
35060 * math/s_nextafter.c: Likewise.
35061 * math/s_nexttowardf.c: Likewise.
35062 * math/s_significand.c: Likewise.
35063 * math/s_significandf.c: Likewise.
35064 * math/s_significandl.c: Likewise.
35065 * math/w_jnl.c: Likewise.
35066 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35067 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35068 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35069 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35070 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35071 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35072 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35073 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35074 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35075 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35076 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35077 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35078 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35079 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35080 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35081 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35082 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35083 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35085 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35086 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35087 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35088 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35089 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35090 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35091 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35092 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35093 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35094 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35095 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35096 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35097 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35098 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35100 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35101 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35102 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35103 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35104 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35105 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35106 * sysdeps/ieee754/k_standard.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35168 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35173 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35181 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35182 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35186 * sysdeps/ieee754/s_matherr.c: Likewise.
35187 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35188 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35191
965a54a4
JM
351922012-01-26 Joseph Myers <joseph@codesourcery.com>
35193
35194 * crypt/md5.h: Remove __STDC__ conditionals.
35195 * libio/libioP.h: Likewise.
35196 * locale/programs/config.h: Likewise.
35197 * sysdeps/generic/sysdep.h: Likewise.
35198 * sysdeps/i386/asm-syntax.h: Likewise.
35199 * sysdeps/s390/asm-syntax.h: Likewise.
35200 * sysdeps/unix/sysdep.h: Likewise.
35201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35203
7071ad79
JM
352042012-01-26 Joseph Myers <joseph@codesourcery.com>
35205
35206 * libio/libio.h: Remove __STDC__ conditionals.
35207 * malloc/obstack.h: Likewise.
35208 * math/complex.h: Likewise.
35209 * math/math.h: Likewise.
35210 * sysdeps/generic/_G_config.h: Likewise.
35211 * sysdeps/gnu/_G_config.h: Likewise.
35212 * sysdeps/mach/hurd/_G_config.h: Likewise.
35213 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35214 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35215 * sysdeps/sparc/bits/mathdef.h: Likewise.
35216
afc5ed09
UD
352172012-01-26 Ulrich Drepper <drepper@gmail.com>
35218
35219 [BZ #13583]
35220 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35221 Clean up HAS_* macros.
afc5ed09 35222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35223 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35224 possible.
35225 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35226 HAS_AVX.
35227 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35228 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35229 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35230 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35231 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35232
bdb6de1d
JM
352332012-01-25 Joseph Myers <joseph@codesourcery.com>
35234
35235 * elf/tst-unique3.cc (gets): Remove declaration.
35236 * elf/tst-unique3lib.cc (gets): Likewise.
35237 * elf/tst-unique3lib2.cc (gets): Likewise.
35238 * elf/tst-unique4.cc (gets): Likewise.
35239
b15549e6
UD
352402012-01-24 Ulrich Drepper <drepper@gmail.com>
35241
35242 * include/stdio.h: Add C++ protection. Add gets declarations and
35243 definitions.
35244 * debug/tst-chk1.c: Don't declare gets here.
35245 * stdio-common/tst-gets.c: Likewise.
35246
a037381f
JM
352472012-01-24 Joseph Myers <joseph@codesourcery.com>
35248
35249 * posix/glob: Remove directory.
35250
f1d4aa75
JM
352512012-01-24 Joseph Myers <joseph@codesourcery.com>
35252
35253 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35254
81c0c964
PT
352552012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35256
35257 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35258 of the non-standard EPFNOSUPPORT.
35259
0ea698ae
ST
352602011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35261
35262 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35263 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35264 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35265
d220b117
UD
352662012-01-21 Ulrich Drepper <drepper@gmail.com>
35267
35268 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35269
3e1aa84e
UD
352702012-01-20 Ulrich Drepper <drepper@gmail.com>
35271
35272 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35273 transient errors.
35274 * nscd/grpcache.c (cache_addgr): Likewise.
35275 * nscd/hstcache.c (cache_addhst): Likewise.
35276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35277 * nscd/pwdcache.c (cache_addpw): Likewise.
35278 * nscd/servicescache.c (cache_addserv): Likewise.
35279
400aa020
UD
352802012-01-16 Ulrich Drepper <drepper@gmail.com>
35281
d77e7869
UD
35282 * malloc/malloc.c: Various cleanups.
35283 * malloc/hooks.c: Likewise.
35284
400aa020
UD
35285 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35286 * stdlib/bug-fmtmsg1.c: New file.
35287
35288 * stdlib/fmtmsg.c (init): Add missing unlock.
35289 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35290
e0a309cf
MP
352912012-01-12 Marek Polacek <polacek@redhat.com>
35292
35293 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35294 and _GNU_SOURCE.
35295
929d11c7
WS
352962012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35297
35298 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35299 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35300 macro to ensure uniqueness of label name.
35301 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35302 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35303
41d0e869
UD
353042012-01-11 Ulrich Drepper <drepper@gmail.com>
35305
0cc5ed3b
UD
35306 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35307
41d0e869
UD
35308 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35309 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35310 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35312
a47a831a
UD
353132012-01-10 Ulrich Drepper <drepper@gmail.com>
35314
daa891c0
UD
35315 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35316
35317 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35318 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35319 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35320
e58ef0f2
UD
35321 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35322
a47a831a 35323 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35324 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35325 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35326 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35327
35328 * math/bits/math-finite.h: Add ldexp support.
35329
a0bfc9c7
MP
353302012-01-10 Marek Polacek <polacek@redhat.com>
35331
35332 * locale/programs/localedef.h (show_archive_content): Add noreturn
35333 attribute.
35334
d6e97a1d
UD
353352012-01-09 Ulrich Drepper <drepper@gmail.com>
35336
35337 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35338
d5835c26
UD
353392012-01-08 Ulrich Drepper <drepper@gmail.com>
35340
e5f484c6
UD
35341 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35342
d5835c26
UD
35343 * io/Makefile (headers): Add bits/poll2.h.
35344
d1f741e9
WS
353452011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35346
35347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35348 typo #include statement.
35349
ec09c1c4
UD
353502012-01-08 Ulrich Drepper <drepper@gmail.com>
35351
35352 * include/sys/cdefs.h: Define __attribute_alloc_size.
35353 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35354 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35355 * elf/pldd.c: Likewise.
35356 * iconv/iconv_charmap.c: Likewise.
35357 * iconv/iconvconfig.c: Likewise.
35358 * iconv/strtab.c: Likewise.
35359 * locale/programs/locale.c: Likewise.
35360 * locale/programs/localedef.h: Likewise.
35361 * locale/programs/simple-hash.c: Likewise.
35362 * nscd/nscd.h: Likewise.
35363 * nss/makedb.c: Likewise.
35364 * sysdeps/generic/ldconfig.h: Likewise.
35365 * locale/programs/localedef.c: Remove xmalloc prototype.
35366 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35367
20b38e03
PP
353682012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35369
35370 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35371 appropriate.
35372
a0da5fe1
UD
353732012-01-08 Ulrich Drepper <drepper@gmail.com>
35374
1d5a644a 35375 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35376 * math/tst-CMPLX.c: New file.
1d5a644a 35377
8784a6db
UD
35378 * math/complex.h (CMPLXL): Fix typo.
35379
d9a216c0
UD
35380 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35381 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35382 GLIBC_2.16.
35383 * debug/tst-chk1.c: Add poll and ppoll tests.
35384 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35385 * include/sys/poll.h: Add hidden proto for ppoll.
35386 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35387 * sysdeps/mach/hurd/ppoll.c: Likewise.
35388 * io/ppoll.c: Likewise.
35389 * debug/poll_chk.c: New file.
35390 * debug/ppoll_chk.c: New file.
35391 * include/bits/poll2.h: New file.
35392 * io/bits/poll2.h: New file.
35393
ac097f5c
UD
35394 [BZ #1350]
35395 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35396
2119dcfa
UD
35397 * configure.in: static is always set to yes. Remove.
35398 * config.make.in: Don't set build-static.
35399 * Makeconfig: Remove use of build-static.
35400 * dlfcn/Makefile: Likewise.
35401 * elf/Makefile: Likewise.
35402 * math/Makefile: Likewise.
35403 * misc/Makefile: Likewise.
35404 * nptl/Makefile: Likewise.
35405 * sysdeps/mach/hurd/Makefile: Likewise.
35406
121766a9
UD
35407 * configure.in: PWD_P is not used anymore.
35408 * config.make.in: Remove PWD_P entry.
35409
51a1d39c 35410 * configure.in: Remove last remnants of RANLIB.
8720d066 35411 No need to check for signed size_t anymore.
215f4bdc
UD
35412 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35413 and IA-64.
3857022a 35414 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35415 * aclocal.m4: Likewise.
35416
d3ed7225
UD
35417 * wcsmbs/mbrtoc16.c: Implement using towc function.
35418 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35419 * wcsmbs/wcsmbsload.c: Likewise.
35420 * iconv/gconv_simple.c: Likewise.
35421 * iconv/gconv_int.h: Likewise.
35422 * iconv/gconv_builtin.h: Likewise.
35423 * iconv/iconv_prog.c: Remove CHAR16 handling.
35424
35425 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35426
35427 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35428
a0da5fe1
UD
35429 * configure.in: Remove --with-elf and --enable-bounded options.
35430 Dont set base_machine for ia64. More non-ELF conditions removed.
35431 Remove testing and setting of leading underscore information.
35432 * config.make.in (build-bounded): Set to no.
35433 * config.h.in: Remove NO_UNDERSCORES entry.
35434 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35435 them.
35436 * csu/start.c: Remove !NO_UNDERSCORE code.
35437 * locale/localeinfo.h: Likewise.
35438 * sysdeps/generic/machine-gmon.h: Likewise.
35439 * sysdeps/generic/sysdep.h: Likewise.
35440 * sysdeps/i386/sysdep.h: Likewise.
35441 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35442 * sysdeps/mach/sysdep.h: Likewise.
35443 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35444 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35445 * sysdeps/sh/sysdep.h: Likewise.
35446 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35447 * sysdeps/unix/i386/sysdep.S: Likewise.
35448 * sysdeps/unix/sparc/start.c: Likewise.
35449 * sysdeps/unix/sparc/sysdep.S: Likewise.
35450 * sysdeps/unix/sparc/sysdep.h: Likewise.
35451 * sysdeps/unix/start.c: Likewise.
35452 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35453 * sysdeps/x86_64/sysdep.h: Likewise.
35454
df78418a
UD
354552012-01-07 Ulrich Drepper <drepper@gmail.com>
35456
a784e502
UD
35457 [BZ #13553]
35458 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35459 for non-gcc.
35460 * argp/argp-fmtstream.h: Use const instead __const.
35461 * argp/argp.h: Likewise.
35462 * assert/assert.h: Likewise.
35463 * bits/fenv.h: Likewise.
35464 * bits/sched.h: Likewise.
35465 * bits/sigset.h: Likewise.
35466 * bits/sigthread.h: Likewise.
35467 * catgets/nl_types.h: Likewise.
35468 * conform/data/pthread.h-data: Likewise.
35469 * crypt/crypt-private.h: Likewise.
35470 * crypt/crypt.h: Likewise.
35471 * crypt/crypt_util.c: Likewise.
35472 * ctype/ctype.h: Likewise.
35473 * debug/execinfo.h: Likewise.
35474 * debug/mbsnrtowcs_chk.c: Likewise.
35475 * debug/mbsrtowcs_chk.c: Likewise.
35476 * debug/wcsnrtombs_chk.c: Likewise.
35477 * debug/wcsrtombs_chk.c: Likewise.
35478 * debug/wcstombs_chk.c: Likewise.
35479 * dirent/dirent.h: Likewise.
35480 * dlfcn/dlfcn.h: Likewise.
35481 * elf/neededtest4.c: Likewise.
35482 * grp/grp.h: Likewise.
35483 * gshadow/gshadow.h: Likewise.
35484 * iconv/gconv.h: Likewise.
35485 * iconv/gconv_int.h: Likewise.
35486 * iconv/gconv_simple.c: Likewise.
35487 * iconv/iconv.h: Likewise.
35488 * iconv/loop.c: Likewise.
35489 * iconv/skeleton.c: Likewise.
35490 * include/aio.h: Likewise.
35491 * include/aliases.h: Likewise.
35492 * include/argz.h: Likewise.
35493 * include/arpa/inet.h: Likewise.
35494 * include/assert.h: Likewise.
35495 * include/dirent.h: Likewise.
35496 * include/dlfcn.h: Likewise.
35497 * include/execinfo.h: Likewise.
35498 * include/fcntl.h: Likewise.
35499 * include/fenv.h: Likewise.
35500 * include/glob.h: Likewise.
35501 * include/grp.h: Likewise.
35502 * include/libintl.h: Likewise.
35503 * include/mntent.h: Likewise.
35504 * include/netdb.h: Likewise.
35505 * include/pwd.h: Likewise.
35506 * include/rpc/netdb.h: Likewise.
35507 * include/sched.h: Likewise.
35508 * include/search.h: Likewise.
35509 * include/shadow.h: Likewise.
35510 * include/signal.h: Likewise.
35511 * include/stdio.h: Likewise.
35512 * include/stdlib.h: Likewise.
35513 * include/string.h: Likewise.
35514 * include/sys/socket.h: Likewise.
35515 * include/sys/stat.h: Likewise.
35516 * include/sys/statfs.h: Likewise.
35517 * include/sys/statvfs.h: Likewise.
35518 * include/sys/syslog.h: Likewise.
35519 * include/sys/time.h: Likewise.
35520 * include/sys/uio.h: Likewise.
35521 * include/time.h: Likewise.
35522 * include/unistd.h: Likewise.
35523 * include/utmp.h: Likewise.
35524 * include/wchar.h: Likewise.
35525 * include/wctype.h: Likewise.
35526 * inet/aliases.h: Likewise.
35527 * inet/arpa/inet.h: Likewise.
35528 * inet/netinet/ether.h: Likewise.
35529 * inet/netinet/in.h: Likewise.
35530 * intl/libintl.h: Likewise.
35531 * io/bits/fcntl2.h: Likewise.
35532 * io/fcntl.h: Likewise.
35533 * io/ftw.h: Likewise.
35534 * io/sys/poll.h: Likewise.
35535 * io/sys/stat.h: Likewise.
35536 * io/sys/statfs.h: Likewise.
35537 * io/sys/statvfs.h: Likewise.
35538 * io/utime.h: Likewise.
35539 * libio/bits/stdio.h: Likewise.
35540 * libio/bits/stdio2.h: Likewise.
35541 * libio/libio.h: Likewise.
35542 * libio/libioP.h: Likewise.
35543 * libio/stdio.h: Likewise.
35544 * locale/lc-ctype.c: Likewise.
35545 * locale/locale.h: Likewise.
35546 * login/utmp.h: Likewise.
35547 * malloc/arena.c: Likewise.
35548 * malloc/malloc.c: Likewise.
35549 * malloc/malloc.h: Likewise.
35550 * malloc/mcheck.c: Likewise.
35551 * malloc/mtrace.c: Likewise.
35552 * math/bits/mathcalls.h: Likewise.
35553 * math/fenv.h: Likewise.
35554 * math/math_private.h: Likewise.
35555 * misc/bits/error.h: Likewise.
35556 * misc/bits/syslog.h: Likewise.
35557 * misc/err.h: Likewise.
35558 * misc/error.h: Likewise.
35559 * misc/fstab.h: Likewise.
35560 * misc/mntent.h: Likewise.
35561 * misc/regexp.h: Likewise.
35562 * misc/search.h: Likewise.
35563 * misc/sgtty.h: Likewise.
35564 * misc/sys/mman.h: Likewise.
35565 * misc/sys/syslog.h: Likewise.
35566 * misc/sys/uio.h: Likewise.
35567 * misc/sys/xattr.h: Likewise.
35568 * misc/ttyent.h: Likewise.
35569 * nis/rpcsvc/ypclnt.h: Likewise.
35570 * nss/nss.h: Likewise.
35571 * posix/bits/unistd.h: Likewise.
35572 * posix/fnmatch.h: Likewise.
35573 * posix/glob.h: Likewise.
35574 * posix/sched.h: Likewise.
35575 * posix/spawn.h: Likewise.
35576 * posix/sys/wait.h: Likewise.
35577 * posix/unistd.h: Likewise.
35578 * posix/wordexp.h: Likewise.
35579 * pwd/pwd.h: Likewise.
35580 * resolv/netdb.h: Likewise.
35581 * resource/sys/resource.h: Likewise.
35582 * rt/aio.h: Likewise.
35583 * rt/bits/mqueue2.h: Likewise.
35584 * rt/mqueue.h: Likewise.
35585 * shadow/shadow.h: Likewise.
35586 * signal/signal.h: Likewise.
35587 * socket/send.c: Likewise.
35588 * socket/sendto.c: Likewise.
35589 * socket/sys/socket.h: Likewise.
35590 * stdio-common/printf.h: Likewise.
35591 * stdlib/bits/stdlib.h: Likewise.
35592 * stdlib/fmtmsg.h: Likewise.
35593 * stdlib/monetary.h: Likewise.
35594 * stdlib/stdlib.h: Likewise.
35595 * stdlib/ucontext.h: Likewise.
35596 * streams/stropts.h: Likewise.
35597 * string/argz.h: Likewise.
35598 * string/bits/string2.h: Likewise.
35599 * string/string.h: Likewise.
35600 * string/strings.h: Likewise.
35601 * sunrpc/rpc/auth.h: Likewise.
35602 * sunrpc/rpc/auth_des.h: Likewise.
35603 * sunrpc/rpc/clnt.h: Likewise.
35604 * sunrpc/rpc/netdb.h: Likewise.
35605 * sunrpc/rpc/pmap_clnt.h: Likewise.
35606 * sunrpc/rpc/xdr.h: Likewise.
35607 * sysdeps/generic/inttypes.h: Likewise.
35608 * sysdeps/generic/net/if.h: Likewise.
35609 * sysdeps/generic/sys/swap.h: Likewise.
35610 * sysdeps/gnu/net/if.h: Likewise.
35611 * sysdeps/gnu/utmpx.h: Likewise.
35612 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35613 * sysdeps/i386/i486/bits/string.h: Likewise.
35614 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35615 * sysdeps/s390/bits/string.h: Likewise.
35616 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35617 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35618 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35619 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35620 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35621 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35622 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35623 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35624 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35625 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35626 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35627 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35628 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35629 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35630 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35631 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35632 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35634 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35635 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35636 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35637 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35638 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35639 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35640 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35641 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35642 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35643 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35644 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35645 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35646 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35647 * sysvipc/sys/ipc.h: Likewise.
35648 * sysvipc/sys/msg.h: Likewise.
35649 * sysvipc/sys/sem.h: Likewise.
35650 * sysvipc/sys/shm.h: Likewise.
35651 * termios/termios.h: Likewise.
35652 * time/sys/time.h: Likewise.
35653 * time/time.h: Likewise.
35654 * wcsmbs/bits/wchar2.h: Likewise.
35655 * wcsmbs/uchar.h: Likewise.
35656 * wcsmbs/wchar.h: Likewise.
35657 * wctype/wctype.h: Likewise.
35658
0269750c
UD
35659 [BZ #13551]
35660 * Makeconfig: Remove all but ELF support including AIX support.
35661 * Makerules: Likewise.
35662 * config.h.in: Likewise.
35663 * config.make.in: Likewise.
35664 * configure: Likewise.
35665 * configure.in: Likewise.
35666 * csu/Makefile: Likewise.
35667 * csu/version.c: Likewise.
35668 * debug/Makefile: Likewise.
35669 * dlfcn/Makefile: Likewise.
35670 * elf/Makefile: Likewise.
35671 * extra-lib.mk: Likewise.
35672 * iconv/Makefile: Likewise.
35673 * include/libc-symbols.h: Likewise.
35674 * include/shlib-compat.h: Likewise.
35675 * resolv/Makefile: Likewise.
35676 * resolv/res_libc.c: Likewise.
35677 * rt/Makefile: Likewise.
35678 * sysdeps/i386/asm-syntax.h: Likewise.
35679 * sysdeps/i386/sysdep.h: Likewise.
35680 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35681 * sysdeps/mach/sysdep.h: Likewise.
35682 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35683 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35684 * sysdeps/s390/asm-syntax.h: Likewise.
35685 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35686 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35687 * sysdeps/sh/sysdep.h: Likewise.
35688 * sysdeps/unix/sparc/sysdep.h: Likewise.
35689 * sysdeps/wordsize-32/divdi3.c: Likewise.
35690 * sysdeps/x86_64/sysdep.h: Likewise.
35691
00bbd29b
UD
35692 * argp/Versions: Remove _argp_unlock_xxx.
35693
35694 [BZ #13559]
35695 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35696 * abilist/libBrokenLocale.abilist: Likewise.
35697 * abilist/libanl.abilist: Likewise.
35698 * abilist/libc.abilist: Likewise.
35699 * abilist/libcrypt.abilist: Likewise.
35700 * abilist/libdl.abilist: Likewise.
35701 * abilist/libm.abilist: Likewise.
35702 * abilist/libnsl.abilist: Likewise.
35703 * abilist/libpthread.abilist: Likewise.
35704 * abilist/libresolv.abilist: Likewise.
35705 * abilist/librt.abilist: Likewise.
35706 * abilist/libthread_db.abilist: Likewise.
35707 * abilist/libutil.abilist: Likewise.
35708 * abilist/libnss_db.abilist: New file.
35709
35710 * scripts/abilist.awk: Add support for indirect functions.
35711
a2693a0e
UD
35712 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35713
3f05895f
UD
35714 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35715
ecb6fb48
UD
35716 * shlib-versions: Remove entries for ports architectures.
35717
664f8cb9
UD
35718 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35719 files in ports.
35720 * elf/stackguard-macros.h: Remove support for IA-64.
35721 * elf/tst-auditmod1.c: Likewise.
35722 * sysdeps/generic/ldsodefs.h: Likewise.
35723
7ae81d88
UD
35724 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35725 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35726 configure files.
35727
bdeba135
UD
35728 [BZ #13552]
35729 * configure.in: Remove --enable-omitfp support.
35730 * FAQ.in: Adjust.
35731 * config.make.in: Likewise.
35732 * Makeconfig: Likewise.
35733 * manual/install.texi: Likewise.
35734
d75a0a62
UD
35735 In case anyone cares, the IA-64 architecture could move to ports.
35736 * sysdeps/ia64/*: Removed.
35737 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35738 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35739
dcc9756b
UD
35740 [BZ #13555]
35741 * configure.in: Remove entries for unsupported architectures.
35742
d3761ebc 35743 [BZ #13533]
9954432e
UD
35744 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35745 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35746 routines.
35747 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35748 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35749 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35750 fall back to using wcrtomb.
35751 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35752 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35753 renaming.
35754 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35755 * wcsmbs/tst-c16c32-1.c: New file.
35756
35757 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35758 local variable.
35759
c3a87236
UD
35760 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35761
28926a1b
UD
35762 * elf/tst-unique3.cc: Add explicit declaration of gets.
35763 * elf/tst-unique3lib.cc: Likewise.
35764 * elf/tst-unique3lib2.cc: Likewise.
35765 * elf/tst-unique4.cc: Likewise.
35766
df78418a
UD
35767 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35768
8ecd6b2a
JM
357692012-01-06 Joseph Myers <joseph@codesourcery.com>
35770
35771 [BZ #13566]
35772 * assert/assert.h (static_assert): Don't define for C++.
35773 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35774 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35775
9f115170
UD
357762012-01-03 Ulrich Drepper <drepper@gmail.com>
35777
5e0d0300
UD
35778 * iconv/loop.c (single loop): Fix assertion in storing of
35779 remaining bytes.
35780
9f115170
UD
35781 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35782
81fb02b0
UD
357832012-01-01 Ulrich Drepper <drepper@gmail.com>
35784
35785 * posix/getconf.c: Update copyright year.
35786 * nss/getent.c: Likewise.
a316c1f6 35787 * nss/makedb.c: Likewise.
81fb02b0
UD
35788 * iconv/iconvconfig.c: Likewise.
35789 * iconv/iconv_prog.c: Likewise.
35790 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35791 * elf/pldd.c: Likewise.
35792 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35793 * catgets/gencat.c: Likewise.
35794 * csu/version.c: Likewise.
35795 * elf/ldd.bash.in: Likewise.
35796 * elf/sprof.c (print_version): Likewise.
35797 * locale/programs/locale.c: Likewise.
35798 * locale/programs/localedef.c: Likewise.
a316c1f6 35799 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35800 * nscd/nscd.c (print_version): Likewise.
35801 * debug/xtrace.sh: Likewise.
35802 * malloc/memusage.sh: Likewise.
35803 * malloc/mtrace.pl: Likewise.
35804 * debug/catchsegv.sh: Likewise.
35805
2ba92745
JJ
358062011-12-30 Jakub Jelinek <jakub@redhat.com>
35807
35808 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35809 pure attribute.
35810
dadebdae
UD
358112011-12-24 Ulrich Drepper <drepper@gmail.com>
35812
d3761ebc 35813 [BZ #13533]
db6af3eb
UD
35814 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35815 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35816 transformations.
35817 * iconv/gconv_int.h: Likewise.
35818 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35819 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35820 from libc for GLIBC_2.16.
35821 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35822 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35823 * wcsmbs/uchar.h: Really define mbstate_t.
35824 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35825 * wcsmbs/c16rtomb.c: New file.
35826 * wcsmbs/mbrtoc16.c: New file.
35827 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35828 for C/POSIX locale.
35829 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35830 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35831
dadebdae
UD
35832 * wcsmbs/wchar.h: Add missing __restrict.
35833
67371b56
UD
358342011-12-23 Ulrich Drepper <drepper@gmail.com>
35835
74033a25
UD
35836 [BZ #13532]
35837 * time/Makefile (routines): Add timespec_get.
35838 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35839 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35840 timespec for ISO C11.
35841 * time/timespec_get.c: New file.
35842 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35843 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35844
380d7e87
UD
35845 [BZ #13531]
35846 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35847 * stdlib/stdlib.h: Declare aligned_alloc.
35848 * Versions.def: Add GLIBC_2.16 for libc.
35849 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35850
4e9e7a35
UD
35851 [BZ 13527]
35852 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35853 ISO C11.
35854
380d7e87 35855 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35856 code.
35857
03a71829
UD
35858 [BZ #13528]
35859 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35860
839e283e
UD
35861 [BZ #13529]
35862 * assert/assert.h (static_assert): Define.
35863
ce5294e2 35864 * version.h: Update for 2.16 development version.
90fa7312 35865
8d44e150 35866 [BZ #13526]
d7809905
UD
35867 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35868 _ISOC11_SOURCE.
35869
c0da14cd
UD
35870 * version.h (RELEASE): Bump for 2.15 release.
35871 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35872
530a3249
MP
35873 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35874 Patch by Marek Polacek <mpolacek@redhat.com>.
35875
67371b56
UD
35876 * bits/byteswap.h: Protect long long constants with __extension__.
35877 * sysdeps/i386/bits/byteswap.h: Likewise.
35878 * sysdeps/ia64/bits/byteswap.h: Likewise.
35879 * sysdeps/s390/bits/byteswap.h: Likewise.
35880 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35881
15db4de1
LD
358822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35883
35884 [BZ #13540]
bbe315ea
LD
35885 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35886 destination buffer.
15db4de1
LD
35887 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35888
2b2596b1
MP
358892011-12-23 Marek Polacek <polacek@redhat.com>
35890
35891 * elf/dl-addr.c (determine_info): Add inline keyword.
35892 * elf/tst-auditmod4b.c (check_avx): Likewise.
35893 * elf/tst-auditmod6b.c (check_avx): Likewise.
35894 * elf/tst-auditmod6c.c (check_avx): Likewise.
35895 * elf/tst-auditmod7b.c (check_avx): Likewise.
35896
70c6c246
UD
358972011-12-23 Ulrich Drepper <drepper@gmail.com>
35898
35899 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35900 !__SSE_MATH__.
35901
c044cf14
LD
359022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35903
15db4de1 35904 [BZ #13540]
c044cf14
LD
35905 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35906 processing for last bytes.
35907
6b13d9d9
BH
359082011-08-06 Bruno Haible <bruno@clisp.org>
35909
d455f537
BH
35910 [BZ #13061]
35911 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35912 U+0385, not to U+1FEE.
35913
6b13d9d9
BH
35914 [BZ #13062]
35915 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35916 entry for U+00A5 U+0301.
35917
db910efd
UD
359182011-12-22 Ulrich Drepper <drepper@gmail.com>
35919
27deeafc
UD
35920 [BZ #13166]
35921 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35922 buffer for the output is too small.
35923
aed9d171
UD
35924 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35925 optimization.
35926
db910efd
UD
35927 [BZ #13185]
35928 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35929 SSE flags if possible.
35930
2bd779ae
LD
359312011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35932
e7f9dac3 35933 [BZ #13540]
2bd779ae
LD
35934 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35935 processing for last bytes.
35936
154bfc16
JM
359372011-12-22 Joseph Myers <joseph@codesourcery.com>
35938
35939 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35940 (syscall-list-default-options, syscall-list-default-condition)
35941 (syscall-list-includes): Define.
35942 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35943 list of ABIs and options and #if conditions for each ABI. Do not
35944 handle common syscalls between ABIs specially.
35945 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35946 Remove.
35947 (syscall-list-variants, syscall-list-32bit-options)
35948 (syscall-list-32bit-condition, syscall-list-64bit-options)
35949 (syscall-list-64bit-condition): Define.
35950 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35951 (syscall-list-variants, syscall-list-32bit-options)
35952 (syscall-list-32bit-condition, syscall-list-64bit-options)
35953 (syscall-list-64bit-condition): Define.
35954 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35955 Remove.
35956 (syscall-list-variants, syscall-list-32bit-options)
35957 (syscall-list-32bit-condition, syscall-list-64bit-options)
35958 (syscall-list-64bit-condition): Define.
35959 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35960 Remove.
35961 (syscall-list-variants, syscall-list-32bit-options)
35962 (syscall-list-32bit-condition, syscall-list-64bit-options)
35963 (syscall-list-64bit-condition): Define.
35964
21eaf3a5
UD
359652011-12-22 Ulrich Drepper <drepper@gmail.com>
35966
16c6f992
UD
35967 * locale/iso-639.def: Add brx entry.
35968
41043168
UD
35969 [BZ #13328]
35970 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35971 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35972
21eaf3a5
UD
35973 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35974 __feraiseexcept_renamed.
35975
e3a851a2
UD
359762011-12-21 Ulrich Drepper <drepper@gmail.com>
35977
4920765e
UD
35978 [BZ #13538]
35979 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35980 EPOLLET with unsigned values.
35981 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35982 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35983
e3a851a2
UD
35984 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35985 to large cancellation.
35986 * math/s_cacoshf.c: Likewise.
35987 * math/s_cacoshl.c: Likewise.
35988
b27e24b8
RK
359892011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35990
35991 [BZ #13305]
aebefeee 35992 [BZ #12786]
b27e24b8
RK
35993 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35994 * math/s_cacoshf.c: Likewise.
35995 * math/s_cacoshl.c: Likewise.
35996
ee190f67
UD
359972011-12-21 Ulrich Drepper <drepper@gmail.com>
35998
35999 [BZ #13439]
36000 * iconv/gconv.h: Define __GCONV_SWAP.
36001 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36002 * iconvdata/utf-16.c: Likewise.
36003 * iconvdata/utf-32.c: Likewise.
36004
707f25df
AS
360052011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36006
36007 [BZ #13524]
36008 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36009 numerator after shifting it by one limb.
36010
d2daaa1e
RÁE
360112011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36012
36013 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36014 under [__USE_EXTERN_INLINES].
36015
a4647e72
UD
360162011-12-17 Ulrich Drepper <drepper@gmail.com>
36017
36018 [BZ #13446]
36019 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36020
f0b264f1
AZ
360212011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36022
36023 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36024 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36025 optimized code.
36026 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36027 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36028 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36029 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36030 for strncasecmp/strncasecmp_l compilation.
36031 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36032 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36033
8ef4f244
MP
360342011-12-08 Marek Polacek <mpolacek@redhat.com>
36035
36036 [BZ #13484]
36037 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36038 of __asm__.
36039
97ac2654
UD
360402011-12-17 Ulrich Drepper <drepper@gmail.com>
36041
36042 [BZ #13506]
36043 * time/tzfile.c (__tzfile_read): Check values from file header.
36044
91d2a845
WS
360452011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36046
36047 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36048 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36049 * powerpc/powerpc32/dl-start.S: Likewise.
36050 * powerpc/powerpc32/elf/start.S: Likewise.
36051 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36052 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36053 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36054 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36055 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36056 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36057 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36058 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36059 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36060 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36061 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36062 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36063 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36064 * powerpc/powerpc32/memset.S: Likewise.
36065 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36066 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36067 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36068 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36069 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36070 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36071 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36072 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36073 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36074 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36075 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36076 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36077 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36078
a1267ba1
AZ
360792011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36080
36081 * math/libm-test.inc: Added more nearbyint tests.
36082 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36083 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36084 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36085 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36086
ad8ac1bd
RL
360872011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36088
36089 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36090 FD_CLOEXEC.
36091
1d3e4b61
UD
360922011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36093
36094 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36095 Add wcscpy-ssse3 wcscpy-c.
36096 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36097 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36098 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36099 * sysdeps/x86_64/wcschr.S: New file.
36100 * sysdeps/x86_64/wcsrchr.S: New file.
36101 * string/test-strcmp.c: Remove checking of wcscmp function for
36102 wrong alignments.
36103 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36104 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36105 wcsrchr-sse2 wcsrchr-c.
36106 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36107 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36108 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36109 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36110 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36111 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36112 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36113 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36114 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36115 * wcsmbc/wcschr.c (WCSCHR): New macro.
36116
5b330a2d
UD
361172011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36118
36119 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36120 * wcsmbs/test-wcsrchr.c: New file.
36121 * string/test-strrchr.c: Add wcsrchr support.
36122 (WIDE): New macro.
36123 * wcsmbs/test-wcscpy.c: New file.
36124 * string/test-strcpy.c: Add wcscpy support.
36125 (WIDE): New macro.
26428b7c 36126
f039c043
UD
361272011-12-10 Ulrich Drepper <drepper@gmail.com>
36128
36129 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36130 the inner loop.
36131
850fb039
AS
361322011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36133
36134 [BZ #13472]
36135 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36136
4efbd5cb
UD
361372011-12-04 Ulrich Drepper <drepper@gmail.com>
36138
52ff5dd0 36139 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36140 Minor optimizations.
52ff5dd0 36141
4efbd5cb
UD
36142 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36143 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36144 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36145
8a426e12
UD
361462011-12-03 Ulrich Drepper <drepper@gmail.com>
36147
aff2453d
UD
36148 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36149 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36150 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36151 for gcc to avoid warnings.
36152 * inet/Makefile (tests): Add tst-checks.
36153 * inet/tst-checks.c: New file.
36154
36155 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36156 warning.
36157
36158 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36159 __wmemcmp_sse2.
36160
36161 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36162 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36163
8a426e12
UD
36164 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36165
9bea3473
UD
361662011-12-02 Ulrich Drepper <drepper@gmail.com>
36167
3a965496
UD
36168 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36169 problem.
36170
9bea3473
UD
36171 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36172
f101631b
UD
361732011-11-29 Joseph Myers <joseph@codesourcery.com>
36174
36175 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36176 conditional on GCC version.
36177 (__arch_compare_and_exchange_val_8_acq)
36178 (__arch_compare_and_exchange_val_16_acq)
36179 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36180 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36181 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36182
a98275aa
UD
361832011-12-02 Joseph Myers <joseph@codesourcery.com>
36184
36185 * sysdeps/sh/backtrace.c: New file.
36186
d4cc29a2
AS
361872011-12-02 Andreas Schwab <schwab@redhat.com>
36188
36189 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36190 parenthesis.
36191
6257af2d
AS
361922011-12-01 Andreas Schwab <schwab@redhat.com>
36193
36194 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36195 falling back to utime.
36196
b5f44c1a
AS
361972011-11-30 Andreas Schwab <schwab@redhat.com>
36198
36199 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36200 expectations for float.
36201
f3a6cc0a
AS
362022011-11-29 Andreas Schwab <schwab@redhat.com>
36203
36204 * locale/weight.h (findidx): Add parameter len.
36205 * locale/weightwc.h (findidx): Likewise.
36206 * posix/fnmatch_loop.c (FCT): Adjust caller.
36207 * posix/regcomp.c (build_equiv_class): Likewise.
36208 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36209 * posix/regexec.c (check_node_accept_bytes): Likewise.
36210 * string/strcoll_l.c (STRCOLL): Likewise.
36211 * string/strxfrm_l.c (STRXFRM): Likewise.
36212
9d65ea3a
UD
362132011-11-17 Ulrich Drepper <drepper@gmail.com>
36214
36215 * Makefile.in: Remove CVSOPT handling.
36216 * configure.in: Remove use of AC_REVISION.
36217 * iconvdata/Makefile (distribute): No need to filter out CVS.
36218 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36219 handling.
36220
5583a086
AS
362212011-11-16 Andreas Schwab <schwab@redhat.com>
36222
36223 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36224 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36225 [USE_AS_STRNCASECMP_L]: Likewise.
36226 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36227 NO_TLS_DIRECT_SEG_REFS.
36228 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36229 Fix argument offsets for non-PIC.
36230 [USE_AS_STRNCASECMP_L]: Likewise.
36231 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36232 NO_TLS_DIRECT_SEG_REFS.
36233
d62a8200
UD
362342011-11-15 Ulrich Drepper <drepper@gmail.com>
36235
9d65ea3a 36236 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36237 O_CLOEXEC.
36238 * locale/loadlocale.c (_nl_load_locale): Likewise.
36239
09f93bd3
AS
362402011-11-15 Andreas Schwab <schwab@redhat.com>
36241
446514f9
AS
36242 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36243 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36244 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36245 (SYSCALL_GETTIME): Set errno on error.
36246
09f93bd3
AS
36247 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36248 count references to noai6ai_cached.
36249
312be3f9
UD
362502011-11-15 Ulrich Drepper <drepper@gmail.com>
36251
36252 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36253
36254 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36255 FD_CLOEXEC for /proc/self/maps.
36256
36257 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36258 FD_CLOEXEC for /proc/meminfo.
36259
36260 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36261 gai.conf.
36262
36263 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36264 FD_CLOEXEC for given file.
36265
36266 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36267
36268 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36269 FD_CLOEXEC for /etc/hosts.
36270 (_gethtent): Likewise.
36271
36272 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36273
36274 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36275 cancellation and set FD_CLOEXEC for /etc/netgroup.
36276
36277 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36278 reading /etc/publickey.
36279
36280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36281 allow cancellation when reading /etc/group.
36282
36283 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36284 cancellation.
36285 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36286
36287 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36288 when using data file.
36289
36290 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36291
36292 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36293 (write_nis_obj): Use "c" and "e" in fopen.
36294
36295 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36296
36297 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36298
36299 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36300
36301 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36302
36303 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36304 locale.alias.
36305
36306 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36307
36308 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36309
36310 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36311
36312 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36313 file parsing and set FD_CLOEXEC.
36314
82af0fa8
UD
363152011-11-14 Ulrich Drepper <drepper@gmail.com>
36316
36317 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36318
a5fb313c
AS
363192011-11-14 Andreas Schwab <schwab@redhat.com>
36320
36321 * malloc/arena.c (arena_get2): Don't call reused_arena when
36322 _int_new_arena failed.
36323
6abf3465
UD
363242011-11-14 Ulrich Drepper <drepper@gmail.com>
36325
36326 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36327 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36328 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36329 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36330 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36332 to compile strcasecmp and strncasecmp.
36333 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36334 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36335
36336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36337
76e3966e
UD
363382011-11-13 Ulrich Drepper <drepper@gmail.com>
36339
36340 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36341 locale-defines.sym to gen-as-const-headers.
36342 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36343 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36344 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36345 to compile strcasecmp and strncasecmp.
36346 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36347 strcasecmp_l and strncasecmp_l.
36348 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36349 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36350 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36351 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36352 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36353 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36354 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36355 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36356 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36357 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36358 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36359
ab26144e
UD
363602011-11-12 Ulrich Drepper <drepper@gmail.com>
36361
7edb22ef
UD
36362 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36363 result of SYSDEP_GETTIME_CPU to retval.
36364 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36365 parameter list to macro. Remove trailing semicolon. Adjust users.
36366
9694fc44
UD
36367 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36368 variable.
36369
8ad89ef8
UD
36370 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36371 mantissa words.
36372 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36373
0c822ef9
UD
36374 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36375 from unused variable.
36376
874e0564
UD
36377 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36378 DWARF definitions.
36379 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36380 for assembling.
36381
3a2edc79
UD
36382 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36383 over namespaces.
36384
f3c2577f
UD
36385 * sunrpc/rpc_prot.c (rejected): Fix case value.
36386
294ce126
UD
36387 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36388 unsigned long long int to avoid warnings in shift.
36389
5e2b63c6
UD
36390 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36391 of use of trans.
36392 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36393 variable tmp.
36394
e7f4b08e
UD
36395 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36396 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36397 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36398
ab26144e
UD
36399 * nis/nis_table.c (nis_list): Use variable of correct type for
36400 result of __follow_path call.
36401
8a6d5255
AZ
364022011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36403
36404 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36405 of math functions ceil, trunc, floor, round, and sqrt, when
36406 avaliable on the platform.
36407 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36408 name clash.
36409 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36410 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36411 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36412
aaddc98c
MP
364132011-10-30 Marek Polacek <mpolacek@redhat.com>
36414
36415 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36416 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36417
95b7042b
RM
364182011-11-11 Roland McGrath <roland@hack.frob.com>
36419
36420 * include/unistd.h: Fix __readlink return type.
36421 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36422
57769839
UD
364232011-11-11 Ulrich Drepper <drepper@gmail.com>
36424
36425 * stdlib/ucontext.h: Undo last change for makecontext.
36426
edc5984d
AS
364272011-11-11 Andreas Schwab <schwab@redhat.com>
36428
98591e58
AS
36429 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36430
edc5984d
AS
36431 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36432 * setjmp/setjmp.h: Mark functions as non-leaf.
36433 * setjmp/bits/setjmp2.h: Likewise.
36434 * stdlib/ucontext.h: Likewise.
36435
77cdc054
AS
364362011-11-10 Andreas Schwab <schwab@redhat.com>
36437
36438 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36439 (reused_arena): Don't check arena limit.
36440 (arena_get2): Atomically check arena limit.
36441
fe72eebd
UD
364422011-11-08 Ulrich Drepper <drepper@gmail.com>
36443
5f078c32
UD
36444 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36445 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36446
fe72eebd
UD
36447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36448 instructions.
36449
ae1bc2fa
AS
364502011-11-07 Andreas Schwab <schwab@redhat.com>
36451
7583a88d
AS
36452 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36453 handler when locking.
36454
ae1bc2fa
AS
36455 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36456 Fix size of allocated buffer.
36457
10fb0bfa
AS
364582011-11-04 Andreas Schwab <schwab@redhat.com>
36459
998832a4
AS
36460 [BZ #10103]
36461 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36462 declarations for long double functions.
36463 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36464
10fb0bfa
AS
36465 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36466
3d7ba52b
AS
364672011-11-03 Andreas Schwab <schwab@redhat.com>
36468
a9ae54a1
AS
36469 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36470 installed.
36471
3d7ba52b
AS
36472 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36473 is disabled.
36474
bc8db248
ST
364752011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36476
36477 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36478
45b96dd6
AS
364792011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36480
647776f6
AS
36481 * include/alloca.h (stackinfo_alloca_round): Define.
36482 (extend_alloca): Use it.
36483 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36484 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36485 here.
36486
d91a8b93
AS
36487 * scripts/check-local-headers.sh: Ignore libaudit.h.
36488
45b96dd6
AS
36489 * nscd/Makefile (extra-objs): Make recursively expanded.
36490
432d41ce
UD
364912011-11-01 Ulrich Drepper <drepper@gmail.com>
36492
34372fc6
UD
36493 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36494 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36495
fadb59f8
UD
36496 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36497 * posix/tst-rfc3484-2.c: Likewise.
36498 * posix/tst-rfc3484-3.c: Likewise.
36499
78239589
UD
36500 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36501 process_vm_writev.
36502 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36503 process_vm_writev.
36504 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36505 process_vm_writev from libc using GLIBC_2.15 version.
36506
432d41ce
UD
36507 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36508
02f9c6cf
PP
365092011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36510
36511 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36512 stack usage.
36513
3a2c0242
UD
365142011-10-31 Ulrich Drepper <drepper@gmail.com>
36515
f4ec4833
UD
36516 [BZ #13367]
36517 * nss/getent.c (initgroups_keys): Show error message in case no group
36518 names are given.
36519
3a2c0242
UD
36520 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36521 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36522 __bump_nl_timestamp.
36523 * nscd/connections (nscd_init): When host database is served open
36524 netlink socket and request notification about configuration changes.
36525 (main_loop_poll): Track netlink file descriptor and bump timestamp
36526 in case data becomes available.
36527 (main_loop_epoll): Likewise.
36528 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36529 (database_pers_head): Add extra_data fileds.
36530 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36531 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36532 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36533 Adjust caller.
36534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36535 in6ai data, call __free_in6ai.
36536 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36537 Add -DHAVE_NETLINK.
36538 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36539 interface information. Reuse previous data if netlink timestamp
36540 is not changed.
36541 (__bump_nl_timestamp): New function.
36542 (__free_in6ai): New function.
36543
636064eb
UD
365442011-10-30 Ulrich Drepper <drepper@gmail.com>
36545
36546 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36547 close_not_cancel_no_status here.
36548 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36549
9beb2334
UD
365502011-10-29 Ulrich Drepper <drepper@gmail.com>
36551
6ef76f3b
UD
36552 [BZ #13276]
36553 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36554 return value.
36555
0ffc4f3e 36556 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36557 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36558 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36559
cb95113e
UD
365602011-07-03 Andreas Jaeger <aj@suse.de>
36561
36562 [BZ #10709]
36563 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36564 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36565 * math/libm-test.inc (sin_test): Add test case.
36566
a1b560ff
UD
365672011-10-29 Ulrich Drepper <drepper@gmail.com>
36568
c9aaface
UD
36569 [BZ #13337]
36570 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36571 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36572
d272e7f1
UD
36573 * elf/chroot_canon.c (chroot_canon): Cleanups.
36574
1bc33071
UD
36575 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36576
1760874d
TJ
36577 [BZ #13335]
36578 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36579 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36580
51d91b18
UD
36581 * string/test-strchr.c: Make usable for strchrnul testing.
36582 * string/test-strchrnul.c: New file.
36583 * string/Makefile (strop-tests): Add strchrnul.
36584
a1b560ff 36585 * po/it.po: Update from translation team.
b611fb81 36586 * po/es.po: Likewise.
a1b560ff 36587
a5b81e1f
UD
365882011-10-28 Ulrich Drepper <drepper@gmail.com>
36589
fd52bc6d
UD
36590 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36591 the three constants needed as parameters. Drop the others.
36592 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36593 __m128i_strloadu_tolower.
52e4b9eb
UD
36594 Create and initialize variable zero and use it in all the places
36595 where _mm_setzero_si128 was used.
fd52bc6d 36596
a5b81e1f
UD
36597 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36598 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36599 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36600 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36601 anymore.
36602 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36603 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36604 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36605 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36606 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36607 __mpranred, __mptan.
36608 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36609 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36610 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36611 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36612 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36613 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36614 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36615 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36616 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36617
b4343346
AS
366182011-10-28 Andreas Schwab <schwab@redhat.com>
36619
0c92d8a8
AS
36620 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36621 redefine if SHARED.
36622 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36623
b4343346
AS
36624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36625 wide char related routines to wcsmbs subdir.
36626
3871f58f
AS
366272011-10-27 Andreas Schwab <schwab@redhat.com>
36628
36629 [BZ #13344]
36630 * misc/sys/cdefs.h (__THROWNL): Define.
36631 * posix/unistd.h: Use __THREADNL instead of __THREAD
36632 for memory synchronization functions.
36633
94d44d9f
RM
366342011-10-26 Roland McGrath <roland@hack.frob.com>
36635
21b64b15 36636 [BZ #13349]
94d44d9f
RM
36637 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36638 doesn't exist.
36639 * manual/stdio.texi (Obstack Streams): Node removed.
36640
f6ce9294
AS
366412011-10-26 Andreas Schwab <schwab@redhat.com>
36642
80479147
AS
36643 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36644 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36645 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36646
f6ce9294
AS
36647 * math/math_private.h (math_force_eval): Allow non-addressable
36648 arguments.
36649 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36650
618280a1
UD
366512011-10-25 Ulrich Drepper <drepper@gmail.com>
36652
e0016b11
UD
36653 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36654 file is not needed.
36655
36656 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36657 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36659 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36662 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36663 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36664 Add AVX variants.
36665 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36666 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36667 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36668 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36669 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36670 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36671 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36672 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36673 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36674 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36675 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36676 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36677 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36678 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36679 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36680 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36681 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36682 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36683 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36684
36685 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36686 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36687
618280a1
UD
36688 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36689 place. Use VEX encoding when compiling for AVX.
36690
37822576
AS
366912011-10-25 Andreas Schwab <schwab@redhat.com>
36692
1f1e1947
AS
36693 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36694 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36695
37822576
AS
36696 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36697
31ea014d
UD
366982011-10-25 Ulrich Drepper <drepper@gmail.com>
36699
d7826aa1 36700 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36701 useless if() expression.
d7826aa1
UD
36702 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36703 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36704 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36705 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36706 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36707 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36708 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36709 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36710 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36711 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36712 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36713 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36714 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36715 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36716 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36717 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36719 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36720 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36721
31ea014d
UD
36722 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36723
16437fec
AS
367242011-10-25 Andreas Schwab <schwab@redhat.com>
36725
36726 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36727 condition.
36728 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36729
31d3cc00
UD
367302011-10-25 Ulrich Drepper <drepper@gmail.com>
36731
36732 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36733 .text section. Avoid duplicate constants.
36734 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36736 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36738 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36739 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36740 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36742 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36743 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36744 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36745 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36746 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36747 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36748 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36749 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36750 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36751 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36752 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36753 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36754 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36755 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36756 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36757 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36758 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36759 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36760 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36761 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36762 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36763 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36764 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36765 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36766 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36767 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36768 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36769 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36770 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36771 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36772 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36773 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36774 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36775 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36776 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36777 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36778 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36779
58985aa9
UD
367802011-10-24 Ulrich Drepper <drepper@gmail.com>
36781
202c9deb
UD
36782 * sysdeps/x86_64/dla.h: Move to ...
36783 * sysdeps/x86_64/fpu/dla.h: ...here.
36784 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36785 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36786
af968f62
UD
36787 * config.make.in: Add have-mfma4 entry.
36788 * configure.in: Substitute libc_cv_cc_fma4.
36789 * math/Makefile (dbl-only-routines): Add sincostab.
36790 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36791 Use __sincostab not sincos.
36792 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36793 name is a macro.
36794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36796 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36798 using __copysign.
36799 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36800 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36801 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36802 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36803 and __inv.
36804 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36805 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36806 __copysign.
36807 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36808 define aliases when function name is a macro.
36809 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36810 sysdeps/ieee754/dbl-64/sincos.tbl.
36811 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36812 fma4-enabled routines.
36813 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36814 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36815 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36816 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36817 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36818 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36820 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36822 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36823 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36824 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36825 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36826 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36827 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36828 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36829 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36830 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36831 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36832 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36833 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36834 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36836 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36837 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36838 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36839 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36840 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36841 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36842 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36843
58985aa9
UD
36844 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36845 rename.
36846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36854
a201fbcf
AS
368552011-10-24 Andreas Schwab <schwab@redhat.com>
36856
36857 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36858
fc2ee42a
LD
368592011-10-23 Ulrich Drepper <drepper@gmail.com>
36860
bb3129bd
UD
36861 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36862
0275fff8
UD
36863 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36864 prediction.
36865 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36866
2fa2ae85
UD
36867 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36868 Remove unused variable magic_bits.
36869 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36870
fc2ee42a
LD
36871 * string/strnlen.c: Define and use STRNLEN macro.
36872 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36873 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36874 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36875 * wcsmbs/wcslen.c: Define and use WCSLEN.
36876 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36877 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36878 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36879 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36880 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36881 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36882 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36883
ce7dd29f
LD
368842011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36885
36886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36887 strnlen-sse2-no-bsf.
36888 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36890 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36891 Add strnlen support.
36892 (USE_AS_STRNLEN): New macro.
36893 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36894 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36895 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36896 * sysdeps/x86_64/wcslen.S: New file.
36897
979c70a3
MZ
368982011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36899
36900 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36901 XMM-moves are used for copying on small sizes.
36902
2d09f82f
LD
369032011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36904
36905 * wcsmbs/Makefile (strop-tests): Add wcschr.
36906 * wcsmbs/test-wcschr.c: New file.
36907 * string/test-strchr.c: Update.
36908 Add wcschr support.
36909 (WIDE): New macro.
36910
619fccca
LD
369112011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36912
2d09f82f 36913 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36914 * wcsmbs/test-wcslen.c: New file.
36915 * string/test-strlen.c: Update.
36916 Add wcslen support.
36917 (WIDE): New macro.
36918
09f699ea
UD
369192011-10-23 Ulrich Drepper <drepper@gmail.com>
36920
36921 * po/it.po: Update from translation team.
36922
95584d3b
LD
369232011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36924
36925 * sysdeps/x86_64/wcscmp.S: Update.
36926 Fix wrong comparison semantics.
36927 wcscmp shall use signed comparison not unsigned.
36928 Don't use substraction to avoid overflow bug.
36929 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36930 * wcsmbc/wcscmp.c: Likewise.
36931 * string/test-strcmp.c: Likewise.
36932 Add new tests to check cases with negative values.
36933
c8b3296b
UD
369342011-10-23 Ulrich Drepper <drepper@gmail.com>
36935
36936 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36937 * sysdeps/x86_64/dla.h: ...here. New file.
36938 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36943 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36945 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36946 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36947
246ad57a
AS
369482011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36949
36950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36951 __ynl_finite aliases.
36952
a1a87169
UD
369532011-10-22 Ulrich Drepper <drepper@gmail.com>
36954
0d355eb7
UD
36955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36956
a1a87169
UD
36957 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36958 define DLA_FMA.
36959 [DLA_FMA] (EMULV): Use DLA_FMA.
36960 [DLA_FMA] (MUL12): Use EMULV.
36961 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36962 that are not needed.
36963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36965 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36966 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36968 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36970
ee2aafe0
AS
369712011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36972
36973 * math/s_nan.c: Undef __nan.
36974 * math/s_nanf.c: Undef __nanf.
36975 * math/s_nanl.c: Undef __nanl.
36976 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36977 "math_private.h".
36978
bc62c2fb
UD
369792011-10-22 Ulrich Drepper <drepper@gmail.com>
36980
77425c63
UD
36981 * math/s_catan.c: Add branch predictions.
36982 * math/s_catanf.c: Likewise.
36983 * math/s_catanh.c: Likewise.
36984 * math/s_catanhf.c: Likewise.
36985 * math/s_catanhl.c: Likewise.
36986 * math/s_catanl.c: Likewise.
36987 * math/s_cexp.c: Likewise.
36988 * math/s_cexpf.c: Likewise.
36989 * math/s_cexpl.c: Likewise.
36990 * math/s_clog.c: Likewise.
36991 * math/s_clog10.c: Likewise.
36992 * math/s_clog10f.c: Likewise.
36993 * math/s_clog10l.c: Likewise.
36994 * math/s_clogf.c: Likewise.
36995 * math/s_clogl.c: Likewise.
36996 * math/s_csqrt.c: Likewise.
36997 * math/s_csqrtf.c: Likewise.
36998 * math/s_csqrtl.c: Likewise.
36999 * math/s_ctanf.c: Likewise.
37000 * math/s_ctanh.c: Likewise.
37001 * math/s_ctanhf.c: Likewise.
37002 * math/s_ctanhl.c: Likewise.
37003 * math/s_ctanl.c: Likewise.
37004
bc62c2fb
UD
37005 * math/math_private.h: Define __nan, __nanf, __nanl.
37006 * math/s_cacosh.c: Include <math_private.h>.
37007 * math/s_cacoshl.c: Likewise.
37008 * math/s_casinh.c: Likewise.
37009 * math/s_casinhf.c: Likewise.
37010 * math/s_casinhl.c: Likewise.
37011 * math/s_ccos.c: Rely entire on ccosh.
37012 * math/s_ccosf.c: Rely entire on ccoshf.
37013 * math/s_ccosl.c: Rely entirely on ccoshl.
37014 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37015 Remove tests for FE_INVALID.
37016 * math/s_ccoshf.c: Likewise.
37017 * math/s_ccoshl.c: Likewise.
37018 * math/s_csin.c: Likewise.
37019 * math/s_csinf.c: Likewise.
37020 * math/s_csinh.c Likewise.
37021 * math/s_csinhf.c: Likewise.
37022 * math/s_csinhl.c: Likewise.
37023 * math/s_csinl.c: Likewise.
37024 * math/s_ctan.c: Likewise.
37025 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37026 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37027 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37028
8ec250a4
UD
370292011-10-21 Ulrich Drepper <drepper@gmail.com>
37030
c196fed8
UD
37031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37032 compilation problems.
37033
8ec250a4
UD
37034 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37035 __builtin_expect.
37036
8d4f46c6
UD
370372011-10-20 Ulrich Drepper <drepper@gmail.com>
37038
ed72b654
UD
37039 * sysdeps/i386/configure.in: Test for -mfma4 option.
37040 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37041 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37042 COMMON_CPUID_INDEX_80000001.
37043 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37044 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37045 use it if FMA3 is not supported.
37046 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37047
8d4f46c6
UD
37048 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37049 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37050
d45c60c2
AS
370512011-10-20 Andreas Schwab <schwab@redhat.com>
37052
37053 [BZ #12892]
37054 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37055 it would create a cycle with a link time dependency.
37056
d9a4d2ab
UD
370572011-10-19 Ulrich Drepper <drepper@gmail.com>
37058
855d1560
UD
37059 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37060 instruction.
37061 * string/Makefile (strop-tests): Add rawmemchr.
37062 * string/test-rawmemchr.c: New file.
37063
d9a4d2ab
UD
37064 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37065 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37066 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37067 when compiling str{,n}casecmp and when AVX is available. Hook up
37068 new optimized code in initializers.
37069
8f3b1ffe
AS
370702011-10-19 Andreas Schwab <schwab@redhat.com>
37071
37072 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37073 __feraiseexcept instead of feraiseexcept.
37074
d38f1dba
UD
370752011-10-18 Ulrich Drepper <drepper@gmail.com>
37076
d9a8d0ab
UD
37077 * math/math_private.h: Define defaults for libc_fetestexcept and
37078 libc_feupdateenv.
37079 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37080 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37081 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37082 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37083 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37084 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37085 libc_fetestexcept and libc_feupdateenv.
37086
4855e3dd
UD
37087 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37088 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37089 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37090 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37091 libc_feholdexcept_setround.
37092
581d30e3
UD
37093 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37094 Add s_nearbyint-c and s_nearbyintf-c.
37095 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37096 nearbyintf inlines.
37097 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37098 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37099 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37100 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37101
d38f1dba
UD
37102 * math/math_private.h: Define defaults for libc_fegetround,
37103 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37104 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37105 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37106 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37107 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37108 standard functions.
37109 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37110 Remove comments and hacks for old compiler versions.
37111 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37112 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37113 libc_feholdexceptl.
37114
caa6c9d8
AS
371152011-10-18 Andreas Schwab <schwab@redhat.com>
37116
37117 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37118 (__feraiseexcept_renamed): Add __NTH.
37119 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37120 namespace violations.
37121
97c066e6
UD
371222011-10-17 Ulrich Drepper <drepper@gmail.com>
37123
99ce7b04
UD
37124 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37125
1004d182
UD
37126 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37127
228a984d
UD
37128 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37129 recently added interfaces.
37130 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37131
c8553a6a
UD
37132 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37133 about macro parameter expansion.
37134
ed22dcf6
UD
37135 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37136 __NO_MATH_INLINES is defined. Cleanups.
37137
37138 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37139 and __floorf is target has SSE4.1.
37140 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37141 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37142 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37143 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37144
b171c137
UD
37145 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37146 name.
37147 (floorf): Likewise.
37148
97c066e6
UD
37149 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37150
629f62ef
AS
371512011-10-17 Andreas Schwab <schwab@redhat.com>
37152
49a43d80
AS
37153 * misc/sys/cdefs.h: Fix last change.
37154
629f62ef
AS
37155 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37156 database lookup.
37157
e453f6cd
UD
371582011-10-16 Ulrich Drepper <drepper@gmail.com>
37159
aa78043a
UD
37160 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37161
ad0f5cad
UD
37162 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37163 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37168 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37169 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37170 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37171 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37172 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37173 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37174 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37175 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37176 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37177 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37178 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37179 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37180 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37181 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37182 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37183 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37184
37185 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37186 ceil, ceilf, floor, floorf.
37187
37188 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37189 Perform IRELATIVE relocations last.
37190
e453f6cd
UD
37191 * elf/do-rel.h: Add another parameter nrelative, replacing the
37192 local variable with the same name. Change name of the function
37193 to end in Rel or Rela (uppercase).
37194 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37195 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37196 elf_dynamic_do_##reloc function.
37197
fd5bdc09
UD
371982011-10-15 Ulrich Drepper <drepper@gmail.com>
37199
79b195b5
UD
37200 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37201 is sufficient, at least on modern CPUs.
37202
d4a28569
UD
37203 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37204
b61099b5
UD
37205 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37206 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37207
bcf01e6d
UD
37208 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37209 __expl_finite.
37210 * math/bits/math-finite.h: Add entries for exp.
37211 * math/e_expl.c: Add __*_finite alias.
37212 * sysdeps/i386/fpu/e_exp.S: Likewise.
37213 * sysdeps/i386/fpu/e_expf.S: Likewise.
37214 * sysdeps/i386/fpu/e_expl.c: Likewise.
37215 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37216 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37217 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37219 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37220 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37221 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37222
ba1a0d59
UD
37223 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37224 is sufficient, at least on modern CPUs.
37225
fd5bdc09
UD
37226 * ctype/ctype-info.c (__ctype_init): Define.
37227 * include/ctype.h (__ctype_init): Declare.
37228 (__ctype_b_loc): The variable is always initialized.
37229 (__ctype_toupper_loc): Likewise.
37230 (__ctype_tolower_loc): Likewise.
37231 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37232 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37233
7872cfb0
AS
372342011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37235
b468825a
AS
37236 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37237
7872cfb0
AS
37238 * configure.in: Also look in $cxxmachine/include for C++ system
37239 headers.
37240
be13f7bf
LD
372412011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37242
37243 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37244 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37245 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37246 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37247 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37248 (USE_AS_WMEMCMP): New macro.
37249 Fixing indents.
37250 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37251 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37252 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37253 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37255 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37256 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37257 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37258 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37259 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37260 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37261 (USE_AS_WMEMCMP): New macro.
37262 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37263 * sysdeps/string/test-memcmp.c: Update.
37264 Fix simple_wmemcmp.
37265 Add new tests.
37266 * wcsmbs/wmemcmp.c: Update.
37267 (WMEMCMP): New macro.
37268 Fix overflow bug.
37269
556a2007
AJ
372702011-10-12 Andreas Jaeger <aj@suse.de>
37271
37272 [BZ #13268]
37273 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37274
538faaa7
UD
372752011-10-15 Ulrich Drepper <drepper@gmail.com>
37276
ab6737ff
UD
37277 * libio/iofwide.c (do_length): Avoid warning.
37278
538faaa7
UD
37279 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37280
396a21b1
UD
372812011-10-14 Ulrich Drepper <drepper@gmail.com>
37282
cdf2901f
UD
37283 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37284
38ad40ce
UD
37285 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37286 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37287 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37288 * sysdeps/i386/i686/fpu/e_log.S: New file.
37289 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37290 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37291
396a21b1
UD
37292 * ctype/ctype.h: Add support for inlined isXXX functions when
37293 compiling C++ code.
37294
6b1f68c9
AS
372952011-10-14 Andreas Schwab <schwab@redhat.com>
37296
349290c0
AS
37297 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37298
6b1f68c9
AS
37299 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37300
f2282d42
RM
373012011-10-13 Roland McGrath <roland@hack.frob.com>
37302
37303 [BZ #13291]
37304 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37305
5298ffa8
AS
373062011-10-13 Andreas Schwab <schwab@redhat.com>
37307
714fad23
AS
37308 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37309 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37310 feraiseexcept.
37311
81dcc7fb
AS
37312 * sysdeps/x86_64/memrchr.S: Check for zero size.
37313
5298ffa8
AS
37314 * string/stratcliff.c: Add memrchr tests.
37315
951fbcec
LD
373162011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37317
37318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37319 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37320 rawmemchr-sse2 rawmemchr-sse2-bsf.
37321 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37322 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37323 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37324 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37325 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37326 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37327 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37328 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37329 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37330 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37331 * string/memrchr.c (MEMRCHR): New macro.
37332
0ac5ae23
UD
373332011-10-12 Ulrich Drepper <drepper@gmail.com>
37334
37335 Add integration with gcc's -ffinite-math-only and optimize wrapper
37336 functions in libm.
37337 * Versions.def: Define GLIBC_2.15 version for libm.
37338 * math/Makefile (headers): Add bits/math-finite.h.
37339 * math/bits/math-finite.h: New file.
37340 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37341 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37342 * math/e_acoshl.c: Add __*_finite alias.
37343 * math/e_acosl.c: Likewise.
37344 * math/e_asinl.c: Likewise.
37345 * math/e_atan2l.c: Likewise.
37346 * math/e_atanhl.c: Likewise.
37347 * math/e_coshl.c: Likewise.
37348 * math/e_exp10.c: Likewise.
37349 * math/e_exp10f.c: Likewise.
37350 * math/e_exp10l.c: Likewise.
37351 * math/e_exp2l.c: Likewise.
37352 * math/e_fmodl.c: Likewise.
37353 * math/e_gammal_r.c: Likewise.
37354 * math/e_hypotl.c: Likewise.
37355 * math/e_j0l.c: Likewise.
37356 * math/e_j1l.c: Likewise.
37357 * math/e_jnl.c: Likewise.
37358 * math/e_lgammal_r.c: Likewise.
37359 * math/e_log10l.c: Likewise.
37360 * math/e_log2l.c: Likewise.
37361 * math/e_logl.c: Likewise.
37362 * math/e_powl.c: Likewise.
37363 * math/e_sinhl.c: Likewise.
37364 * math/e_sqrtl.c: Likewise.
37365 * math/e_scalb.c: Completely rewritten and optimized.
37366 * math/e_scalbf.c: Likewise.
37367 * math/e_scalbl.c: Likewise.
37368 * math/w_acos.c: Likewise.
37369 * math/w_acosf.c: Likewise.
37370 * math/w_acosl.c: Likewise.
37371 * math/w_acosh.c: Likewise.
37372 * math/w_acoshf.c: Likewise.
37373 * math/w_acoshl.c: Likewise.
37374 * math/w_asin.c: Likewise.
37375 * math/w_asinf.c: Likewise.
37376 * math/w_asinl.c: Likewise.
37377 * math/w_atan2.c: Likewise.
37378 * math/w_atan2f.c: Likewise.
37379 * math/w_atan2l.c: Likewise.
37380 * math/w_atanh.c: Likewise.
37381 * math/w_atanhf.c: Likewise.
37382 * math/w_atanhl.c: Likewise.
37383 * math/w_exp10.c: Likewise.
37384 * math/w_exp10f.c: Likewise.
37385 * math/w_exp10l.c: Likewise.
37386 * math/w_fmod.c: Likewise.
37387 * math/w_fmodf.c: Likewise.
37388 * math/w_fmodl.c: Likewise.
37389 * math/w_j0.c: Likewise.
37390 * math/w_j0f.c: Likewise.
37391 * math/w_j0l.c: Likewise.
37392 * math/w_j1.c: Likewise.
37393 * math/w_j1f.c: Likewise.
37394 * math/w_j1l.c: Likewise.
37395 * math/w_jn.c: Likewise.
37396 * math/w_jnf.c: Likewise.
37397 * math/w_log.c: Likewise.
37398 * math/w_logf.c: Likewise.
37399 * math/w_logl.c: Likewise.
37400 * math/w_log10.c: Likewise.
37401 * math/w_log10f.c: Likewise.
37402 * math/w_log10l.c: Likewise.
37403 * math/w_log2.c: Likewise.
37404 * math/w_log2f.c: Likewise.
37405 * math/w_log2l.c: Likewise.
37406 * math/w_pow.c: Likewise.
37407 * math/w_powf.c: Likewise.
37408 * math/w_powl.c: Likewise.
37409 * math/w_remainder.c: Likewise.
37410 * math/w_remainderf.c: Likewise.
37411 * math/w_remainderl.c: Likewise.
37412 * math/w_scalb.c: Likewise.
37413 * math/w_scalbf.c: Likewise.
37414 * math/w_scalbl.c: Likewise.
37415 * math/w_sqrt.c: Likewise.
37416 * math/w_sqrtf.c: Likewise.
37417 * math/w_sqrtl.c: Likewise.
37418 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37419 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37420 used.
37421 * math/math_private.h: Declare __kernel_standard_f.
37422 * math/w_cosh.c: Remove cruft and optimize a bit.
37423 * math/w_coshf.c: Likewise.
37424 * math/w_coshl.c: Likewise.
37425 * math/w_exp2.c: Likewise.
37426 * math/w_exp2f.c: Likewise.
37427 * math/w_exp2l.c: Likewise.
37428 * math/w_hypot.c: Likewise.
37429 * math/w_hypotf.c: Likewise.
37430 * math/w_hypotl.c: Likewise.
37431 * math/w_lgamma.c: Likewise.
37432 * math/w_lgamma_r.c: Likewise.
37433 * math/w_lgammaf.c: Likewise.
37434 * math/w_lgammaf_r.c: Likewise.
37435 * math/w_lgammal.c: Likewise.
37436 * math/w_lgammal_r.c: Likewise.
37437 * math/w_sinh.c: Likewise.
37438 * math/w_sinhf.c: Likewise.
37439 * math/w_sinhl.c: Likewise.
37440 * math/w_tgamma.c: Likewise.
37441 * math/w_tgammaf.c: Likewise.
37442 * math/w_tgammal.c: Likewise.
37443 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37444 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37445 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37446 Minor optimizations. Pretty printing. Remove cruft.
37447 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37448 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37449 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37450 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37451 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37452 * sysdeps/i386/fpu/e_asin.S: Likewise.
37453 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37454 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37455 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37456 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37457 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37458 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37459 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37460 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37461 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37462 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37463 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37464 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37465 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37466 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37467 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37468 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37469 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37470 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37471 * sysdeps/i386/fpu/e_log.S: Likewise.
37472 * sysdeps/i386/fpu/e_log10.S: Likewise.
37473 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37474 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37475 * sysdeps/i386/fpu/e_log2.S: Likewise.
37476 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37477 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37478 * sysdeps/i386/fpu/e_logf.S: Likewise.
37479 * sysdeps/i386/fpu/e_logl.S: Likewise.
37480 * sysdeps/i386/fpu/e_pow.S: Likewise.
37481 * sysdeps/i386/fpu/e_powf.S: Likewise.
37482 * sysdeps/i386/fpu/e_powl.S: Likewise.
37483 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37484 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37485 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37486 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37487 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37488 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37489 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37490 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37491 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37492 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37493 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37500 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37502 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37503 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37505 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37506 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37513 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37514 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37515 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37516 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37517 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37518 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37519 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37520 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37521 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37522 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37523 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37524 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37525 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37526 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37527 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37528 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37529 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37530 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37531 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37532 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37533 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37534 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37535 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37536 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37537 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37538 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37539 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37540 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37541 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37542 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37543 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37544 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37545 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37546 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37547 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37548 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37549 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37550 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37551 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37552 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37553 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37554 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37555 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37556 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37557 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37558 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37559 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37560 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37561 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37562 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37563 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37564 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37565 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37566 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37567 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37568 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37569 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37570 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37571 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37572 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37573 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37574 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37575 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37576 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37577 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37579 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37580 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37581 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37582 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37583 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37584 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37585 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37586 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37587 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37588 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37589 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37590 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37591 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37592 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37593 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37594 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37595 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37596 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37597 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37598 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37599 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37600 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37601 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37602 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37603 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37604 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37605 (__isnanf): Likewise.
37606 (__isinf_ns): Likewise.
37607 (__isinf_nsf): Likewise.
37608 (__finite): Likewise.
37609 (__finitef): Likewise.
37610 (__ieee754_sqrt): Define as macro.
37611 (__ieee754_sqrtf): Define as macro.
37612 (__ieee754_sqrtl): Define as macro.
37613 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37614 inlined copy.
37615 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37616 __FINITE_MATH_ONLY__ consistent.
37617 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37618
12cc2fcd
AS
376192011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37620
a843a204
AS
37621 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37622 of rawmemchr.
37623
12cc2fcd
AS
37624 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37625
c853acd5
UD
376262011-10-09 Ulrich Drepper <drepper@gmail.com>
37627
37628 * po/ja.po: Update from translation team.
37629
c658d255
RM
376302011-10-08 Roland McGrath <roland@hack.frob.com>
37631
110946e4
RM
37632 * locale/programs/locarchive.c (prepare_address_space): New function.
37633 (create_archive, enlarge_archive, open_archive): Use it.
37634
50604220
RM
37635 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37636 inside [SHARED], where it is used.
37637
c658d255
RM
37638 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37639
37640 * nss/getent.c (netgroup_keys): Remove unused variable.
37641 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37642
6a621eb7
UD
376432011-10-08 Ulrich Drepper <drepper@gmail.com>
37644
7edb55ce
UD
37645 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37646 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37648 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37649 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37650 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37651 * math/Makefile (libm-calls): Add s_isinf_ns.
37652 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37653 * math/multc3.c: Likewise.
37654 * math/s_casin.c: Likewise.
37655 * math/s_casinf.c: Likewise.
37656 * math/s_casinl.c: Likewise.
37657 * math/s_ccos.c: Likewise.
37658 * math/s_ccosf.c: Likewise.
37659 * math/s_ccosl.c: Likewise.
37660 * math/s_ctan.c: Likewise.
37661 * math/s_ctanf.c: Likewise.
37662 * math/s_ctanh.c: Likewise.
37663 * math/s_ctanhf.c: Likewise.
37664 * math/s_ctanhl.c: Likewise.
37665 * math/s_ctanl.c: Likewise.
37666 * math/w_fmod.c: Likewise.
37667 * math/w_fmodf.c: Likewise.
37668 * math/w_fmodl.c: Likewise.
37669 * math/w_remainder.c: Likewise.
37670 * math/w_remainderf.c: Likewise.
37671 * math/w_remainderl.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37673 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37674 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37676 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37677 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37678 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37679 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37680
187da0ae
UD
37681 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37682 of the number.
37683 * stdio-common/printf_fphex.c: Likewise.
37684 * stdio-common/printf_size.c: Likewise.
37685
9277c064
UD
37686 * math/e_exp10.c: Include math_private.h using <...> not "...".
37687 * math/e_exp10f.c: Likewise.
37688 * math/e_exp10l.c: Likewise.
37689 * math/e_exp2l.c: Likewise.
37690 * math/e_j0l.c: Likewise.
37691 * math/e_j1l.c: Likewise.
37692 * math/e_jnl.c: Likewise.
37693 * math/e_lgammal_r.c: Likewise.
37694 * math/e_rem_pio2l.c: Likewise.
37695 * math/e_scalb.c: Likewise.
37696 * math/e_scalbf.c: Likewise.
37697 * math/e_scalbl.c: Likewise.
37698 * math/k_cosl.c: Likewise.
37699 * math/k_sinl.c: Likewise.
37700 * math/k_tanl.c: Likewise.
37701 * math/s_cacoshf.c: Likewise.
37702 * math/s_catan.c: Likewise.
37703 * math/s_catanf.c: Likewise.
37704 * math/s_catanh.c: Likewise.
37705 * math/s_catanhf.c: Likewise.
37706 * math/s_catanhl.c: Likewise.
37707 * math/s_catanl.c: Likewise.
37708 * math/s_ccosh.c: Likewise.
37709 * math/s_ccoshf.c: Likewise.
37710 * math/s_ccoshl.c: Likewise.
37711 * math/s_cexp.c: Likewise.
37712 * math/s_cexpf.c: Likewise.
37713 * math/s_cexpl.c: Likewise.
37714 * math/s_clog.c: Likewise.
37715 * math/s_clog10.c: Likewise.
37716 * math/s_clog10f.c: Likewise.
37717 * math/s_clog10l.c: Likewise.
37718 * math/s_clogf.c: Likewise.
37719 * math/s_clogl.c: Likewise.
37720 * math/s_csin.c: Likewise.
37721 * math/s_csinf.c: Likewise.
37722 * math/s_csinh.c: Likewise.
37723 * math/s_csinhf.c: Likewise.
37724 * math/s_csinhl.c: Likewise.
37725 * math/s_csinl.c: Likewise.
37726 * math/s_csqrt.c: Likewise.
37727 * math/s_csqrtf.c: Likewise.
37728 * math/s_csqrtl.c: Likewise.
37729 * math/s_ctan.c: Likewise.
37730 * math/s_ctanf.c: Likewise.
37731 * math/s_ctanh.c: Likewise.
37732 * math/s_ctanhf.c: Likewise.
37733 * math/s_ctanhl.c: Likewise.
37734 * math/s_ctanl.c: Likewise.
37735 * math/s_ldexp.c: Likewise.
37736 * math/s_ldexpf.c: Likewise.
37737 * math/s_ldexpl.c: Likewise.
37738 * math/s_significand.c: Likewise.
37739 * math/s_significandf.c: Likewise.
37740 * math/s_significandl.c: Likewise.
37741 * math/w_acos.c: Likewise.
37742 * math/w_acosf.c: Likewise.
37743 * math/w_acosh.c: Likewise.
37744 * math/w_acoshf.c: Likewise.
37745 * math/w_acoshl.c: Likewise.
37746 * math/w_acosl.c: Likewise.
37747 * math/w_asin.c: Likewise.
37748 * math/w_asinf.c: Likewise.
37749 * math/w_asinl.c: Likewise.
37750 * math/w_atan2.c: Likewise.
37751 * math/w_atan2f.c: Likewise.
37752 * math/w_atan2l.c: Likewise.
37753 * math/w_atanh.c: Likewise.
37754 * math/w_atanhf.c: Likewise.
37755 * math/w_atanhl.c: Likewise.
37756 * math/w_cosh.c: Likewise.
37757 * math/w_coshf.c: Likewise.
37758 * math/w_coshl.c: Likewise.
37759 * math/w_dremf.c: Likewise.
37760 * math/w_exp10.c: Likewise.
37761 * math/w_exp10f.c: Likewise.
37762 * math/w_exp10l.c: Likewise.
37763 * math/w_exp2.c: Likewise.
37764 * math/w_exp2f.c: Likewise.
37765 * math/w_fmod.c: Likewise.
37766 * math/w_fmodf.c: Likewise.
37767 * math/w_fmodl.c: Likewise.
37768 * math/w_hypot.c: Likewise.
37769 * math/w_hypotf.c: Likewise.
37770 * math/w_hypotl.c: Likewise.
37771 * math/w_j0.c: Likewise.
37772 * math/w_j0f.c: Likewise.
37773 * math/w_j0l.c: Likewise.
37774 * math/w_j1.c: Likewise.
37775 * math/w_j1f.c: Likewise.
37776 * math/w_j1l.c: Likewise.
37777 * math/w_jn.c: Likewise.
37778 * math/w_jnf.c: Likewise.
37779 * math/w_jnl.c: Likewise.
37780 * math/w_lgamma.c: Likewise.
37781 * math/w_lgamma_r.c: Likewise.
37782 * math/w_lgammaf.c: Likewise.
37783 * math/w_lgammaf_r.c: Likewise.
37784 * math/w_lgammal.c: Likewise.
37785 * math/w_lgammal_r.c: Likewise.
37786 * math/w_log.c: Likewise.
37787 * math/w_log10.c: Likewise.
37788 * math/w_log10f.c: Likewise.
37789 * math/w_log10l.c: Likewise.
37790 * math/w_log2.c: Likewise.
37791 * math/w_log2f.c: Likewise.
37792 * math/w_log2l.c: Likewise.
37793 * math/w_logf.c: Likewise.
37794 * math/w_logl.c: Likewise.
37795 * math/w_pow.c: Likewise.
37796 * math/w_powf.c: Likewise.
37797 * math/w_powl.c: Likewise.
37798 * math/w_remainder.c: Likewise.
37799 * math/w_remainderf.c: Likewise.
37800 * math/w_remainderl.c: Likewise.
37801 * math/w_scalb.c: Likewise.
37802 * math/w_scalbf.c: Likewise.
37803 * math/w_scalbl.c: Likewise.
37804 * math/w_sinh.c: Likewise.
37805 * math/w_sinhf.c: Likewise.
37806 * math/w_sinhl.c: Likewise.
37807 * math/w_sqrt.c: Likewise.
37808 * math/w_sqrtf.c: Likewise.
37809 * math/w_sqrtl.c: Likewise.
37810 * math/w_tgamma.c: Likewise.
37811 * math/w_tgammaf.c: Likewise.
37812 * math/w_tgammal.c: Likewise.
37813
6a621eb7
UD
37814 * po/ja.po: Update from translation team.
37815
bf582445
AJ
378162011-09-29 Andreas Jaeger <aj@suse.de>
37817
f9efbf3a
AJ
37818 [BZ #13179]
37819 * sunrpc/netname.c (netname2host): Fix logic.
37820
bf582445
AJ
37821 [BZ #6779]
37822 [BZ #6783]
37823 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37824 correctly.
37825 * math/w_remainder.c (__remainder): Likewise.
37826 * math/w_remainderf.c (__remainderf): Likewise.
37827 * math/libm-test.inc (remainder_test): Add test cases.
37828
48693bea
AK
378292011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37830
37831 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37832 sdiv_qrnnd.
37833
42622229
LD
378342011-10-07 Ulrich Drepper <drepper@gmail.com>
37835
37836 * string/test-memcmp.c: Avoid unncessary #defines.
37837 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37838
093ecf92
LD
378392011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37840
37841 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37842 Use new sse2 version for core i3 - i7 as it's faster
37843 than sse42 version.
37844 (bit_Prefer_PMINUB_for_stringop): New.
37845 * sysdeps/x86_64/rawmemchr.S: Update.
37846 Replace with faster SSE2 version.
37847 * sysdeps/x86_64/memrchr.S: New file.
37848 * sysdeps/x86_64/memchr.S: Update.
37849 Replace with faster SSE2 version.
37850
fde56e5c
MP
378512011-09-12 Marek Polacek <mpolacek@redhat.com>
37852
37853 * elf/dl-load.c (lose): Add cast to avoid warning.
37854
21fd49a9
UD
378552011-10-07 Ulrich Drepper <drepper@gmail.com>
37856
5a06e643
UD
37857 * po/ca.po: Update from translation team.
37858
684ae515
UD
37859 * inet/getnetgrent_r.c: Hook up nscd.
37860 * nscd/Makefile (routines): Add nscd_netgroup.
37861 (nscd-modules): Add netgroupcache.
37862 (CFLAGS-netgroupcache.c): Define.
37863 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37864 (cache_search): Add const to second parameter.
37865 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37866 INNETGR.
37867 (dbs): Add netgrdb entry.
37868 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37869 (verify_persistent_db): Handle netgrdb.
37870 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37871 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37872 GETFDNETGR.
37873 (netgroup_response_header): Define.
37874 (innetgroup_response_header): Define.
37875 (datahead): Add netgroup_response_header and innetgroup_response_header
37876 elements.
37877 * nscd/nscd.conf: Add entries for netgroup cache.
37878 * nscd/nscd.h (dbtype): Add netgrdb.
37879 (_PATH_NSCD_NETGROUP_DB): Define.
37880 (netgroup_iov_disabled): Declare.
37881 (xmalloc, xcalloc, xrealloc): Move declarations here.
37882 (cache_search): Adjust prototype.
37883 Add netgroup-related prototypes.
37884 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37885 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37886 (__nscd_innetgr): Declare.
37887 * nscd/selinux.c (perms): Use access_vector_t as element type and
37888 add netgroup-related initializers.
37889 * nscd/netgroupcache.c: New file.
37890 * nscd/nscd_netgroup.c: New file.
37891 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37892 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37893 For four parameters use innetgr.
37894 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37895 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37896 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37897 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37898
21fd49a9
UD
37899 * nscd/connections.c (register_traced_file): Don't register file
37900 for disabled databases.
37901
054c0457
UD
379022011-10-06 Ulrich Drepper <drepper@gmail.com>
37903
32b63198
UD
37904 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37905
054c0457
UD
37906 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37907 from tree and freeing node.
37908
64031225
JO
379092011-09-25 Jiri Olsa <jolsa@redhat.com>
37910
37911 * nss/nsswitch.c (__nss_database_lookup): Handle
37912 nss_parse_service_list out of memory case.
37913
0490345c
JO
379142011-09-15 Jiri Olsa <jolsa@redhat.com>
37915
37916 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37917 out of memory case.
37918
3a62d00d
AS
379192011-10-04 Andreas Schwab <schwab@redhat.com>
37920
37921 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37922 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37923 pass it down.
37924 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37925 elf_machine_rela, elf_machine_lazy_rel.
37926 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37927 (ELF_DYNAMIC_DO_REL): Likewise.
37928 (ELF_DYNAMIC_DO_RELA): Likewise.
37929 (ELF_DYNAMIC_RELOCATE): Likewise.
37930 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37931 to ELF_DYNAMIC_DO_REL.
37932 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37933 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37934 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37935 elf_machine_rela.
37936 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37937 skip_ifunc, don't call ifunc function if non-zero.
37938 (elf_machine_rela): Likewise.
37939 (elf_machine_lazy_rel): Likewise.
37940 (elf_machine_lazy_rela): Likewise.
37941 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37942 (elf_machine_lazy_rel): Likewise.
37943 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37944 Likewise.
37945 (elf_machine_lazy_rel): Likewise.
37946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37947 Likewise.
37948 (elf_machine_lazy_rel): Likewise.
37949 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37950 (elf_machine_lazy_rel): Likewise.
37951 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37952 (elf_machine_lazy_rel): Likewise.
37953 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37954 (elf_machine_lazy_rel): Likewise.
37955 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37956 (elf_machine_lazy_rel): Likewise.
37957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37958 (elf_machine_lazy_rel): Likewise.
37959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37960 (elf_machine_lazy_rel): Likewise.
37961
68577918
UD
379622011-09-28 Ulrich Drepper <drepper@gmail.com>
37963
37964 * nss/nss_files/files-init.c (_nss_files_init): Use static
37965 initialization for all the *_traced_file variables.
37966
68822d74
AS
379672011-09-28 Andreas Schwab <schwab@redhat.com>
37968
37969 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37970
2056100b
RM
379712011-09-27 Roland McGrath <roland@hack.frob.com>
37972
37973 [BZ #13226]
37974 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37975
32c76b63
AS
379762011-09-27 Andreas Schwab <schwab@redhat.com>
37977
37978 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37979 Reread the line before reparsing it.
37980
bf972c9d
AS
379812011-09-26 Andreas Schwab <schwab@redhat.com>
37982
37983 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37984
e057a1b5
JM
379852011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37986 Maxim Kuvyrkov <maxim@codesourcery.com>
37987 Joseph Myers <joseph@codesourcery.com>
37988
37989 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37990 if needed for __stack_chk_guard.
37991
bc7e1c36
RM
379922011-09-19 Roland McGrath <roland@hack.frob.com>
37993
ecb1482f
RM
37994 * sysdeps/posix/spawni.c (script_execute): Always define it.
37995 It will be optimized away if unused.
37996 (maybe_script_execute): New function.
37997 (__spawni): Call it.
37998
bc7e1c36
RM
37999 * Makerules: Don't include tls.make.
38000 (config-tls): Always set to thread.
38001 * tls.make.c: File removed.
38002
1c3b002b
MF
380032011-09-19 Mike Frysinger <vapier@gentoo.org>
38004
38005 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38006 * config.make.in (CPPFLAGS-config): New substituted variable.
38007
2840865d
UD
380082011-09-15 Ulrich Drepper <drepper@gmail.com>
38009
88738eb6
UD
38010 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38011
cbf645a6 38012 [BZ #13192]
2840865d
UD
38013 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38014 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38015
b402e91a
RM
380162011-09-15 Roland McGrath <roland@hack.frob.com>
38017
38018 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38019 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38021 (CALL_FAIL): Likewise.
38022 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38023 (CALL_FAIL): Macro removed.
38024 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38025
4c1a1f71
UD
380262011-09-15 Ulrich Drepper <drepper@gmail.com>
38027
38028 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38029 for __FINITE_MATH_ONLY__ == 1.
38030
edc121be
AS
380312011-09-15 Andreas Schwab <schwab@redhat.com>
38032
38033 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38034 __ieee754_sqrt instead of sqrt.
38035 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38036 __ieee754_sqrtf instead of sqrtf.
38037 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38038 __floorf instead of floorf.
38039 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38040 __floorf, __truncf instead of floorf, truncf.
38041
cd205654
UD
380422011-09-14 Ulrich Drepper <drepper@gmail.com>
38043
ee4d0315
UD
38044 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38045
cd205654
UD
38046 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38047 __extern_always_inline.
38048 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38049 32-bit.
38050
48b67d71
AS
380512011-09-14 Andreas Schwab <schwab@redhat.com>
38052
38053 * elf/rtld.c (dl_main): Also relocate in dependency order when
38054 doing symbol dependency testing.
38055
1ae12c75
AS
380562011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38057
38058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38059 Always define `refsym'.
38060
995a80df
AS
380612011-09-13 Andreas Schwab <schwab@redhat.com>
38062
e529793b
AS
38063 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38064 (__FD_ELT): Renamed from __FDELT.
38065 * misc/bits/select2.h (__FD_ELT): Likewise.
38066 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38067 __FD_MASK instead of __FDELT, __FDMASK.
38068 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38069 Likewise.
38070 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38071 Likewise.
38072
52d4fef8
AS
38073 * elf/Makefile (gen-ldd): Fix pattern.
38074
995a80df
AS
38075 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38076 (init_tls): Likewise.
38077
8682f8b0
UD
380782011-09-12 Ulrich Drepper <drepper@gmail.com>
38079
38080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38081
de82006d
AS
380822011-09-12 Andreas Schwab <schwab@redhat.com>
38083
a7c8e6a1
AS
38084 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38085 `struct cmsghdr *' instead of `void *'.
38086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38087 Likewise.
38088
0f31fe77
AS
380892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38090
38091 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38092 if non-absolute.
38093 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38094 ldd_rewrite_script.
0f31fe77 38095
32b4c839
UD
380962011-09-11 Ulrich Drepper <drepper@gmail.com>
38097
83cd1420
UD
38098 * configure.in: Remove --with-tls option.
38099 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38100 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38101 out in case it is missing.
38102 * sysdeps/ia64/elf/configure.in: Likewise.
38103 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38104 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38105 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38106 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38107 * sysdeps/sh/elf/configure.in: Likewise.
38108 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38109 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38110 * sysdeps/x86_64/elf/configure.in: Likewise.
38111 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38112 * sysdeps/mach/hurd/tls.h: Likewise.
38113
633f745d
UD
38114 [BZ #13067]
38115 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38116
f318beb8
UD
38117 [BZ #13090]
38118 * configure.in: Fix use of AC_INIT.
38119
32b4c839
UD
38120 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38121
3ce1f295
UD
381222011-09-10 Ulrich Drepper <drepper@gmail.com>
38123
bb016596
UD
38124 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38125 __set_errno.
8e58439c
UD
38126 * malloc/hooks.c: Likewise.
38127
aebae053 38128 [BZ #11929]
02d46fc4
UD
38129 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38130 variables statically.
38131 (narenas): Initialize.
38132 (list_lock): Initialize.
bb016596
UD
38133 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38134 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38135 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38136 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38137 Add initializers to main_arena and mp_.
38138 (malloc_state): Remove pagesize member. Change all users to use
38139 GLRO(dl_pagesize).
38140
38141 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38142 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38143 is always initialized.
38144
22a89187
UD
38145 * malloc/malloc.c: Removed unused configurations and dead code.
38146 * malloc/arena.c: Likewise.
38147 * malloc/hooks.c: Likewise.
02d46fc4 38148 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38149
d063d164
UD
38150 * include/tls.h: Removed. USE___THREAD must always be defined.
38151 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38152 * elf/dl-libc.c: Likewise.
38153 * elf/dl-tsd.c: Likewise.
38154 * include/errno.h: Likewise.
38155 * include/netdb.h: Likewise.
38156 * include/resolv.h: Likewise.
38157 * inet/herrno-loc.c: Likewise.
38158 * inet/herrno.c: Likewise.
38159 * malloc/arena.c: Likewise.
38160 * malloc/hooks.c: Likewise.
38161 * malloc/malloc.c: Likewise.
38162 * resolv/res-state.c: Likewise.
38163 * resolv/res_libc.c: Likewise.
38164 * sysdeps/i386/dl-machine.h: Likewise.
38165 * sysdeps/ia64/dl-machine.h: Likewise.
38166 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38167 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38168 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38169 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38170 * sysdeps/sh/dl-machine.h: Likewise.
38171 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38172 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38173 * sysdeps/unix/i386/sysdep.S: Likewise.
38174 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38175 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38176 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38178 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38179 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38180 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38184 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38185 * sysdeps/x86_64/dl-machine.h: Likewise.
38186 * tls.make.c: Likewise.
38187
3ce1f295
UD
38188 * configure.in: Remove --with-__thread option. Make tests for
38189 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38190 tls_model attribute fail if no support is available. Remove
38191 USE_IN_LIBIO.
38192 * Makeconfig: Adjust for dropped configure option. All features are
38193 now mandatory.
38194 * Makerules: Likewise.
38195 * Versions.def: Likewise.
38196 * argp/argp-fmtstream.c: Likewise.
38197 * argp/argp-fmtstream.h: Likewise.
38198 * argp/argp-help.c: Likewise.
38199 * assert/assert.c: Likewise.
38200 * config.h.in: Likewise.
38201 * config.make.in: Likewise.
38202 * configure: Likewise.
38203 * configure.in: Likewise.
38204 * csu/Versions: Likewise.
38205 * csu/init.c: Likewise.
38206 * elf/tst-audit2.c: Likewise.
38207 * elf/tst-tls10.c: Likewise.
38208 * elf/tst-tls10.h: Likewise.
38209 * elf/tst-tls11.c: Likewise.
38210 * elf/tst-tls12.c: Likewise.
38211 * elf/tst-tls14.c: Likewise.
38212 * elf/tst-tlsmod11.c: Likewise.
38213 * elf/tst-tlsmod12.c: Likewise.
38214 * elf/tst-tlsmod13.c: Likewise.
38215 * elf/tst-tlsmod13a.c: Likewise.
38216 * elf/tst-tlsmod14a.c: Likewise.
38217 * elf/tst-tlsmod15b.c: Likewise.
38218 * elf/tst-tlsmod16a.c: Likewise.
38219 * elf/tst-tlsmod16b.c: Likewise.
38220 * elf/tst-tlsmod7.c: Likewise.
38221 * elf/tst-tlsmod8.c: Likewise.
38222 * elf/tst-tlsmod9.c: Likewise.
38223 * gmon/gmon.c: Likewise.
38224 * grp/fgetgrent_r.c: Likewise.
38225 * grp/putgrent.c: Likewise.
38226 * hurd/fopenport.c: Likewise.
38227 * include/libc-symbols.h: Likewise.
38228 * include/tls.h: Likewise.
38229 * intl/gettextP.h: Likewise.
38230 * intl/loadinfo.h: Likewise.
38231 * locale/global-locale.c: Likewise.
38232 * locale/localeinfo.h: Likewise.
38233 * mach/devstream.c: Likewise.
38234 * malloc/arena.c: Likewise.
38235 * malloc/set-freeres.c: Likewise.
38236 * misc/err.c: Likewise.
38237 * misc/getttyent.c: Likewise.
38238 * misc/mntent_r.c: Likewise.
38239 * posix/getopt.c: Likewise.
38240 * posix/wordexp.c: Likewise.
38241 * pwd/fgetpwent_r.c: Likewise.
38242 * resolv/Versions: Likewise.
38243 * resolv/res_hconf.c: Likewise.
38244 * shadow/fgetspent_r.c: Likewise.
38245 * shadow/putspent.c: Likewise.
38246 * stdio-common/printf_fphex.c: Likewise.
38247 * stdio-common/tmpfile.c: Likewise.
38248 * stdlib/abort.c: Likewise.
38249 * stdlib/fmtmsg.c: Likewise.
38250 * sunrpc/auth_unix.c: Likewise.
38251 * sunrpc/clnt_perr.c: Likewise.
38252 * sunrpc/clnt_tcp.c: Likewise.
38253 * sunrpc/clnt_udp.c: Likewise.
38254 * sunrpc/clnt_unix.c: Likewise.
38255 * sunrpc/openchild.c: Likewise.
38256 * sunrpc/svc_simple.c: Likewise.
38257 * sunrpc/svc_tcp.c: Likewise.
38258 * sunrpc/svc_udp.c: Likewise.
38259 * sunrpc/svc_unix.c: Likewise.
38260 * sunrpc/xdr.c: Likewise.
38261 * sunrpc/xdr_array.c: Likewise.
38262 * sunrpc/xdr_rec.c: Likewise.
38263 * sunrpc/xdr_ref.c: Likewise.
38264 * sunrpc/xdr_stdio.c: Likewise.
38265
1248c1c4
PB
382662011-09-09 Ulrich Drepper <drepper@gmail.com>
38267
38268 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38269
382702011-07-03 Andreas Jaeger <aj@suse.de>
38271
38272 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38273 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38274 regenerate with gen-libm-tests.pl.
38275
382762010-05-12 Petr Baudis <pasky@suse.cz>
38277
38278 [BZ #11589]
38279 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38280 around j0() zero points by switching to j1().
38281 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38282 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38285
f22e1074
UD
382862011-09-09 Ulrich Drepper <drepper@gmail.com>
38287
f19009c1
UD
38288 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38289 instead of 0.
38290 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38291 instead of 0.
f19009c1
UD
38292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38293 Patch in part by Pavel Roskin <proski@gnu.org>.
38294
3f8cc204
UD
38295 [BZ #13138]
38296 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38297 realloc.
38298 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38299 Free memory block if necessary.
38300
f22e1074
UD
38301 [BZ #12847]
38302 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38303 be NULL. Don't lock in this case.
38304
0a2349f9
RM
383052011-09-09 Roland McGrath <roland@hack.frob.com>
38306
38307 * elf/elf.h (ELFOSABI_GNU): New macro.
38308 (ELFOSABI_LINUX): Define to that.
38309
f3cdd467
DZ
383102011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38311
38312 * string/strncat.c (strncat): Undef the symbol in case it has been
38313 defined in bits/string.h.
38314
74718d13
UD
383152011-09-09 Ulrich Drepper <drepper@gmail.com>
38316
633e9e0f
UD
38317 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38318
0a2349f9 38319 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38320 link map.
38321
f9924780
AJ
383222011-08-17 Andreas Jaeger <aj@suse.de>
38323
38324 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38325
7f5517aa
PP
383262011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38327 Ian Lance Taylor <iant@google.com>
38328
38329 * math/libm-test.inc (lround_test): New testcase.
38330 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38331
762011fe
UD
383322011-09-08 Ulrich Drepper <drepper@gmail.com>
38333
92963737
UD
38334 * Makefile: Remove support for automatic cvs check-ins.
38335 * Makerules: Likewise.
38336 * config.make.in: Likewise.
38337 * configure.in: Likewise.
38338 * intl/Makefile: Likewise.
38339 * locale/Makefile: Likewise.
38340 * po/Makefile: Likewise.
38341 * posix/Makefile: Likewise.
38342 * sysdeps/gnu/Makefile: Likewise.
38343 * sysdeps/mach/hurd/Makefile: Likewise.
38344 * sysdeps/sparc/sparc32/Makefile: Likewise.
38345
b0727fd8
JS
38346 [BZ #13118]
38347 * posix/Makefile (bug-regex32-ENV): Define.
38348 Patch by John Stanley <jpsinthemix@verizon.net>.
38349
a0f33f99
UD
38350 * misc/Makefile (headers): Add bits/select2.h.
38351 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38352 * misc/bits/select2.h: New file.
38353 * include/bits/select2.h: New file.
38354 * debug/Makefile (routines): Add fdelt_chk.
38355 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38356 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38357 FD_ISSET.
38358 * debug/fdelt_chk.c: New file.
38359
762011fe
UD
38360 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38361 * wcsmbs/test-wmemcmp.c: Likewise.
38362 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38363 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38364
383652011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38366
38367 * string/Makefile (strop-tests): Add memcmp.
38368 * string/test-wmemcmp.c: New file.
38369 * string/test-memcmp.c: Add wmemcmp support.
38370
7f513ec8
RM
383712011-09-08 Roland McGrath <roland@hack.frob.com>
38372
0442afb4
RM
38373 [BZ #13153]
38374 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38375 2011-07-19 change.
38376
7f513ec8
RM
38377 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38378 garbage value in a __mach_port_mod_refs call in the cases of the
38379 task-self and thread-self ports.
38380
a12b2239
ST
383812011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38382
38383 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38384
610f9ab4
AS
383852011-09-08 Andreas Schwab <schwab@redhat.com>
38386
7f513ec8 38387 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38388
48882a1a
LD
383892011-09-07 Ulrich Drepper <drepper@gmail.com>
38390
b49865be
UD
38391 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38392
fdc86bc9
UD
38393 * elf/dl-libc.c (dlerror_run): Pass back error code from
38394 dl_catch_error.
38395
c966526a
UD
38396 [BZ #13123]
38397 * elf/dl-load.c (lose): Free l_origin if it is valid.
38398
48882a1a
LD
38399 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38400 names.
38401 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38402 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38403 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38404 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38405 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38406 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38407
77a2a8b4
AZ
384082011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38409
38410 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38411 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38412 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38413 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38414 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38415 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38416 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38417 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38418 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38419 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38420
24f579d8
AM
384212011-08-15 Alan Modra <amodra@gmail.com>
38422
38423 [BZ #13092]
38424 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38425 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38426 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38427 ppc_mcount to static-only-routines.
38428 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38429 __mcount_internal.
38430 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38431 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38432
3d4837df
UD
384332011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38434
38435 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38436 for finite and infinity parameters.
38437
22700377
WS
384382011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38439
38440 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38441 and add nop instructions for throughput optimization.
38442 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38443
5025581e
WS
384442011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38445
38446 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38447 aligned copy for power7 with vector-scalar instructions.
38448 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38449
08a300c9
L
384502011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38451
38452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38453 AVX check.
38454
59178ef9
AS
384552011-09-07 Andreas Schwab <schwab@redhat.com>
38456
38457 [BZ #13144]
38458 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38459 last change.
38460
e38ba7ab
UD
384612011-09-07 Ulrich Drepper <drepper@gmail.com>
38462
38463 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38464 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38465 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38466 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38467 clock_gettime.
38468
d53a73ac
UD
384692011-09-06 Ulrich Drepper <drepper@gmail.com>
38470
fc8bffcc
UD
38471 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38472 Forgot to demangle the pointer.
38473
ceaa0c5d
UD
38474 * sysdeps/i386/sysdep.h: Define atom_text_section.
38475 * sysdeps/x86_64/sysdep.h: Likewise.
38476 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38477 section with atom_text_section.
38478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38479 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38480 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38481 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38482 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38483
a77d3c17
UD
38484 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38485 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38486 already be defined. Change to take two parameters and don't assign
38487 result to variable. Adjust all users.
38488 Define INTERNAL_GETTIME if not already defined.
38489 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38490 call.
38491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38492 HAVE_CLOCK_GETTIME_VSYSCALL.
38493 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38494
d53a73ac
UD
38495 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38496 gettimeofday vsyscall, just use time.
38497
a8f84144
AS
384982011-09-06 Andreas Schwab <schwab@redhat.com>
38499
38500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38501 <errno.h>.
38502
ef606249
UD
385032011-09-06 Ulrich Drepper <drepper@gmail.com>
38504
38505 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38506 syscall on x86-64.
38507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38508 syscall.
38509 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38510 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38511 syscall if possible.
38512
6585cb60
UD
385132011-09-05 Ulrich Drepper <drepper@gmail.com>
38514
38515 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38516 e_ident. Don't pass to find_mapsXX.
38517 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38518
a5f524e4
LD
385192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38520
38521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38522 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38523 * sysdeps/x86_64/multiarch/strchr.S: Update.
38524 Check bit_slow_BSF bit.
38525 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38526 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38527 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38528
554881ef
UD
385292011-09-05 Ulrich Drepper <drepper@gmail.com>
38530
d96de963
UD
38531 [BZ #13134]
38532 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38533 before glibc 2.15.
38534 (tryshell): Define.
38535 (__spawni): Change last parameter to be flag. Test
38536 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38537 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38538 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38539 * posix/spawni.c: Likewise.
38540 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38541 * posix/spawnp.c: Likewise. Change normal version to use
38542 SPAWN_XFLAGS_USE_PATH.
38543 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38544 SPAWN_XFLAGS_TRY_SHELL.
38545
d48e5868
UD
38546 [BZ #13150]
38547 * posix/glob.h: Remove gcc 1.x support.
38548
554881ef
UD
38549 [BZ #13068]
38550 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38551
693fb948
LD
385522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38553
38554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38555 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38556 strrchr-sse2-bsf
38557 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38558 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38559 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38560 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38561 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38562 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38563
1b48c537
UD
385642011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38565
49d42c37
UD
38566 * sysdeps/x86_64/wcscmp.S: New file.
38567
1b48c537
UD
38568 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38569 wcscmp-c wcscmp-sse2
38570 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38571 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38572 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38573 * wcsmbs/wcscmp.c: Allow renaming.
38574
15c95c5d
DM
385752011-09-05 David S. Miller <davem@davemloft.net>
38576
38577 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38578 stack slot, rather than the struct return pointer slot.
38579 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38580 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38582 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38583
2f0ad8f3
UD
385842011-09-05 Ulrich Drepper <drepper@gmail.com>
38585
d88ae418
UD
38586 * po/ja.po: Update from translation team.
38587
2f0ad8f3
UD
38588 [BZ #13144]
38589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38590 kernel in 64-bit binaries.
38591
5f4318d1
DM
385922011-09-01 David S. Miller <davem@davemloft.net>
38593
38594 * elf/elf.h (HWCAP_SPARC_*): Move to..
38595 * sysdeps/sparc/sysdep.h: this new file and add new values.
38596 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38597 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38598 _DL_HWCAP_COUNT to 24.
38599 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38600 entries.
38601 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38602 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38603 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38604 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38605 instead of magic constants.
38606 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38607
3ba57516
DM
386082011-08-31 David S. Miller <davem@davemloft.net>
38609
38610 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38612 Reimplement to do errno handling inline.
38613 (SYSCALL_ERROR_HANDLER): New macro.
38614 (__SYSCALL_STRING): Do not do errno handling in asm.
38615 (__CLONE_SYSCALL_STRING): Delete.
38616 (__INTERNAL_SYSCALL_STRING): Delete.
38617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38618 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38619 (PSEUDO): Reimplement to do errno handling inline.
38620 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38621 (SYSCALL_ERROR_HANDLER): New macro.
38622 (__SYSCALL_STRING): Do not do errno handling in asm.
38623 (__CLONE_SYSCALL_STRING): Delete.
38624 (__INTERNAL_SYSCALL_STRING): Delete.
38625 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38626 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38627 i386.
38628 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38629 (inline_syscall*): Add 'err' argument.
38630 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38631 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38632 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38633 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38634
38635 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38636 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38637
2bc17433
AS
386382011-08-30 Andreas Schwab <schwab@redhat.com>
38639
38640 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38641
fbeb5f4d
JO
386422011-08-29 Jiri Olsa <jolsa@redhat.com>
38643
38644 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38645 directive.
38646
ad69cc26
DM
386472011-08-24 David S. Miller <davem@davemloft.net>
38648
38649 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38650
39dd69df
AS
386512011-08-24 Andreas Schwab <schwab@redhat.com>
38652
38653 * elf/Makefile: Add rules to build and run unload8 test.
38654 * elf/unload8.c: New file.
38655 * elf/unload8mod1.c: New file.
38656 * elf/unload8mod1x.c: New file.
38657 * elf/unload8mod2.c: New file.
38658 * elf/unload8mod3.c: New file.
38659
38660 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38661 it wasn't used.
38662
2c0b250a
DM
386632011-08-23 David S. Miller <davem@davemloft.net>
38664
38665 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38666 subtract stack bias.
38667 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38668 %sp not %fp in calculations.
38669 (_JMPBUF_UNWINDS_ADJ): Likewise.
38670
22044b48
DM
38671 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38672 (aio_suspend): Call it to force an exception region around the
38673 AIO_MISC_WAIT() invocation.
38674
2cae4995
AS
386752011-08-23 Andreas Schwab <schwab@redhat.com>
38676
38677 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38678 backslash.
38679
873a772e
AJ
386802011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38681
38682 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38683 protection macro.
38684 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38685 and <dl-machine.h>.
38686 (Elf64_FuncDesc): Remove.
38687
25ad0df1
DM
386882011-08-22 David S. Miller <davem@davemloft.net>
38689
38690 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38691 sigaltstack check, add missing cfi directives.
38692 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38693 missing cfi directives, and sigaltstack handling.
38694
e888bcbe
AS
386952011-08-16 Andreas Schwab <schwab@redhat.com>
38696
38697 [BZ #11724]
38698 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38699 object is seen twice.
38700 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38701
38702 * elf/Makefile (distribute): Add tst-initorder2.c.
38703 (tests): Add tst-initorder2.
38704 (modules-names): Add tst-initorder2a tst-initorder2b
38705 tst-initorder2c tst-initorder2d. Add rules to build them.
38706 ($(objpfx)tst-initorder2.out): New rule.
38707 * elf/tst-initorder2.c: New file.
38708 * elf/tst-initorder2.exp: New file.
38709
87162f46
AS
387102011-08-22 Andreas Schwab <schwab@redhat.com>
38711
70538b7f
AS
38712 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38713
f55ffe58
AS
38714 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38715 dependencies back to end of function.
38716
87162f46
AS
38717 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38718 $(elfobjdir)/ld.so.
38719
91b392a4
UD
387202011-08-21 Ulrich Drepper <drepper@gmail.com>
38721
38722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38723 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38724 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38725 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38726 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38727 of __vdso_gettimeofday.
38728 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38729 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38730 attribute_hidden.
38731 (_libc_vdso_platform_setup): Remove initialization of
38732 __vdso_gettimeofday and __vdso_time.
38733
5c43483f
UD
387342011-08-20 Ulrich Drepper <drepper@gmail.com>
38735
775a77e7
UD
38736 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38737 and fgetc_unlocked.
38738 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38739 getc_unlocked.
89f447ed 38740
49c74ba9
UD
38741 * elf/dl-open.c (add_to_global): Report additions to the global scope
38742 for LD_DEBUG=scopes.
38743 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38744 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38745
5c43483f
UD
38746 [BZ #13114]
38747 * stdio-common/Makefile (tests): Add bug24.
38748 * stdio-common/bug24.c: New file.
38749
a101b025
AJ
387502011-08-19 Andreas Jaeger <aj@suse.de>
38751
38752 [BZ #13114]
38753 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38754 non-existant file when using close-on-exec mode.
38755
c88f1766
UD
387562011-08-20 Ulrich Drepper <drepper@gmail.com>
38757
0276a718
UD
38758 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38759 the very first instruction.
38760
c88f1766
UD
38761 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38762 the CFI state in the end.
38763 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38764 inclusion of dl-trampoline.h.
38765 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38766
51ccffa0
AS
387672011-08-19 Andreas Schwab <schwab@redhat.com>
38768
94d7165f
AS
38769 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38770 expectations for long double.
38771
51ccffa0
AS
38772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38773 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38774
fd708658 387752011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38776
38777 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38778 artificual limit depends upon the system page size.
38779
44f0a71e
UD
387802011-08-17 Ulrich Drepper <drepper@gmail.com>
38781
38782 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38783 * resolv/Makefile: Define CFLAGS-libresolv.
38784
8de79a24
AS
387852011-08-17 Andreas Schwab <schwab@redhat.com>
38786
38787 * nss/makedb.c (compute_tables): Make variables used in nested
38788 function static.
38789
27724598
UD
387902011-08-17 Ulrich Drepper <drepper@gmail.com>
38791
c5305d88
UD
38792 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38793 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38794 if buffer was too small.
38795
27724598
UD
38796 * elf/pldd.c (main): Attach to all threads in the process.
38797 Rewrite /proc handling to use *at functions.
38798
076fe015
UD
387992011-08-16 Ulrich Drepper <drepper@gmail.com>
38800
174baab3
UD
38801 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38802 specifies first scope to show.
38803 (dl_open_worker): Update callers. Move printing scope of new
38804 object to before the relocation.
44f0a71e 38805 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38806 * sysdeps/generic/ldsodefs.h: Update declaration.
38807
076fe015
UD
38808 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38809 string for the scope number.
38810
a60df2c3
UD
388112011-08-14 Ulrich Drepper <drepper@gmail.com>
38812
38813 * nscd/servicescache.c (cache_addserv): Make sure written is always
38814 initialized.
38815
5e4287d1
RM
388162011-08-14 Roland McGrath <roland@hack.frob.com>
38817
85ae0589
RM
38818 * sysdeps/i386/i486/bits/atomic.h
38819 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38820 statement expression, so as to suppress "set but not used" warning.
38821 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38822
69f63097
RM
38823 * string/strncat.c (STRNCAT): Use prototype definition.
38824
675456ef
RM
38825 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38826 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38827 -Iprograms here.
38828 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38829 (localedef-modules): Add localedef.
38830 (locale-modules): Add locale.
38831
5e4287d1
RM
38832 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38833 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38834 to avoid a warning.
38835
9c96ff23
DM
388362011-08-14 David S. Miller <davem@davemloft.net>
38837
38838 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38839 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38840
f9ddf089
UD
388412011-08-13 Ulrich Drepper <drepper@gmail.com>
38842
44f0a71e 38843 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38844 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38845 * elf/rtld.c (dl_main): Set l_name of vDSO.
38846 Call _dl_show_scope when DL_DEBUG_SCOPES.
38847 (process_dl_debug): Recognize scopes flag and also set it for all.
38848 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38849 Declare _dl_show_scope.
38850
1dc27704
UD
38851 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38852 (do_dlopen): Pass caller_dlopen to dl_open.
38853 (__libc_dlopen_mode): Initialize caller_dlopen.
38854
f9ddf089
UD
38855 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38856 of libc. Make tolower call locale-independent. Optimize a bit by
38857 using isdigit instead of isalnum.
38858 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38859
9ac533d3
UD
388602011-08-12 Ulrich Drepper <drepper@gmail.com>
38861
38862 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38863 was a dependency or dynamically loaded.
38864
89edf2e9
UD
388652011-08-11 Ulrich Drepper <drepper@gmail.com>
38866
8e999d29
UD
38867 * intl/l10nflist.c: Allow architecture-specific pop function.
38868 * sysdeps/x86_64/l10nflist.c: New file.
38869
89edf2e9
UD
38870 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38871 classification.
38872
14d96785
AS
388732011-08-10 Andreas Schwab <schwab@redhat.com>
38874
38875 * include/dirent.h: Add libc_hidden_proto for scandirat and
38876 scandirat64. Don't declare __scandirat64.
38877 * dirent/scandirat.c: Add libc_hidden_def.
38878 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38879 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38880
6761ac04
DM
388812011-08-10 David S. Miller <davem@davemloft.net>
38882
38883 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38884 enum.
38885 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38887 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38888
c55fbd1e
UD
388892011-08-09 Ulrich Drepper <drepper@gmail.com>
38890
38891 * Versions.def [libc]: Add GLIBC_2.15.
38892 * dirent/Makefile (routines): Add scandirat and scandirat64.
38893 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38894 GLIBC_2.15.
38895 * dirent/dirent.h: Declare scandirat and scandirat64.
38896 * dirent/scandirat.c: New file.
38897 * dirent/scandirat64.c: New file.
38898 * sysdeps/wordsize-64/scandirat.c: New file.
38899 * sysdeps/wordsize-64/scandirat64.c: New file.
38900 * dirent/opendir.c: Define opendirat.
38901 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38902 using scandirat.
38903 * dirent/scandir64.c: Adjust for scandir.c change.
38904 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38905 __scandirat64, and __scandir_cancel_handler.
38906 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38907 additional parameter and use openat instead of open (outside of ld.so).
38908 Add new __opendir as wrapper around __opendirat.
38909 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38910 here without requiring old scandirat implementation.
38911
879165f2
UD
389122011-08-08 Ulrich Drepper <drepper@gmail.com>
38913
38914 * dirent/scandir.c (cancel_handler): Renamed to
38915 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38916 defined. Adjust users.
38917 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38918 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38919
cb7e923b
UD
389202011-08-04 Ulrich Drepper <drepper@gmail.com>
38921
16292edd
UD
38922 * string/test-string.h (IMPL): Use __STRING to expand name and then
38923 stringify it.
38924
cb7e923b
UD
38925 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38926 of cleanups.
38927
cff82933
LD
389282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38929
38930 * string/Makefile: Update.
38931 (strop-tests): Append strncat.
38932 * string/test-wcscmp.c: New file.
38933 New comprehensive test for wcscmp.
38934 * string/test-strcmp.c: Update.
38935 (WIDE): New define.
38936
9be9bfcc
AS
389372011-07-22 Andreas Schwab <schwab@redhat.com>
38938
38939 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38940 line.
38941
2e96f1c7
AS
389422011-07-26 Andreas Schwab <schwab@redhat.com>
38943
38944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38945 encoding to ACE if AI_IDN.
38946
85188888
JJ
389472011-08-01 Jakub Jelinek <jakub@redhat.com>
38948
38949 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38950 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38951
5fa16e9b
LD
389522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38953
38954 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38955 Fix overflow bug in strncat.
38956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38957
38958 * string/test-strncat.c: Update.
38959 Add new tests for checking overflow bugs.
38960
389612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38962
38963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38964 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38965 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38966 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38967 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38968 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38969 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38970 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38971 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38972
38973 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38974 (USE_AS_STRCAT): Define.
38975 Add strcat and strncat support.
38976 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38977
8c1a459f
AS
389782011-07-25 Andreas Schwab <schwab@redhat.com>
38979
38980 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38981 __n bigger than INT_MAX+1.
38982 (__strncmp_g): Likewise.
38983
bba33c28
UD
389842011-07-23 Ulrich Drepper <drepper@gmail.com>
38985
798be72d
UD
38986 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38987 * libio/stido.h: Likewise.
38988
8accd4dc
UD
38989 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38990 (AF_NFC): Define.
38991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38992 (AF_NFC): Define.
38993
cbff0d96
UD
38994 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38995 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38996 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38997 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38998 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38999
9191c04a
UD
39000 [BZ #13021]
39001 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39002 installed.
39003
bba33c28
UD
39004 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39005 typo.
39006 (_dl_x86_64_save_sse): Likewise.
39007
90f139dd
UD
390082011-07-22 Ulrich Drepper <drepper@gmail.com>
39009
1aae088a
UD
39010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39011 OSXSAVE.
39012 (_dl_x86_64_save_sse): Likewise.
39013
8e2045f5
UD
39014 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39015
90f139dd
UD
39016 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39017
1d002f25
AS
390182011-07-21 Andreas Schwab <schwab@redhat.com>
39019
39020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39021 change.
39022 (_dl_x86_64_save_sse): Use correct AVX check.
39023
21137f89
UD
390242011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39025
39026 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39027 bug in strncpy/strncat.
39028 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39029
a65c0b7a
UD
390302011-07-21 Ulrich Drepper <drepper@gmail.com>
39031
39032 * string/tester.c (test_strcat): Add tests for different alignments
39033 of source and destination.
39034 (test_strncat): Likewise.
39035
6986b98a
UD
390362011-07-20 Ulrich Drepper <drepper@gmail.com>
39037
90bb2039
UD
39038 [BZ #12852]
39039 * posix/glob.c (glob): Check passed in values before using them in
39040 expressions to avoid some overflows.
39041 (glob_in_dir): Likewise.
39042
5644ef54
UD
39043 [BZ #13007]
39044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39045 check for AVX enablement so that we don't crash with old kernels and
39046 new hardware.
39047 * elf/tst-audit4.c: Add same checks here.
39048 * elf/tst-audit6.c: Likewise.
39049
39050 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39051
bfc9dc9b
AS
390522011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39053
39054 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39055
702e64bb
UD
390562011-07-20 Ulrich Drepper <drepper@gmail.com>
39057
39058 * po/cs.po: Update from translation team.
39059 * po/bg.po: Likewise.
39060
295e904f
MP
390612011-07-12 Marek Polacek <mpolacek@redhat.com>
39062
39063 * misc/sys/cdefs.h: Add support for const attribute.
39064 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39065 to gnu_dev_{major,minor,makedev} functions.
39066
3ff94596
MP
390672011-07-20 Marek Polacek <mpolacek@redhat.com>
39068
39069 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39070
28b59fca
AS
390712011-07-20 Andreas Schwab <schwab@redhat.com>
39072
39073 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39074 strlen results.
39075
19df733e
AK
390762011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39077
39078 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39079 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39080 register in order to avoid conflicts with the soft frame pointer
39081 being held in r11 when necessary.
39082 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39083 (INTERNAL_VSYSCALL_NCS): Likewise.
39084
c8835729
MP
390852011-07-14 Marek Polacek <mpolacek@redhat.com>
39086
39087 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39088 * elf/dl-fini.c (_dl_fini): Adjust caller.
39089 * elf/dl-close.c (_dl_close_worker): Likewise.
39090 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39091
b902330c
MP
390922011-07-15 Marek Polacek <mpolacek@redhat.com>
39093
8991e135
MP
39094 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39095 "aux_cache->nlibs < 0".
39096
b902330c
MP
39097 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39098 in the reload-count case.
39099
99710781
LD
391002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39101
39102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39103 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39104 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39105 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39106 * sysdeps/x86_64/multiarch/strcat.S: New file.
39107 * sysdeps/x86_64/multiarch/strncat.S: New file.
39108 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39109 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39110 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39111 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39112 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39113 (USE_AS_STRCAT): Define.
39114 Add strcat and strncat support.
39115 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39116 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39117 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39118 * string/strncat.c: Update.
39119 (USE_AS_STRNCAT): Define.
39120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39121 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39122 and i7.
39123 * sysdeps/x86_64/multiarch/init-arch.h
39124 (bit_Prefer_PMINUB_for_stringop): New.
39125 (index_Prefer_PMINUB_for_stringop): Likewise.
39126 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39127 bit_Prefer_PMINUB_for_stringop.
39128
7dc6bd90
UD
391292011-07-19 Ulrich Drepper <drepper@gmail.com>
39130
39131 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39132 buffer64.
39133 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39134 of casting of buffer.
39135 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39136 buffer32 and buffer64.
39137 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39138 writes instead of casting of buffer.
39139 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39140 buffer32.
39141 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39142 casting of buffer.
39143
e0e72284
AS
391442011-07-19 Andreas Schwab <schwab@redhat.com>
39145
39146 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39147
feb1eb0b
UD
391482011-07-19 Ulrich Drepper <drepper@gmail.com>
39149
39150 * nscd/nscd.c (termination_handler): Don't do anything for a database
39151 if it has not yet been initialized.
39152
298711ff
UD
391532011-07-18 Ulrich Drepper <drepper@gmail.com>
39154
39155 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39156
391572011-07-15 Marek Polacek <mpolacek@redhat.com>
39158
39159 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39160
f9d68389
UD
391612011-07-18 Ulrich Drepper <drepper@gmail.com>
39162
39163 * po/nl.po: Update from translation team.
39164 * po/sv.po: Likewise.
39165
db290cf5
RM
391662011-07-16 Roland McGrath <roland@hack.frob.com>
39167
39168 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39169 now disallowed by GCC.
5c550700 39170
fd5e21c7
RM
39171 * configure.in (use-default-link): Default to yes if a test -shared
39172 link meets our qualifications.
39173 * configure: Regenerated.
39174
5c550700
RM
39175 * config.make.in (output-format): New variable.
39176 * configure.in: Check for ld --print-output-format support.
39177 * configure: Regenerated.
39178 * Makerules ($(common-objpfx)format.lds)
39179 [$(output-format) != unknown]: Just use $(output-format),
39180 instead of the linker-script munging.
39181
9fa2c032
RM
391822011-07-14 Roland McGrath <roland@hack.frob.com>
39183
a6928d51
RM
39184 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39185 of $(common-objpfx)shlib.lds.
39186 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39187
661607b3
RM
39188 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39189 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39190
9fa2c032
RM
39191 * configure.in (-z relro check): Adjust test code to add a large
39192 writable data section after it.
39193 * configure: Regenerated.
39194
defe9061
RM
391952011-07-11 Roland McGrath <roland@hack.frob.com>
39196
39197 * configure.in (-z relro check): Fix test code to make the variable
39198 truly const.
39199 * configure: Regenerated.
39200
319b9ad4
UD
392012011-07-11 Ulrich Drepper <drepper@gmail.com>
39202
39203 * nscd/nscd.h (struct traced_file): Define.
39204 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39205 elements. Add traced_files.
39206 (inotify_fd): Declare.
39207 (register_traced_file): Declare.
39208 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39209 (inotify_fd): Export.
39210 (resolv_conf_descr): Remove.
39211 (nscd_init): Move inotify descriptor creation to main.
39212 Don't register files for notification here.
39213 (register_traced_file): New function.
39214 (invalidate_cache): Don't use reset_res to determine whether to call
39215 res_init, go through the list of registered files.
39216 (main_loop_poll): The inotify descriptors are now stored in the
39217 structures for the traced files.
39218 (main_loop_epoll): Likewise
39219 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39220 to __nss_disable_nscd.
39221 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39222 for a database anymore. Check the records for all the registered
39223 files instead.
39224 * nss/Makefile (libnss_files-routines): Add files-init.
39225 (libnss_db-routines): Add db-init.
39226 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39227 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39228 * nss/nss_db/db-init.c: New file.
39229 * nss/nss_files/files-init.c: New file.
39230 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39231 __nss_lookup_function.
39232 (__nss_lookup_function): Call nss_load_library.
39233 (nss_load_all_libraries): New function.
39234 (__nss_disable_nscd): Take parameter with callback function for files
39235 to register. Set is_nscd. Load all the DSOs for the NSS modules
39236 used for the cached services.
39237 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39238 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39239 options for features to all the files in nscd.
39240
39241 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39242
23bee3e8
RM
392432011-07-10 Roland McGrath <roland@hack.frob.com>
39244
39245 * csu/elf-init.c (__libc_csu_init): Comment typo.
39246
46a5b7f0
UD
392472011-07-09 Ulrich Drepper <drepper@gmail.com>
39248
39249 * po/pl.po: Update from translation team.
39250 * po/ja.po: Likewise.
39251 * po/ru.po: Likewise.
39252 * po/ko.po: Likewise.
39253 * po/fr.po: Likewise.
39254
d30cf5bb
RM
392552011-07-09 Roland McGrath <roland@hack.frob.com>
39256
113ddea4
RM
39257 * configure.in (.ctors/.dtors header and trailer check):
39258 Use an empirical test on a built program.
39259 * configure: Regenerated.
39260
574920b4
RM
39261 * configure.in (-z relro check): Use an empirical test on a built DSO.
39262 Detect, but do not require, on ia64.
39263 * configure: Regenerated.
39264
d30cf5bb
RM
39265 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39266 Update tests that use readelf to use $READELF instead.
39267 * configure: Regenerated.
39268
8538fdb3
UD
392692011-07-08 Ulrich Drepper <drepper@gmail.com>
39270
39271 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39272 if the result is not used.
39273
04d08991
AJ
392742011-07-05 Andreas Jaeger <aj@suse.de>
39275
39276 [BZ#9696]
39277 * stdlib/tst-strtod.c: Add testcase.
39278
de283087
AD
392792011-07-07 Ulrich Drepper <drepper@gmail.com>
39280
4e5f31c8 39281 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39282 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39283 The latter has a higher limit. Take additional parameter to pass to
39284 the new function.
39285 (__pathconf): Pass file to __statfs_link_max.
39286 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39287 __statfs_link_max.
39288 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39289 __statfs_link_max.
39290
de283087
AD
39291 [BZ #12868]
39292 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39293 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39294 Handle Lustre.
39295 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39296 (__statfs_filesize_max): Likewise.
39297 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39298
c75fa153
AJ
392992011-07-05 Andreas Jaeger <aj@suse.de>
39300
39301 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39302
1a544854
UD
393032011-07-06 Marek Polacek <mpolacek@redhat.com>
39304
39305 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39306 `status' variable.
39307 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39308 Likewise.
39309
6f0eec67
UD
393102011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39311
39312 * Makefile (strop-tests): Add strncat.
39313 * string/test-strncat.c: New file.
39314
aae30307
UD
393152011-06-30 Marek Polacek <mpolacek@redhat.com>
39316
39317 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39318
c0cfb5eb
UD
393192011-06-21 Andreas Jaeger <aj@suse.de>
39320
39321 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39322 Copy rule from iconvdata/Makefile.
39323
01636b21
UD
393242011-07-06 Ulrich Drepper <drepper@gmail.com>
39325
39326 [BZ #12922]
39327 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39328 but no long options are defined, just return 'W'.
39329
9895c8bc
UD
393302011-06-22 Marek Polacek <mpolacek@redhat.com>
39331
39332 [BZ #9696]
39333 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39334
5d4cf042
UD
393352011-07-06 Ulrich Drepper <drepper@gmail.com>
39336
39337 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39338 netgroups to read.
960e5535 39339 (innetgr): Likewise.
5d4cf042 39340
751eb97e
RM
393412011-07-05 Roland McGrath <roland@hack.frob.com>
39342
39343 * config.make.in (install_root): Default to $(DESTDIR).
39344
f15f1e45
UD
393452011-07-05 Ulrich Drepper <drepper@gmail.com>
39346
39347 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39348
4e34ac6a
RM
393492011-07-02 Roland McGrath <roland@hack.frob.com>
39350
5e9b6af4
RM
39351 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39352
84f9ea0f
RM
39353 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39354 containing directory rather than embedding absolute directory names.
39355
ea5ee9f7
RM
39356 * scripts/check-local-headers.sh: Rewritten using awk.
39357 Match by word, not by line. Print error messages for matches.
39358 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39359
1b74661a
RM
39360 * Makerules [shlib-lds-flags empty]:
39361 ($(common-objpfx)libc_pic.opts): New target.
39362 ($(common-objpfx)libc_pic.os.clean): New target.
39363 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39364
39365 * config.make.in (OBJCOPY): New variable.
39366 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39367 * configure: Regenerated.
39368
f781ef40
RM
39369 * config.make.in (use-default-link): New variable.
39370 * configure.in (use_default_link): Grok --with-default-link to set it.
39371 * configure: Regenerated.
39372 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39373 (shlib-lds, shlib-lds-flags): Define to empty.
39374
2d4fa81e
RM
39375 * Makerules (shlib-lds): New variable.
39376 (shlib-lds-flags): New variable.
39377 (build-shlib, build-moduile, build-module-asneeded): Use it.
39378 ($(common-objpfx)libc.so): Use $(shlib-lds).
39379 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39380 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39381
31fffa6b
RM
39382 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39383 DT_FLAGS/DT_FLAGS_1 with zero flags.
39384
4e34ac6a
RM
39385 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39386 linker script munging.
39387
fcfc776b
UD
393882011-07-02 Ulrich Drepper <drepper@gmail.com>
39389
39390 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39391 as 128-bit value.
39392 * crypt/sha512.c (sha512_process_block): Perform total addition using
39393 128-bit if possible.
39394 (__sha512_finish_ctx): Likewise.
39395 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39396 as 64-bit value.
39397 * crypt/sha256.c (SWAP64): Define.
39398 (sha256_process_block): Perform total addition using 64-bit if
39399 possible.
39400 (__sha256_finish_ctx): Likewise.
39401
99231d9a
UD
394022011-07-01 Ulrich Drepper <drepper@gmail.com>
39403
39404 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39405 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39406 * nscd/hstcache.c (cache_addhst): Likewise.
39407 * nscd/grpcache.c (cache_addgr): Likewise.
39408 * nscd/aicache.c (addhstaiX): Likewise
39409 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39410
445b4a53
TK
394112011-07-01 Thorsten Kukuk <kukuk@suse.de>
39412
39413 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39415 * nscd/hstcache.c (cache_addhst): Likewise.
39416 * nscd/grpcache.c (cache_addgr): Likewise.
39417 * nscd/aicache.c (addhstaiX): Likewise
39418
6d4d8e8e
AS
394192011-07-01 Andreas Schwab <schwab@redhat.com>
39420
39421 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39422 domain only when needed.
39423
89f654c5
AS
394242011-06-30 Andreas Schwab <schwab@redhat.com>
39425
39426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39427 is always restored.
39428
cf3b23ff
UD
394292011-06-29 Ulrich Drepper <drepper@gmail.com>
39430
39431 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39432 are re-adding the entry.
39433 * nscd/servicescache.c (cache_addserv): Likewise.
39434
751626f9
AJ
394352011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39436
39437 * sysdeps/generic/dl-irel.h: fix protection against multiple
39438 inclusions.
39439 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39440
9113ea1f
UD
394412011-06-28 Ulrich Drepper <drepper@gmail.com>
39442
5c0b8d90
UD
39443 [BZ #12935]
39444 * malloc/memusage.sh: Fix quoting in message.
39445 * debug/xtrace.sh: Likewise.
39446
9113ea1f
UD
39447 * configure.in: Remove support for --experimental-malloc option, make
39448 it the default.
39449 * config.make.in: Likewise.
39450 * malloc/Makefile: Likewise.
39451
a4172181
AS
394522011-06-27 Andreas Schwab <schwab@redhat.com>
39453
39454 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39455 two-byte characters.
39456
78a7eee7
RM
394572011-06-27 Roland McGrath <roland@hack.frob.com>
39458
62bede13
RM
39459 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39460 AC_CACHE_CHECK invocation.
39461 * configure: Regenerated.
39462
78a7eee7
RM
39463 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39464
5ce33a62
UD
394652011-06-27 Ulrich Drepper <drepper@gmail.com>
39466
034807a9
UD
39467 [BZ #12350]
39468 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39469 bit from old_res_options.
39470
4902da17
UD
39471 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39472
5ce33a62
UD
39473 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39474 value type for setfct.
39475
c2344f56
L
394762011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39477
39478 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39479 __gettimeofday instead of gettimeofday.
39480
68468076
UD
394812011-06-26 Ulrich Drepper <drepper@gmail.com>
39482
39483 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39484
acb0d739
L
394852011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39486
39487 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39488
39489 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39490 info.
39491
8912479f
L
394922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39493
39494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39495 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39496 strcpy-sse2-unaligned strncpy-sse2-unaligned
39497 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39498 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39499 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39500 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39501 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39502 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39503 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39504 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39505 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39506 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39507 (STRCPY): Support SSE2 and SSSE3 versions.
39508
d5495a11
UD
395092011-06-24 Ulrich Drepper <drepper@gmail.com>
39510
39511 [BZ #12874]
39512 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39513 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39514 kernels which artificially limit size of requests.
39515
0b1cbaae
L
395162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39517
39518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39519 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39520 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39521 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39522 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39523 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39524 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39525 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39526 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39527 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39528 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39529 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39530 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39531 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39532 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39534 Enable unaligned load optimization for Intel Core i3, i5 and i7
39535 processors.
39536 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39537 Define.
39538 (index_Fast_Unaligned_Load): Define.
39539 (HAS_FAST_UNALIGNED_LOAD): Define.
39540
07f494a0
MP
395412011-06-23 Marek Polacek <mpolacek@redhat.com>
39542
39543 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39544
fa3fc0fe
UD
395452011-06-22 Ulrich Drepper <drepper@gmail.com>
39546
39547 [BZ #12907]
39548 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39549 until it is clear that the information is realy needed.
39550 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39551
e12df166
AS
395522011-06-22 Andreas Schwab <schwab@redhat.com>
39553
39554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39555
852eb34d
UD
395562011-06-22 Ulrich Drepper <drepper@gmail.com>
39557
84e2a551
UD
39558 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39559 /sys/devices/system/cpu/online if it is usable.
39560
852eb34d
UD
39561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39562 reading the information from the /proc filesystem to once a second.
39563
6e502e19
UD
395642011-06-21 Andreas Jaeger <aj@suse.de>
39565
39566 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39567 NULL after inclusion of kernel headers.
39568
75d39ff2
UD
395692011-06-21 Ulrich Drepper <drepper@gmail.com>
39570
51f9aa6a
UD
39571 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39572 calls to internal_setent.
39573
c0244a9d
UD
39574 [BZ #12885]
39575 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39576 addresses using gethostbyname4_r ignore IPv4 addresses.
39577
c5e3c2ae
UD
39578 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39579 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39580
75d39ff2
UD
39581 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39582
42675c6f
DM
395832011-06-20 David S. Miller <davem@davemloft.net>
39584
39585 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39586 inclusions.
39587 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39588
39589 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39590 (elf_irel): Use it.
39591 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39592 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39593 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39594 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39595 * sysdeps/x86_64/dl-irel.h: Likewise.
39596
39597 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39598 * elf/dl-sym.c: Likewise.
39599
57912a71
UD
396002011-06-15 Ulrich Drepper <drepper@gmail.com>
39601
39602 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39603 need to dereference resplen2.
39604
ee22793d
AS
396052011-06-14 Andreas Schwab <schwab@redhat.com>
39606
39607 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39608
a9e836b0
UD
396092011-06-15 Ulrich Drepper <drepper@gmail.com>
39610
77fb9117
UD
39611 * Makeconfig: Define vardbdir and inst_vardbdir.
39612 * nss/Makefile: Add rules to install db-Makefile.
39613
40c1b22c
UD
39614 * nss/nss_db/db-XXX.c: Cleanup.
39615
9f2da732
UD
39616 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39617 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39618 GLIBC_PRIVATE.
39619 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39620 * nss/makedb.c: Implement -g option to specify that value strings
39621 are generated and should not be added to table iterated over for
39622 get*ent calls.
39623 * nss/nss_db/db-initgroups.c: New file.
39624
82e9a1f7
UD
39625 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39626 interface.
39627
c41af17e
UD
39628 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39629 (internal_getgrouplist): Adjust to name change.
39630 Update use_initgroups_entry if this is not the first call.
39631 * nss/databases.def: Add initgroups entry.
39632
a9e836b0
UD
39633 * nss/makedb.c (compute_tables): Check result of multiple hash table
39634 sizes to minimize maximum chain length.
39635
2666d441
UD
396362011-06-14 Ulrich Drepper <drepper@gmail.com>
39637
39638 * Versions.def: Add entry for libnss_db.
39639 * shlib-versions: Likewise.
39640 * nss/Makefile: Add rules to build libnss_db.
39641 * nss/Versions: Add libnss_db information. Organize libnss_files
39642 entries better.
39643 * nss/db-Makefile: Add gshadow support. Change rules for the new
39644 makedb progra. Some minor improvements to generate smaller files.
39645 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39646 here from...
39647 * nss/makedb.c: ...here.
39648 Improve database format to be smaller and require less memory at
39649 runtime.
39650 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39651 db anymore.
39652 * nss/nss_db/db-netgrp.c: Likewise.
39653 * nss/nss_db/db-open.c: Likewise.
39654 * nss/nss_files/flies-XXX.x: Adjust comments.
39655 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39656 * nss/nss_files/files-grp.c: Likewise.
39657 * nss/nss_files/files-hosts.c: Likewise.
39658 * nss/nss_files/files-network.c: Likewise.
39659 * nss/nss_files/files-proto.c: Likewise.
39660 * nss/nss_files/files-pwd.c: Likewise.
39661 * nss/nss_files/files-rpc.c: Likewise.
39662 * nss/nss_files/files-service.c: Likewise.
39663 * nss/nss_files/files-sgrp.c: Likewise.
39664 * nss/nss_files/files-spwd.c: Likewise.
39665 * nss/nss_db/db-alias.c: Removed.
39666 * nss/nss_db/dummy-db.h: Removed.
39667
9ee76b5a
UD
396682011-06-02 Ulrich Drepper <drepper@gmail.com>
39669
39670 * nss/makedb.c: Rewritten to not use database library.
39671 * nss/Makefile: Update to build new makedb program.
39672
c71ca1f8
AJ
396732011-06-14 Andreas Jaeger <aj@suse.de>
39674
39675 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39676 memset declaration.
39677
3154bfb8
UD
396782011-06-10 Andreas Schwab <schwab@redhat.com>
39679
39680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39681 tmpbuf.
39682
b350afab
RM
396832011-06-10 Roland McGrath <roland@hack.frob.com>
39684
decd4e50
RM
39685 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39686 * elf/Makefile ($(objpfx)ld.so): Likewise.
39687
5615eaf2
RM
39688 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39689 Don't list ld.so twice in dependencies.
39690
39691 * posix/bug-regex31.c: Include <stdlib.h>.
39692
39693 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39694
39695 * nis/nss_compat/compat-spwd.c
39696 (getspent_next_nss_netgr): Remove unused variable.
39697 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39698
39699 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39700 nonmembers" output to use the right array.
39701
39702 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39703
39704 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39705
39706 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39707 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39708 * catgets/gencat.c (read_input_file): Likewise.
39709 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39710
39711 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39712 variable definition inside #if's controlling its use.
39713
39714 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39715
39716 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39717
39718 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39719
39720 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39721 unreachable code.
39722
39723 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39724
b68e08db
RM
39725 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39726 * configure: Regenerated.
39727
b350afab
RM
39728 * Makerules: Revert last change.
39729 * elf/Makefile: Likewise.
39730
28368601
RM
397312011-06-09 Roland McGrath <roland@hack.frob.com>
39732
39733 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39734 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39735 (reloc-link): Likewise.
39736
11988f8f
UD
397372011-06-09 Ulrich Drepper <drepper@gmail.com>
39738
39739 * elf/Makefile: Add rules to build pldd.
39740 * elf/pldd.c: New file.
39741 * elf/pldd-xx.c: New file.
39742
e80fab37
UD
397432011-06-07 Ulrich Drepper <drepper@gmail.com>
39744
39745 * version.h: Update for 2.15 development version.
39746
9b849836
DM
397472011-06-07 David S. Miller <davem@davemloft.net>
39748
39749 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39750 ifuncs.
39751 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39752 elf_machine_lazy_rel): Likewise.
39753 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39755 elf_machine_lazy_rel): Likewise.
39756 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39757 dl_hwcap via passed in argument.
39758 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39759 Likewise.
39760
5a31b283
AK
397612011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39762
39763 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39764
069e52f8
RM
397652011-06-06 Roland McGrath <roland@hack.frob.com>
39766
39767 [BZ #12849]
39768 * manual/fdl-1.1.texi: New file, verbatim from:
39769 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39770 * manual/lgpl-2.1.texi: New file, verbatim from:
39771 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39772 * manual/Makefile (licenses): New variable, list those new file names.
39773 (texis): Use it.
39774 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39775
39776 * manual/fdl.texi: File removed.
39777 * manual/lesser.texi: File removed.
39778 * manual/libc.texinfo (Copying, Documentation License):
39779 Use new @include file names, put @appendix directive before @include.
39780
f16846a5
JJ
397812011-06-04 Jakub Jelinek <jakub@redhat.com>
39782
39783 [BZ #12841]
39784 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39785 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39786 (mq_open): Add __NTH.
39787
3d29045b
L
397882011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39789
39790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39791 Assume Intel Core i3/i5/i7 processor if AVX is available.
39792
8c297311
UD
397932011-05-31 Ulrich Drepper <drepper@gmail.com>
39794
39795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39796 typo.
39797
c8fc0c91
UD
397982011-05-31 Andreas Schwab <schwab@redhat.com>
39799
39800 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39801 memory. Use alloca_account. Fix memory leak when retrying.
39802
5b27a807
UD
398032011-05-31 Ulrich Drepper <drepper@gmail.com>
39804
356f8bc6
UD
39805 * version.h (RELEASE): Bump for 2.14 release.
39806 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39807
5b27a807
UD
39808 * config.make.in (RANLIB): Remove entry.
39809
01f16ab0
UD
398102011-05-30 Ulrich Drepper <drepper@gmail.com>
39811
41fce8bd
UD
39812 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39813 (libc.pot): Work around missing support for .ksh extension in xgettext.
39814
4769ae77
UD
39815 [BZ #12684]
39816 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39817 if both request failed.
39818 (send_dg): In case of server errors clear resplen or *resplen2.
39819
6b1e7d19
UD
39820 [BZ #12454]
39821 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39822 when there are multiple maps.
39823 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39824 (_dl_fini): Remove test here.
39825
01f16ab0
UD
39826 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39827
b1ebd700
UD
398282011-05-29 Ulrich Drepper <drepper@gmail.com>
39829
7ae22829
UD
39830 [BZ #12350]
39831 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39832 bit from old_res_options.
39833 (gaih_inet): Likewise.
39834
553149f6 39835 [BZ #11099]
18a84741 39836 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39837 as signed.
39838
652ffab1
UD
39839 * resolv/res_init.c (res_setoptions): Make the code more compact.
39840
16985fd0
UD
39841 [BZ #11558]
39842 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39843 set RES_USEVC.
39844
0464f746
UD
39845 [BZ #11634]
39846 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39847
7d17596c
UD
39848 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39849
cf6bbbd7
UD
39850 [BZ #11781]
39851 * malloc/malloc.h: Declare malloc hook variables as volatile.
39852
13f1ab36
UD
39853 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39854 in last patch.
39855
b1ebd700
UD
39856 [BZ #11799]
39857 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39858 raise in the comment.
80e2212d
UD
39859 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39860 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39861 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39862
ce67228d
UD
398632011-05-28 Ulrich Drepper <drepper@gmail.com>
39864
8887a920
UD
39865 [BZ #12811]
39866 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39867 grow the buffers more if it already has to be sufficient.
39868 (build_wcs_upper_buffer): Likewise.
39869 * posix/regexec.c (check_matching): Likewise.
39870 (clean_state_log_if_needed): Likewise.
39871 (extend_buffers): Don't enlarge buffers beyond size of the input
39872 buffer.
39873 Patches mostly by Emil Wojak <emil@wojak.eu>.
39874 * posix/bug-regex32.c: New file.
39875 * posix/Makefile (tests): Add bug-regex32.
39876
4f031072
UD
39877 * locale/findlocale.c (_nl_find_locale): Return right away if
39878 _nl_explode_name failed.
39879 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39880
d0478f0c
UD
39881 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39882
de81b246
UD
39883 * debug/xtrace.sh: Unify messages.
39884 * malloc/memusage.sh: Likewise.
39885
c738465a
UD
39886 [BZ #12813]
39887 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39888 time symbol from vDSO. Substitute with vsyscall if not available.
39889 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39890 __vdso_time.
39891
f1f929d7
UD
39892 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39893 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39894 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39895 Add sendmmsg and internal_sendmmsg.
39896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39897 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39898 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39899
ce67228d
UD
39900 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39901 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39902 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39903
e57420c6
UD
399042011-05-27 Ulrich Drepper <drepper@gmail.com>
39905
a8509ca5
UD
39906 [BZ #12813]
39907 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39908 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39909 available.
39910 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39911 __vdso_getcpu.
39912
e57420c6
UD
39913 [BZ #12814]
39914 * iconvdata/Makefile (tests): Add bug-iconv9.
39915 * iconvdata/bug-iconv9.c: New file.
39916
4d07db15
AS
399172011-05-27 Andreas Schwab <schwab@redhat.com>
39918
39919 [BZ #12814]
39920 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39921
ea486f69
JJ
399222011-05-25 Jakub Jelinek <jakub@redhat.com>
39923
39924 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39925 (struct user_regs_struct): Change intcs field back to cs.
39926
6f038433
UD
399272011-05-25 Ulrich Drepper <drepper@gmail.com>
39928
39929 * po/ja.po: Update from translation team.
39930
67f86a25
UD
399312011-05-23 Ulrich Drepper <drepper@gmail.com>
39932
39933 [BZ #12795]
39934 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39935 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39936
def7fbd6
AS
399372011-05-20 Andreas Schwab <schwab@redhat.com>
39938
39939 * stdlib/longlong.h: Update from GCC.
39940
f50ef8f1
AS
399412011-05-23 Andreas Schwab <schwab@redhat.com>
39942
39943 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39944 parameter name.
39945 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39946 Add parameter name.
39947 (__sysconf): Pass it down.
39948
de7ce8f1
UD
399492011-05-22 Ulrich Drepper <drepper@gmail.com>
39950
f2962a71
UD
39951 [BZ #12671]
39952 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39953 some situations.
39954 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39955 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39956 add in in __libc_use_alloca calls. Adjust callers.
39957 (glob): Use malloc in some situations.
39958
de7ce8f1
UD
39959 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39960 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39961 pltexit.
39962
aec84f53
UD
399632011-05-21 Ulrich Drepper <drepper@gmail.com>
39964
05bb4a68
UD
39965 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39966 and CLOCK_BOOTTIME_ALARM.
39967
7ea72f99
UD
39968 [BZ #12782]
39969 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39970 is returned.
39971
7e4afad5
UD
39972 * string/_strerror.c (__strerror_r): Print negative errors as signed
39973 numbers.
39974
8e211fec
UD
39975 [BZ #12777]
39976 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39977 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39978 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39979
f7d82dc9
UD
39980 * configure.in: Fix typo in redirection and correct removal of test
39981 files in two cases.
39982
cc9e536d
UD
39983 [BZ #12788]
39984 * locale/setlocale.c (new_composite_name): Fix test to check for
39985 identical name of all categories.
39986
aec84f53
UD
39987 [BZ #12792]
39988 * libio/filedoalloc.c (local_isatty): New function.
39989 (_IO_file_doallocate): Use local_isatty.
39990 * stdio-common/perror.c (perror): In case a new stream is used
39991 forward the stream error.
39992 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39993 error flag.
39994
78e64fdc
RT
399952011-05-20 Ulrich Drepper <drepper@gmail.com>
39996
34a9094f
UD
39997 [BZ #11869]
39998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39999 alloca.
40000 * include/alloca.h (extend_alloca_account): Define.
40001
78e64fdc
RT
40002 [BZ #11857]
40003 * posix/regex.h: Fix comments with documentation of user-accessible
40004 fields after compilation and describe correct free'ing of pattern
40005 after re_compile_pattern.
40006 Patch by Reuben Thomas <rrt@sc3d.org>.
40007
457bddfc
RA
400082011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40009
40010 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40011 and -mno-altivec to prevent the compiler from using Altivec and/or
40012 VSX instructions when the corresponding registers are not available.
40013
a4527b51
AS
400142011-05-19 Andreas Schwab <schwab@redhat.com>
40015
40016 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40017
ed690b2f
UD
400182011-05-19 Ulrich Drepper <drepper@gmail.com>
40019
40020 * libio/freopen.c (freopen): Use __dup2, not dup2.
40021 * libio/freopen64.c (freopen64): Likewise.
40022
8db73634
L
400232011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40024
40025 [BZ #12775]
40026 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40027 * math/Makefile (tests): Add test-powl.
40028 (CFLAGS-test-powl.c): Define.
40029 * math/test-powl.c: New file.
40030
0a197a9d
L
400312011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40032
40033 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40034
ee30c380
UD
400352011-05-17 Ulrich Drepper <drepper@gmail.com>
40036
40037 [BZ #11837]
40038 * iconvdata/gb18030.c: Update to GB18020-2005.
40039
6ce75379
UD
400402011-05-16 Ulrich Drepper <drepper@gmail.com>
40041
a4b89fd8
AR
40042 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40043 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40044 Patch by Aharon Robbins <arnold@skeeve.com>.
40045
ea389b12
UD
40046 [BZ #11892]
40047 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40048 on the stack.
40049
68a3f91f
UD
40050 [BZ #11895]
40051 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40052 through underflows.
40053
15cc7dd1
UD
40054 [BZ #12766]
40055 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40056 point to strings before performing equality test for error_one_per_line
40057 mode.
40058
f3799213
UD
40059 [BZ #11697]
40060 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40061
d79a9c94
UD
40062 [BZ #11820]
40063 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40064 (struct user_fpregs_struct): Avoid __uint*_t types.
40065
56e5eb46
UD
40066 [BZ #6420]
40067 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40068 symbol info. Use it instead of calling _dl_addr locally.
40069 (lock_and_info): New function.
40070 (tr_freehook): Call lock_and_info and pass symbol info as additional
40071 parameter to tr_where.
40072 (tr_mallochook): Likewise.
40073 (tr_reallochook): Likewise.
40074 (tr_memalignhook): Likewise.
40075
6ce75379
UD
40076 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40077 used and couldn't be at all thread-safe.
40078
f8a3b5bf
UD
400792011-05-15 Ulrich Drepper <drepper@gmail.com>
40080
94b7cc37
UD
40081 * libio/freopen.c (freopen): Don't close old file descriptor
40082 before the new one is opened. Instead dup the new file descriptor
40083 to the old one after the new stream is created.
40084 * libio/freopen64.c (freopen64): Likewise.
40085 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40086 * libio/fileops.c (_IO_new_file_close_it): Handle new
40087 _IO_FLAGS2_NOCLOSE flag.
40088 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40089 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40090 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40091 _IO_FLAGS2_NOCLOSE flag.
40092 * include/unistd.h: Add hidden_proto for dup3.
40093 Define __have_dup3.
40094 * io/dup3.c: Define hidden symbol.
40095 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40096
bd25564e
UD
40097 [BZ #7101]
40098 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40099 when an incomplete long option is used.
40100 * posix/tst-getopt_long1.c: New file.
40101 * posix/Makefile (tests): Add tst-getopt_long1.
40102
c84cfef4
UD
40103 [BZ #10138]
40104 * scripts/config.guess: Update from autoconf-2.68.
40105 * scripts/config.sub: Likewise.
40106
3b85df27
UD
40107 [BZ #10157]
40108 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40109 tests into ...
40110 (has_cpuclock): ...this. New function.
40111 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40112 macro here based on has_cpuclock code.
40113
15a856b1
UD
40114 [BZ #10149]
40115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40116 First byte (not low byte) is now always NUL.
40117 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40118
05f399e6
UD
40119 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40120 Use non-cancelable interfaces.
40121
10a52685 40122 [BZ #9809]
94ecc67d
UD
40123 * locale/iso-639.def: Add entry for Sorani.
40124
f8a3b5bf
UD
40125 [BZ #11901]
40126 * include/stdlib.h: Move include protection to the right place.
40127 Define abort_msg_s. Declare __abort_msg with it.
40128 * stdlib/abort.c (__abort_msg): Adjust type.
40129 * assert/assert.c (__assert_fail_base): New function. Majority
40130 of code from __assert_fail. Allocate memory for __abort_msg with
40131 mmap.
40132 (__assert_fail): Now call __assert_fail_base.
40133 * assert/assert-perr.c: Remove bulk of implementation. Use
40134 __assert_fail_base.
40135 * include/assert.hL Declare __assert_fail_base.
40136 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40137 mmap.
40138 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40139
1af4e298
UD
401402011-05-14 Ulrich Drepper <drepper@gmail.com>
40141
f8a3b5bf 40142 [BZ #11952]
d26dfc60
MG
40143 [BZ #12453]
40144 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40145 until all modules are registered in the DTV.
40146 * elf/Makefile: Add rules to build and run tst-tls19.
40147 * elf/tst-tls19.c: New file.
40148 * elf/tst-tls19mod1.c: New file.
40149 * elf/tst-tls19mod2.c: New file.
40150 * elf/tst-tls19mod3.c: New file.
40151 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40152
2fc54d6f
UD
40153 [BZ #12083]
40154 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40155 correctly.
40156
98d76b46
UD
40157 [BZ #12601]
40158 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40159 two-byte sequence errors.
40160 * iconvdata/Makefile (tests): Add bug-iconv8.
40161 * iconvdata/bug-iconv8.c: New file.
40162
da3c19ef
UD
40163 [BZ #12626]
40164 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40165 buf2 definition.
40166
ca408c15
UD
40167 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40168
d6f67f7d
UD
40169 [BZ #12432]
40170 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40171 (dummy_getcfa): New function.
40172 (init): Get _Unwind_GetCFA address, use dummy if not found.
40173 (backtrace_helper): In recursion check, also check whether CFA changes.
40174 (__backtrace): Completely initialize arg.
40175
1af4e298 40176 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40177 storing incomplete byte sequence in state object. Avoid testing for
40178 guaranteed too small input if we know there is enough data available.
1af4e298 40179
da62f81b
AS
401802011-05-11 Andreas Schwab <schwab@redhat.com>
40181
40182 * Makeconfig (+link-pie): Indent.
40183 * Rules (binaries-pie): Define if $(have-fpie) and
40184 $(build-shared).
40185 (binaries-shared): Also filter out $(binaries-pie).
40186 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40187 * nscd/Makefile (others-pie): Add nscd.
40188 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40189 ($(objpfx)nscd): Remove command override.
40190 * login/Makefile (others-pie): Add pt_chown.
40191 ($(objpfx)pt_chown): Remove command override.
40192 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40193 remove command overrides.
40194
fcabc0f8
UD
401952011-05-13 Ulrich Drepper <drepper@gmail.com>
40196
20030ae6
UD
40197 * libio/tst_putwc.c: Fix error messages.
40198
fcabc0f8
UD
40199 [BZ #12724]
40200 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40201 currently writing and seek to current position when not.
40202 * libio/Makefile (tests): Add bug-fclose1.
40203 * libio/bug-fclose1.c: New file.
40204
320a5dc0
PB
402052011-05-12 Ulrich Drepper <drepper@gmail.com>
40206
40207 [BZ #12511]
40208 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40209 don't set DF_1_NODELETE here.
40210 (do_lookup_x): When entering new entry test for copy relocation
40211 and if necessary set DF_1_NODELETE flag.
40212 * elf/tst-unique4.cc: New file.
40213 * elf/tst-unique4.h: New file.
40214 * elf/tst-unique4lib.cc: New file.
40215 * elf/Makefile: Add rules to build and run tst-unique4.
40216 Patch by Piotr Bury <pbury@goahead.com>.
40217
22836f52
UD
402182011-05-11 Ulrich Drepper <drepper@gmail.com>
40219
f574184a
UD
40220 [BZ #12052]
40221 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40222
e1fb097f
UD
40223 [BZ #12625]
40224 * misc/mntent_r.c (addmntent): Flush the stream after the output
40225
22836f52
UD
40226 [BZ #12393]
40227 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40228 (is_trusted_path_normalize): Skip initial colon. Append slash
40229 to empty buffer. Duplicate is_trusted_path code but allow
40230 constructed patch to be prefix.
40231 (is_dst): Allow $ORIGIN followed by /.
40232 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40233 Correct testing of result of is_trusted_path_normalize
40234 (decompose_rpath): Fix warning.
40235
7b3b0b2a
UD
402362011-05-10 Ulrich Drepper <drepper@gmail.com>
40237
40238 [BZ #11257]
40239 * grp/initgroups.c (internal_getgrouplist): When we found the service
40240 list through the initgroups entry in nsswitch.conf do not always
40241 continue on a successful lookup. Don't always use the
eac80ce2 40242 __nss_group_database value if it is set.
7b3b0b2a
UD
40243 * nss/nsswitch.conf (initgroups): Change action for successful db
40244 lookup to continue for compatibility.
40245
2a81eaa5
UD
402462011-05-09 Ulrich Drepper <drepper@gmail.com>
40247
be97a69e
UD
40248 [BZ #11532]
40249 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40250 and CP774 modules.
40251 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40252 and CP774 modules.
40253 * iconvdata/tst-tables.sh: Likewise.
40254 * iconvdata/cp770.c: New file.
40255 * iconvdata/cp771.c: New file.
40256 * iconvdata/cp772.c: New file.
40257 * iconvdata/cp773.c: New file.
40258 * iconvdata/cp774.c: New file.
40259 * iconvdata/testdata/CP770: New file.
40260 * iconvdata/testdata/CP770..UTF8: New file.
40261 * iconvdata/testdata/CP771: New file.
40262 * iconvdata/testdata/CP771..UTF8: New file.
40263 * iconvdata/testdata/CP772: New file.
40264 * iconvdata/testdata/CP772..UTF8: New file.
40265 * iconvdata/testdata/CP773: New file.
40266 * iconvdata/testdata/CP773..UTF8: New file.
40267 * iconvdata/testdata/CP774: New file.
40268 * iconvdata/testdata/CP774..UTF8: New file.
40269
40270 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40271 END CHARMAP line.
40272 * iconvdata/gen-8bit-gap.sh: Likewise.
40273 * iconvdata/gen-8bit.sh: Likewise.
40274
c1e9e399
UD
40275 * locale/iso-639.def: Add ary entry.
40276
24c55fb3 40277 [BZ #11258]
96b4b1b0
UD
40278 * locale/C-translit.h.in: Add U20A1 transliteration.
40279
bdc2f971
KB
40280 [BZ #12178]
40281 * locale/iso-639.def: Add wae entry.
40282 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40283
2952b117
UD
40284 [BZ #12545]
40285 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40286 for n.
40287
2a81eaa5
UD
40288 [BZ #12711]
40289 * locale/C-translit.h.in: Add entry for U20B9.
40290 Patch by pravin.d.s@gmail.com.
40291
28377d1b
UD
402922011-05-08 Ulrich Drepper <drepper@gmail.com>
40293
7fb90fb8
UD
40294 [BZ #12713]
40295 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40296 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40297 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40298 in rtld. Use *stat64.
7fb90fb8 40299 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40300 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40301 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40302 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40303 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40304 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40305 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40306 __fstatat64 macros.
7fb90fb8
UD
40307 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40308 * dirent/rewinddir.c: Add libc_hidden_def.
40309 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40310 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40311
28377d1b
UD
40312 * include/dirent.h (__alloc_dir): Add flags parameter.
40313 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40314 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40315 __alloc_dir.
40316 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40317 from fdopendir if O_CLOEXEC is already set.
40318
66bdbaa4
AM
403192011-03-15 Alan Modra <amodra@gmail.com>
40320
40321 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40322 l_tls_firstbyte_offset non-zero. Save padding offset in
40323 l_tls_firstbyte_offset for later use.
40324 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40325 freeing static tls block.
40326
95721191
JN
403272011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40328
40329 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40330 where #ifdef was intended. The intent is to prevent ARG_MAX from
40331 being defined by the kernel headers.
40332
f87dfb1f
UD
403332011-05-07 Ulrich Drepper <drepper@gmail.com>
40334
40335 [BZ #12734]
40336 * resolv/resolv.h: Define RES_NOTLDQUERY.
40337 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40338 no-tld-query and set RES_NOTLDQUERY.
40339 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40340 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40341 modern BIND to search name as TLD unless forbidden.
40342
47c3cd7a
UD
403432011-05-07 Petr Baudis <pasky@suse.cz>
40344 Ulrich Drepper <drepper@gmail.com>
40345
40346 [BZ #12393]
40347 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40348 (is_trusted_path): ...to here.
c1e9ea35 40349 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40350 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40351 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40352
8a35c912
PP
403532011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40354
40355 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40356 __BEGIN/__END_DECLS.
40357
acd41f47
UD
403582011-05-06 Ulrich Drepper <drepper@gmail.com>
40359
40360 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40361 NSS_STATUS_NOTFOUND if no record was found.
40362
597df647
AS
403632011-05-05 Andreas Schwab <schwab@redhat.com>
40364
40365 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40366 (headers-not-in-tirpc): Remove rpc/netdb.h
40367 * resolv/netdb.h: Revert last change.
40368
b9af1301
PP
403692011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40370
40371 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40372 circular dependency between libgcc.a and libc.a.
40373
4e34d5f5
AS
403742011-05-05 Andreas Schwab <schwab@redhat.com>
40375
40376 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40377 * nis/Makefile: Don't install rpcsvc/*.
40378 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40379 instead of <rpc/types.h>.
40380 (MAXHOSTNAMELEN): Define.
40381
00ee369c
AS
403822011-05-03 Andreas Schwab <schwab@redhat.com>
40383
40384 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40385
0b592a30
MB
403862011-04-28 Maciej Babinski <mbabinski@google.com>
40387
40388 [BZ #12714]
40389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40390 gethostbyname4_r when IPv6 results are possible.
40391
6e04cbbe
UD
403922011-05-02 Ulrich Drepper <drepper@gmail.com>
40393
40394 [BZ #12723]
40395 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40396 _PC_PIPE_BUF handling.
40397
e4ecafe0
BH
403982011-04-30 Bruno Haible <bruno@clisp.org>
40399
40400 [BZ #12717]
40401 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40402 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40403 to 'int'.
40404 * inet/getnameinfo.c (getnameinfo): Likewise.
40405
125ee683
UD
404062011-04-29 Ulrich Drepper <drepper@gmail.com>
40407
40408 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40409 to groups setting in database lookup.
40410 * nss/nsswitch.conf: Add initgroups entry.
40411
b722481a
EB
404122011-04-22 Ulrich Drepper <drepper@gmail.com>
40413
40414 [BZ #12685]
40415 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40416 mode string.
40417 Patch by Eric Blake <eblake@redhat.com>.
40418
4df46dbd
L
404192011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40420
40421 * sunrpc/Makefile (need-export-routines): Add svc_run.
40422 (routines): Remove svc_run.
40423 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40424 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40425 * sunrpc/svc_run.c (svc_run): Likewise.
40426 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40427
e84142d2
UD
404282011-04-21 Ulrich Drepper <drepper@gmail.com>
40429
40430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40431 problem in reallocation in last patch.
40432
877175d8
UD
404332011-04-20 Ulrich Drepper <drepper@gmail.com>
40434
40435 * sunrpc/Makefile: Move inclusion of Rules.
40436
ab8eed78
UD
404372011-04-19 Ulrich Drepper <drepper@gmail.com>
40438
40439 * nss/nss_files/files-initgroups.c: New file.
40440 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40441 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40442 _nss_files_initgroups_dyn.
40443
e3d8f584
RS
404442011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40445
40446 * elf/elf.h (R_ARM_IRELATIVE): Define.
40447
af190f45
UD
404482011-04-19 Ulrich Drepper <drepper@gmail.com>
40449
40450 * po/ru.po: Update from translation team.
40451
53cf59ef
UD
404522011-04-17 Ulrich Drepper <drepper@gmail.com>
40453
40454 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40455 dependencies.
40456
4c559bcd
MF
404572011-02-06 Mike Frysinger <vapier@gentoo.org>
40458
40459 [BZ #12653]
40460 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40461 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40462 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40464 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40465
4420675c
AS
404662011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40467
40468 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40469 differing bytes.
40470 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40473
75ea32ab
UD
404742011-04-17 Ulrich Drepper <drepper@gmail.com>
40475
40476 [BZ #12420]
40477 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40478 storing it.
40479 * stdlib/bug-getcontext.c: New file.
40480 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40481
27390476
AK
404822011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40483
40484 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40485 instructions into .machine "z9-109".
40486 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40487 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40488
10442705
AK
404892011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40490
40491 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40492 between environment variables and auxiliary vector.
40493
7b57bfe5
UD
404942011-04-16 Ulrich Drepper <drepper@gmail.com>
40495
40496 * Makefile: Add rules to build linkobj/libc.so.
40497 * include/libc-symbols.h: Define libc_hidden_nolink.
40498 * include/rpc/auth.h: Mark functions which are to be hidden.
40499 * include/rpc/auth_des.h: Likewise.
40500 * include/rpc/auth_unix.h: Likewise.
40501 * include/rpc/clnt.h: Likewise.
40502 * include/rpc/des_crypt.h: Likewise.
40503 * include/rpc/key_prot.h: Likewise.
40504 * include/rpc/pmap_clnt.h: Likewise.
40505 * include/rpc/pmap_prot.h: Likewise.
40506 * include/rpc/pmap_rmt.h: Likewise.
40507 * include/rpc/rpc_msg.h: Likewise.
40508 * include/rpc/svc.h: Likewise.
40509 * include/rpc/svc_auth.h: Likewise.
40510 * include/rpc/xdr.h: Likewise.
40511 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40512 * nss/Makefile: Likewise.
40513 * sunrpc/Makefile: Don't install headers. Build library with normal
40514 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40515 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40516 for the compat linking library. Remove use of INTDEF/INTUSE.
40517 * sunrpc/auth_none.c: Likewise.
40518 * sunrpc/auth_unix.c: Likewise.
40519 * sunrpc/authdes_prot.c: Likewise.
40520 * sunrpc/authuxprot.c: Likewise.
40521 * sunrpc/clnt_gen.c: Likewise.
40522 * sunrpc/clnt_perr.c: Likewise.
40523 * sunrpc/clnt_raw.c: Likewise.
40524 * sunrpc/clnt_simp.c: Likewise.
40525 * sunrpc/clnt_tcp.c: Likewise.
40526 * sunrpc/clnt_udp.c: Likewise.
40527 * sunrpc/clnt_unix.c: Likewise.
40528 * sunrpc/des_crypt.c: Likewise.
40529 * sunrpc/des_soft.c: Likewise.
40530 * sunrpc/get_myaddr.c: Likewise.
40531 * sunrpc/key_call.c: Likewise.
40532 * sunrpc/key_prot.c: Likewise.
40533 * sunrpc/netname.c: Likewise.
40534 * sunrpc/pm_getmaps.c: Likewise.
40535 * sunrpc/pm_getport.c: Likewise.
40536 * sunrpc/pmap_clnt.c: Likewise.
40537 * sunrpc/pmap_prot.c: Likewise.
40538 * sunrpc/pmap_prot2.c: Likewise.
40539 * sunrpc/pmap_rmt.c: Likewise.
40540 * sunrpc/publickey.c: Likewise.
40541 * sunrpc/rpc_cmsg.c: Likewise.
40542 * sunrpc/rpc_common.c: Likewise.
40543 * sunrpc/rpc_dtable.c: Likewise.
40544 * sunrpc/rpc_prot.c: Likewise.
40545 * sunrpc/rpc_thread.c: Likewise.
40546 * sunrpc/rtime.c: Likewise.
40547 * sunrpc/svc.c: Likewise.
40548 * sunrpc/svc_auth.c: Likewise.
40549 * sunrpc/svc_authux.c: Likewise.
40550 * sunrpc/svc_raw.c: Likewise.
40551 * sunrpc/svc_run.c: Likewise.
40552 * sunrpc/svc_simple.c: Likewise.
40553 * sunrpc/svc_tcp.c: Likewise.
40554 * sunrpc/svc_udp.c: Likewise.
40555 * sunrpc/svc_unix.c: Likewise.
40556 * sunrpc/svcauth_des.c: Likewise.
40557 * sunrpc/xcrypt.c: Likewise.
40558 * sunrpc/xdr.c: Likewise.
40559 * sunrpc/xdr_array.c: Likewise.
40560 * sunrpc/xdr_float.c: Likewise.
40561 * sunrpc/xdr_intXX_t.c: Likewise.
40562 * sunrpc/xdr_mem.c: Likewise.
40563 * sunrpc/xdr_rec.c: Likewise.
40564 * sunrpc/xdr_ref.c: Likewise.
40565 * sunrpc/xdr_sizeof.c: Likewise.
40566 * sunrpc/xdr_stdio.c: Likewise.
40567
e6c61494
UD
405682011-04-10 Ulrich Drepper <drepper@gmail.com>
40569
40570 [BZ #12650]
40571 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40572 * sysdeps/ia64/dl-tls.h: Likewise.
40573 * sysdeps/powerpc/dl-tls.h: Likewise.
40574 * sysdeps/s390/dl-tls.h: Likewise.
40575 * sysdeps/sh/dl-tls.h: Likewise.
40576 * sysdeps/sparc/dl-tls.h: Likewise.
40577 * sysdeps/x86_64/dl-tls.h: Likewise.
40578 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40579
34fe483e
AS
405802011-03-14 Andreas Schwab <schwab@redhat.com>
40581
40582 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40583 rpath element also skip the following colon.
40584 (expand_dynamic_string_token): Add is_path parameter and pass
40585 down to DL_DST_REQUIRED and _dl_dst_substitute.
40586 (decompose_rpath): Call expand_dynamic_string_token with
40587 non-zero is_path. Ignore empty rpaths.
40588 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40589 with zero is_path.
40590
f12a32e6
AS
405912011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40592
40593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40594 Make cancelable.
40595
38a7d692
UD
405962011-04-09 Ulrich Drepper <drepper@gmail.com>
40597
40598 [BZ #12655]
40599 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40600 Patch by Filipe David Manana <fdmanana@apache.org>.
40601
e451d22b
AS
406022011-04-07 Andreas Schwab <schwab@redhat.com>
40603
40604 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40605 Maintain aligned stack.
40606 (CHECK_RSP): Remove unused macro.
40607
dedc7c7b
UD
406082011-04-03 Ulrich Drepper <drepper@gmail.com>
40609
40610 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40611 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40612
94521213
UD
406132011-04-02 Ulrich Drepper <drepper@gmail.com>
40614
40615 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40616
8cb700c0 40617 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40618
0354e355
L
406192011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40620
40621 [BZ #12518]
40622 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40623 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40624 * sysdeps/x86_64/memmove.c: New file.
40625 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40626 (memcpy): Renamed to ...
40627 (__new_memcpy): This.
40628 (memcpy): Provide GLIBC_2_14 memcpy.
40629 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40630 (memcpy): Provide GLIBC_2_2_5 memcpy.
40631
8593482f
UD
406322011-04-01 Ulrich Drepper <drepper@gmail.com>
40633
40634 [BZ #12631]
40635 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40636
81a5726b
AS
406372011-03-30 Andreas Schwab <schwab@redhat.com>
40638
40639 * misc/syncfs.c: New file.
40640 * misc/Makefile (routines): Add syncfs.
40641 * posix/unistd.h: Declare syncfs.
40642 * sysdeps/unix/syscalls.list: Add syncfs.
40643
00e5419f
AS
406442011-04-01 Andreas Schwab <schwab@redhat.com>
40645
40646 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40647 open_by_handle_at.
40648 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40651 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40653 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40654 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40655
748876bf
UD
406562011-04-01 Ulrich Drepper <drepper@gmail.com>
40657
658e451d
UD
40658 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40659 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40660 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40661 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40662 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40664 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40665
748876bf
UD
40666 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40667 sync_file_range.c with -fexceptions.
40668 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40669 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40670 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40671 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40672 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40673 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40674 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40675 sync_file_range as cancellation point
40676 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40677 now a wrapper around __call_sync_file_range with cancellation handling.
40678 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40679 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40680 function name to __call_sync_file_range.
40681 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40682 Add call_sync_file_range.
748876bf 40683
6e63d5e1
AS
406842011-04-01 Andreas Schwab <schwab@redhat.com>
40685
40686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40687 bits/timex.h.
6e63d5e1 40688
46998f74
UD
406892011-04-01 Ulrich Drepper <drepper@gmail.com>
40690
4c1423ed
UD
40691 * iconv/iconv.h: Fix typo in comment.
40692 * io/fcntl.h: Likewise.
40693 * libio/stdio.h: Likewise.
40694 * posix/spawn.h: Likewise.
40695 * posix/unistd.h: Likewise.
40696 * stdlib/stdlib.h: Likewise.
40697 * time/time.h: Likewise.
40698 * wcsmbs/wchar.h: Likewise.
40699
158648c0
UD
40700 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40701 open_by_handle): Add.
40702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40703 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40704 Augment a few comments.
40705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40709 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40710 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40711 open_by_handle.
40712
46998f74
UD
40713 * io/fcntl.h (AT_EMPTY_PATH): Define.
40714
83fe108b
UD
407152011-03-30 Ulrich Drepper <drepper@gmail.com>
40716
40717 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40718 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40719 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40720 to...
40721 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40722 * Versions.def: Add GLIBC_2.14.
40723 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40724 Export.
83fe108b 40725
bb242059
UD
407262011-03-22 Ulrich Drepper <drepper@gmail.com>
40727
40728 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40729 round counter.
40730 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40731
c97a1282
L
407322011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40733
40734 [BZ #12597]
40735 * string/test-strncmp.c (do_page_test): New function.
40736 (check2): Likewise.
40737 (test_main): Call check2.
40738 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40739
2a115601
UD
407402011-03-20 Ulrich Drepper <drepper@gmail.com>
40741
40742 [BZ #12587]
40743 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40744 Handle cache information in CPU leaf 4.
40745 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40746
8126d904
UD
407472011-03-18 Ulrich Drepper <drepper@gmail.com>
40748
042c49c6 40749 [BZ #12583]
8126d904
UD
40750 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40751 character representation.
40752 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40753
ccfe366e
RA
407542011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40755
40756 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40757 END(__isnan) to END(__isnanf) to match function entry point/label
40758 EALIGN(__isnanf,...).
40759
c6e13027
JJ
407602011-03-10 Jakub Jelinek <jakub@redhat.com>
40761
40762 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40763
33f85a3f
UD
407642011-03-10 Ulrich Drepper <drepper@gmail.com>
40765
028478fa
UD
40766 [BZ #12510]
40767 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40768 copy from the symbol referenced in the relocation to initialize the
40769 used variable.
40770 Patch by Piotr Bury <pbury@goahead.com>.
40771 * elf/Makefile: Add rules to build and tst-unique3.
40772 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40773 * elf/tst-unique3.cc: New file.
40774 * elf/tst-unique3.h: New file.
40775 * elf/tst-unique3lib.cc: New file.
40776 * elf/tst-unique3lib2.cc: New file.
40777
33f85a3f
UD
40778 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40779
03592fc7
MF
407802011-03-10 Mike Frysinger <vapier@gentoo.org>
40781
40782 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40783 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40784 to _start.
03592fc7 40785
6a5ee102
UD
407862011-03-06 Ulrich Drepper <drepper@gmail.com>
40787
40788 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40789 to-be-loaded object along a path to loader is ld.so.
40790
7e4ba49c
HJ
407912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40792 Ulrich Drepper <drepper@gmail.com>
40793
40794 * sysdeps/x86_64/memset.S: After aligning destination, code
40795 branches to different locations depending on the value of
40796 misalignment, when multiarch is enabled. Fix this.
40797
407982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40799
40800 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40801 Set _x86_64_preferred_memory_instruction for AMD processsors.
40802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40803 Set bit_Prefer_SSE_for_memop for AMD processors.
40804
13a804de
UD
408052011-03-04 Ulrich Drepper <drepper@gmail.com>
40806
40807 * libio/fmemopen.c (fmemopen): Optimize a bit.
40808
9d25c392
AS
408092011-03-03 Andreas Schwab <schwab@redhat.com>
40810
40811 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40812
a5543c6a
RM
408132011-03-03 Roland McGrath <roland@redhat.com>
40814
40815 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40816
012d35f7
DM
408172011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40818
7e4ba49c 40819 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40820 __bzero_ultra1 instead of __memset_ultra1.
40821
4bff6e01
AS
408222011-02-23 Andreas Schwab <schwab@redhat.com>
40823 Ulrich Drepper <drepper@gmail.com>
40824
40825 [BZ #12509]
40826 * include/link.h (struct link_map): Add l_orig_initfini.
40827 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40828 returning unsuccessfully.
40829 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40830 close of a file loaded at startup, restore the original l_initfini
40831 list.
40832 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40833 list, store the pointer.
40834 * elf/Makefile ($(objpfx)noload-mem): New rule.
40835 (noload-ENV): Define.
40836 (tests): Add $(objpfx)noload-mem.
40837 * elf/noload.c: Include <memcheck.h>.
40838 (main): Call mtrace. Close all opened handles.
40839
f2092faf
AS
408402011-02-17 Andreas Schwab <schwab@redhat.com>
40841
40842 [BZ #12454]
40843 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40844 dependencies are missing.
40845
6c8a2e88
ST
408462011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40847
f2092faf 40848 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40849 Hurd needs munmap.
40850 * sysdeps/mach/hurd/ifreq.h: New file.
40851
84a42118
PB
408522011-01-27 Petr Baudis <pasky@suse.cz>
40853 Ulrich Drepper <drepper@gmail.com>
40854
071f805e 40855 [BZ 12445]#
84a42118
PB
40856 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40857 to extend_alloca().
40858 * stdio-common/bug23.c: New file.
40859 * stdio-common/Makefile (tests): Add bug23.
40860
e23fe25b
AS
408612010-09-28 Andreas Schwab <schwab@redhat.com>
40862 Ulrich Drepper <drepper@gmail.com>
40863
40864 [BZ #12489]
40865 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40866 before performing relro protection. At old place add assertion
40867 to make sure nothing changed.
40868
d3f02e10
NS
408692011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40870 Glauber de Oliveira Costa <glommer@gmail.com>
40871
40872 * elf/elf.h: Add new ARM TLS relocs.
40873
d55fd7a5
RA
408742011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40875
40876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40877 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40878 cast from r3.
40879 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40880 'tests' variable.
40881 * sysdeps/wordsize-64/tst-writev.c: New file.
40882
2206397e
RA
408832011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40884
40885 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40886 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40887 insns in _dl_start to prevent a TOC reference before relocs are
40888 resolved.
40889
e9433893
UD
408902011-02-15 Ulrich Drepper <drepper@gmail.com>
40891
40892 [BZ #12469]
40893 * Makeconfig: Remove RANLIB definition.
40894 * Makerules: Don't use RANLIB.
40895 * aclocal.m4: Remove ranlib test.
40896 * configure.in: No need to check for ranlib.
40897 * elf/rtld-Rules: Don't use RANLIB.
40898
f75286c6
ST
408992011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40900
8e31c82d
ST
40901 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40902 protection macro.
40903 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40904 inclusion protection macro.
40905
f75286c6
ST
40906 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40907 SIGRTMIN and SIGRTMAX and print information in that case only when
40908 SIGRTMIN is defined.
40909
c1d0e639
JJ
409102011-02-11 Jakub Jelinek <jakub@redhat.com>
40911
40912 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40913 arginfo fn returning -1.
40914
40915 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40916 and thousands string is zero terminated.
40917
edf9294e
AS
409182011-02-03 Andreas Schwab <schwab@redhat.com>
40919
40920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40921 sysdeps/unix/sysv/linux/bits/socket.h.
40922
2b7e92df
ST
409232011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40924
edf9294e
AS
40925 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40926 (__CPU_COUNT): Remove old macros.
40927 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40928 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40929 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40930 (__sched_cpualloc, __sched_cpufree): Add declarations.
40931
a4c7ea7b
UD
409322011-02-05 Ulrich Drepper <drepper@gmail.com>
40933
40934 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40935 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40936 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40937 (readdhstai): Return value of addhstaiX call.
40938 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40939 (addgrbyX): Return value returned by cache_addgr.
40940 (readdgrbyname): Return value returned by addgrbyX.
40941 (readdgrbygid): Likewise.
40942 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40943 (addpwbyX): Return value returned by cache_addpw.
40944 (readdpwbyname): Return value returned by addhstbyX.
40945 (readdpwbyuid): Likewise.
40946 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40947 (addservbyX): Return value returned by cache_addserv.
40948 (readdservbyname): Return value returned by addservbyX:
40949 (readdservbyport): Likewise.
40950 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40951 (addhstbyX): Return value returned by cache_addhst.
40952 (readdhstbyname): Return value returned by addhstbyX.
40953 (readdhstbyaddr): Likewise.
40954 (readdhstbynamev6): Likewise.
40955 (readdhstbyaddrv6): Likewise.
40956 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40957 (readdinitgroups): Return value returned by addinitgroupsX.
40958 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40959 (prune_cache): Keep track of timeout value of re-added entries.
40960 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40961 * nscd/nscd.h: Adjust prototypes of readd* functions.
40962
a0bf67cc
RM
409632011-02-04 Roland McGrath <roland@redhat.com>
40964
40965 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40966 (nis_stats): Likewise.
40967 * nis/nis_modify.c (nis_modify): Likewise.
40968 * nis/nis_remove.c (nis_remove): Likewise.
40969 * nis/nis_add.c (nis_add): Likewise.
40970
40971 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40972
40973 * posix/fnmatch_loop.c: Add some consts.
40974
40975 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40976
435b95eb
L
409772011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40978
40979 [BZ #12460]
40980 * config.make.in (config-cflags-novzeroupper): Define.
40981 * configure.in: Substitute libc_cv_cc_novzeroupper.
40982 * elf/Makefile (AVX-CFLAGS): Define.
40983 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40984 (CFLAGS-tst-auditmod4a.c): Likewise.
40985 (CFLAGS-tst-auditmod4b.c): Likewise.
40986 (CFLAGS-tst-auditmod6b.c): Likewise.
40987 (CFLAGS-tst-auditmod6c.c): Likewise.
40988 (CFLAGS-tst-auditmod7b.c): Likewise.
40989 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40990
8517b15e
UD
409912011-02-02 Ulrich Drepper <drepper@gmail.com>
40992
40993 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40994 function to the callback.
40995 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40996
10a656fe
AS
409972011-02-02 Andreas Schwab <schwab@redhat.com>
40998
40999 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41000 of errno.
41001
968dad0a
UD
410022011-01-19 Ulrich Drepper <drepper@gmail.com>
41003
9f94d2ea 41004 [BZ #11724]
968dad0a
UD
41005 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41006 of constructors.
41007 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41008 of destructors.
41009 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41010
41011 [BZ #11724]
41012 * elf/Makefile: Add rules to build and run new test.
41013 * elf/tst-initorder.c: New file.
41014 * elf/tst-initorder.exp: New file.
41015 * elf/tst-initordera1.c: New file.
41016 * elf/tst-initordera2.c: New file.
41017 * elf/tst-initordera3.c: New file.
41018 * elf/tst-initordera4.c: New file.
41019 * elf/tst-initorderb1.c: New file.
41020 * elf/tst-initorderb2.c: New file.
41021 * elf/tst-order-a1.c: New file.
41022 * elf/tst-order-a2.c: New file.
41023 * elf/tst-order-a3.c: New file.
41024 * elf/tst-order-a4.c: New file.
41025 * elf/tst-order-b1.c: New file.
41026 * elf/tst-order-b2.c: New file.
41027 * elf/tst-order-main.c: New file.
41028 New test case by George Gensure <werkt0@gmail.com>.
41029
86e92359
UD
410302010-10-01 Andreas Schwab <schwab@redhat.com>
41031
41032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41033 decoding ACE if AI_CANONIDN.
41034
5d5732b0
UD
410352011-01-18 Ulrich Drepper <drepper@gmail.com>
41036
41037 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41038
a77e8cbc
UD
410392011-01-17 Ulrich Drepper <drepper@gmail.com>
41040
6392473f
UD
41041 * version.h (RELEASE): Bump for 2.13 release.
41042 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41043
620a0529
UD
41044 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41045
18ba70a5
UD
41046 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41047 MADV_NOHUGEPAGE.
32465c3e
UD
41048 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41049 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41050 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41051 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41052 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41053 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41054
c0dafcf1
UD
41055 * posix/getconf.c: Update copyright year.
41056 * catgets/gencat.c: Likewise.
41057 * csu/version.c: Likewise.
41058 * debug/catchsegv.sh: Likewise.
41059 * debug/xtrace.sh: Likewise.
41060 * elf/ldconfig.c: Likewise.
41061 * elf/ldd.bash.in: Likewise.
41062 * elf/sprof.c (print_version): Likewise.
41063 * iconv/iconv_prog.c: Likewise.
41064 * iconv/iconvconfig.c: Likewise.
41065 * locale/programs/locale.c: Likewise.
41066 * locale/programs/localedef.c: Likewise.
41067 * malloc/memusage.sh: Likewise.
41068 * malloc/mtrace.pl: Likewise.
41069 * nscd/nscd.c (print_version): Likewise.
41070 * nss/getent.c: Likewise.
41071
a77e8cbc
UD
41072 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41073 PF_CAIF, and PF_ALG.
41074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41075
77e8bddf
AS
410762011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41077
1f20b93a
AS
41078 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41079 (modules-names): Use them.
41080 (ifunc-test-modules, ifunc-pie-tests): Define.
41081 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41082 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41083 (test-extras): Likewise.
41084 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41085 $(compile-command.c).
41086 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41087 (all-built-dso): Define.
41088 (check-textrel.out, check-execstack.out): Depend on it.
41089
77e8bddf
AS
41090 * configure.in: Don't override --enable-multi-arch.
41091
bc425b33
UD
410922011-01-15 Ulrich Drepper <drepper@gmail.com>
41093
41094 [BZ #6812]
41095 * nscd/hstcache.c (tryagain): Define.
41096 (cache_addhst): Return tryagain not notfound for temporary errors.
41097 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41098 failed.
41099
794c3ad3
UD
411002011-01-14 Ulrich Drepper <drepper@gmail.com>
41101
70181fdd
UD
41102 [BZ #10563]
41103 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41104 to make the syscall.
41105 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41106
794c3ad3
UD
41107 [BZ #12378]
41108 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41109 and fall back to matching as normal character if the string ends before
41110 the matching ']' is found. This is what POSIX requires.
41111 * posix/testfnm.c: Adjust test result.
41112 * posix/globtest.sh: Adjust test result. Add new test.
41113 * posix/tst-fnmatch.input: Likewise.
41114 * posix/tst-fnmatch2.c: Add new test.
41115
68dc9497
AS
411162010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41117
41118 * elf/Makefile (check-execstack): Revert last change. Depend on
41119 check-execstack.h.
41120 (check-execstack.h): New target.
41121 (generated): Add check-execstack.h.
41122 * elf/check-execstack.c: Include "check-execstack.h".
41123 (main): Revert last change.
41124 (handle_file): Return zero if GNU_STACK is absent and
41125 DEFAULT_STACK_PERMS doesn't include PF_X.
41126
451f001b
UD
411272011-01-13 Ulrich Drepper <drepper@gmail.com>
41128
cfa28e56
UD
41129 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41130 in child fails because the descriptor is already closed.
8cf8ce17
UD
41131 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41132 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41133 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41134
1086d70d
UD
41135 [BZ #12397]
41136 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41137 syscall.
41138
451f001b
UD
41139 [BZ #10484]
41140 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41141 temporary buffer used to handle multi lookups locally.
a85b5cb4 41142 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41143
08769175
UD
411442011-01-12 Ulrich Drepper <drepper@gmail.com>
41145
41146 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41147 loader is ld.so.
41148
5e49c52e
UD
411492011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41150
41151 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41152 alignment for SSE2.
41153
60522a5f
UD
411542011-01-12 Ulrich Drepper <drepper@gmail.com>
41155
41156 [BZ #12394]
41157 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41158 characters. When rounding increased number of integer digits recompute
41159 number of groups.
41160 * stdio-common/tst-grouping.c: New file.
41161 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41162
f257bbd7
UD
411632011-01-09 Ulrich Drepper <drepper@gmail.com>
41164
41165 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41166 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41167
41168 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41169 void.
41170 * bits/select.h: Likewise.
41171
fa9c15cb
UD
411722011-01-08 Ulrich Drepper <drepper@gmail.com>
41173
41174 * po/ja.po: Update from translation team.
41175
16c2895f
DM
411762011-01-04 David S. Miller <davem@sunset.davemloft.net>
41177
41178 [BZ #11155]
41179 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41180 implementation just like for lxstat, fxstatat, et al.
41181
2543fef2
JM
411822010-12-27 Jim Meyering <meyering@redhat.com>
41183
41184 [BZ #12348]
41185 * posix/regexec.c (build_trtable): Return failure indication upon
41186 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41187
98727dbe
UD
411882010-12-25 Ulrich Drepper <drepper@gmail.com>
41189
5bd6dc5c
UD
41190 [BZ #12201]
41191 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41192 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41193 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41195
97983464
UD
41196 [BZ #12207]
41197 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41198
98727dbe
UD
41199 [BZ #12204]
41200 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41201 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41202
4a531bb0
L
412032010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41204
41205 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41206 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41207 script has SORT_BY_INIT_PRIORITY.
41208 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41209 NO_CTORS_DTORS_SECTIONS is defined.
41210 * elf/soinit.c: Likewise.
41211 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41212 NO_CTORS_DTORS_SECTIONS is defined.
41213 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41214 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41215 * sysdeps/sh/init-first.c: Likewise.
41216 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41217
07eb4b71
UD
412182010-12-24 Ulrich Drepper <drepper@gmail.com>
41219
41220 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41221 always use the slow path.
41222
30950a5f
RA
412232010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41224
41225 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41226 similar rule which adds the sysdep directories to the header search in
41227 order to pick up the correct platform stackinfo.h.
41228 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41229 perform test if it is, otherwise return successfully without testing.
41230 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41231 DEFAULT_STACK_PERMS define in stackinfo.h.
41232 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41233 defined in stackinfo.h.
41234 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41235 DEFAULT_STACK_PERMS defined in stackinfo.h.
41236 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41237 * sysdeps/ia64/stackinfo.h: Likewise.
41238 * sysdeps/s390/stackinfo.h: Likewise.
41239 * sysdeps/sh/stackinfo.h: Likewise.
41240 * sysdeps/sparc/stackinfo.h: Likewise.
41241 * sysdeps/x86_64/stackinfo.h: Likewise.
41242 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41243 PF_X for powerpc64. Retain PF_X for powerpc32.
41244
db753e2c
UD
412452010-12-19 Ulrich Drepper <drepper@gmail.com>
41246
14b697f7
UD
41247 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41248 accurately.
db753e2c
UD
41249 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41250 GETDENTS_64BIT_ALIGNED.
41251
28300719
UD
412522010-12-14 Ulrich Drepper <dreper@gmail.com>
41253
14b697f7 41254 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41255
4f197237
AS
412562010-12-10 Andreas Schwab <schwab@redhat.com>
41257
dbb0472f
AS
41258 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41259 _GNU_SOURCE.
41260
4f197237
AS
41261 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41262 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41263 Remove __restrict.
41264 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41265 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41266
fb88ac72
UD
412672010-12-09 Ulrich Drepper <drepper@gmail.com>
41268
41269 [BZ #11655]
41270 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41271 are initialized.
41272
42acbb92
JJ
412732010-12-09 Jakub Jelinek <jakub@redhat.com>
41274
41275 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41276
c038d98d
UD
412772010-12-03 Ulrich Drepper <drepper@gmail.com>
41278
41279 * po/it.po: Update from translation team.
41280
3a4a2499
L
412812010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41282
41283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41284 unused codes.
41285
1e24cf6e
UD
412862010-11-30 Ulrich Drepper <drepper@gmail.com>
41287
41288 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41289
a7690819
AS
412902010-11-24 Andreas Schwab <schwab@redhat.com>
41291
41292 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41293 specially.
41294 (gaih_getanswer_slice): Likewise.
41295
3bf8d1b1
JJ
412962010-10-20 Jakub Jelinek <jakub@redhat.com>
41297
41298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41299
6db52fbb
PB
413002010-05-31 Petr Baudis <pasky@suse.cz>
41301
41302 [BZ #11149]
41303 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41304 silently even in the chroot mode.
41305
eaca7569
UD
413062010-11-22 Ulrich Drepper <drepper@gmail.com>
41307
41308 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41309 last patch a bit. Pretty printing
41310
3056dcdb
UD
413112010-05-31 Petr Baudis <pasky@suse.cz>
41312
41313 [BZ #10085]
41314 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41315 initialization of skip_initgroups_dyn.
41316
cf7c9078
UD
413172010-11-19 Ulrich Drepper <drepper@gmail.com>
41318
41319 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41320 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41321
a1fb5e3e
UD
413222010-11-16 Ulrich Drepper <drepper@gmail.com>
41323
41324 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41325
3540d66b
AS
413262010-11-11 Andreas Schwab <schwab@redhat.com>
41327
41328 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41329 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41330 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41331 ($(objpfx)tst-fnmatch-mem): New rule.
41332 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41333 * posix/tst-fnmatch.c (main): Call mtrace.
41334
13b69574
L
413352010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41336
41337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41338 Support Intel processor model 6 and model 0x2c.
41339
da93d214
LM
413402010-11-10 Luis Machado <luisgpm@br.ibm.com>
41341
41342 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41343 signed comparison.
41344
8ca52c6e
L
413452010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41346
41347 [BZ #12205]
41348 * string/test-strncasecmp.c (check_result): New function.
41349 (do_one_test): Use it.
41350 (check1): New function.
41351 (test_main): Use it.
41352 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41353 Support strcasecmp and strncasecmp.
41354
69da074d
UD
413552010-11-08 Ulrich Drepper <drepper@gmail.com>
41356
41357 [BZ #12194]
41358 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41359 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41360
ff02d528
L
413612010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41362
41363 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41364 IFUNC support.
41365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41366 memset-x86-64.
41367 * sysdeps/x86_64/multiarch/bzero.S: New file.
41368 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41369 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41370 * sysdeps/x86_64/multiarch/memset.S: New file.
41371 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41373 Set bit_Prefer_SSE_for_memop for Intel processors.
41374 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41375 Define.
41376 (index_Prefer_SSE_for_memop): Define.
41377 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41378
344d0b54
LM
413792010-11-04 Luis Machado <luisgpm@br.ibm.com>
41380
41381 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41382 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41383
c0dde15b
UD
413842010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41385
41386 [BZ #12191]
41387 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41388 (__x86_64_raw_data_cache_size_half): Likewise.
41389 (__x86_64_raw_shared_cache_size): Likewise.
41390 (__x86_64_raw_shared_cache_size_half): Likewise.
41391
41392 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41393 (__x86_64_raw_data_cache_size_half): Likewise.
41394 (__x86_64_raw_shared_cache_size): Likewise.
41395 (__x86_64_raw_shared_cache_size_half): Likewise.
41396 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41397 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41398 and __x86_64_raw_shared_cache_size_half. Round
41399 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41400 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41401 to multiple of 256 bytes.
41402
0e516e0e
MS
414032010-11-03 Ulrich Drepper <drepper@gmail.com>
41404
41405 [BZ #12167]
41406 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41407 of inacessible symlinks. Verify result of symlink before returning it.
41408 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41409 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41410
0e012e87
ER
414112010-10-28 Erich Ritz <erichritz@gmail.com>
41412
41413 * math/math.h (isinf): Fix typo in comment.
41414
de0ff7bc
UD
414152010-11-01 Ulrich Drepper <drepper@gmail.com>
41416
41417 * po/da.po: Update from translation team.
41418
fa41c84d
UD
414192010-10-26 Ulrich Drepper <drepper@gmail.com>
41420
41421 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41422 is added to the list.
41423
f0967738
AK
414242010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41425 Ulrich Drepper <drepper@gmail.com>
41426
41427 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41428 the global list here. Move code to...
41429 (_dl_add_to_namespace_list): ...here. New function.
41430 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41431 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41432 * elf/dl-load.c (lose): Don't remove the element from the list.
41433 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41434 (_dl_map_object): Likewise.
41435
414362010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41437
41438 [BZ #12159]
41439 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41440 into all bytes of SSE register.
41441 Patch by Richard Li <richardpku@gmail.com>.
41442
f0967738 414432010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41444
41445 [BZ #12140]
41446 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41447 perturbing.
41448
d0b9e94f
MB
414492010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41450
41451 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41452 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41453 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41454 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41456 submachine.
41457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41458
8e9f92e9
AS
414592010-10-22 Andreas Schwab <schwab@redhat.com>
41460
41461 * include/dlfcn.h (__RTLD_SECURE): Define.
41462 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41463 mode & __RTLD_SECURE instead.
41464 (open_path): Rename preloaded parameter to secure.
41465 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41466 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41467 * elf/dl-deps.c (openaux): Likewise.
41468 * elf/rtld.c (struct map_args): Remove is_preloaded.
41469 (map_doit): Don't use it.
41470 (dl_main): Likewise.
41471 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41472 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41473
bc96fbda
AS
414742010-09-09 Andreas Schwab <schwab@redhat.com>
41475
41476 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41477 (sysd-rules-targets): Remove duplicates.
41478 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41479 rtld-%.$o dependency.
41480
22cd1c9b
AS
414812010-10-18 Andreas Schwab <schwab@redhat.com>
41482
41483 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41484 _dl_map_object do it.
41485
18edac48
UD
414862010-10-19 Ulrich Drepper <drepper@gmail.com>
41487
41488 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41489 fast fma builtins, define the macros in the C99 standard.
41490 (FP_FAST_FMAF): Likewise.
41491 (FP_FAST_FMAL): Likewise.
41492 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41493
41494 * bits/mathdef.h: Update copyright year.
41495 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41496
d2050124
MM
414972010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41498
41499 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41500 builtins, define the macros in the C99 standard.
41501 (FP_FAST_FMAF): Likewise.
41502 (FP_FAST_FMAL): Likewise.
41503 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41504 multiply/add.
41505 (FP_FAST_FMAF): Likewise.
41506
475facd1
JJ
415072010-10-15 Jakub Jelinek <jakub@redhat.com>
41508
41509 [BZ #3268]
41510 * math/libm-test.inc (fma_test): Some new testcases.
41511 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41512 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41513 y and infinite z. Do multiplication by C already in long double.
41514 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41516 y and infinite z. Do bitwise or of inexact bit into u.d.
41517 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41518 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41519 * sysdeps/i386/fpu/s_fma.S: Removed.
41520 * sysdeps/i386/fpu/s_fmal.S: Removed.
41521
7c08a05c
JJ
415222010-10-16 Jakub Jelinek <jakub@redhat.com>
41523
41524 [BZ #3268]
41525 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41527 computation is not scheduled after fetestexcept. Fix value
41528 of minimum denormal long double.
41529
f3f7372d
JJ
415302010-10-14 Jakub Jelinek <jakub@redhat.com>
41531
41532 [BZ #3268]
41533 * math/libm-test.inc (fma_test): Add some more tests.
41534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41535 correctly.
41536
14d43591
AS
415372010-10-15 Andreas Schwab <schwab@redhat.com>
41538
41539 * scripts/data/localplt-s390-linux-gnu.data: New file.
41540 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41541
5e908464
JJ
415422010-10-13 Jakub Jelinek <jakub@redhat.com>
41543
41544 [BZ #3268]
41545 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41546 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41547 instead of dbl-64.
41548 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41549 inlines.
41550 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41552 if one of x and y is very large and the other is subnormal.
41553 * sysdeps/s390/fpu/s_fmaf.c: New file.
41554 * sysdeps/s390/fpu/s_fma.c: New file.
41555 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41556 * sysdeps/powerpc/fpu/s_fma.S: New file.
41557 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41558 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41559 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41560
415612010-10-12 Jakub Jelinek <jakub@redhat.com>
41562
41563 [BZ #3268]
41564 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41565 fma tests.
41566 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41567 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41568 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41569 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41570 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41571 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41572 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41573
b833d51f
UD
415742010-10-12 Ulrich Drepper <drepper@redhat.com>
41575
41576 [BZ #12078]
41577 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41578 * posix/bug-regex31.input: Add test case.
41579
1751705d
UD
415802010-10-11 Ulrich Drepper <drepper@gmail.com>
41581
e9b9cbf5
UD
41582 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41583 * posix/bug-regex31.input: New file.
41584
41585 [BZ #12078]
41586 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41587 (parse_sub_exp): Fix last change, use postorder.
41588
ef06edbe
UD
41589 * posix/bug-regex31.c: New file.
41590 * posix/Makefile: Add rules to build and run bug-regex31.
41591
a129c80d
UD
41592 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41593
41594 [BZ #12078]
41595 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41596
b76b818e
UD
41597 [BZ #12108]
41598 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41599 to have entries in sys_siglist.
41600
1751705d
UD
41601 [BZ #12093]
41602 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41603 be NULL.
41604
9ff8d36f
JJ
416052010-10-07 Jakub Jelinek <jakub@redhat.com>
41606
41607 [BZ #3268]
41608 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41609 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41610 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41611 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41612 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41613 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41614 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41615 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41616 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41617 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41618 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41619 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41620 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41621 * math/ftestexcept.c (fetestexcept): Likewise.
41622 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41623 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41624 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41625 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41626 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41627 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41628 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41629
af325969
UD
416302010-10-11 Ulrich Drepper <drepper@gmail.com>
41631
c579b202 41632 [BZ #12107]
af325969
UD
41633 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41634 newline.
41635
67a67b95
UD
416362010-10-06 Ulrich Drepper <drepper@gmail.com>
41637
41638 * string/bug-strstr1.c: New file.
41639 * string/Makefile: Add rules to build and run bug-strstr1.
41640
5fb308bc
EB
416412010-10-05 Eric Blake <eblake@redhat.com>
41642
41643 [BZ #12092]
41644 * string/str-two-way.h (two_way_long_needle): Always clear memory
41645 when skipping input due to the shift table.
41646
45db99c7
UD
416472010-10-03 Ulrich Drepper <drepper@gmail.com>
41648
3b111893
UD
41649 [BZ #12005]
41650 * malloc/mcheck.c: Handle large requests.
41651
45db99c7
UD
41652 [BZ #12077]
41653 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41654 for strncmp and strncasecmp.
41655 * string/stratcliff.c: Add tests for strcmp and strncmp.
41656 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41657
cf7a1eb8
NI
416582010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41659
41660 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41661 __set_fpscr.
41662
6484ba5e
AJ
416632010-09-30 Andreas Jaeger <aj@suse.de>
41664
41665 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41666 (CGROUP_SUPER_MAGIC): Define.
41667 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41668 Handle btrfs and cgroup file systems.
41669 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41670 Likewise.
41671
91c42559
LM
416722010-09-27 Luis Machado <luisgpm@br.ibm.com>
41673
41674 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41675 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41676
87a97932
AK
416772010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41678
41679 [BZ #12067]
41680 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41681 trying to locate the ELF header.
41682
c21cc9bc
AS
416832010-09-27 Andreas Schwab <schwab@redhat.com>
41684
41685 [BZ #11611]
41686 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41687 Mask out sign-bit copies when constructing f_fsid.
41688
315970f6
PB
416892010-09-24 Petr Baudis <pasky@suse.cz>
41690
41691 * debug/stack_chk_fail_local.c: Add missing licence exception.
41692 * debug/warning-nop.c: Likewise.
41693
1ac7a2c7
JM
416942010-09-15 Joseph Myers <joseph@codesourcery.com>
41695
41696 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41697 implementing getdents64 using getdents syscall, set d_type if
41698 __ASSUME_GETDENTS32_D_TYPE.
41699
56801c50
AS
417002010-09-16 Andreas Schwab <schwab@redhat.com>
41701
41702 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41703 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41704
dda51327
UD
417052010-09-21 Ulrich Drepper <drepper@redhat.com>
41706
41707 [BZ #12037]
41708 * posix/unistd.h: Undo change of feature selection for ftruncate from
41709 2010-01-11.
41710
8ffcee4a
UD
417112010-09-20 Ulrich Drepper <drepper@redhat.com>
41712
a545ecd9 41713 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41714 detection.
41715
e24f0a8b
AS
417162010-09-20 Andreas Schwab <schwab@redhat.com>
41717
41718 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41719 fanotify_mark.
41720 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41721
7291c56f
AS
417222010-09-14 Andreas Schwab <schwab@redhat.com>
41723
41724 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41725 variables after CHECK_SP call.
41726 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41727
bc5fb037
AS
417282010-09-13 Andreas Schwab <schwab@redhat.com>
41729 Ulrich Drepper <drepper@redhat.com>
41730
41731 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41732 re-relocationg ld.so.
41733 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41734 _dl_init_paths call.
41735 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41736 here anymore.
41737
e66e7419
UD
417382010-09-14 Ulrich Drepper <drepper@redhat.com>
41739
41740 * resolv/res_init.c (__res_vinit): Count the default server we added.
41741
c044aa75
CLT
417422010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41743 Ulrich Drepper <drepper@redhat.com>
41744
41745 [BZ #11968]
41746 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41747 (____longjmp_chk): Use %ebx for saving value across system call.
41748 Add unwind info.
41749
32cf4069
AS
417502010-09-06 Andreas Schwab <schwab@redhat.com>
41751
41752 * manual/Makefile: Don't mix pattern rules with normal rules.
41753
817328ee
AS
417542010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41755
41756 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41757 operation.
41758 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41759 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41760 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41761 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41762 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41763 Likewise.
41764
29fddf61
UD
417652010-09-04 Ulrich Drepper <drepper@redhat.com>
41766
41767 [BZ #11979]
41768 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41769 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41770
0959ffc9
UD
417712010-09-02 Ulrich Drepper <drepper@redhat.com>
41772
41773 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41774 * sysdeps/x86_64/addmul_1.S: Likewise.
41775 * sysdeps/x86_64/lshift.S: Likewise.
41776 * sysdeps/x86_64/mul_1.S: Likewise.
41777 * sysdeps/x86_64/rshift.S: Likewise.
41778 * sysdeps/x86_64/sub_n.S: Likewise.
41779 * sysdeps/x86_64/submul_1.S: Likewise.
41780
ece29840
ST
417812010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41782
0959ffc9
UD
41783 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41784 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41785 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41786 * bits/sched.h [__need_schedparam]
ece29840 41787 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41788 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41789 (__defined_schedparam): Define to 1.
ece29840
ST
41790 (__sched_param): New structure, identical to sched_param.
41791 (__need_schedparam): Undefine.
41792
e53a31fe
MF
417932010-08-31 Mike Frysinger <vapier@gentoo.org>
41794
fdc0c10d
MF
41795 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41796 (epoll_create1): Declare.
41797
e53a31fe
MF
41798 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41799
a726d796
AS
418002010-08-31 Andreas Schwab <schwab@redhat.com>
41801
41802 [BZ #7066]
41803 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41804 shifting retval into place.
41805
2f3e3dc7
UD
418062010-09-01 Ulrich Drepper <drepper@redhat.com>
41807
f2933da9
UD
41808 * nis/rpcsvc/nis.h: Update copyright notice.
41809 * nis/rpcsvc/nis.x: Likewise.
41810 * nis/rpcsvc/nis_callback.h: Likewise.
41811 * nis/rpcsvc/nis_callback.x: Likewise.
41812 * nis/rpcsvc/nis_object.x: Likewise.
41813 * nis/rpcsvc/nis_tags.h: Likewise.
41814 * nis/rpcsvc/yp.h: Likewise.
41815 * nis/rpcsvc/yp.x: Likewise.
41816 * nis/rpcsvc/ypupd.h: Likewise.
41817 * nis/yp_xdr.c: Likewise.
41818 * nis/ypupdate_xdr.c: Likewise.
41819
2f3e3dc7
UD
41820 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41821 mainly the body of pmap_getport. Add parameters to specify timeouts.
41822 (pmap_getport): Use __libc_rpc_getport.
41823 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41824 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41825 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41826
f3dcc2f9
AS
418272010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41828
41829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41830 fanotify_mark.
41831
6d34eb5b
RM
418322010-08-27 Roland McGrath <roland@redhat.com>
41833
41834 * sysdeps/i386/i686/multiarch/Makefile
41835 (CFLAGS-varshift.c): New variable.
41836
9ea3de11
UD
418372010-08-27 Ulrich Drepper <drepper@redhat.com>
41838
c96d23fc
UD
41839 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41840 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41841
9ea3de11
UD
41842 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41843
41844 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41845
623aac7f
L
418462010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41847
41848 * sysdeps/x86_64/strlen.S: Unroll the loop.
41849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41850 strlen-sse2 strlen-sse2-bsf.
41851 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41852 __strlen_no_bsf if bit_Slow_BSF is set.
41853 (__strlen_sse42): Removed.
41854 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41855 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41856
8b2b7715
RM
418572010-08-25 Roland McGrath <roland@redhat.com>
41858
41859 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41860 * sysdeps/x86_64/multiarch/varshift.c: New file.
41861 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41862 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41863 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41864 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41865
e73015f2
L
418662010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41867
41868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41869 strlen-sse2 strlen-sse2-bsf.
41870 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41871 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41872 (__strlen_sse2): Removed.
41873 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41874 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41876 bit_Slow_BSF for Atom.
41877 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41878 (index_Slow_BSF): Define.
41879 (HAS_SLOW_BSF): Define.
41880
df24a73e
UD
418812010-08-25 Ulrich Drepper <drepper@redhat.com>
41882
41883 [BZ #10851]
41884 * resolv/res_init.c (__res_vinit): When no server address at all
41885 is given default to loopback.
41886
f2ac4868
RM
418872010-08-24 Roland McGrath <roland@redhat.com>
41888
09055553
RM
41889 * configure.in: Remove config-name.h generation.
41890 * configure: Regenerated.
41891 * config-name.in: File removed.
41892 * scripts/config-uname.sh: New file.
41893 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41894 ($(objdir)config-name.h): New target.
41895
f2ac4868
RM
41896 * sunrpc/rpc_parse.h: Avoid nested comment.
41897
73f27d5e
RH
418982010-08-24 Richard Henderson <rth@redhat.com>
41899 Ulrich Drepper <drepper@redhat.com>
41900 H.J. Lu <hongjiu.lu@intel.com>
41901
41902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41904 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41905 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41906 _mm_alignr_epi8 with _mm_loadu_si128.
41907 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41908 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41909 (__m128i_shift_right): Removed.
41910 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41911 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41912 * sysdeps/x86_64/multiarch/varshift.h: New file.
41913 * sysdeps/x86_64/multiarch/varshift.S: New file.
41914
84b9230c
MF
419152010-08-21 Mike Frysinger <vapier@gentoo.org>
41916
41917 * configure.in: Move assembler checks to before sysdep dir checking.
41918
9bbd0ddc
PB
419192010-08-20 Petr Baudis <pasky@suse.cz>
41920
41921 * LICENSES: Sync the sunrpc license.
41922
9da4bb31
UD
419232010-08-19 Ulrich Drepper <drepper@redhat.com>
41924
a7ab6ec8
UD
41925 * sunrpc/auth_des.c: Update copyright notice once again.
41926 * sunrpc/auth_none.c: Likewise.
41927 * sunrpc/auth_unix.c: Likewise.
41928 * sunrpc/authdes_prot.c: Likewise.
41929 * sunrpc/authuxprot.c: Likewise.
41930 * sunrpc/bindrsvprt.c: Likewise.
41931 * sunrpc/clnt_gen.c: Likewise.
41932 * sunrpc/clnt_perr.c: Likewise.
41933 * sunrpc/clnt_raw.c: Likewise.
41934 * sunrpc/clnt_simp.c: Likewise.
41935 * sunrpc/clnt_tcp.c: Likewise.
41936 * sunrpc/clnt_udp.c: Likewise.
41937 * sunrpc/clnt_unix.c: Likewise.
41938 * sunrpc/des_crypt.c: Likewise.
41939 * sunrpc/des_soft.c: Likewise.
41940 * sunrpc/get_myaddr.c: Likewise.
41941 * sunrpc/getrpcport.c: Likewise.
41942 * sunrpc/key_call.c: Likewise.
41943 * sunrpc/key_prot.c: Likewise.
41944 * sunrpc/openchild.c: Likewise.
41945 * sunrpc/pm_getmaps.c: Likewise.
41946 * sunrpc/pm_getport.c: Likewise.
41947 * sunrpc/pmap_clnt.c: Likewise.
41948 * sunrpc/pmap_prot.c: Likewise.
41949 * sunrpc/pmap_prot2.c: Likewise.
41950 * sunrpc/pmap_rmt.c: Likewise.
41951 * sunrpc/rpc/auth.h: Likewise.
41952 * sunrpc/rpc/auth_unix.h: Likewise.
41953 * sunrpc/rpc/clnt.h: Likewise.
41954 * sunrpc/rpc/des_crypt.h: Likewise.
41955 * sunrpc/rpc/key_prot.h: Likewise.
41956 * sunrpc/rpc/netdb.h: Likewise.
41957 * sunrpc/rpc/pmap_clnt.h: Likewise.
41958 * sunrpc/rpc/pmap_prot.h: Likewise.
41959 * sunrpc/rpc/pmap_rmt.h: Likewise.
41960 * sunrpc/rpc/rpc.h: Likewise.
41961 * sunrpc/rpc/rpc_des.h: Likewise.
41962 * sunrpc/rpc/rpc_msg.h: Likewise.
41963 * sunrpc/rpc/svc.h: Likewise.
41964 * sunrpc/rpc/svc_auth.h: Likewise.
41965 * sunrpc/rpc/types.h: Likewise.
41966 * sunrpc/rpc/xdr.h: Likewise.
41967 * sunrpc/rpc_clntout.c: Likewise.
41968 * sunrpc/rpc_cmsg.c: Likewise.
41969 * sunrpc/rpc_common.c: Likewise.
41970 * sunrpc/rpc_cout.c: Likewise.
41971 * sunrpc/rpc_dtable.c: Likewise.
41972 * sunrpc/rpc_hout.c: Likewise.
41973 * sunrpc/rpc_main.c: Likewise.
41974 * sunrpc/rpc_parse.c: Likewise.
41975 * sunrpc/rpc_parse.h: Likewise.
41976 * sunrpc/rpc_prot.c: Likewise.
41977 * sunrpc/rpc_sample.c: Likewise.
41978 * sunrpc/rpc_scan.c: Likewise.
41979 * sunrpc/rpc_scan.h: Likewise.
41980 * sunrpc/rpc_svcout.c: Likewise.
41981 * sunrpc/rpc_tblout.c: Likewise.
41982 * sunrpc/rpc_util.c: Likewise.
41983 * sunrpc/rpc_util.h: Likewise.
41984 * sunrpc/rpcinfo.c: Likewise.
41985 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41986 * sunrpc/rpcsvc/key_prot.x: Likewise.
41987 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41988 * sunrpc/rpcsvc/mount.x: Likewise.
41989 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41990 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41991 * sunrpc/rpcsvc/rex.x: Likewise.
41992 * sunrpc/rpcsvc/rstat.x: Likewise.
41993 * sunrpc/rpcsvc/rusers.x: Likewise.
41994 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41995 * sunrpc/rpcsvc/spray.x: Likewise.
41996 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41997 * sunrpc/rtime.c: Likewise.
41998 * sunrpc/svc.c: Likewise.
41999 * sunrpc/svc_auth.c: Likewise.
42000 * sunrpc/svc_authux.c: Likewise.
42001 * sunrpc/svc_raw.c: Likewise.
42002 * sunrpc/svc_run.c: Likewise.
42003 * sunrpc/svc_simple.c: Likewise.
42004 * sunrpc/svc_tcp.c: Likewise.
42005 * sunrpc/svc_udp.c: Likewise.
42006 * sunrpc/svc_unix.c: Likewise.
42007 * sunrpc/svcauth_des.c: Likewise.
42008 * sunrpc/xcrypt.c: Likewise.
42009 * sunrpc/xdr.c: Likewise.
42010 * sunrpc/xdr_array.c: Likewise.
42011 * sunrpc/xdr_float.c: Likewise.
42012 * sunrpc/xdr_mem.c: Likewise.
42013 * sunrpc/xdr_rec.c: Likewise.
42014 * sunrpc/xdr_ref.c: Likewise.
42015 * sunrpc/xdr_sizeof.c: Likewise.
42016 * sunrpc/xdr_stdio.c: Likewise.
42017
9da4bb31
UD
42018 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42019 handling.
42020
bdaa77bc
AS
420212010-08-19 Andreas Schwab <schwab@redhat.com>
42022
42023 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42024
fe2f79db
LM
420252010-08-19 Luis Machado <luisgpm@br.ibm.com>
42026
42027 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42028 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42029 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42030 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42031 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42032 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42033 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42034 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42035 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42036 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42037 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42038 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42039 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42040 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42041
b9b42ee0
AB
420422010-07-26 Anton Blanchard <anton@samba.org>
42043
42044 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42045 * malloc/arena.c (heap_trim): Likewise.
42046
1c06ba31
UD
420472010-08-16 Ulrich Drepper <drepper@redhat.com>
42048
42049 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42050 here. Not...
42051 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42052 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42053
f8392f40
L
420542010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42055
42056 * sysdeps/i386/elf/Makefile: New file.
42057
3162f12e
AS
420582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42059
42060 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42061 from fanotify_init.
42062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42064
28c90b2c
UD
420652010-08-15 Ulrich Drepper <drepper@redhat.com>
42066
42067 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42068 of strncasecmp_l.
1feccb6c 42069 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42070
ca6bb004
UD
420712010-08-14 Ulrich Drepper <drepper@redhat.com>
42072
e9f82e0d
UD
42073 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42074 strncase_l-nonascii.
42075 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42076 Add strncase_l-ssse3.
42077 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42078 * sysdeps/x86_64/strcmp.S: Likewise.
42079 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42080 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42081 * sysdeps/x86_64/strncase.S: New file.
42082 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42083 * sysdeps/x86_64/strncase_l.S: New file.
42084 * string/Makefile (strop-tests): Add strncasecmp.
42085 * string/test-strncasecmp.c: New file.
42086
42087 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42088 warning.
42089
ca6bb004
UD
42090 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42091 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42092
052fa7b3
AS
420932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42094
42095 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42096
962dba78
UD
420972010-08-12 Ulrich Drepper <drepper@redhat.com>
42098
42099 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42100 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42101 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42102
bebff237
AM
421032010-05-01 Alan Modra <amodra@gmail.com>
42104
42105 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42106 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42107 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42108 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42109 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42110 tidying. Don't tail-call __sigjmp_save for static lib.
42111 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42112 save location.
42113 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42114 (CALL_MCOUNT): Add eh info, and nop after bl.
42115 (TAIL_CALL_SYSCALL_ERROR): New macro.
42116 (PSEUDO_RET): Use it.
42117 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42118 Correct save location of integer regs and cr.
42119 (_dl_profile_resolve): Correct cr save location. Delete nops
42120 after bl when SHARED. Reduce cfi size a little by better
42121 placement of cfi directives.
42122 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42123 make a stack frame. Instead use parm save area as a temp.
42124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42125 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42127 Don't make a stack frame for parent, use parm save area.
42128 Increase child stack frame to 112 bytes. Don't save unused reg,
42129 and adjust reg usage. Set up cfi on error recovery and
42130 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42132 (__makecontext): Add dummy nop after jump to exit.
42133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42134 Use correct parm save area and cr save, reduce stack frame.
42135 Correct cfi for possible PSEUDO_RET frame setup.
42136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42137 Branch to local label emitted by PSEUDO_RET rather than
42138 __syscall_error.
42139
02637374
AS
421402010-08-12 Andreas Schwab <schwab@redhat.com>
42141
42142 [BZ #11904]
42143 * locale/programs/locale.c (print_assignment): New function.
42144 (show_locale_vars): Use it.
42145
c3e2f19b
UD
421462010-08-11 Ulrich Drepper <drepper@redhat.com>
42147
3cdaa6ad
UD
42148 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42149 field.
42150 (struct statfs64): Likewise.
42151 (_STATFS_F_FLAGS): Define.
42152 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42153 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42154 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42155 (ST_VALID): Define locally.
42156 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42157 __statvfs_getflags, use the provided value.
42158 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42159 __ASSUME_STATFS_F_FLAGS.
42160
754f7da3
UD
42161 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42162
10b3bedc
UD
42163 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42164 Add sys/fanotify.h.
42165 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42166 fanotify_mask for GLIBC_2.13.
42167 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42168 fanotify_init and fanotify_mark.
42169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42170 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42171
c08fb0d7
UD
42172 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42173 Add prlimit.
42174 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42175 prlimit64 for GLIBC_2.13.
42176 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42177 prlimit64.
42178 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42179 syscall.
42180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42181 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42182 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42183 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42185 add prlimit alias.
42186 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42187
15bac72b
UD
42188 [BZ #11903]
42189 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42190 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42191
c3e2f19b
UD
42192 * nss/Makefile: Add rules to build and run tst-nss-test1.
42193 * shlib-versions: Add entry for libnss_test1.
42194 * nss/nss_test1.c: New file.
42195 * nss/tst-nss-test1.c: New file.
42196
42197 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42198 (__nss_configure_lookup): Set appropriate entry in
42199 __nss_configure_lookup to true.
42200 * nss/nsswitch.h: Define enum with indeces of databases in
42201 databases and __nss_database_custom arrays. Declare
42202 __nss_database_custom.
42203 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42204 to avoid using nscd when custom rules are installed.
42205 * nss/getXXbyYY_r.c: Likewise.
42206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42207
42208 * nss/nss_files/files-parse.c: Whitespace fixes.
42209
f15ce4d8
UD
422102010-08-09 Ulrich Drepper <drepper@redhat.com>
42211
42212 [BZ #11883]
42213 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42214 * posix/fnmatch_loop.c: Likewise.
42215
d22e4cc9
AK
422162010-07-17 Andi Kleen <ak@linux.intel.com>
42217
42218 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42219 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42220 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42221 * Versions.def [GLIBC_2.13]: Add.
42222
805bc17d
UD
422232010-08-06 Ulrich Drepper <drepper@redhat.com>
42224
42225 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42226 Also fail if tpwd after pwuid call is NULL.
42227
5a42321d
ST
422282010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42229
42230 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42231 when converting to ms.
42232
fd3ebeda
ST
422332010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42234
42235 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42236 EOPNOTSUPP errors with ENOTTY.
42237 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42238 EOPNOTSUPP errors with ENOTTY.
42239
73507d3a
UD
422402010-07-31 Ulrich Drepper <drepper@redhat.com>
42241
42242 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42243 Add strcasecmp_l-ssse3.
42244 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42245 strcasecmp.
42246 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42247 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42248 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42249
fe36dd02
UD
422502010-07-30 Ulrich Drepper <drepper@redhat.com>
42251
66f6765a
UD
42252 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42253
42e08a54
UD
42254 * string/Makefile (strop-tests): Add strcasecmp.
42255 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42256 strcasecmp_l-nonascii.
42257 (gen-as-const-headers): Add locale-defines.sym.
42258 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42259 * sysdeps/x86_64/strcasecmp.S: New file.
42260 * sysdeps/x86_64/strcasecmp_l.S: New file.
42261 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42262 * sysdeps/x86_64/locale-defines.sym: New file.
42263 * string/test-strcasecmp.c: New file.
42264
fe36dd02
UD
42265 * string/test-strcasestr.c: Test both ends of the range of characters.
42266 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42267
48cbc0d6
RM
422682010-07-29 Roland McGrath <roland@redhat.com>
42269
76e6d6bc 42270 [BZ #11856]
48cbc0d6
RM
42271 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42272
880113d9
UD
422732010-07-27 Ulrich Drepper <drepper@redhat.com>
42274
42275 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42276 for ld.so.
42277
deb9cabb
AS
422782010-07-27 Andreas Schwab <schwab@redhat.com>
42279
42280 * manual/memory.texi (Malloc Tunable Parameters): Document
42281 M_PERTURB.
42282
1c7570ff
RM
422832010-07-26 Roland McGrath <roland@redhat.com>
42284
42285 [BZ #11840]
42286 * configure.in (-fgnu89-inline check): Set and substitute
42287 gnu89_inline, not libc_cv_gnu89_inline.
42288 * configure: Regenerated.
42289 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42290
24fb0f88
UD
422912010-07-26 Ulrich Drepper <drepper@redhat.com>
42292
42293 * string/test-strnlen.c: New file.
42294 * string/Makefile (strop-tests): Add strnlen.
42295 * string/tester.c (test_strnlen): Add a few more test cases.
42296 * string/tst-strlen.c: Better error reporting.
42297
42298 * sysdeps/x86_64/strnlen.S: New file.
42299
8e96b93a
UD
423002010-07-24 Ulrich Drepper <drepper@redhat.com>
42301
42302 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42303 lower-latency instructions.
42304
dbc676d4
UD
423052010-07-23 Ulrich Drepper <drepper@redhat.com>
42306
42307 * string/test-strcasestr.c: New file.
42308 * string/test-strstr.c: New file.
42309 * string/Makefile (strop-tests): Add strstr and strcasestr.
42310 * string/str-two-way.h: Don't undefine MAX.
42311 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42312
f6a31e0e
AS
423132010-07-21 Andreas Schwab <schwab@redhat.com>
42314
42315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42316 strcasestr-nonascii.
42317 (CFLAGS-strcasestr-nonascii.c): Define.
42318 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42319 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42320 Remove unused attribute.
42321
5dbc3b6c
RM
423222010-07-20 Roland McGrath <roland@redhat.com>
42323
42324 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42325 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42326 ld.so.cache was broken. With it, there is no way to disable dsocaps
42327 like LD_HWCAP_MASK can disable hwcaps.
42328
23d101d8
EPM
423292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42330
42331 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42332
cc9f2e47
UD
423332010-07-16 Ulrich Drepper <drepper@redhat.com>
42334
42335 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42336 call in strcasestr.
42337 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42338 __strcasestr_sse42_nonascii.
42339 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42340 strcasestr-nonascii.c.
42341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42342
77c1b069
LM
423432010-06-15 Luis Machado <luisgpm@br.ibm.com>
42344
42345 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42346 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42347 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42348 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42349
440566c3
UD
423502010-07-09 Ulrich Drepper <drepper@redhat.com>
42351
42352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42353 fcntl.
42354
5be9d05d
AS
423552010-07-06 Andreas Schwab <schwab@redhat.com>
42356
c30b7ee2 42357 [BZ #11577]
5be9d05d
AS
42358 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42359 dl_signal_cerror.
42360
8a492a67
UD
423612010-07-06 Ulrich Drepper <drepper@redhat.com>
42362
42363 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42364 _PC_PIPE_BUF using F_GETPIPE_SZ.
42365
713df3d5
RM
423662010-07-05 Roland McGrath <roland@redhat.com>
42367
42368 * manual/arith.texi (Rounding Functions): Fix rint description
42369 implicit in round description.
42370
702e8f14
UD
423712010-07-02 Ulrich Drepper <drepper@redhat.com>
42372
42373 * elf/Makefile: Fix linking for a few tests to make recent linker
42374 happy.
42375
52ed8be9
AS
423762010-06-30 Andreas Schwab <schwab@redhat.com>
42377
42378 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42379 $(common-objpfx)libc_nonshared.a.
42380
f47c9a11
LM
423812010-06-21 Luis Machado <luisgpm@br.ibm.com>
42382
42383 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42384 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42385 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42386 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42387 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42388 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42389 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42390 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42405 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42406 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42407 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42408 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42409 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42410 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42411 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42412 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42413 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42414 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42415 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42416 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42431
6fb8cbcb
L
424322010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42433
42434 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42435 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42436 * string/memmove.c (memmove): Renamed to ...
42437 (MEMMOVE): ...this. Default to memmove.
42438 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42439 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42440 (END_CHK): Define.
42441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42442 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42443 mempcpy-ssse3-back memmove-ssse3-back.
42444 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42446 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42447 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42448 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42449 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42450 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42451 * sysdeps/x86_64/multiarch/memmove.c: New file.
42452 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42453 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42454 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42455 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42456 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42457 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42458 Define.
42459 (index_Fast_Copy_Backward): Define.
42460 (HAS_ARCH_FEATURE): Define.
42461 (HAS_FAST_REP_STRING): Define.
42462 (HAS_FAST_COPY_BACKWARD): Define.
42463
4e733bac 424642010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42465
42466 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42467 Restore proper fallback handling.
42468
63c4ed22
UD
424692010-06-19 Ulrich Drepper <drepper@redhat.com>
42470
ac2b484c
UD
42471 [BZ #11701]
42472 * posix/group_member.c (__group_member): Correct checking loop.
42473
63c4ed22
UD
42474 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42475 OOM in getpwuid_r correctly. Return error number when the caller
42476 should return, otherwise -1.
42477 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42478 call returning > 0 value.
42479 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42480
765ade4b
AS
424812010-06-07 Andreas Schwab <schwab@redhat.com>
42482
42483 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42484 libc_nonshared.a from targets in modules-names.
42485
80da2e09
KS
424862010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42487
42488 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42489 requires it.
42490
158db122
LM
424912010-06-10 Luis Machado <luisgpm@br.ibm.com>
42492
42493 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42494 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42495 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42496 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42497
caa78cf8
AS
424982010-06-02 Andreas Schwab <schwab@redhat.com>
42499
42500 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42501
b2ef2c01
UD
425022010-06-14 Ulrich Drepper <drepper@redhat.com>
42503
42504 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42505 and F_GETPIPE_SZ.
42506 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42507 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42509 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42510 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42511 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42512
fbd643b6
RM
425132010-06-14 Roland McGrath <roland@redhat.com>
42514
42515 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42516
f32f2869
JJ
425172010-06-07 Jakub Jelinek <jakub@redhat.com>
42518
42519 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42520 __REDIRECT followed by __THROW.
42521 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42522 * posix/getopt.h (getopt): Likewise.
42523
2a50c078
EPM
425242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42525
42526 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42527 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42528 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42529 in AT_FLAGS.
42530 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42531 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42532
eb5ad2eb
LM
425332010-05-28 Luis Machado <luisgpm@br.ibm.com>
42534
42535 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42536
3c88fe1e
L
425372010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42538
42539 [BZ #11640]
42540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42541 Properly check family and model.
42542
d2f73151
TY
425432010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42544
42545 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42546
ebd2e13d
LM
425472010-05-24 Luis Machado <luisgpm@br.ibm.com>
42548
42549 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42550
b32b8b45
UD
425512010-05-21 Ulrich Drepper <drepper@redhat.com>
42552
42553 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42554 symbol reference.
42555
9acbe24d
AS
425562010-05-19 Andreas Schwab <schwab@redhat.com>
42557
42558 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42559 symbol reference.
42560
f0ccf6ea
AS
425612010-05-21 Andreas Schwab <schwab@redhat.com>
42562
3d04ff3a
AS
42563 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42564 and internal_recvmmsg.
42565 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42566 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42567 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42568 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42569
f0ccf6ea
AS
42570 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42571 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42572 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42573
5b08ac57
AS
425742010-05-20 Andreas Schwab <schwab@redhat.com>
42575
42576 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42577
4828935d
LM
425782010-05-17 Luis Machado <luisgpm@br.ibm.com>
42579
42580 POWER7 optimizations.
42581 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42582 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42583
373d545e
UD
425842010-05-19 Ulrich Drepper <drepper@redhat.com>
42585
42586 * version.h: Update for 2.13 development version.
42587
21a2b1ae
AS
425882010-05-12 Andrew Stubbs <ams@codesourcery.com>
42589
42590 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42591 exceptions. Return 0.
42592
3f7dcb2b
RM
425932010-05-07 Roland McGrath <roland@redhat.com>
42594
42595 * elf/ldconfig.c (main): Add a const.
42596
5f24d53a 425972010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42598
a160f8d8
UD
42599 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42600 (args_options): Add no-idn option.
42601 (ahosts_keys_int): Add idn_flags to ai_flags.
42602 (parse_option): Handle 'i' option to clear idn_flags.
42603
5f24d53a
UD
42604 * malloc/malloc.c (_int_free): Possible race in the most recently
42605 added check. Only act on the data if no current modification
42606 happened.
265bb1ce
UD
42607
42608See ChangeLog.17 for earlier changes.
This page took 5.788349 seconds and 5 git commands to generate.