]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
NEWS: Add 16712, 16713, 16714 to fixed bug list.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
de031874
SL
12014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4
55a81e3b
PP
52014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6
7 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8
f3426898
JM
92014-03-24 Joseph Myers <joseph@codesourcery.com>
10
11 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14
a42faf59
PP
152014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16
17 [BZ #16634]
a42faf59
PP
18 * elf/dl-load.c (open_verify): Add mode parameter.
19 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20 (open_path): Change from boolean 'secure' to complete flag 'mode'
21 (_dl_map_object): Adjust.
22 * elf/Makefile (tests): Add tst-dlopen-aout.
23 * elf/tst-dlopen-aout.c: New test.
24
50936127
SL
252014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26
27 [BZ #16714]
28 * sysdeps/unix/sysv/linux/s390/bits/stat.h
29 (struct stat): Rename member pad0 to __glibc_reserved0.
30
26011b5c
SL
312014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
32
33 [BZ #16712]
34 * sysdeps/s390/s390-32/bits/wordsize.h
35 (__WORDSIZE32_SIZE_ULONG): New define.
36 * sysdeps/s390/s390-64/bits/wordsize.h
37 (__WORDSIZE32_SIZE_ULONG): Likewise.
38 * sysdeps/generic/stdint.h (SIZE_MAX):
39 Define as UL if __WORDSIZE32_SIZE_ULONG.
40
a2d86bf1
SL
412014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
42
43 [BZ #16713]
44 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45 (__glibc_reserved0): New variable.
46 (sa_flags): Change type to int.
47
78b6eebc
SL
482014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
49
50 * posix/Makefile (before-compile): Use += before-compile instead
51 of a :=.
52
f1399b5a
SL
532014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54
55 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
56 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
57
a071766e
AS
582014-03-20 Andreas Schwab <schwab@suse.de>
59
60 [BZ #16743]
61 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
62 non-matching result from nscd.
63
27c673b8
SP
642014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
65
66 * scripts/bench.py: Moved to ...
67 * benchtests/scripts/bench.py: ... here.
68 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
69
44152e4b
AS
702014-03-24 Andreas Schwab <schwab@suse.de>
71
72 [BZ #16002]
73 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
74 alloca_account and account alloca use for struct in6ailist.
75
b376a11a
JM
762014-03-24 Joseph Myers <joseph@codesourcery.com>
77
78 [BZ #16284]
79 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
80 rounding mode to recompute results that overflow to infinity or
81 underflow to zero.
82 * math/auto-libm-test-in: Don't mark tests as expected to fail for
83 bug 16284.
84 * math/auto-libm-test-out: Regenerated.
85 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
86 (ccosh_test): Likewise.
87 (csin_test_data): Use plus_oflow.
88 (csin_test): Use ALL_RM_TEST.
89 (csinh_test_data): Use plus_oflow.
90 (csinh_test): Use ALL_RM_TEST.
91 * sysdeps/i386/fpu/libm-test-ulps: Update.
92 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
93
f7be7376
JM
942014-03-21 Joseph Myers <joseph@codesourcery.com>
95
1ca2d03e
JM
96 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
97 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
98 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
99
f7be7376
JM
100 [BZ #16731]
101 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
102 when x - 1 is zero.
103 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
104 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
105 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
106 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
107 argument is 1.
108 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
109 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
110 zero.
111 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
112 * sysdeps/i386/fpu/libm-test-ulps: Update.
113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
114
fdf4534d
SP
1152014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
116
df26ea53
SP
117 * scripts/bench.pl: Remove file.
118 * scripts/bench.py: New benchmark script.
119 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
120 * benchtests/README: Mention python dependency.
121 * scripts/pylintrc: New file.
122 * scripts/pylint: New file.
123
fdf4534d
SP
124 * bits/mathdef.h: Use #ifdef instead of #if.
125 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
126 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
127 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
128 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
129 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
130 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
131
6f23d093
AZ
1322014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
133 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
134
135 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
137 and strpbrk-ppc64 objects.
138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
139 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
140 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
141 multiarch strpbrk for POWER7.
142 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
143 multiarch strpbrk for PPC64.
144 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
145 ifunc selector.
146 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
147 strpbrk for POWER7.
148
8c92dfff
JM
1492014-03-20 Joseph Myers <joseph@codesourcery.com>
150
151 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
152 (atan_test): Likewise.
153 (atanh_test_data): Use NO_TEST_INLINE for two tests.
154 (atanh_test): Use ALL_RM_TEST.
155 (atan2_test_data): Likewise.
156 (cabs_test): Likewise.
157 (cacosh_test): Likewise.
158 (carg_test): Likewise.
159 (casin_test): Likewise.
160 (casinh_test): Likewise.
161 (cbrt_test): Likewise.
162 (csqrt_test): Likewise.
163 (erf_test): Likewise.
164 (erfc_test): Likewise.
165 (pow10_test): Likewise.
166 (exp2_test): Likewise.
167 (hypot_test): Likewise.
168 (j0_test): Likewise.
169 (j1_test): Likewise.
170 (lgamma_test): Likewise.
171 (gamma_test): Likewise.
172 (sincos_test): Likewise.
173 (tanh_test): Likewise.
174 (y0_test): Likewise.
175 (y1_test): Likewise.
176 * sysdeps/i386/fpu/libm-test-ulps: Update.
177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
178
6eaf95cb
AZ
1792014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180
a387428c
SP
181 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
183 and strcspn-ppc64 objects.
184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
185 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
186 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
187 multiarch strcspn for POWER7.
188 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
189 multiarch strcspn for PPC64.
190 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
191 ifunc selector.
192 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
193 strcspn for POWER7.
194
ae3a5dff
JM
1952014-03-20 Joseph Myers <joseph@codesourcery.com>
196
197 * math/gen-libm-test.pl (generate_testfile): Expect only function
198 name as argument to AUTO_TESTS_* and pass results for all rounding
199 modes to parse_args.
200 (parse_auto_input): Separate inputs of automatic tests from
201 outputs before storing in %auto_tests.
202 * math/libm-test.inc (acos_test_data): Update call to
203 AUTO_TESTS_f_f.
204 (acos_test): Use ALL_RM_TEST.
205 (acos_tonearest_test_data): Remove.
206 (acos_test_tonearest): Likewise.
207 (acos_towardzero_test_data): Likewise.
208 (acos_test_towardzero): Likewise.
209 (acos_downward_test_data): Likewise.
210 (acos_test_downward): Likewise.
211 (acos_upward_test_data): Likewise.
212 (acos_test_upward): Likewise.
213 (acosh_test_data): Update call to AUTO_TESTS_f_f.
214 (asin_test_data): Likewise.
215 (asin_test): Use ALL_RM_TEST.
216 (asin_tonearest_test_data): Remove.
217 (asin_test_tonearest): Likewise.
218 (asin_towardzero_test_data): Likewise.
219 (asin_test_towardzero): Likewise.
220 (asin_downward_test_data): Likewise.
221 (asin_test_downward): Likewise.
222 (asin_upward_test_data): Likewise.
223 (asin_test_upward): Likewise.
224 (asinh_test_data): Update call to AUTO_TESTS_f_f.
225 (atan_test_data): Likewise.
226 (atanh_test_data): Likewise.
227 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
228 (cabs_test_data): Update call to AUTO_TESTS_c_f.
229 (carg_test_data): Likewise.
230 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
231 (ccos_test_data): Update call to AUTO_TESTS_c_c.
232 (ccosh_test_data): Likewise.
233 (cexp_test_data): Likewise.
234 (clog_test_data): Likewise.
235 (clog10_test_data): Likewise.
236 (cos_test_data): Update call to AUTO_TESTS_f_f.
237 (cos_test): Use ALL_RM_TEST.
238 (cos_tonearest_test_data): Remove.
239 (cos_test_tonearest): Likewise.
240 (cos_towardzero_test_data): Likewise.
241 (cos_test_towardzero): Likewise.
242 (cos_downward_test_data): Likewise.
243 (cos_test_downward): Likewise.
244 (cos_upward_test_data): Likewise.
245 (cos_test_upward): Likewise.
246 (cosh_test_data): Update call to AUTO_TESTS_f_f.
247 (cosh_test): Use ALL_RM_TEST.
248 (cosh_tonearest_test_data): Remove.
249 (cosh_test_tonearest): Likewise.
250 (cosh_towardzero_test_data): Likewise.
251 (cosh_test_towardzero): Likewise.
252 (cosh_downward_test_data): Likewise.
253 (cosh_test_downward): Likewise.
254 (cosh_upward_test_data): Likewise.
255 (cosh_test_upward): Likewise.
256 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
257 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
258 (ctan_test_data): Likewise.
259 (ctan_test): Use ALL_RM_TEST.
260 (ctan_tonearest_test_data): Remove.
261 (ctan_test_tonearest): Likewise.
262 (ctan_towardzero_test_data): Likewise.
263 (ctan_test_towardzero): Likewise.
264 (ctan_downward_test_data): Likewise.
265 (ctan_test_downward): Likewise.
266 (ctan_upward_test_data): Likewise.
267 (ctan_test_upward): Likewise.
268 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
269 (ctanh_test): Use ALL_RM_TEST.
270 (ctanh_tonearest_test_data): Remove.
271 (ctanh_test_tonearest): Likewise.
272 (ctanh_towardzero_test_data): Likewise.
273 (ctanh_test_towardzero): Likewise.
274 (ctanh_downward_test_data): Likewise.
275 (ctanh_test_downward): Likewise.
276 (ctanh_upward_test_data): Likewise.
277 (ctanh_test_upward): Likewise.
278 (erf_test_data): Update call to AUTO_TESTS_f_f.
279 (erfc_test_data): Likewise.
280 (exp_test_data): Likewise.
281 (exp_test): Use ALL_RM_TEST.
282 (exp_tonearest_test_data): Remove.
283 (exp_test_tonearest): Likewise.
284 (exp_towardzero_test_data): Likewise.
285 (exp_test_towardzero): Likewise.
286 (exp_downward_test_data): Likewise.
287 (exp_test_downward): Likewise.
288 (exp_upward_test_data): Likewise.
289 (exp_test_upward): Likewise.
290 (exp10_test_data): Update call to AUTO_TESTS_f_f.
291 (exp10_test): Use ALL_RM_TEST.
292 (exp10_tonearest_test_data): Remove.
293 (exp10_test_tonearest): Likewise.
294 (exp10_towardzero_test_data): Likewise.
295 (exp10_test_towardzero): Likewise.
296 (exp10_downward_test_data): Likewise.
297 (exp10_test_downward): Likewise.
298 (exp10_upward_test_data): Likewise.
299 (exp10_test_upward): Likewise.
300 (exp2_test_data): Update call to AUTO_TESTS_f_f.
301 (expm1_test_data): Likewise.
302 (expm1_test): Use ALL_RM_TEST.
303 (expm1_tonearest_test_data): Remove.
304 (expm1_test_tonearest): Likewise.
305 (expm1_towardzero_test_data): Likewise.
306 (expm1_test_towardzero): Likewise.
307 (expm1_downward_test_data): Likewise.
308 (expm1_test_downward): Likewise.
309 (expm1_upward_test_data): Likewise.
310 (expm1_test_upward): Likewise.
311 (fma_test_data): Update call to AUTO_TESTS_fff_f.
312 (fma_test): Use ALL_RM_TEST.
313 (fma_towardzero_test_data): Remove.
314 (fma_test_towardzero): Likewise.
315 (fma_downward_test_data): Likewise.
316 (fma_test_downward): Likewise.
317 (fma_upward_test_data): Likewise.
318 (fma_test_upward): Likewise.
319 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
320 (j0_test_data): Update call to AUTO_TESTS_f_f.
321 (j1_test_data): Likewise.
322 (jn_test_data): Update call to AUTO_TESTS_if_f.
323 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
324 (log_test_data): Update call to AUTO_TESTS_f_f.
325 (log10_test_data): Likewise.
326 (log1p_test_data): Likewise.
327 (log2_test_data): Likewise.
328 (pow_test_data): Update call to AUTO_TESTS_ff_f.
329 (pow_tonearest_test_data): Likewise.
330 (sin_test_data): Update call to AUTO_TESTS_f_f.
331 (sin_test): Use ALL_RM_TEST.
332 (sin_tonearest_test_data): Remove.
333 (sin_test_tonearest): Likewise.
334 (sin_towardzero_test_data): Likewise.
335 (sin_test_towardzero): Likewise.
336 (sin_downward_test_data): Likewise.
337 (sin_test_downward): Likewise.
338 (sin_upward_test_data): Likewise.
339 (sin_test_upward): Likewise.
340 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
341 (sinh_test_data): Update call to AUTO_TESTS_f_f.
342 (sinh_test): Use ALL_RM_TEST.
343 (sinh_tonearest_test_data): Remove.
344 (sinh_test_tonearest): Likewise.
345 (sinh_towardzero_test_data): Likewise.
346 (sinh_test_towardzero): Likewise.
347 (sinh_downward_test_data): Likewise.
348 (sinh_test_downward): Likewise.
349 (sinh_upward_test_data): Likewise.
350 (sinh_test_upward): Likewise.
351 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
352 (sqrt_test): Use ALL_RM_TEST.
353 (sqrt_tonearest_test_data): Remove.
354 (sqrt_test_tonearest): Likewise.
355 (sqrt_towardzero_test_data): Likewise.
356 (sqrt_test_towardzero): Likewise.
357 (sqrt_downward_test_data): Likewise.
358 (sqrt_test_downward): Likewise.
359 (sqrt_upward_test_data): Likewise.
360 (sqrt_test_upward): Likewise.
361 (tan_test_data): Update call to AUTO_TESTS_f_f.
362 (tan_test): Use ALL_RM_TEST.
363 (tan_tonearest_test_data): Remove.
364 (tan_test_tonearest): Likewise.
365 (tan_towardzero_test_data): Likewise.
366 (tan_test_towardzero): Likewise.
367 (tan_downward_test_data): Likewise.
368 (tan_test_downward): Likewise.
369 (tan_upward_test_data): Likewise.
370 (tan_test_upward): Likewise.
371 (tanh_test_data): Update call to AUTO_TESTS_f_f.
372 (tgamma_test_data): Likewise.
373 (y0_test_data): Likewise.
374 (y1_test_data): Likewise.
375 (yn_test_data): Update call to AUTO_TESTS_if_f.
376 (main): Do not call removed functions.
377
d71aeee8
JM
3782014-03-19 Joseph Myers <joseph@codesourcery.com>
379
380 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
381 (ldexp_test_data): Remove.
382 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
383 scalbn_test_data.
384 (scalb_test): Use ALL_RM_TEST.
385
baaf1ded
AS
3862014-03-19 Andreas Schwab <schwab@suse.de>
387
388 * nscd/nscd.service: Also invalidate netgroup cache on reload.
389
b1115e91
JM
3902014-03-19 Joseph Myers <joseph@codesourcery.com>
391
392 [BZ #16649]
393 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
394 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
395 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
396 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
397 (__ASSUME_PREADV): Undefine.
398 (__ASSUME_PWRITEV): Likewise.
399
0283ecca
RM
4002014-03-18 Roland McGrath <roland@hack.frob.com>
401
7d375303
RM
402 * bits/mman-linux.h: Add comment about non-Linux use.
403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
404 bits/mman-linux.h resting place.
405
0283ecca
RM
406 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
407 * bits/mman-linux.h: ... here.
408
aebe1003
AZ
4092014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
410
411 * conform/conformtest.pl: Add standard definition when calling C
412 preprocessor on data files.
413 (checknamespace): Remove unused variable.
414
b29b6bb8
JM
4152014-03-18 Joseph Myers <joseph@codesourcery.com>
416
417 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
418 minus_oflow, plus_uflow and minus_uflow in expected results.
419 * math/libm-test.inc (scalbn_test_data): Add more tests of
420 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
421 minus_uflow.
422 (scalbn_test): Use ALL_RM_TEST.
423 (scalbln_test_data): Add more tests of negative arguments. Use
424 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
425 (scalbln_test): Use ALL_RM_TEST.
426
c8f8fa15
RM
4272014-03-18 Roland McGrath <roland@hack.frob.com>
428
429 * scripts/abilist.awk: Ignore symbols marked with .hidden.
430
fede7a5f
WN
4312014-03-18 Will Newton <will.newton@linaro.org>
432
433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
434 inaccurate comment.
435
80cf0a58
JM
4362014-03-18 Joseph Myers <joseph@codesourcery.com>
437
438 * Makerules [!subdir] (check-abi): Exit with error status if a
439 test failed.
440
b3620862
JM
4412014-03-17 Joseph Myers <joseph@codesourcery.com>
442
443 * math/libm-test.inc (nearbyint_test_data): Include all tests used
444 for rint. Include results for all rounding modes.
445 (nearbyint_test): Use ALL_RM_TEST.
446 (rint_test_data): Include all tests used for nearbyint.
447
788bba36
WN
4482014-03-17 Will Newton <will.newton@linaro.org>
449
04ec140a
WN
450 * nptl/sysdeps/pthread/pthread.h: Revert previous
451 change.
452
7579d8d5
WN
453 * sysdeps/generic/ldsodefs.h: Revert previous
454 change.
455
c15cf13a
WN
456 * libio/genops.c: Revert previous change.
457 * libio/libioP.h: Likewise.
458 * stdio-common/vfprintf.c: Likewise.
459
d0ac1324
WN
460 * sysdeps/generic/math_private.h: Revert previous
461 change.
462
9290130a
WN
463 * sysdeps/generic/math_private.h: Check whether
464 HAVE_RM_CTX is defined with #ifdef rather
465 than #if.
466
afb466fc
WN
467 * argp/argp-fmtstream.h: Check whether
468 __STRICT_ANSI__ is defined with #ifdef rather
469 than #if.
470 * argp/argp.h: Likewise.
471
f7efd7c3
WN
472 * libio/genops.c: Check whether
473 _IO_JUMPS_OFFSET is defined with #ifdef rather
474 than #if.
475 * libio/libioP.h: Likewise.
476 * stdio-common/vfprintf.c: Likewise.
477
53f1bed3
WN
478 * sysdeps/generic/ldsodefs.h: Check whether
479 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
480 than #if.
481
788bba36
WN
482 * nptl/sysdeps/pthread/pthread.h: Check
483 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
484 its value.
485
fcd89ebe
SP
4862014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
487
ae42bbc5
SP
488 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
489 setting O_APPEND.
490 * libio/tst-ftell-active-handler.c (do_append_test): Add a
491 test case.
492
ea33158c
SP
493 [BZ #16680]
494 * libio/fileops.c (_IO_file_open): Seek to end of file but
495 don't cache the offset.
496 (get_file_offset): Remove function.
497 (do_ftell): Use cached offset when available.
498 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
499 don't cache the offset.
500 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
501 case.
502 (do_one_test): Call it.
503 (do_ftell_test): Fix up expected old offset for a+ mode.
504 * libio/wfileops.c (do_ftell_wide): Used cached offset when
505 available.
506
b1dbb426
SP
507 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
508 up test status with function return status.
509 (do_write_test): Likewise.
510 (do_append_test): Likewise.
511
fcd89ebe
SP
512 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
513 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
514 Remove.
515
9962a2d3
JM
5162014-03-17 Joseph Myers <joseph@codesourcery.com>
517
518 * math/gen-libm-test.pl (parse_args): Handle results specified for
519 each rounding mode separately.
520 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
521 tests and results from lrint_tonearest_test_data,
522 lrint_towardzero_test_data, lrint_downward_test_data and
523 lrint_upward_test_data.
524 (lrint_test): Use ALL_RM_TEST.
525 (lrint_tonearest_test_data): Remove.
526 (lrint_test_tonearest): Likewise.
527 (lrint_towardzero_test_data): Likewise.
528 (lrint_test_towardzero): Likewise.
529 (lrint_downward_test_data): Likewise.
530 (lrint_test_downward): Likewise.
531 (lrint_upward_test_data): Likewise.
532 (lrint_test_upward): Likewise.
533 (llrint_test_data): Merge in per-rounding-mode tests and results
534 from llrint_tonearest_test_data, llrint_towardzero_test_data,
535 llrint_downward_test_data and llrint_upward_test_data.
536 (llrint_test): Use ALL_RM_TEST.
537 (llrint_tonearest_test_data): Remove.
538 (llrint_test_tonearest): Likewise.
539 (llrint_towardzero_test_data): Likewise.
540 (llrint_test_towardzero): Likewise.
541 (llrint_downward_test_data): Likewise.
542 (llrint_test_downward): Likewise.
543 (llrint_upward_test_data): Likewise.
544 (llrint_test_upward): Likewise.
545 (rint_test_data): Merge in per-rounding-mode tests and results
546 from rint_tonearest_test_data, rint_towardzero_test_data,
547 rint_downward_test_data and rint_upward_test_data. Add
548 per-rounding-mode results for tests not in those arrays.
549 (rint_test): Use ALL_RM_TEST.
550 (rint_tonearest_test_data): Remove.
551 (rint_test_tonearest): Likewise.
552 (rint_towardzero_test_data): Likewise.
553 (rint_test_towardzero): Likewise.
554 (rint_downward_test_data): Likewise.
555 (rint_test_downward): Likewise.
556 (rint_upward_test_data): Likewise.
557 (rint_test_upward): Likewise.
558 (main): Don't call removed functions.
559
5006148e
RM
5602014-03-14 Roland McGrath <roland@hack.frob.com>
561
562 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
563 "Compiled on ..." crapola. It is anti-useful.
564
d6fe5e58
JM
5652014-03-14 Joseph Myers <joseph@codesourcery.com>
566
567 * scripts/evaluate-test.sh: Handle fourth argument to determine
568 whether test run should stop on failure.
569 * Makeconfig (stop-on-test-failure): New variable.
570 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
571 $(stop-on-test-failure).
572 * Makefile (tests): Give a summary of results from testing and
573 exit with failure status if they include an ERROR or FAIL.
574 (xtests): Likewise.
575 * manual/install.texi (Configuring and compiling): Mention
576 stop-on-test-failure=y.
577 * INSTALL: Regenerated.
578
498a2233
RM
5792014-03-14 Roland McGrath <roland@hack.frob.com>
580
22dbc19d
RM
581 * scripts/versionlist.awk: New file.
582 * Makerules [$(build-shared) = yes]
583 (postclean-generated): Add Versions.def, not Versions.def.v and
584 Versions.def.v.i.
585 ($(common-objpfx)Versions.def.v.i): Target removed.
586 ($(common-objpfx)Versions.def): New target.
587 ($(common-objpfx)Versions.all): Depend on that rather that
588 $(common-objpfx)Versions.def.v.
589 * Versions.def: File removed.
590
498a2233
RM
591 * Makeconfig (+gccwarn): Add -Wundef.
592 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
593 a dl-sysdep.h breaking its contract.
594 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
595 * include/stackinfo.h: New file.
596 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
597 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
598 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
599 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
600 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
601 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
602 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
603 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
604 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
605 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
606 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
607 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
608 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
609 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
610 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
611
c7de5025
AZ
6122014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
613
614 [BZ #16707]
615 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
616 implementation.
617 * math/libm-test.inc (round_test_data): Add more tests.
618
98fb27a3
AZ
6192014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
620
621 [BZ #16706]
622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
623 implementation.
624 * math/libm-test.inc (nearbyint_test_data): Add more tests.
625
374f7f61
AZ
6262014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627
628 [BZ #16701]
629 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
630 implementation.
631 * math/libm-test.inc (ceil_test_data): Add more tests.
632
4655c291
AZ
6332014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
634
635 * math/libm-test.inc (trunc_test_data): Add more tests related to
636 BZ#16414.
637
d7329d4b
RM
6382014-03-14 Roland McGrath <roland@hack.frob.com>
639
640 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
641 with #if rather than #ifdef.
642 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
643
aa4de9ce
L
6442014-03-14 H.J. Lu <hongjiu.lu@intel.com>
645
646 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
647 first. Disable AVX-512 GCC support if assembler doesn't support
648 it.
649 * sysdeps/x86_64/configure: Regenerated.
650
2e03fae7
CD
6512014-03-13 Carlos O'Donell <carlos@redhat.com>
652
653 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
654 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
655 (__old_pthread_attr_setstack): Likewise.
656 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
657 [!_STACK_GROWS_DOWN]: Likewise.
658
43ca83ec
MF
6592014-03-13 Mike Frysinger <vapier@gentoo.org>
660
661 * config.make.in (have-bash2): Delete.
662 * configure.ac (libc_cv_have_bash2): Delete.
663 * configure: Regenerate.
664 * elf/Makefile (common-ldd-rewrite): Rename to ...
665 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
666 (sh-ldd-rewrite): Delete.
667 (bash-ldd-rewrite): Delete.
668 (have-bash2): Delete checks.
669 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
670
c66e48b4
MF
6712014-03-13 Mike Frysinger <vapier@gentoo.org>
672
673 * config.make.in (have-ksh): Delete.
674 (KSH): Delete.
675 * configure.ac (libc_cv_have_ksh): Delete.
676 * configure: Regenerate.
677
b93834ef
MF
6782014-03-13 Mike Frysinger <vapier@gentoo.org>
679
680 * elf/Makefile: Delete $(have-ksh) check.
681 ($(objpfx)sotruss): Change KSH to BASH.
682 * elf/sotruss.ksh: Rename to ...
683 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
684 function style to match POSIX. Drop ksh vim mode setting.
685
f3a4632a
MF
6862014-03-13 Mike Frysinger <vapier@gentoo.org>
687
688 * manual/time.texi (Specifying the Time Zone with TZ): Change
689 Tuesday to Thursday.
690
5896c8bd
MF
6912014-03-13 Mike Frysinger <vapier@gentoo.org>
692
693 * debug/tst-longjmp_chk2.c: Update header comment.
694 (stackoverflow_handler): Add comment. Call assert on pass value.
695
2d63a517
IZ
6962014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
697
698 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
699 (HAVE_AVX512_ASM_SUPPORT): Likewise.
700 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
701 (La_x86_64_vector): Add zmm.
702 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
703 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
704 ($(objpfx)tst-audit10): New target.
705 ($(objpfx)tst-audit10.out): Likewise.
706 (tst-audit10-ENV): New.
707 (AVX512-CFLAGS): Likewise.
708 (CFLAGS-tst-audit10.c): Likewise.
709 (CFLAGS-tst-auditmod10a.c): Likewise.
710 (CFLAGS-tst-auditmod10b.c): Likewise.
711 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
712 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
713 * sysdeps/x86_64/configure: Regenerated.
714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
715 AVX-512 zmm register support.
716 (_dl_x86_64_save_sse): Likewise.
717 (_dl_x86_64_restore_sse): Likewise.
718 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
719 size vector registers.
720 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
721 (ZMM_SIZE): Likewise.
722 * sysdeps/x86_64/tst-audit10.c: New file.
723 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
724 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
725
44c4e5d5
RM
7262014-03-13 Roland McGrath <roland@hack.frob.com>
727
728 * configure.ac (HAVE_EHDR_START): New check.
729 * configure: Regenerated.
730 * config.h.in (HAVE_EHDR_START): New #undef.
731 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
732 assuming the lowest-addressed segment maps the start of the file.
733
acd6e389
JM
7342014-03-13 Joseph Myers <joseph@codesourcery.com>
735
736 * INSTALL: Regenerated.
737
6f918f36
WN
7382014-03-13 Will Newton <will.newton@linaro.org>
739
740 * manual/setjmp.texi (System V contexts): Improve
741 clarity and grammar of documentation.
742
798212a0
PP
7432014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
744
745 [BZ #16381]
798212a0 746 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 747 (tests-pie): Add tst-pie2.
798212a0
PP
748 * elf/tst-pie2.c: New file.
749 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
750 for ET_EXEC.
751 * elf/rtld.c (map_doit): Load executable as lt_executable.
752 (dl_main): Likewise.
753
abe6d90c
JM
7542014-03-12 Joseph Myers <joseph@codesourcery.com>
755
756 [BZ #16642]
757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
758 (__ASSUME_PSELECT): Undefine.
759
dd3946c6
AZ
7602014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
761
762 [BZ #16689]
763 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
764 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
765 static build.
766 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
767 selector for static builds.
768
c44496df
SP
7692014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
770
771 [BZ #16695]
772 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
773 key in the buffer.
774
27c7220a
AZ
7752014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
776
777 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
778 selector for static builds.
779
600fa361
JM
7802014-03-11 Joseph Myers <joseph@codesourcery.com>
781
76c96cf7
JM
782 * sysdeps/mips/math_private.h [__mips_hard_float]
783 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
784 libc_feresetround_mips_ctx.
785 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
786 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
787 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
788
600fa361
JM
789 [BZ #16677]
790 * math/s_nextafter.c (__nextafter): Do not return value from
791 overflowing computation.
792 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
793 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
794 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
795 Likewise.
796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
797 Likewise.
798 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
799 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
800
d7706c32
RM
8012014-03-11 Roland McGrath <roland@hack.frob.com>
802
803 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
804 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
805 Move sfi_sp use from the load-multiple (that no longer sets sp) to
806 the new mov targetting sp.
807
4facea47
AZ
8082014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
809
810 [BZ #16683]
811 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
812 Define it for static builds as well.
813 (NO_BZERO_IMPL): Likewise.
814
e65caf1f
VR
8152014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
816
817 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
818 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
819 multiarch strspn for PPC64.
820 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
821 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
823 (__libc_ifunc_impl_list): Likewise.
824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
825 multiarch optimizations
826 * string/strspn.c (strspn): Using macro to redefine symbol name.
827
ba9cc071
AZ
8282014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
829 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
830
831 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
832 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
833 multiarch strncat for PPC64.
834 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
835 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
837 (__libc_ifunc_impl_list): Likewise.
838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
839 multiarch optimizations
840
8b4ff974
SP
8412014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
842
843 [BZ #16639]
844 * nscd/nscd.service: Make service type forking.
845
54b46a4b
AZ
8462014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847
848 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
849 sign in non default rounding modes.
850 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
851
e9996ef7
JM
8522014-03-08 Joseph Myers <joseph@codesourcery.com>
853
854 * math/libm-test.inc (ALL_RM_TEST): New macro.
855 (ceil_test): Use ALL_RM_TEST.
856 (cimag_test): Likewise.
857 (conj_test): Likewise.
858 (copysign_test): Likewise.
859 (cproj_test): Likewise.
860 (creal_test): Likewise.
861 (fabs_test): Likewise.
862 (floor_test): Likewise.
863 (fmax_test): Likewise.
864 (fmin_test): Likewise.
865 (fmod_test): Likewise.
866 (fpclassify_test): Likewise.
867 (frexp_test): Likewise.
868 (ilogb_test): Likewise.
869 (isfinite_test): Likewise.
870 (finite_test): Likewise.
871 (isgreater_test): Likewise.
872 (isgreaterequal_test): Likewise.
873 (isinf_test): Likewise.
874 (isless_test): Likewise.
875 (islessequal_test): Likewise.
876 (islessgreater_test): Likewise.
877 (isnan_test): Likewise.
878 (isnormal_test): Likewise.
879 (issignaling_test): Likewise.
880 (isunordered_test): Likewise.
881 (logb_test): Likewise.
882 (logb_downward_test_data): Remove.
883 (logb_test_downward): Likewise.
884 (lround_test): Use ALL_RM_TEST.
885 (llround_test): Likewise.
886 (modf_test): Likewise.
887 (nexttoward_test): Likewise.
888 (remainder_test): Likewise.
889 (drem_test): Likewise.
890 (remainder_tonearest_test_data): Likewise.
891 (remainder_test_tonearest): Likewise.
892 (drem_test_tonearest): Likewise.
893 (remainder_towardzero_test_data): Likewise.
894 (remainder_test_towardzero): Likewise.
895 (drem_test_towardzero): Likewise.
896 (remainder_downward_test_data): Likewise.
897 (remainder_test_downward): Likewise.
898 (drem_test_downward): Likewise.
899 (remainder_upward_test_data): Likewise.
900 (remainder_test_upward): Likewise.
901 (drem_test_upward): Likewise.
902 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
903 (round_test): Use ALL_RM_TEST.
904 (signbit_test): Likewise.
905 (trunc_test): Likewise.
906 (significand_test): Likewise.
907 (main): Don't call removed functions.
908
bc61d27c
JM
9092014-03-07 Joseph Myers <joseph@codesourcery.com>
910
5c780849
JM
911 [BZ #16674]
912 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
913 || __USE_XOPEN2K8].
914 (ILL_ILLOPN): Likewise.
915 (ILL_ILLADR): Likewise.
916 (ILL_ILLTRP): Likewise.
917 (ILL_PRVOPC): Likewise.
918 (ILL_PRVREG): Likewise.
919 (ILL_COPROC): Likewise.
920 (ILL_BADSTK): Likewise.
921 (FPE_INTDIV): Likewise.
922 (FPE_INTOVF): Likewise.
923 (FPE_FLTDIV): Likewise.
924 (FPE_FLTOVF): Likewise.
925 (FPE_FLTUND): Likewise.
926 (FPE_FLTRES): Likewise.
927 (FPE_FLTINV): Likewise.
928 (FPE_FLTSUB): Likewise.
929 (SEGV_MAPERR): Likewise.
930 (SEGV_ACCERR): Likewise.
931 (BUS_ADRALN): Likewise.
932 (BUS_ADRERR): Likewise.
933 (BUS_OBJERR): Likewise.
934 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
935 (TRAP_TRACE): Likewise.
936 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
937 __USE_XOPEN2K8].
938 (CLD_KILLED): Likewise.
939 (CLD_DUMPED): Likewise.
940 (CLD_TRAPPED): Likewise.
941 (CLD_STOPPED): Likewise.
942 (CLD_CONTINUED): Likewise.
943 (POLL_IN): Likewise.
944 (POLL_OUT): Likewise.
945 (POLL_MSG): Likewise.
946 (POLL_ERR): Likewise.
947 (POLL_PRI): Likewise.
948 (POLL_HUP): Likewise.
949 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
950 Likewise.
951 (ILL_ILLOPN): Likewise.
952 (ILL_ILLADR): Likewise.
953 (ILL_ILLTRP): Likewise.
954 (ILL_PRVOPC): Likewise.
955 (ILL_PRVREG): Likewise.
956 (ILL_COPROC): Likewise.
957 (ILL_BADSTK): Likewise.
958 (FPE_INTDIV): Likewise.
959 (FPE_INTOVF): Likewise.
960 (FPE_FLTDIV): Likewise.
961 (FPE_FLTOVF): Likewise.
962 (FPE_FLTUND): Likewise.
963 (FPE_FLTRES): Likewise.
964 (FPE_FLTINV): Likewise.
965 (FPE_FLTSUB): Likewise.
966 (SEGV_MAPERR): Likewise.
967 (SEGV_ACCERR): Likewise.
968 (BUS_ADRALN): Likewise.
969 (BUS_ADRERR): Likewise.
970 (BUS_OBJERR): Likewise.
971 (BUS_MCEERR_AR): Likewise.
972 (BUS_MCEERR_AO): Likewise.
973 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
974 (TRAP_TRACE): Likewise.
975 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
976 __USE_XOPEN2K8].
977 (CLD_KILLED): Likewise.
978 (CLD_DUMPED): Likewise.
979 (CLD_TRAPPED): Likewise.
980 (CLD_STOPPED): Likewise.
981 (CLD_CONTINUED): Likewise.
982 (POLL_IN): Likewise.
983 (POLL_OUT): Likewise.
984 (POLL_MSG): Likewise.
985 (POLL_ERR): Likewise.
986 (POLL_PRI): Likewise.
987 (POLL_HUP): Likewise.
988 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
989 (ILL_ILLOPN): Likewise.
990 (ILL_ILLADR): Likewise.
991 (ILL_ILLTRP): Likewise.
992 (ILL_PRVOPC): Likewise.
993 (ILL_PRVREG): Likewise.
994 (ILL_COPROC): Likewise.
995 (ILL_BADSTK): Likewise.
996 (FPE_INTDIV): Likewise.
997 (FPE_INTOVF): Likewise.
998 (FPE_FLTDIV): Likewise.
999 (FPE_FLTOVF): Likewise.
1000 (FPE_FLTUND): Likewise.
1001 (FPE_FLTRES): Likewise.
1002 (FPE_FLTINV): Likewise.
1003 (FPE_FLTSUB): Likewise.
1004 (SEGV_MAPERR): Likewise.
1005 (SEGV_ACCERR): Likewise.
1006 (BUS_ADRALN): Likewise.
1007 (BUS_ADRERR): Likewise.
1008 (BUS_OBJERR): Likewise.
1009 (BUS_MCEERR_AR): Likewise.
1010 (BUS_MCEERR_AO): Likewise.
1011 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1012 (TRAP_TRACE): Likewise.
1013 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1014 __USE_XOPEN2K8].
1015 (CLD_KILLED): Likewise.
1016 (CLD_DUMPED): Likewise.
1017 (CLD_TRAPPED): Likewise.
1018 (CLD_STOPPED): Likewise.
1019 (CLD_CONTINUED): Likewise.
1020 (POLL_IN): Likewise.
1021 (POLL_OUT): Likewise.
1022 (POLL_MSG): Likewise.
1023 (POLL_ERR): Likewise.
1024 (POLL_PRI): Likewise.
1025 (POLL_HUP): Likewise.
1026 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1027 Likewise.
1028 (ILL_ILLOPN): Likewise.
1029 (ILL_ILLADR): Likewise.
1030 (ILL_ILLTRP): Likewise.
1031 (ILL_PRVOPC): Likewise.
1032 (ILL_PRVREG): Likewise.
1033 (ILL_COPROC): Likewise.
1034 (ILL_BADSTK): Likewise.
1035 (ILL_BADIADDR): Likewise.
1036 (ILL_BREAK): Likewise.
1037 (FPE_INTDIV): Likewise.
1038 (FPE_INTOVF): Likewise.
1039 (FPE_FLTDIV): Likewise.
1040 (FPE_FLTOVF): Likewise.
1041 (FPE_FLTUND): Likewise.
1042 (FPE_FLTRES): Likewise.
1043 (FPE_FLTINV): Likewise.
1044 (FPE_FLTSUB): Likewise.
1045 (FPE_DECOVF): Likewise.
1046 (FPE_DECDIV): Likewise.
1047 (FPE_DECERR): Likewise.
1048 (FPE_INVASC): Likewise.
1049 (FPE_INVDEC): Likewise.
1050 (SEGV_MAPERR): Likewise.
1051 (SEGV_ACCERR): Likewise.
1052 (SEGV_PSTKOVF): Likewise.
1053 (BUS_ADRALN): Likewise.
1054 (BUS_ADRERR): Likewise.
1055 (BUS_OBJERR): Likewise.
1056 (BUS_MCEERR_AR): Likewise.
1057 (BUS_MCEERR_AO): Likewise.
1058 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1059 (TRAP_TRACE): Likewise.
1060 (TRAP_BRANCH): Likewise.
1061 (TRAP_HWBKPT): Likewise.
1062 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1063 __USE_XOPEN2K8].
1064 (CLD_KILLED): Likewise.
1065 (CLD_DUMPED): Likewise.
1066 (CLD_TRAPPED): Likewise.
1067 (CLD_STOPPED): Likewise.
1068 (CLD_CONTINUED): Likewise.
1069 (POLL_IN): Likewise.
1070 (POLL_OUT): Likewise.
1071 (POLL_MSG): Likewise.
1072 (POLL_ERR): Likewise.
1073 (POLL_PRI): Likewise.
1074 (POLL_HUP): Likewise.
1075 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1076 (ILL_ILLOPN): Likewise.
1077 (ILL_ILLADR): Likewise.
1078 (ILL_ILLTRP): Likewise.
1079 (ILL_PRVOPC): Likewise.
1080 (ILL_PRVREG): Likewise.
1081 (ILL_COPROC): Likewise.
1082 (ILL_BADSTK): Likewise.
1083 (FPE_INTDIV): Likewise.
1084 (FPE_INTOVF): Likewise.
1085 (FPE_FLTDIV): Likewise.
1086 (FPE_FLTOVF): Likewise.
1087 (FPE_FLTUND): Likewise.
1088 (FPE_FLTRES): Likewise.
1089 (FPE_FLTINV): Likewise.
1090 (FPE_FLTSUB): Likewise.
1091 (SEGV_MAPERR): Likewise.
1092 (SEGV_ACCERR): Likewise.
1093 (BUS_ADRALN): Likewise.
1094 (BUS_ADRERR): Likewise.
1095 (BUS_OBJERR): Likewise.
1096 (BUS_MCEERR_AR): Likewise.
1097 (BUS_MCEERR_AO): Likewise.
1098 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1099 (TRAP_TRACE): Likewise.
1100 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1101 __USE_XOPEN2K8].
1102 (CLD_KILLED): Likewise.
1103 (CLD_DUMPED): Likewise.
1104 (CLD_TRAPPED): Likewise.
1105 (CLD_STOPPED): Likewise.
1106 (CLD_CONTINUED): Likewise.
1107 (POLL_IN): Likewise.
1108 (POLL_OUT): Likewise.
1109 (POLL_MSG): Likewise.
1110 (POLL_ERR): Likewise.
1111 (POLL_PRI): Likewise.
1112 (POLL_HUP): Likewise.
1113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1114 (ILL_ILLOPN): Likewise.
1115 (ILL_ILLADR): Likewise.
1116 (ILL_ILLTRP): Likewise.
1117 (ILL_PRVOPC): Likewise.
1118 (ILL_PRVREG): Likewise.
1119 (ILL_COPROC): Likewise.
1120 (ILL_BADSTK): Likewise.
1121 (FPE_INTDIV): Likewise.
1122 (FPE_INTOVF): Likewise.
1123 (FPE_FLTDIV): Likewise.
1124 (FPE_FLTOVF): Likewise.
1125 (FPE_FLTUND): Likewise.
1126 (FPE_FLTRES): Likewise.
1127 (FPE_FLTINV): Likewise.
1128 (FPE_FLTSUB): Likewise.
1129 (SEGV_MAPERR): Likewise.
1130 (SEGV_ACCERR): Likewise.
1131 (BUS_ADRALN): Likewise.
1132 (BUS_ADRERR): Likewise.
1133 (BUS_OBJERR): Likewise.
1134 (BUS_MCEERR_AR): Likewise.
1135 (BUS_MCEERR_AO): Likewise.
1136 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1137 (TRAP_TRACE): Likewise.
1138 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1139 __USE_XOPEN2K8].
1140 (CLD_KILLED): Likewise.
1141 (CLD_DUMPED): Likewise.
1142 (CLD_TRAPPED): Likewise.
1143 (CLD_STOPPED): Likewise.
1144 (CLD_CONTINUED): Likewise.
1145 (POLL_IN): Likewise.
1146 (POLL_OUT): Likewise.
1147 (POLL_MSG): Likewise.
1148 (POLL_ERR): Likewise.
1149 (POLL_PRI): Likewise.
1150 (POLL_HUP): Likewise.
1151 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1152 (ILL_ILLOPN): Likewise.
1153 (ILL_ILLADR): Likewise.
1154 (ILL_ILLTRP): Likewise.
1155 (ILL_PRVOPC): Likewise.
1156 (ILL_PRVREG): Likewise.
1157 (ILL_COPROC): Likewise.
1158 (ILL_BADSTK): Likewise.
1159 (FPE_INTDIV): Likewise.
1160 (FPE_INTOVF): Likewise.
1161 (FPE_FLTDIV): Likewise.
1162 (FPE_FLTOVF): Likewise.
1163 (FPE_FLTUND): Likewise.
1164 (FPE_FLTRES): Likewise.
1165 (FPE_FLTINV): Likewise.
1166 (FPE_FLTSUB): Likewise.
1167 (SEGV_MAPERR): Likewise.
1168 (SEGV_ACCERR): Likewise.
1169 (BUS_ADRALN): Likewise.
1170 (BUS_ADRERR): Likewise.
1171 (BUS_OBJERR): Likewise.
1172 (BUS_MCEERR_AR): Likewise.
1173 (BUS_MCEERR_AO): Likewise.
1174 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1175 (TRAP_TRACE): Likewise.
1176 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1177 __USE_XOPEN2K8].
1178 (CLD_KILLED): Likewise.
1179 (CLD_DUMPED): Likewise.
1180 (CLD_TRAPPED): Likewise.
1181 (CLD_STOPPED): Likewise.
1182 (CLD_CONTINUED): Likewise.
1183 (POLL_IN): Likewise.
1184 (POLL_OUT): Likewise.
1185 (POLL_MSG): Likewise.
1186 (POLL_ERR): Likewise.
1187 (POLL_PRI): Likewise.
1188 (POLL_HUP): Likewise.
1189 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1190 (ILL_ILLOPN): Likewise.
1191 (ILL_ILLADR): Likewise.
1192 (ILL_ILLTRP): Likewise.
1193 (ILL_PRVOPC): Likewise.
1194 (ILL_PRVREG): Likewise.
1195 (ILL_COPROC): Likewise.
1196 (ILL_BADSTK): Likewise.
1197 (ILL_DBLFLT): Likewise.
1198 (ILL_HARDWALL): Likewise.
1199 (FPE_INTDIV): Likewise.
1200 (FPE_INTOVF): Likewise.
1201 (FPE_FLTDIV): Likewise.
1202 (FPE_FLTOVF): Likewise.
1203 (FPE_FLTUND): Likewise.
1204 (FPE_FLTRES): Likewise.
1205 (FPE_FLTINV): Likewise.
1206 (FPE_FLTSUB): Likewise.
1207 (SEGV_MAPERR): Likewise.
1208 (SEGV_ACCERR): Likewise.
1209 (BUS_ADRALN): Likewise.
1210 (BUS_ADRERR): Likewise.
1211 (BUS_OBJERR): Likewise.
1212 (BUS_MCEERR_AR): Likewise.
1213 (BUS_MCEERR_AO): Likewise.
1214 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1215 (TRAP_TRACE): Likewise.
1216 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1217 __USE_XOPEN2K8].
1218 (CLD_KILLED): Likewise.
1219 (CLD_DUMPED): Likewise.
1220 (CLD_TRAPPED): Likewise.
1221 (CLD_STOPPED): Likewise.
1222 (CLD_CONTINUED): Likewise.
1223 (POLL_IN): Likewise.
1224 (POLL_OUT): Likewise.
1225 (POLL_MSG): Likewise.
1226 (POLL_ERR): Likewise.
1227 (POLL_PRI): Likewise.
1228 (POLL_HUP): Likewise.
1229 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1230 (ILL_ILLOPN): Likewise.
1231 (ILL_ILLADR): Likewise.
1232 (ILL_ILLTRP): Likewise.
1233 (ILL_PRVOPC): Likewise.
1234 (ILL_PRVREG): Likewise.
1235 (ILL_COPROC): Likewise.
1236 (ILL_BADSTK): Likewise.
1237 (FPE_INTDIV): Likewise.
1238 (FPE_INTOVF): Likewise.
1239 (FPE_FLTDIV): Likewise.
1240 (FPE_FLTOVF): Likewise.
1241 (FPE_FLTUND): Likewise.
1242 (FPE_FLTRES): Likewise.
1243 (FPE_FLTINV): Likewise.
1244 (FPE_FLTSUB): Likewise.
1245 (SEGV_MAPERR): Likewise.
1246 (SEGV_ACCERR): Likewise.
1247 (BUS_ADRALN): Likewise.
1248 (BUS_ADRERR): Likewise.
1249 (BUS_OBJERR): Likewise.
1250 (BUS_MCEERR_AR): Likewise.
1251 (BUS_MCEERR_AO): Likewise.
1252 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1253 (TRAP_TRACE): Likewise.
1254 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1255 __USE_XOPEN2K8].
1256 (CLD_KILLED): Likewise.
1257 (CLD_DUMPED): Likewise.
1258 (CLD_TRAPPED): Likewise.
1259 (CLD_STOPPED): Likewise.
1260 (CLD_CONTINUED): Likewise.
1261 (POLL_IN): Likewise.
1262 (POLL_OUT): Likewise.
1263 (POLL_MSG): Likewise.
1264 (POLL_ERR): Likewise.
1265 (POLL_PRI): Likewise.
1266 (POLL_HUP): Likewise.
1267 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1268 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1269
bc61d27c
JM
1270 [BZ #16670]
1271 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1272 before #include of <time.h>.
1273 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1274 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1275 (test-xfail-UNIX98/sched.h/conform): Likewise.
1276
302949e2
MS
12772014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1278
1279 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1280 error absence of trapping exception support.
1281 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1282
a00f522a
JM
12832014-03-07 Joseph Myers <joseph@codesourcery.com>
1284
6f99f280
JM
1285 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1286 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1287 * timezone/Makefile (testdata): Move definition above include of
1288 Rules.
1289 (test-zones): New variable.
1290 (tests-special): Add zone files.
1291 (build-testdata): Use $(evaluate-test).
1292
0b20a9e8
JM
1293 * elf/Makefile (tests-special): Rename tests to end with .out.
1294 ($(objpfx)noload-mem): Likewise.
1295 ($(objpfx)tst-leaks1-mem): Likewise.
1296 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1297 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1298 $(objpfx)test-iconvconfig.out.
1299 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1300 set -e inside subshell and redirect output to file.
1301 * iconvdata/Makefile (generated): Rename tests to end with .out.
1302 Correct type.
1303 (tests-special): Rename tests to end with .out.
1304 ($(objpfx)mtrace-tst-loading): Likewise.
1305 * intl/Makefile (generated): Likewise.
1306 (tests-special): Likewise.
1307 ($(objpfx)mtrace-tst-gettext): Likewise.
1308 * misc/Makefile (generated): Likewise.
1309 (tests-special): Likewise.
1310 ($(objpfx)tst-error1-mem): Likewise.
1311 * nptl/Makefile (tests-special): Likewise.
1312 ($(objpfx)tst-stack3-mem): Likewise.
1313 (generated): Likewise.
1314 * posix/Makefile (generated): Likewise.
1315 (tests-special): Likewise.
1316 (xtests-special): Likewise.
1317 ($(objpfx)tst-fnmatch-mem): Likewise.
1318 ($(objpfx)bug-regex2-mem): Likewise.
1319 ($(objpfx)bug-regex14-mem): Likewise.
1320 ($(objpfx)bug-regex21-mem): Likewise.
1321 ($(objpfx)bug-regex31-mem): Likewise.
1322 ($(objpfx)tst-vfork3-mem): Likewise.
1323 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1324 ($(objpfx)tst-pcre-mem): Likewise.
1325 ($(objpfx)tst-boost-mem): Likewise.
1326 ($(objpfx)bug-ga2-mem): Likewise.
1327 ($(objpfx)bug-glob2-mem): Likewise.
1328 * resolv/Makefile (generate): Likewise.
1329 (tests-special): Likewise.
1330 (xtests-special): Likewise.
1331 (generated): Likewise.
1332 ($(objpfx)mtrace-tst-leaks): Likewise.
1333 ($(objpfx)mtrace-tst-leaks2): Likewise.
1334
265d52ab
JM
1335 * scripts/merge-test-results.sh: New file.
1336 * Makefile (tests-special-notdir): New variable.
1337 (tests): Run merge-test-results.sh.
1338 (xtests): Likewise.
1339 * Rules (tests-special-notdir): New variable.
1340 (xtests-special-notdir): Likewise.
1341 (tests): Run merge-test-results.sh
1342 (xtests): Likewise.
1343
54ee292d
JM
1344 * Makeconfig (test-xfail-name): New variable.
1345 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1346 compute variable name for expected failures.
1347 * conform/Makefile (conformtest-headers-data): New variable.
1348 (conformtest-standards): Likewise.
1349 (conformtest-headers-ISO): Likewise.
1350 (conformtest-headers-ISO99): Likewise.
1351 (conformtest-headers-ISO11): Likewise.
1352 (conformtest-headers-POSIX): Likewise.
1353 (conformtest-headers-XPG3): Likewise.
1354 (conformtest-headers-XPG4): Likewise.
1355 (conformtest-headers-UNIX98): Likewise.
1356 (conformtest-headers-XOPEN2K): Likewise.
1357 (conformtest-headers-POSIX2008): Likewise.
1358 (conformtest-headers-XOPEN2K8): Likewise.
1359 (conformtest-header-list-base): Likewise.
1360 (conformtest-header-list-tests): Likewise.
1361 (conformtest-header-base): Likewise.
1362 (conformtest-header-tests): Likewise.
1363 (tests-special): Add $(conformtest-header-list-tests). If
1364 [$(fast-check) && !$(cross-compiling)], add
1365 $(conformtest-header-tests) instead of
1366 $(objpfx)run-conformtest.out.
1367 (generated): Add $(conformtest-header-list-base). If
1368 [$(fast-check) && !$(cross-compiling)], add
1369 $(conformtest-header-base). Remove previous setting.
1370 ($(conformtest-header-list-tests)): New target.
1371 (test-xfail-run-conformtest): Remove variable.
1372 ($(objpfx)run-conformtest.out): Remove target.
1373 (test-xfail-ISO11/complex.h/conform): New variable.
1374 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1375 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1376 (test-xfail-XPG3/varargs.h/conform): Likewise.
1377 (test-xfail-XPG4/varargs.h/conform): Likewise.
1378 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1379 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1380 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1381 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1382 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1383 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1384 (test-xfail-XPG3/ftw.h/conform): Likewise.
1385 (test-xfail-XPG3/grp.h/conform): Likewise.
1386 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1387 (test-xfail-XPG3/limits.h/conform): Likewise.
1388 (test-xfail-XPG3/pwd.h/conform): Likewise.
1389 (test-xfail-XPG3/search.h/conform): Likewise.
1390 (test-xfail-XPG3/signal.h/conform): Likewise.
1391 (test-xfail-XPG3/stdio.h/conform): Likewise.
1392 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1393 (test-xfail-XPG3/string.h/conform): Likewise.
1394 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1395 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1396 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1397 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1398 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1399 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1400 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1401 (test-xfail-XPG3/termios.h/conform): Likewise.
1402 (test-xfail-XPG3/time.h/conform): Likewise.
1403 (test-xfail-XPG3/unistd.h/conform): Likewise.
1404 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1405 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1406 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1407 (test-xfail-XPG4/netdb.h/conform): Likewise.
1408 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1409 (test-xfail-XPG4/signal.h/conform): Likewise.
1410 (test-xfail-XPG4/stdio.h/conform): Likewise.
1411 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1412 (test-xfail-XPG4/stropts.h/conform): Likewise.
1413 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1414 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1415 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1416 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1417 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1418 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1419 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1420 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1421 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1422 (test-xfail-XPG4/termios.h/conform): Likewise.
1423 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1424 (test-xfail-XPG4/unistd.h/conform): Likewise.
1425 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1426 (test-xfail-POSIX/sched.h/conform): Likewise.
1427 (test-xfail-POSIX/signal.h/conform): Likewise.
1428 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1429 (test-xfail-POSIX/tar.h/conform): Likewise.
1430 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1431 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1432 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1433 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1434 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1435 (test-xfail-UNIX98/sched.h/conform): Likewise.
1436 (test-xfail-UNIX98/signal.h/conform): Likewise.
1437 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1438 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1439 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1440 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1441 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1442 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1443 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1444 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1445 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1446 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1447 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1448 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1449 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1450 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1451 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1452 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1453 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1454 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1455 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1456 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1457 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1458 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1459 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1460 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1461 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1462 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1463 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1464 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1465 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1466 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1467 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1468 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1469 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1470 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1471 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1472 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1473 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1474 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1475 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1476 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1477 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1478 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1479 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1480 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1481 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1482 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1483 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1484 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1485 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1486 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1487 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1488 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1489 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1490 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1491 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1492 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1493 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1494 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1495 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1496 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1497 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1498 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1499 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1500 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1501 (conformtest-cc-flags): Likewise.
1502 ($(conformtest-header-tests): New target.
1503 * conform/check-header-lists.sh: New file.
1504 * conform/run-conformtest.sh: Remove.
1505
a00f522a
JM
1506 * conform/conformtest.pl: Allow ' and \ in values given for
1507 constants.
1508 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1509 inclusion.
1510 [POSIX] (sys/types.h): Likewise.
1511 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1512 inclusion.
1513 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1514 inclusion.
1515 * conform/data/signal.h-data (SIGIO): Remove expectation.
1516 [XPG3] (SIGBUS): Do not expect.
1517 [POSIX || XPG3] (SIGPOLL): Likewise.
1518 [POSIX || XPG3] (SIGPROF): Likewise.
1519 [POSIX || XPG3] (SIGSYS): Likewise.
1520 [XPG3] (SIGTRAP): Likewise.
1521 [POSIX || XPG3] (SIGURG): Likewise.
1522 [POSIX || XPG3] (SIGVTALRM): Likewise.
1523 [POSIX || XPG3] (SIGXCPU): Likewise.
1524 [POSIX || XPG3] (SIGXFSZ): Likewise.
1525 [POSIX] (SA_SIGINFO): Expect.
1526 [XPG3] (siginfo_t): Do not expect type or contents.
1527 [POSIX] (si_pid): Do not expect element.
1528 [POSIX] (si_uid): Likewise.
1529 [POSIX] (si_addr): Likewise.
1530 [POSIX] (si_status): Likewise.
1531 [POSIX] (si_band): Likewise.
1532 [XPG4] (si_value): Likewise.
1533 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1534 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1535 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1536 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1537 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1538 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1539 [POSIX || XPG3] (ILL_COPROC): Likewise.
1540 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1541 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1542 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1543 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1544 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1545 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1546 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1547 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1548 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1549 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1550 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1551 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1552 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1553 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1554 [POSIX || XPG3] (CLD_EXITED): Likewise.
1555 [POSIX || XPG3] (CLD_KILLED): Likewise.
1556 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1557 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1558 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1559 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1560 [POSIX || XPG3] (POLL_IN): Likewise.
1561 [POSIX || XPG3] (POLL_OUT): Likewise.
1562 [POSIX || XPG3] (POLL_MSG): Likewise.
1563 [POSIX || XPG3] (POLL_ERR): Likewise.
1564 [POSIX || XPG3] (POLL_PRI): Likewise.
1565 [POSIX || XPG3] (POLL_HUP): Likewise.
1566 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1567 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1568 (SIG*): Do not allow.
1569 [XPG3] (si_*): Likewise.
1570 [XPG3] (SI_*): Likewise.
1571 [XPG3 || XPG4] (sigev_*): Likewise.
1572 [XPG3 || XPG4] (SIGEV_*): Likewise.
1573 [XPG3 || XPG4] (sival_*): Likewise.
1574 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1575 [POSIX || XPG3] (BUS_*): Likewise.
1576 [POSIX || XPG3] (CLD_*): Likewise.
1577 [POSIX || XPG3] (FPE_*): Likewise.
1578 [POSIX || XPG3] (ILL_*): Likewise.
1579 [POSIX || XPG3] (POLL_*): Likewise.
1580 [POSIX || XPG3] (SEGV_*): Likewise.
1581 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1582 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1583 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1584 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1585 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1586 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1587 Specify type and value.
1588 (TVERSLEN): Likewise.
1589 (REGTYPE): Likewise.
1590 (AREGTYPE): Likewise.
1591 (LNKTYPE): Likewise.
1592 (SYMTYPE): Likewise.
1593 (CHRTYPE): Likewise.
1594 (BLKTYPE): Likewise.
1595 (DIRTYPE): Likewise.
1596 (FIFOTYPE): Likewise.
1597 (CONTTYPE): Likewise.
1598 (TSUID): Likewise.
1599 (TSGID): Likewise.
1600 (TSVTX): Likewise.
1601 (TUREAD): Likewise.
1602 (TUWRITE): Likewise.
1603 (TUEXEC): Likewise.
1604 (TGREAD): Likewise.
1605 (TGWRITE): Likewise.
1606 (TGEXEC): Likewise.
1607 (TOREAD): Likewise.
1608 (TOWRITE): Likewise.
1609 (TOEXEC): Likewise.
1610 [POSIX] (TSVTX): Expect constant.
1611
aa97dee1
JM
16122014-03-06 Joseph Myers <joseph@codesourcery.com>
1613
f214606a
JM
1614 * Makefile (tests): Change dependencies to ....
1615 (tests-special): ... additions to this variable.
1616 (tests): Depend on $(tests-special).
1617 * Makerules (check-abi-list): New variable.
1618 (check-abi): Depend on $(check-abi-list).
1619 [$(subdir) = elf] (tests-special): Add
1620 $(objpfx)check-abi-libc.out.
1621 [$(build-shared) = yes && subdir] (tests-special): Add
1622 $(check-abi-list).
1623 [$(build-shared) = yes && subdir] (tests): Do not depend on
1624 check-abi.
1625 * Rules (tests): Depend on $(tests-special).
1626 (xtests): Depend on $(xtests-special).
1627 * catgets/Makefile (tests): Change dependencies to ....
1628 (tests-special): ... additions to this variable.
1629 * conform/Makefile (tests): Change dependencies to ....
1630 (tests-special): ... additions to this variable.
1631 * elf/Makefile (tests): Change dependencies to ....
1632 (tests-special): ... additions to this variable.
1633 * grp/Makefile (tests): Change dependencies to ....
1634 (tests-special): ... additions to this variable.
1635 * iconv/Makefile (xtests): Change dependencies to ....
1636 (xtests-special): ... additions to this variable.
1637 * iconvdata/Makefile (tests): Change dependencies to ....
1638 (tests-special): ... additions to this variable.
1639 * intl/Makefile (tests): Change dependencies to ....
1640 (tests-special): ... additions to this variable. Also add
1641 $(objpfx)tst-gettext.out.
1642 * io/Makefile (tests): Change dependencies to ....
1643 (tests-special): ... additions to this variable.
1644 * libio/Makefile (tests): Change dependencies to ....
1645 (tests-special): ... additions to this variable.
1646 * malloc/Makefile (tests): Change dependencies to ....
1647 (tests-special): ... additions to this variable.
1648 * misc/Makefile (tests): Change dependencies to ....
1649 (tests-special): ... additions to this variable.
1650 * nptl/Makefile (tests): Change dependencies to ....
1651 (tests-special): ... additions to this variable.
1652 * nptl_db/Makefile (tests): Change dependencies to ....
1653 (tests-special): ... additions to this variable.
1654 * posix/Makefile (tests): Change dependencies to ....
1655 (tests-special): ... additions to this variable.
1656 (xtests): Change dependencies to ....
1657 (xtests-special): ... additions to this variable.
1658 * resolv/Makefile (tests): Change dependencies to ....
1659 (tests-special): ... additions to this variable.
1660 (xtests): Change dependencies to ....
1661 (xtests-special): ... additions to this variable.
1662 * stdio-common/Makefile (tests): Change dependencies to ....
1663 (tests-special): ... additions to this variable.
1664 (do-tst-unbputc): Remove target.
1665 (do-tst-printf): Likewise.
1666 * stdlib/Makefile (tests): Change dependencies to ....
1667 (tests-special): ... additions to this variable.
1668 * string/Makefile (tests): Change dependencies to ....
1669 (tests-special): ... additions to this variable.
1670 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1671 (tests-special): ... additions to this variable.
1672
81700b53
JM
1673 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1674 whole file.
1675 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1676 whole file.
1677 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1678 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1679
2ea18461
JM
1680 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1681 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1682 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1683 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1684 * conform/data/libgen.h-data [XPG3]: Likewise.
1685 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1686 * conform/data/ndbm.h-data [XPG3]: Likewise.
1687 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1688 * conform/data/netdb.h-data [XPG3]: Likewise.
1689 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1690 * conform/data/poll.h-data [XPG3]: Likewise.
1691 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1692 * conform/data/strings.h-data [XPG3]: Likewise.
1693 * conform/data/stropts.h-data [XPG3]: Likewise.
1694 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1695 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1696 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1697 Likewise.
1698 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1699 * conform/data/sys/time.h-data [XPG3]: Likewise.
1700 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1701 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1702 * conform/data/sys/un.h-data [XPG3]: Likewise.
1703 * conform/data/syslog.h-data [XPG3]: Likewise.
1704 * conform/data/ucontext.h-data [XPG3]: Likewise.
1705 * conform/data/utmpx.h-data [XPG3]: Likewise.
1706 * conform/data/varargs.h-data [UNIX98]: Enable file.
1707
355bc986
JM
1708 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1709
215db402
JM
1710 * math/libm-test.inc (struct test_f_f_data): Move expected results
1711 into structure for each rounding mode.
1712 (struct test_ff_f_data): Likewise.
1713 (struct test_ff_f_data_nexttoward): Likewise.
1714 (struct test_fi_f_data): Likewise.
1715 (struct test_fl_f_data): Likewise.
1716 (struct test_if_f_data): Likewise.
1717 (struct test_fff_f_data): Likewise.
1718 (struct test_c_f_data): Likewise.
1719 (struct test_f_f1_data): Likewise.
1720 (struct test_fF_f1_data): Likewise.
1721 (struct test_ffI_f1_data): Likewise.
1722 (struct test_c_c_data): Likewise.
1723 (struct test_cc_c_data): Likewise.
1724 (struct test_f_i_data): Likewise.
1725 (struct test_ff_i_data): Likewise.
1726 (struct test_f_l_data): Likewise.
1727 (struct test_f_L_data): Likewise.
1728 (struct test_fFF_11_data): Likewise.
1729 (RM_): New macro.
1730 (RM_FE_DOWNWARD): Likewise.
1731 (RM_FE_TONEAREST): Likewise.
1732 (RM_FE_TOWARDZERO): Likewise.
1733 (RM_FE_UPWARD): Likewise.
1734 (RUN_TEST_LOOP_f_f): Update references to expected results.
1735 (RUN_TEST_LOOP_2_f): Likewise.
1736 (RUN_TEST_LOOP_fff_f): Likewise.
1737 (RUN_TEST_LOOP_c_f): Likewise.
1738 (RUN_TEST_LOOP_f_f1): Likewise.
1739 (RUN_TEST_LOOP_fF_f1): Likewise.
1740 (RUN_TEST_LOOP_fI_f1): Likewise.
1741 (RUN_TEST_LOOP_ffI_f1): Likewise.
1742 (RUN_TEST_LOOP_c_c): Likewise.
1743 (RUN_TEST_LOOP_cc_c): Likewise.
1744 (RUN_TEST_LOOP_f_i): Likewise.
1745 (RUN_TEST_LOOP_f_i_tg): Likewise.
1746 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1747 (RUN_TEST_LOOP_f_b): Likewise.
1748 (RUN_TEST_LOOP_f_b_tg): Likewise.
1749 (RUN_TEST_LOOP_f_l): Likewise.
1750 (RUN_TEST_LOOP_f_L): Likewise.
1751 (RUN_TEST_LOOP_fFF_11): Likewise.
1752 * math/gen-libm-test.pl (parse_args): Output four copies of
1753 expected results for each test.
1754
67737b8f
JM
1755 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1756 (__ASSUME_UTIMES): Remove.
1757 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1758 (__ASSUME_UTIMES): Likewise.
1759
aa97dee1
JM
1760 * math/gen-auto-libm-tests.c: Update comment on output format.
1761 (output_for_one_input_case): Generate before-rounding and
1762 after-rounding information as conditions on output flags not
1763 floating-point format.
1764 * math/auto-libm-test-out: Regenerated.
1765 * math/gen-libm-test.pl (cond_value): New function.
1766 (or_cond_value): Use cond_value.
1767 (generate_testfile): Handle conditional exceptions.
1768
e6b6a857
JM
17692014-03-05 Joseph Myers <joseph@codesourcery.com>
1770
2f0a0f44
JM
1771 * math/libm-test.inc (max_valid_error): New variable.
1772 (init_max_error): Take new argument specifying whether function
1773 results are exactly determined. Set max_valid_error and bound
1774 other variables for errors based on this argument.
1775 (set_max_error): Do not record results above max_valid_error.
1776 (check_float_internal): Only accept errors of up to 0.5ulps if
1777 also at most max_valid_error.
1778 (START): Take new argument EXACT and pass it to init_max_error.
1779 (acos_test): Update call to START.
1780 (acos_test_tonearest): Likewise.
1781 (acos_test_towardzero): Likewise.
1782 (acos_test_downward): Likewise.
1783 (acos_test_upward): Likewise.
1784 (acosh_test): Likewise.
1785 (asin_test): Likewise.
1786 (asin_test_tonearest): Likewise.
1787 (asin_test_towardzero): Likewise.
1788 (asin_test_downward): Likewise.
1789 (asin_test_upward): Likewise.
1790 (asinh_test): Likewise.
1791 (atan_test): Likewise.
1792 (atanh_test): Likewise.
1793 (atan2_test): Likewise.
1794 (cabs_test): Likewise.
1795 (cacos_test): Likewise.
1796 (cacosh_test): Likewise.
1797 (carg_test): Likewise.
1798 (casin_test): Likewise.
1799 (casinh_test): Likewise.
1800 (catan_test): Likewise.
1801 (catanh_test): Likewise.
1802 (cbrt_test): Likewise.
1803 (ccos_test): Likewise.
1804 (ccosh_test): Likewise.
1805 (ceil_test): Likewise.
1806 (cexp_test): Likewise.
1807 (cimag_test): Likewise.
1808 (clog_test): Likewise.
1809 (clog10_test): Likewise.
1810 (conj_test): Likewise.
1811 (copysign_test): Likewise.
1812 (cos_test): Likewise.
1813 (cos_test_tonearest): Likewise.
1814 (cos_test_towardzero): Likewise.
1815 (cos_test_downward): Likewise.
1816 (cos_test_upward): Likewise.
1817 (cosh_test): Likewise.
1818 (cosh_test_tonearest): Likewise.
1819 (cosh_test_towardzero): Likewise.
1820 (cosh_test_downward): Likewise.
1821 (cosh_test_upward): Likewise.
1822 (cpow_test): Likewise.
1823 (cproj_test): Likewise.
1824 (creal_test): Likewise.
1825 (csin_test): Likewise.
1826 (csinh_test): Likewise.
1827 (csqrt_test): Likewise.
1828 (ctan_test): Likewise.
1829 (ctan_test_tonearest): Likewise.
1830 (ctan_test_towardzero): Likewise.
1831 (ctan_test_downward): Likewise.
1832 (ctan_test_upward): Likewise.
1833 (ctanh_test): Likewise.
1834 (ctanh_test_tonearest): Likewise.
1835 (ctanh_test_towardzero): Likewise.
1836 (ctanh_test_downward): Likewise.
1837 (ctanh_test_upward): Likewise.
1838 (erf_test): Likewise.
1839 (erfc_test): Likewise.
1840 (exp_test): Likewise.
1841 (exp_test_tonearest): Likewise.
1842 (exp_test_towardzero): Likewise.
1843 (exp_test_downward): Likewise.
1844 (exp_test_upward): Likewise.
1845 (exp10_test): Likewise.
1846 (exp10_test_tonearest): Likewise.
1847 (exp10_test_towardzero): Likewise.
1848 (exp10_test_downward): Likewise.
1849 (exp10_test_upward): Likewise.
1850 (pow10_test): Likewise.
1851 (exp2_test): Likewise.
1852 (expm1_test): Likewise.
1853 (expm1_test_tonearest): Likewise.
1854 (expm1_test_towardzero): Likewise.
1855 (expm1_test_downward): Likewise.
1856 (expm1_test_upward): Likewise.
1857 (fabs_test): Likewise.
1858 (fdim_test): Likewise.
1859 (floor_test): Likewise.
1860 (fma_test): Likewise.
1861 (fma_test_towardzero): Likewise.
1862 (fma_test_downward): Likewise.
1863 (fma_test_upward): Likewise.
1864 (fmax_test): Likewise.
1865 (fmin_test): Likewise.
1866 (fmod_test): Likewise.
1867 (fpclassify_test): Likewise.
1868 (frexp_test): Likewise.
1869 (hypot_test): Likewise.
1870 (ilogb_test): Likewise.
1871 (isfinite_test): Likewise.
1872 (finite_test): Likewise.
1873 (isgreater_test): Likewise.
1874 (isgreaterequal_test): Likewise.
1875 (isinf_test): Likewise.
1876 (isless_test): Likewise.
1877 (islessequal_test): Likewise.
1878 (islessgreater_test): Likewise.
1879 (isnan_test): Likewise.
1880 (isnormal_test): Likewise.
1881 (issignaling_test): Likewise.
1882 (isunordered_test): Likewise.
1883 (j0_test): Likewise.
1884 (j1_test): Likewise.
1885 (jn_test): Likewise.
1886 (ldexp_test): Likewise.
1887 (lgamma_test): Likewise.
1888 (gamma_test): Likewise.
1889 (lrint_test): Likewise.
1890 (lrint_test_tonearest): Likewise.
1891 (lrint_test_towardzero): Likewise.
1892 (lrint_test_downward): Likewise.
1893 (lrint_test_upward): Likewise.
1894 (llrint_test): Likewise.
1895 (llrint_test_tonearest): Likewise.
1896 (llrint_test_towardzero): Likewise.
1897 (llrint_test_downward): Likewise.
1898 (llrint_test_upward): Likewise.
1899 (log_test): Likewise.
1900 (log10_test): Likewise.
1901 (log1p_test): Likewise.
1902 (log2_test): Likewise.
1903 (logb_test): Likewise.
1904 (logb_test_downward): Likewise.
1905 (lround_test): Likewise.
1906 (llround_test): Likewise.
1907 (modf_test): Likewise.
1908 (nearbyint_test): Likewise.
1909 (nextafter_test): Likewise.
1910 (nexttoward_test): Likewise.
1911 (pow_test): Likewise.
1912 (pow_test_tonearest): Likewise.
1913 (pow_test_towardzero): Likewise.
1914 (pow_test_downward): Likewise.
1915 (pow_test_upward): Likewise.
1916 (remainder_test): Likewise.
1917 (drem_test): Likewise.
1918 (remainder_test_tonearest): Likewise.
1919 (drem_test_tonearest): Likewise.
1920 (remainder_test_towardzero): Likewise.
1921 (drem_test_towardzero): Likewise.
1922 (remainder_test_downward): Likewise.
1923 (drem_test_downward): Likewise.
1924 (remainder_test_upward): Likewise.
1925 (drem_test_upward): Likewise.
1926 (remquo_test): Likewise.
1927 (rint_test): Likewise.
1928 (rint_test_tonearest): Likewise.
1929 (rint_test_towardzero): Likewise.
1930 (rint_test_downward): Likewise.
1931 (rint_test_upward): Likewise.
1932 (round_test): Likewise.
1933 (scalb_test): Likewise.
1934 (scalbn_test): Likewise.
1935 (scalbln_test): Likewise.
1936 (signbit_test): Likewise.
1937 (sin_test): Likewise.
1938 (sin_test_tonearest): Likewise.
1939 (sin_test_towardzero): Likewise.
1940 (sin_test_downward): Likewise.
1941 (sin_test_upward): Likewise.
1942 (sincos_test): Likewise.
1943 (sinh_test): Likewise.
1944 (sinh_test_tonearest): Likewise.
1945 (sinh_test_towardzero): Likewise.
1946 (sinh_test_downward): Likewise.
1947 (sinh_test_upward): Likewise.
1948 (sqrt_test): Likewise.
1949 (sqrt_test_tonearest): Likewise.
1950 (sqrt_test_towardzero): Likewise.
1951 (sqrt_test_downward): Likewise.
1952 (sqrt_test_upward): Likewise.
1953 (tan_test): Likewise.
1954 (tan_test_tonearest): Likewise.
1955 (tan_test_towardzero): Likewise.
1956 (tan_test_downward): Likewise.
1957 (tan_test_upward): Likewise.
1958 (tanh_test): Likewise.
1959 (tgamma_test): Likewise.
1960 (trunc_test): Likewise.
1961 (y0_test): Likewise.
1962 (y1_test): Likewise.
1963 (yn_test): Likewise.
1964 (significand_test): Likewise.
1965
e6b6a857
JM
1966 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1967 individual tests in comment.
1968 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1969 (prev_max_error): New variable.
1970 (prev_real_max_error): Likewise.
1971 (prev_imag_max_error): Likewise.
1972 (compare_ulp_data): Don't refer to test names in comment.
1973 (find_test_ulps): Remove function.
1974 (find_function_ulps): Likewise.
1975 (find_complex_function_ulps): Likewise.
1976 (init_max_error): Take function name as argument. Look up ulps
1977 for that function.
1978 (print_ulps): Remove function.
1979 (print_max_error): Use prev_max_error instead of calling
1980 find_function_ulps.
1981 (print_complex_max_error): Use prev_real_max_error and
1982 prev_imag_max_error instead of calling find_complex_function_ulps.
1983 (check_float_internal): Take max_ulp parameter instead of calling
1984 find_test_ulps. Don't call print_ulps.
1985 (check_float): Update call to check_float_internal.
1986 (check_complex): Update calls to check_float_internal.
1987 (START): Pass argument to init_max_error.
1988 * math/gen-libm-test.pl (%results): Don't include "kind"
1989 information.
1990 (parse_ulps): Don't handle ulps of individual tests.
1991 (print_ulps_file): Likewise.
1992 (output_ulps): Likewise.
1993 * math/README.libm-test: Update.
1994 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1995 individual tests.
1996 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1997 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1998 * sysdeps/arm/libm-test-ulps: Likewise.
1999 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2000 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2001 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2002 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2003 * sysdeps/microblaze/libm-test-ulps: Likewise.
2004 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2005 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2007 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2008 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2009 * sysdeps/sh/libm-test-ulps: Likewise.
2010 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2011 * sysdeps/tile/libm-test-ulps: Likewise.
2012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2013
45adef3c
JM
20142014-03-04 Joseph Myers <joseph@codesourcery.com>
2015
2016 * math/libm-test.inc (print_complex_max_error): Check separately
2017 whether real and imaginary errors are within allowed range and
2018 pass 0 to print_complex_function_ulps instead of value within
2019 allowed range.
2020
000232b9
SP
20212014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2022
d4b17258
SP
2023 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2024 formatting.
2025 (get_handles_fopen): Likewise.
2026 (do_write_test): Likewise.
2027
091eff71
SP
2028 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2029
fa3cd248
SP
2030 * libio/fileops.c (do_ftell): Use cached offset when
2031 available.
2032 * libio/iofwide.c (do_ftell_wide): Likewise.
2033 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2034 _IO_file_attach.
2035 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2036
000232b9
SP
2037 [BZ #16532]
2038 * libio/libioP.h (get_file_offset): New function.
2039 * libio/fileops.c (get_file_offset): Likewise.
2040 (do_ftell): Likewise.
2041 (_IO_new_file_seekoff): Split out ftell logic.
2042 * libio/wfileops.c (do_ftell_wide): Likewise.
2043 (_IO_wfile_seekoff): Split out ftell logic.
2044 * libio/tst-ftell-active-handler.c: New test case.
2045 * libio/Makefile (tests): Add it.
2046
116f4d1a
RM
20472014-03-03 Roland McGrath <roland@hack.frob.com>
2048
2049 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2050 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2051
532a6035
SP
20522014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2053
2054 [BZ #16639]
2055 * nscd/connections.c (nscd_init): Call do_exit.
2056 (start_threads): Call do_exit and notify_parent.
2057 (begin_drop_privileges): Call do_exit.
2058 (finish_drop_privileges): Likewise.
2059 * nscd/selinux.c (preserve_capabilities): Likewise.
2060 (install_real_capabilities): Likewise.
2061 (nscd_selinux_enabled): Likewise.
2062 (avc_create_thread): Likewise.
2063 (avc_alloc_lock): Likewise.
2064 (nscd_avc_init): Likewise.
2065 * nscd/nscd.c (parent_fd): New static variable.
2066 (main): Create a pipe between parent and child processes.
2067 Skip closing parent_fd.
2068 (monitor_child): New function.
2069 (do_exit): Likewise.
2070 (notify_parent): Likewise.
2071 * nscd/nscd.h (notify_parent): Likewise.
2072 (do_exit): Likewise.
2073
d6285c9f
CD
20742014-03-03 Carlos O'Donell <carlos@redhat.com>
2075
2076 * malloc/malloc.c (__libc_calloc): Revert last change.
2077
2b85d2a0
AZ
20782014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2079
2080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2081
c7debbdf
RS
20822014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2083
2084 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2086 implementation.
2087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2088 (__libc_ifunc_impl_list): Likewise.
2089 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2090 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2091 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2092 * string/strrchr.c: Define STRRCHR.
2093
235eed86
OB
20942014-02-28 Ondřej Bílka <neleai@seznam.cz>
2095
2096 * benchtest/bench-strtok.c (simple_strtok): Delete.
2097 (strtok_string): Use as benchmark.
2098 * string/strtok (STRTOK): New macro.
2099
8e25d1e7
CD
21002014-02-28 Carlos O'Donell <carlos@redhat.com>
2101
ef563f92
CD
2102 * manual/threads.texi: Add header and standard comments to all
2103 functions.
2104
8e25d1e7
CD
2105 * elf/dl-lookup.c (check_match): New function.
2106 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2107 (do_lookup_x): Remove nested function check_match. Use non-nested
2108 function check_match.
2109
ff71cc37
RM
21102014-02-28 Roland McGrath <roland@hack.frob.com>
2111
f08e9a26
RM
2112 * csu/Makefile (generated, before-compile): Use += rather than =.
2113 * catgets/Makefile (generated, generated-dirs): Likewise.
2114 * debug/Makefile (generated): Likewise.
2115 * dlfcn/Makefile (generated): Likewise.
2116 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2117 * iconvdata/Makefile (before-compile, generated): Likewise.
2118 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2119 * libio/Makefile (generated): Likewise.
2120 * malloc/Makefile (generated): Likewise.
2121 * manual/Makefile (generated, generated-dirs): Likewise.
2122 * misc/Makefile (generated): Likewise.
2123 * posix/Makefile (generated): Likewise.
2124 * resolv/Makefile (generated): Likewise.
2125 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2126 * timezone/Makefile (generated, generated-dirs): Likewise.
2127
ff71cc37
RM
2128 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2129
fe13a20c
AZ
21302014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131
2132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2133 implementation.
2134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2135 POWER8 llround ifunc implementation.
2136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2137 POWER8 implementation.
2138 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2139 POWER8 llround implementation.
2140
1ad8950a
AZ
21412014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2142
2143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2144 implementation.
2145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2146 POWER8 llrint ifunc implementation.
2147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2148 POWER8 implementation.
2149 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2150 POWER8 llrint implementation.
2151
cac626d6
AZ
21522014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153
2154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2155 implementation.
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2157 POWER8 finite ifunc implementation.
2158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2159 POWER8 implementation.
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2161 Likewise.
2162 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2163 POWER8 finite implementation.
2164 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2165
4393fc11
AZ
21662014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2167
2168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2169 implementation.
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2171 POWER8 isinf ifunc implementation.
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2173 POWER8 implementation.
2174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2175 Likewise.
2176 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2177 POWER8 isinf implementation.
2178 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2179
487972ae
AZ
21802014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2181
2182 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2183 Add hwcap2 initialization.
2184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2185 implementation.
2186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2187 POWER8 isnan ifunc implementation.
2188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2189 POWER8 implementation.
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2191 Likewise.
2192 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2193 POWER8 isnan implementation.
2194 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2195
7d92b787
JY
21962014-02-27 Joey Ye <joey.ye@arm.com>
2197
2198 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2199 (_FP_NANFRAC_Q): Set to zero.
2200
1cadc858
SP
22012014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2202
2203 [BZ #16623]
2204 * math/auto-libm-test-in: New test inputs.
2205 * math/auto-libm-test-out: Regenerate.
2206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2207 and DA.
2208 (__cos): Likewise.
2209 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2210
f8c17e79
JM
22112014-02-27 Joseph Myers <joseph@codesourcery.com>
2212
2213 * scripts/evaluate-test.sh: Take new argument indicating whether
2214 failure is expected.
2215 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2216 indicating whether failure is expected.
2217 * conform/Makefile (test-xfail-run-conformtest): New variable.
2218 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2219 level.
2220 * posix/Makefile (test-xfail-annexc): New variable.
2221 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2222
a5f891ac
JM
22232014-02-26 Joseph Myers <joseph@codesourcery.com>
2224
2225 * argp/Makefile: Include Makeconfig immediately after defining
2226 subdir.
2227 * assert/Makefile: Likewise.
2228 * benchtests/Makefile: Likewise.
2229 * catgets/Makefile: Likewise.
2230 * conform/Makefile: Likewise.
2231 * crypt/Makefile: Likewise.
2232 * csu/Makefile: Likewise.
2233 (all): Remove target.
2234 * ctype/Makefile: Include Makeconfig immediately after defining
2235 subdir.
2236 * debug/Makefile: Likewise.
2237 * dirent/Makefile: Likewise.
2238 * dlfcn/Makefile: Likewise.
2239 * gmon/Makefile: Likewise.
2240 * gnulib/Makefile: Likewise.
2241 * grp/Makefile: Likewise.
2242 * gshadow/Makefile: Likewise.
2243 * hesiod/Makefile: Likewise.
2244 * hurd/Makefile: Likewise.
2245 (all): Remove target.
2246 * iconvdata/Makefile: Include Makeconfig immediately after
2247 defining subdir.
2248 * inet/Makefile: Likewise.
2249 * intl/Makefile: Likewise.
2250 * io/Makefile: Likewise.
2251 * libio/Makefile: Likewise.
2252 (all): Remove target.
2253 * locale/Makefile: Include Makeconfig immediately after defining
2254 subdir.
2255 * login/Makefile: Likewise.
2256 * mach/Makefile: Likewise.
2257 (all): Remove target.
2258 * malloc/Makefile: Include Makeconfig immediately after defining
2259 subdir.
2260 (all): Remove target.
2261 * manual/Makefile: Include Makeconfig immediately after defining
2262 subdir.
2263 * math/Makefile: Likewise.
2264 * misc/Makefile: Likewise.
2265 * nis/Makefile: Likewise.
2266 * nss/Makefile: Likewise.
2267 * po/Makefile: Likewise.
2268 (all): Remove target.
2269 * posix/Makefile: Include Makeconfig immediately after defining
2270 subdir.
2271 * pwd/Makefile: Likewise.
2272 * resolv/Makefile: Likewise.
2273 * resource/Makefile: Likewise.
2274 * rt/Makefile: Likewise.
2275 * setjmp/Makefile: Likewise.
2276 * shadow/Makefile: Likewise.
2277 * signal/Makefile: Likewise.
2278 * socket/Makefile: Likewise.
2279 * soft-fp/Makefile: Likewise.
2280 * stdio-common/Makefile: Likewise.
2281 * stdlib/Makefile: Likewise.
2282 * streams/Makefile: Likewise.
2283 * string/Makefile: Likewise.
2284 * sunrpc/Makefile: Likewise.
2285 (all): Remove target.
2286 * sysvipc/Makefile: Include Makeconfig immediately after defining
2287 subdir.
2288 * termios/Makefile: Likewise.
2289 * time/Makefile: Likewise.
2290 * timezone/Makefile: Likewise.
2291 (all): Remove target.
2292 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2293 subdir.
2294 * wctype/Makefile: Likewise.
2295
5b456e9d
SE
22962014-02-26 Steve Ellcey <sellcey@mips.com>
2297
2298 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2299 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2300 (libc_feholdexcept_setround_mips): Ditto.
2301 (libc_feholdsetround): New.
2302 (libc_feholdsetroundf): New.
2303 (libc_feholdsetroundl): New.
2304 (libc_feupdateenv_test_mips): New.
2305 (libc_feupdateenv_test): New.
2306 (libc_feupdateenv_testf): New.
2307 (libc_feupdateenv_testl): New.
2308 (libc_feresetround): New.
2309 (libc_feresetroundf): New.
2310 (libc_feresetroundl): New.
2311 (libc_fetestexcept_mips): New.
2312 (libc_fetestexcept): New.
2313 (libc_fetestexceptf): New.
2314 (libc_fetestexceptl): New.
2315 (HAVE_RM_CTX): New.
2316 (libc_feholdexcept_setround_mips_ctx): New.
2317 (libc_feholdexcept_setround_ctx): New.
2318 (libc_feholdexcept_setroundf_ctx): New.
2319 (libc_feholdexcept_setroundl_ctx): New.
2320 (libc_fesetenv_mips_ctx): New.
2321 (libc_fesetenv_ctx): New.
2322 (libc_fesetenv_ctxf): New.
2323 (libc_fesetenv_ctxl): New.
2324 (libc_feupdateenv_mips_ctx): New.
2325 (libc_feupdateenv_ctx): New.
2326 (libc_feupdateenvf_ctx): New.
2327 (libc_feupdateenvl_ctx): New.
2328 (libc_feholdsetround_mips_ctx): New.
2329 (libc_feholdsetround_ctx): New.
2330 (libc_feholdsetroundf_ctx): New.
2331 (libc_feholdsetroundl_ctx): New.
2332 (libc_feresetround_mips_ctx): New.
2333 (libc_feresetround_ctx): New.
2334 (libc_feresetroundf_ctx): New.
2335 (libc_feresetroundl_ctx): New.
2336
085d0e35
CD
23372014-02-26 Carlos O'Donell <carlos@redhat.com>
2338
f067bf1f
CD
2339 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2340
085d0e35
CD
2341 * manual/ipc.texi: New file.
2342 * manual/Makefile (chapters): Add ipc.
2343 * manual/job.texi: Add "Inter-Process Communication" to next.
2344 * manual/process.texi: Add "Inter-Process Communication" to prev.
2345
86e58c08
AZ
23462014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2347
2348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2349
4248f0da
OB
23502014-02-26 Ondřej Bílka <neleai@seznam.cz>
2351
2352 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2353
cf822e3c
OB
2354 * manual/arith.texi: Fix spaces after sentences.
2355 * manual/charset.texi: Likewise.
2356 * manual/errno.texi: Likewise.
2357 * manual/install.texi: Likewise.
2358 * manual/llio.texi: Likewise.
2359 * manual/locale.texi: Likewise.
2360 * manual/maint.texi: Likewise.
2361 * manual/math.texi: Likewise.
2362 * manual/memory.texi: Likewise.
2363 * manual/message.texi: Likewise.
2364 * manual/probes.texi: Likewise.
2365 * manual/resource.texi: Likewise.
2366 * manual/signal.texi: Likewise.
2367 * manual/socket.texi: Likewise.
2368 * manual/stdio.texi: Likewise.
2369 * manual/string.texi: Likewise.
2370 * manual/time.texi: Likewise.
2371 * manual/users.texi: Likewise.
2372
ade40b10
CD
23732014-02-25 Carlos O'Donell <carlos@redhat.com>
2374
2375 [BZ #16632]
2376 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2377 _DEFAULT_SOURCE is defined.
2378
d0503676
CD
23792014-02-25 Ulrich Drepper <drepper@gmail.com>
2380 Carlos O'Donell <carlos@redhat.com>
2381
2382 [BZ #16613]
2383 * elf/dl-tls.c (_dl_count_modids): New function.
2384 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2385 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2386 audit library and increment generation counter.
2387 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2388 * elf/tst-audit9.c: New file.
2389 * elf/tst-auditmod9a.c: New file.
2390 * elf/tst-auditmod9b.c: New file.
2391 * elf/Makefile: Add rules to build and run tst-audit9.
2392
4cbf380c
FW
23932014-02-25 Florian Weimer <fweimer@redhat.com>
2394
2395 [BZ #15347]
2396 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2397
80a56cc3
WN
23982014-02-25 Will Newton <will.newton@linaro.org>
2399
2400 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2401 (__longjmp): Restore sp and lr before restoring callee
2402 saved registers. Add longjmp and longjmp_target
2403 SystemTap probe point.
2404 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2405 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2406 Define to zero to match jmpbuf layout.
2407 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2408 (__sigsetjmp): Save sp and lr before saving callee
2409 saved registers. Add setjmp SystemTap probe point.
2410
3ea0f74e
SL
24112014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2412
2413 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2414
b04acb26
AS
24152014-02-24 Andreas Schwab <schwab@suse.de>
2416
2417 [BZ #15804]
2418 * elf/pldd.c (wait_for_ptrace_stop): New function.
2419 (main): Call it after attaching.
2420
098ad55c
RM
24212014-02-22 Roland McGrath <roland@hack.frob.com>
2422
d4ec6ae1
RM
2423 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2424 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2425 Versions files is now verboten.
2426 * hurd/Versions (libc: GLIBC_2.0):
2427 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2428 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2429 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2430 * mach/Versions: Likewise.
2431
098ad55c
RM
2432 * csu/Versions: Remove unused %include.
2433 * resolv/Versions: Likewise.
2434
acd7f096
JM
24352014-02-21 Joseph Myers <joseph@codesourcery.com>
2436
f0881698
JM
2437 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2438 ($(objpfx)check-local-headers.out): Likewise.
2439 ($(objpfx)begin-end-check.out): Likewise.
2440 * Makerules (check-abi-%.out): Likewise.
2441 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2442 ($(objpfx)test2.cat): Likewise.
2443 ($(objpfx)de/libc.cat): Likewise.
2444 ($(objpfx)test-gencat.out): Likewise.
2445 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2446 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2447 ($(objpfx)noload-mem): Likewise.
2448 ($(objpfx)tst-pathopt.out): Likewise.
2449 ($(objpfx)tst-rtld-load-self.out): Likewise.
2450 ($(objpfx)tst-array1-cmp.out): Likewise.
2451 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2452 ($(objpfx)tst-array2-cmp.out): Likewise.
2453 ($(objpfx)tst-array3-cmp.out): Likewise.
2454 ($(objpfx)tst-array4-cmp.out): Likewise.
2455 ($(objpfx)tst-array5-cmp.out): Likewise.
2456 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2457 ($(objpfx)check-textrel.out): Likewise.
2458 ($(objpfx)check-execstack.out): Likewise.
2459 ($(objpfx)check-localplt.out): Likewise.
2460 ($(objpfx)order2-cmp.out): Likewise.
2461 ($(objpfx)tst-leaks1-mem): Likewise.
2462 ($(objpfx)tst-leaks1-static-mem): Likewise.
2463 ($(objpfx)tst-initorder-cmp.out): Likewise.
2464 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2465 ($(objpfx)tst-unused-dep.out): Likewise.
2466 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2467 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2468 * iconv/Makefile (test-iconvconfig): Likewise.
2469 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2470 ($(objpfx)iconv-test.out): Likewise.
2471 ($(objpfx)tst-tables.out): Likewise.
2472 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2473 ($(objpfx)tst-gettext.out): Likewise.
2474 ($(objpfx)tst-translit.out): Likewise.
2475 ($(objpfx)tst-gettext2.out): Likewise.
2476 ($(objpfx)tst-gettext4.out): Likewise.
2477 ($(objpfx)tst-gettext6.out): Likewise.
2478 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2479 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2480 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2481 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2482 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2483 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2484 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2485 ($(objpfx)wordexp-tst.out): Likewise.
2486 ($(objpfx)annexc.out): Likewise.
2487 ($(objpfx)tst-fnmatch-mem): Likewise.
2488 ($(objpfx)bug-regex2-mem): Likewise.
2489 ($(objpfx)bug-regex14-mem): Likewise.
2490 ($(objpfx)bug-regex21-mem): Likewise.
2491 ($(objpfx)bug-regex31-mem): Likewise.
2492 ($(objpfx)tst-vfork3-mem): Likewise.
2493 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2494 ($(objpfx)tst-pcre-mem): Likewise.
2495 ($(objpfx)tst-boost-mem): Likewise.
2496 ($(objpfx)tst-getconf.out): Likewise.
2497 ($(objpfx)bug-ga2-mem): Likewise.
2498 ($(objpfx)bug-glob2-mem): Likewise.
2499 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2500 ($(objpfx)mtrace-tst-leaks2): Likewise.
2501 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2502 ($(objpfx)tst-printf.out): Likewise.
2503 ($(objpfx)tst-setvbuf1.out): Likewise.
2504 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2505 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2506 ($(objpfx)tst-fmtmsg.out): Likewise.
2507 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2508 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2509
acd7f096
JM
2510 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2511 * bits/sigaction.h [__USE_MISC]: Likewise.
2512 * bits/waitstatus.h: Update #endif comments.
2513 * ctype/ctype.h: Likewise.
2514 * dirent/dirent.h: Likewise.
2515 [__USE_MISC]: Remove redundant conditionals.
2516 * grp/grp.h: Update #endif comments.
2517 [__USE_GNU]: Remove redundant conditionals.
2518 [__USE_MISC]: Likewise.
2519 * inet/netinet/in.h [__USE_GNU]: Likewise.
2520 * io/sys/stat.h [__USE_MISC]: Likewise.
2521 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2522 * libio/bits/stdio.h: Update #endif comments.
2523 [__USE_MISC]: Remove redundant conditionals.
2524 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2525 * libio/stdio.h: Update #endif comments.
2526 [__USE_MISC]: Remove redundant conditionals.
2527 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2528 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2529 * math/math.h: Update #else and #endif comments.
2530 [__USE_MISC]: Remove redundant conditionals.
2531 * misc/sys/uio.h: Update #endif comments.
2532 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2533 * posix/glob.h [__USE_MISC]: Likewise.
2534 * posix/sys/types.h: Update #endif comments.
2535 [__USE_MISC]: Remove redundant conditionals.
2536 * posix/sys/wait.h: Update #endif comments.
2537 [__USE_MISC]: Remove redundant conditionals.
2538 * posix/unistd.h: Update #endif comments.
2539 [__USE_MISC]: Remove redundant conditionals.
2540 * pwd/pwd.h [__USE_GNU]: Likewise.
2541 [__USE_MISC]: Likewise.
2542 * resolv/netdb.h [__USE_GNU]: Likewise.
2543 * signal/signal.h: Update #endif comments.
2544 [__USE_MISC]: Remove redundant conditionals.
2545 * stdlib/stdlib.h: Update #else and #endif comments.
2546 [__USE_MISC]: Remove redundant conditionals.
2547 [__USE_GNU]: Likewise.
2548 * string/bits/string2.h [__USE_MISC]: Likewise.
2549 * string/string.h: Update #endif comments.
2550 [__USE_MISC]: Remove redundant conditionals.
2551 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2552 Likewise.
2553 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2554 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2555 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2556 Likewise.
2557 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2558 Likewise.
2559 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2560 comments.
2561 [__USE_MISC]: Remove redundant conditionals.
2562 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2563 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2564 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2565 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2566 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2567 Likewise.
2568 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2569 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2570 Likewise.
2571 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2572 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2573 Likewise.
2574 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2575 Likewise.
2576 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2577 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2578 Likewise.
2579 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2580 Likewise.
2581 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2582 * sysdeps/x86/bits/string.h: Update #endif comments.
2583 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2584 conditionals.
2585 * time/sys/time.h: Update #endif comments.
2586 * time/time.h: Likewise.
2587 [__USE_MISC]: Remove redundant conditionals.
2588
a5d82e4e
YG
25892014-02-21 Yury Gribov <y.gribov@samsung.com>
2590
2591 [BZ #16600]
2592 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2593
9a80491d
AS
25942014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2595
2596 * Versions.def (librt): Add GLIBC_2.17.
2597
105fa381
AC
25982014-02-21 Adam Conrad <adconrad@0c3.net>
2599
2600 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2601 synonym for _SYS_AUXV_H to allow direct inclusion.
2602 * sysdeps/sparc/bits/hwcap.h: Likewise.
2603 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2604 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2605 * sysdeps/sparc/sysdep.h: Likewise.
2606
b8cd1c4e
SP
26072014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2608
2609 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2610
bd939d23
RS
26112014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2612
2613 * benchtests/bench-strrchr.c: Print length instead of position.
2614
5d7b57ca
JM
26152014-02-20 Joseph Myers <joseph@codesourcery.com>
2616
bc688c10
JM
2617 [BZ #16611]
2618 * sysdeps/unix/sysv/linux/kernel-features.h
2619 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2620 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2621 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2622 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2623 Likewise.
2624 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2625 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2626 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2627 (__ASSUME_SENDMMSG): Define instead of using previous
2628 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2629 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2630 (__ASSUME_SENDMMSG_SYSCALL): Define.
2631 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2632 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2633 Likewise.
2634 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2635 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2636 Likewise.
2637 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2638 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2639 Likewise.
2640 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2641 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2642 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2643 [__ASSUME_SENDMMSG]: Change conditionals to
2644 [__ASSUME_SENDMMSG_SOCKETCALL].
2645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2646 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2647 Define.
2648 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2649 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2650 Likewise.
2651 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2652 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2653 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2654 [!__ASSUME_SENDMMSG]: Change conditional to
2655 [!__ASSUME_SENDMMSG_SOCKETCALL].
2656 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2657 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2658 Define.
2659
0e31b18c
JM
2660 [BZ #16610]
2661 * sysdeps/unix/sysv/linux/kernel-features.h
2662 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2663 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2664 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2665 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2666 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2667 [__i386__ || __sparc__]
2668 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2669 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2670 (__ASSUME_RECVMMSG): Define instead of using previous
2671 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2672 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2673 (__ASSUME_RECVMMSG_SYSCALL): Define.
2674 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2675 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2676 Likewise.
2677 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2678 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2679 Likewise.
2680 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2681 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2682 Likewise.
2683 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2684 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2685 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2686 [__ASSUME_RECVMMSG]: Change condition to
2687 [__ASSUME_RECVMMSG_SOCKETCALL].
2688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2689 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2690 Define.
2691 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2692 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2693 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2694 Likewise.
2695 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2696 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2697 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2698 [!__ASSUME_RECVMMSG]: Change condition to
2699 [!__ASSUME_RECVMMSG_SOCKETCALL].
2700 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2701 (__ASSUME_RECVMMSG_SYSCALL): Define.
2702
dd481ccf
JM
2703 [BZ #16609]
2704 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2705 __powerpc__ || __s390__ || __sh__ || __sparc__]
2706 (__ASSUME_SOCKETCALL): Define.
2707 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2708 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2709 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2710 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2711 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2712 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2713 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2714 (__ASSUME_ACCEPT4): Define instead of using previous
2715 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2716 __powerpc__ || __sparc__ || __s390__)] condition.
2717 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2718 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2719 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2720 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2721 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2722 [!__ASSUME_ACCEPT4]: Change condition to
2723 [!__ASSUME_ACCEPT4_SOCKETCALL].
2724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2725 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2726 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2727 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2728 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2729 __ASSUME_ACCEPT4_SYSCALL.
2730 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2731 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2732 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2733 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2734 __ASSUME_ACCEPT4_SYSCALL.
2735 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2736 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2737 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2738 [__ASSUME_ACCEPT4]: Change condition to
2739 [__ASSUME_ACCEPT4_SOCKETCALL].
2740 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2741 (__ASSUME_SOCKETCALL): Define.
2742 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2743 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2744 (__ASSUME_SOCKETCALL): Define.
2745 (__ASSUME_ACCEPT4): Remove.
2746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2747 Define.
2748 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2749 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2750 Likewise.
2751 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2752 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2753
5d7b57ca
JM
2754 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2755 macro.
2756 (HWCAP_ARM_LPAE): Likewise.
2757 (HWCAP_ARM_EVTSTRM): Likewise.
2758 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2759 Add vpfd32, lpae and evtstrm.
2760 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2761 Increase to 22.
2762
63689d61
JM
27632014-02-19 Joseph Myers <joseph@codesourcery.com>
2764
2765 * math/auto-libm-test-in: Add tests of clog10.
2766 * math/auto-libm-test-out: Regenerated.
2767 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2768 * sysdeps/i386/fpu/libm-test-ulps: Update.
2769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2770
ab09bf61
AS
27712014-02-18 Andreas Schwab <schwab@suse.de>
2772
2773 [BZ #16574]
2774 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2775 Store non-zero if the second buffer was newly allocated.
2776 (send_dg): Likewise.
2777 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2778 to send_vc and send_dg.
2779 (res_nsend): Pass NULL for ansp2_malloced.
2780 * resolv/res_query.c (__libc_res_nquery): Add parameter
2781 answerp2_malloced and pass it down to __libc_res_nsend.
2782 (res_nquery): Pass additional NULL to __libc_res_nquery.
2783 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2784 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2785 second answer buffer if answerp2_malloced was set.
2786 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2787 (__libc_res_nquerydomain): Add parameter
2788 answerp2_malloced and pass it down to __libc_res_nquery.
2789 (res_nquerydomain): Pass additional NULL to
2790 __libc_res_nquerydomain.
2791 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2792 additional NULL to __libc_res_nsend and __libc_res_nquery.
2793 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2794 additional NULL to __libc_res_nsearch.
2795 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2796 parameter of __libc_res_nsearch to check for separately allocated
2797 second buffer.
2798 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2799 __libc_res_nquery.
2800 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2801 additional NULL to __libc_res_nquery.
2802 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2803 __libc_res_nsearch.
2804 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2805 * include/resolv.h: Update prototypes of __libc_res_nquery,
2806 __libc_res_nsearch, __libc_res_nsend.
2807
a4fb7861
JM
28082014-02-18 Joseph Myers <joseph@codesourcery.com>
2809
c6af2d89
JM
2810 * math/auto-libm-test-in: Add tests of fma.
2811 * math/auto-libm-test-out: Regenerated.
2812 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2813 (fma_towardzero_test_data): Likewise.
2814 (fma_downward_test_data): Likewise.
2815 (fma_upward_test_data): Likewise.
2816 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2817 mpc_mode.
2818 (rounding_modes): Add values for new field.
2819 (func_calc_method): Add value mpfr_fff_f.
2820 (func_calc_desc): Add mpfr_fff_f union field.
2821 (test_function): Add field exact_args.
2822 (FUNC): Add macro argument EXACT_ARGS.
2823 (FUNC_mpfr_f_f): Update call to FUNC.
2824 (FUNC_mpfr_f_f): Likewise.
2825 (FUNC_mpfr_ff_f): Likewise.
2826 (FUNC_mpfr_if_f): Likewise.
2827 (FUNC_mpc_c_f): Likewise.
2828 (FUNC_mpc_c_c): Likewise.
2829 (test_functions): Add fma. Update calls to FUNC.
2830 (handle_input_arg): Add argument exact_args.
2831 (add_test): Update call to handle_input_arg.
2832 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2833 (output_for_one_input_case): Update call to calc_generic_results.
2834 Recalculate exact zero results in each rounding mode.
2835
a4fb7861
JM
2836 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2837 non-negative before setting low bit.
2838 * math/auto-libm-test-in: Mark one asin test possibly having
2839 spurious underflow.
2840 * math/auto-libm-test-out: Regenerated.
2841 * sysdeps/i386/fpu/libm-test-ulps: Update.
2842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2843
ef114eaf
DH
28442014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2845
2b7f4f2c
SP
2846 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2847 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2848 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2849 * README: Add missing listing for microblaze*-*-linux-gnu.
2850
c70a4b1d
MF
28512014-02-16 Mike Frysinger <vapier@gentoo.org>
2852
2853 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2854 * sysdeps/unix/sysv/linux/ia64: Move directory from
2855 ports/sysdeps/unix/sysv/linux/ia64.
2856 * README: Update listing for ia64-*-linux-gnu.
2857
591aeaf7
TD
28582014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2859 Joseph Myers <joseph@codesourcery.com>
2860
2861 * Makeconfig (test-name): New variable.
2862 (evaluate-test): Likewise.
2863 * Makerules (do-test-clean): Remove .test-result files.
2864 (common-mostlyclean): Likewise.
2865 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2866 * scripts/evaluate-test.sh: New file.
2867
6e89caf1
JM
28682014-02-14 Joseph Myers <joseph@codesourcery.com>
2869
7f98f180
JM
2870 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2871 separate $(objpfx)tst-fopenloc-cmp.out and
2872 $(objpfx)tst-fopenloc-mem.out targets.
2873 (tests): Update dependencies.
2874 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2875 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2876 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2877 (tst-rxspencer-no-utf8-ARGS): New variable.
2878 (tst-rxspencer-no-utf8-ENV): Likewise.
2879 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2880 instead of $(objpfx)tst-rxspencer-mem.
2881 ($(objpfx)tst-rxspencer-mem): Change target to
2882 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2883 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2884 * posix/tst-rxspencer-no-utf8.c: New file.
2885
6e89caf1
JM
2886 * elf/Makefile ($(objpfx)order.out): Remove rule.
2887 [$(run-built-tests) = yes] (tests): Depend on
2888 $(objpfx)order-cmp.out.
2889 ($(objpfx)order-cmp.out): New rule.
2890 [$(run-built-tests) = yes] (tests): Depend on
2891 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2892 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2893 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2894 $(objpfx)tst-array5-static-cmp.out.
2895 ($(objpfx)tst-array1.out): Remove rule.
2896 ($(objpfx)tst-array1-cmp.out): New rule.
2897 ($(objpfx)tst-array1-static.out): Remove rule.
2898 ($(objpfx)tst-array1-static-cmp.out): New rule.
2899 ($(objpfx)tst-array2.out): Remove rule.
2900 ($(objpfx)tst-array2-cmp.out): New rule.
2901 ($(objpfx)tst-array3.out): Remove rule.
2902 ($(objpfx)tst-array3-cmp.out): New rule.
2903 ($(objpfx)tst-array4.out): Remove rule.
2904 ($(objpfx)tst-array4-cmp.out): New rule.
2905 ($(objpfx)tst-array5.out): Remove rule.
2906 ($(objpfx)tst-array5-cmp.out): New rule.
2907 ($(objpfx)tst-array5-static.out): Remove rule.
2908 ($(objpfx)tst-array5-static-cmp.out): New rule.
2909 [$(run-built-tests) = yes] (tests): Depend on
2910 $(objpfx)order2-cmp.out.
2911 ($(objpfx)order2.out): Remove rule.
2912 ($(objpfx)order2-cmp.out): New rule.
2913 ($(objpfx)tst-initorder.out): Remove rule.
2914 [$(run-built-tests) = yes] (tests): Depend on
2915 $(objpfx)tst-initorder-cmp.out.
2916 ($(objpfx)tst-initorder-cmp.out): New rule.
2917 ($(objpfx)tst-initorder2.out): Remove rule.
2918 [$(run-built-tests) = yes] (tests): Depend on
2919 $(objpfx)tst-initorder2-cmp.out.
2920 ($(objpfx)tst-initorder2-cmp.out): New rule.
2921 [$(run-built-tests) = yes] (tests): Depend on
2922 $(objpfx)tst-unused-dep-cmp.out.
2923 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2924 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2925 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2926 on $(objpfx)tst-setvbuf1-cmp.out.
2927 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2928 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2929 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2930 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2931 ($(objpfx)tst-svc.out): Remove rule.
2932 ($(objpfx)tst-svc-cmp.out): New rule.
2933
ed9a38e2
JM
29342014-02-13 Joseph Myers <joseph@codesourcery.com>
2935
2936 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2937 * ctype/ctype.h [__USE_MISC]: Likewise.
2938 * dirent/dirent.h [__USE_MISC]: Likewise.
2939 * grp/grp.h [__USE_MISC]: Likewise.
2940 * io/fcntl.h [__USE_MISC]: Likewise.
2941 * io/sys/stat.h [__USE_MISC]: Likewise.
2942 * libio/stdio.h [__USE_MISC]: Likewise.
2943 * posix/unistd.h [__USE_MISC]: Likewise.
2944 * pwd/pwd.h [__USE_MISC]: Likewise.
2945 * stdlib.h [__USE_MISC]: Likewise.
2946 * string/bits/string2.h [__USE_MISC]: Likewise.
2947 * string/string.h [__USE_MISC]: Likewise.
2948 * time/time.h [__USE_MISC]: Likewise.
2949
d6680619
AS
29502014-02-13 Andreas Schwab <schwab@suse.de>
2951
2952 [BZ #16574]
2953 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2954 second answer buffer if it was separately allocated.
2955
ace614b8
JM
29562014-02-12 Joseph Myers <joseph@codesourcery.com>
2957
743151ae
JM
2958 * sysdeps/mips/math-tests.h: Include <features.h>.
2959 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2960 (ROUNDING_TESTS_long_double): Do not define.
2961 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2962 (EXCEPTION_TESTS_long_double): Likewise.
2963 * sysdeps/mips/mips64/libm-test-ulps: Update.
2964
498afc54
JM
2965 * include/features.h (__USE_BSD): Remove macro definitions.
2966 (__USE_SVID): Likewise.
2967 (_BSD_SOURCE): Likewise.
2968 (_SVID_SOURCE): Likewise.
2969 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2970 from definition of _DEFAULT_SOURCE.
2971 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2972 [_DEFAULT_SOURCE].
2973 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2974 * bits/mman.h [__USE_BSD]: Likewise.
2975 * bits/termios.h [__USE_BSD]: Likewise.
2976 * bits/waitstatus.h [__USE_BSD]: Likewise.
2977 * ctype/ctype.h [__USE_SVID]: Likewise.
2978 * dirent/dirent.h [__USE_BSD]: Likewise.
2979 * grp/grp.h [__USE_SVID]: Likewise.
2980 [__USE_BSD]: Likewise.
2981 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2982 * io/fcntl.h [__USE_BSD]: Likewise.
2983 * io/ftw.h [__USE_BSD]: Likewise.
2984 * io/sys/stat.h [__USE_BSD]: Likewise.
2985 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2986 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2987 * libio/stdio.h [__USE_SVID]: Likewise.
2988 [__USE_BSD]: Likewise.
2989 * math/math.h [__USE_SVID]: Likewise.
2990 [__USE_BSD]: Likewise.
2991 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2992 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2993 * misc/search.h [__USE_SVID]: Likewise.
2994 * misc/sys/mman.h [__USE_BSD]: Likewise.
2995 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2996 * misc/sys/uio.h [__USE_BSD]: Likewise.
2997 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2998 * posix/glob.h [__USE_BSD]: Likewise.
2999 * posix/regex.h [__USE_BSD]: Likewise.
3000 * posix/sys/types.h [__USE_BSD]: Likewise.
3001 [__USE_SVID]: Likewise.
3002 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3003 * posix/sys/wait.h [__USE_BSD]: Likewise.
3004 [__USE_SVID]: Likewise.
3005 * posix/unistd.h [__USE_BSD]: Likewise.
3006 [__USE_SVID]: Likewise.
3007 * pwd/pwd.h [__USE_SVID]: Likewise.
3008 * resolv/netdb.h [__USE_BSD]: Likewise.
3009 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3010 * signal/signal.h [__USE_BSD]: Likewise.
3011 [__USE_SVID]: Likewise.
3012 * socket/sys/socket.h [__USE_BSD]: Likewise.
3013 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3014 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3015 [__USE_SVID]: Likewise.
3016 * string/bits/string2.h [__USE_BSD]: Likewise.
3017 [__USE_SVID]: Likewise.
3018 * string/bits/string3.h [__USE_BSD]: Likewise.
3019 * string/endian.h [__USE_BSD]: Likewise.
3020 * string/string.h [__USE_SVID]: Likewise.
3021 [__USE_BSD]: Likewise.
3022 * string/strings.h [__USE_BSD]: Likewise.
3023 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3024 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3025 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3026 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3027 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3028 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3029 Likewise.
3030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3031 Likewise.
3032 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3033 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3034 Likewise.
3035 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3036 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3037 Likewise.
3038 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3039 Likewise.
3040 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3041 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3042 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3043 Likewise.
3044 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3045 Likewise.
3046 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3047 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3048 * termios/termios.h [__USE_BSD]: Likewise.
3049 * time/sys/time.h [__USE_BSD]: Likewise.
3050 * time/time.h [__USE_BSD]: Likewise.
3051 [__USE_SVID]: Likewise.
3052
dd7b064c
JM
3053 * Makefile (subdir_targets): Remove subdir_lint.out.
3054
a2c4c199
JM
3055 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3056 (do-tst-printf): Likewise.
3057 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3058 $(objpfx)tst-printf.out.
3059
8756f740
JM
3060 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3061
1b6dd3f1
JM
3062 * Makerules (check-abi-%): Change target to
3063 $(objpfx)check-abi-%.out.
3064 (check-abi target): Update dependencies.
3065 (check-abi-pattern variable): Redirect output of diff to $@.
3066 (check-abi variable): Likewise.
3067 * elf/Makefile (check-abi): Update dependencies.
3068
ace614b8
JM
3069 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3070 unused.
3071 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3072 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3073 subnormal range.
3074 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3075 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3076 value has largest subnormal exponent.
3077 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3078 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3079 * sysdeps/aarch64/soft-fp/sfp-machine.h
3080 (_FP_TININESS_AFTER_ROUNDING): New macro.
3081 * sysdeps/alpha/soft-fp/sfp-machine.h
3082 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3083 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3084 Likewise.
3085 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3086 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3087 * sysdeps/mips/soft-fp/sfp-machine.h
3088 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3089 * sysdeps/powerpc/soft-fp/sfp-machine.h
3090 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3091 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3092 Likewise.
3093 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3094 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3095 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3096 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3097 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3098 Likewise.
3099
fbfdf9cb
DAS
31002014-02-12 Dylan Alex Simon <dylan@dylex.net>
3101
3102 [BZ #16545]
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3104 model 1.
3105
68b7efaa
RH
31062014-02-12 Richard Henderson <rth@redhat.com>
3107
c70a4b1d 3108 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3109 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3110 * sysdeps/unix/sysv/linux/alpha: Move directory from
3111 ports/sysdeps/unix/sysv/linux/alpha.
3112 * README: Update listing for alpha-*-linux-gnu.
3113
cb4a2928
JM
31142014-02-11 Joseph Myers <joseph@codesourcery.com>
3115
c941736c
JM
3116 * include/features.h: Update comment documenting feature test
3117 macros.
3118 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3119 _DEFAULT_SOURCE.
3120 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3121 (_SVID_SOURCE): Likewise.
3122 (_DEFAULT_SOURCE): Update description of default features.
3123 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3124 with _GNU_SOURCE.
3125 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3126 (S_ISVTX): Likewise.
3127 * manual/math.texi (Mathematical Constants): Likewise.
3128 * manual/signal.texi (Interrupted Primitives): Likewise.
3129 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3130 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3131 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3132 Don't refer to _SVID_SOURCE in warning text.
3133
e8d8d7ec
JM
3134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3135
cb4a2928
JM
3136 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3137 already defined.
3138 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3139 * sysdeps/mips/dl-lookup.c: Remove.
3140 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3141
7e6424e3
AK
31422014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3143
3144 [BZ #16447]
3145 * math/auto-libm-test-in: Add testcase for expl.
3146 * math/auto-libm-test-out: Regenerate.
3147 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3148 calculation of unsafe.
3149 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3150
75eff3fe
MS
31512014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3152
3153 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3154 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3155 ports/sysdeps/unix/sysv/linux/aarch64.
3156 * README: Update listing for aarch64*-*-linux-gnu.
3157
d35f1e80
WN
31582014-02-11 Will Newton <will.newton@linaro.org>
3159
3160 * manual/probes.texi (Mathematical Function Probes): Use
3161 "triggered" instead of "hit".
3162
7b3436d4
WN
31632014-02-11 Will Newton <will.newton@linaro.org>
3164
3165 * manual/probes.texi (Internal Probes): Add documentation
3166 of setjmp, longjmp and longjmp_target probes.
3167
b4f12ca3
WN
31682014-02-11 Will Newton <will.newton@linaro.org>
3169
3170 * include/stap-probe.h: Add comment about probe argument
3171 format.
3172
c13a72b7
WN
31732014-02-11 Will Newton <will.newton@linaro.org>
3174
3175 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3176 definition. (tr_where, tr_freehook, tr_mallochook,
3177 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3178
195b8165
DM
31792014-02-11 David S. Miller <davem@davemloft.net>
3180
3181 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3182 processing int_tests.
3183
2ad7600b
JM
31842014-02-10 Joseph Myers <joseph@codesourcery.com>
3185
3186 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3187 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3188 * sysdeps/unix/sysv/linux/mips: Move directory from
3189 ports/sysdeps/unix/sysv/linux/mips.
3190 * README: Update listing for mips-*-linux-gnu and
3191 mips64-*-linux-gnu.
3192
73588a72
AS
31932014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3194
3195 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3196 * sysdeps/unix/sysv/linux/m68k: Move directory from
3197 ports/sysdeps/unix/sysv/linux/m68k.
3198 * README: Update listing for m68k-*-linux-gnu.
3199
4372980f
CM
32002014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3201
3202 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3203 * sysdeps/unix/sysv/linux/generic: Move directory from
3204 ports/sysdeps/unix/sysv/linux/generic.
3205 * sysdeps/unix/sysv/linux/tile: Move directory from
3206 ports/sysdeps/unix/sysv/linux/tile.
3207 * README: Update listing for tile*-*-linux-gnu.
3208
a1ffb40e
OB
32092014-02-10 Ondřej Bílka <neleai@seznam.cz>
3210
3211 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3212 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3213 * catgets/open_catalog.c (__open_catalog): Likewise.
3214 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3215 * debug/confstr_chk.c: Likewise.
3216 * debug/fread_chk.c (__fread_chk): Likewise.
3217 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3218 * debug/getgroups_chk.c: Likewise.
3219 * debug/mbsnrtowcs_chk.c: Likewise.
3220 * debug/mbsrtowcs_chk.c: Likewise.
3221 * debug/mbstowcs_chk.c: Likewise.
3222 * debug/memcpy_chk.c: Likewise.
3223 * debug/memmove_chk.c: Likewise.
3224 * debug/mempcpy_chk.c: Likewise.
3225 * debug/memset_chk.c: Likewise.
3226 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3227 * debug/strcat_chk.c (__strcat_chk): Likewise.
3228 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3229 * debug/strncat_chk.c (__strncat_chk): Likewise.
3230 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3231 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3232 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3233 * debug/wcpncpy_chk.c: Likewise.
3234 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3235 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3236 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3237 * debug/wcsncpy_chk.c: Likewise.
3238 * debug/wcsnrtombs_chk.c: Likewise.
3239 * debug/wcsrtombs_chk.c: Likewise.
3240 * debug/wcstombs_chk.c: Likewise.
3241 * debug/wmemcpy_chk.c: Likewise.
3242 * debug/wmemmove_chk.c: Likewise.
3243 * debug/wmempcpy_chk.c: Likewise.
3244 * debug/wmemset_chk.c: Likewise.
3245 * dirent/scandirat.c (SCANDIRAT): Likewise.
3246 * dlfcn/dladdr1.c (dladdr1): Likewise.
3247 * dlfcn/dladdr.c (dladdr): Likewise.
3248 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3249 * dlfcn/dlerror.c (__dlerror): Likewise.
3250 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3251 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3252 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3253 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3254 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3255 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3256 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3257 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3258 Likewise.
3259 * elf/dl-conflict.c: Likewise.
3260 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3261 * elf/dl-dst.h: Likewise.
3262 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3263 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3264 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3265 * elf/dl-init.c (call_init, _dl_init): Likewise.
3266 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3267 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3268 _dl_map_object_from_fd, open_verify, open_path,
3269 _dl_map_object): Likewise.
3270 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3271 Likewise.
3272 * elf/dl-minimal.c (__libc_memalign): Likewise.
3273 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3274 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3275 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3276 * elf/dl-sym.c (do_sym): Likewise.
3277 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3278 _dl_tls_get_addr_soft): Likewise.
3279 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3280 * elf/dl-writev.h (_dl_writev): Likewise.
3281 * elf/ldconfig.c (search_dir): Likewise.
3282 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3283 dl_main): Likewise.
3284 * elf/setup-vdso.h (setup_vdso): Likewise.
3285 * grp/compat-initgroups.c (compat_call): Likewise.
3286 * grp/fgetgrent.c (fgetgrent): Likewise.
3287 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3288 * grp/putgrent.c (putgrent): Likewise.
3289 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3290 Likewise.
3291 * hurd/hurdinit.c: Likewise.
3292 * iconvdata/8bit-gap.c (struct): Likewise.
3293 * iconvdata/ansi_x3.110.c : Likewise.
3294 * iconvdata/big5.c : Likewise.
3295 * iconvdata/big5hkscs.c : Likewise.
3296 * iconvdata/cp1255.c: Likewise.
3297 * iconvdata/cp1258.c : Likewise.
3298 * iconvdata/cp932.c : Likewise.
3299 * iconvdata/euc-cn.c: Likewise.
3300 * iconvdata/euc-jisx0213.c : Likewise.
3301 * iconvdata/euc-jp.c: Likewise.
3302 * iconvdata/euc-jp-ms.c : Likewise.
3303 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3304 * iconvdata/gb18030.c : Likewise.
3305 * iconvdata/gbbig5.c (const): Likewise.
3306 * iconvdata/gbgbk.c: Likewise.
3307 * iconvdata/gbk.c : Likewise.
3308 * iconvdata/ibm1364.c : Likewise.
3309 * iconvdata/ibm930.c : Likewise.
3310 * iconvdata/ibm932.c: Likewise.
3311 * iconvdata/ibm933.c : Likewise.
3312 * iconvdata/ibm935.c : Likewise.
3313 * iconvdata/ibm937.c : Likewise.
3314 * iconvdata/ibm939.c : Likewise.
3315 * iconvdata/ibm943.c: Likewise.
3316 * iconvdata/iso_11548-1.c: Likewise.
3317 * iconvdata/iso-2022-cn.c : Likewise.
3318 * iconvdata/iso-2022-cn-ext.c : Likewise.
3319 * iconvdata/iso-2022-jp-3.c: Likewise.
3320 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3321 * iconvdata/iso-2022-kr.c : Likewise.
3322 * iconvdata/iso646.c (gconv_end): Likewise.
3323 * iconvdata/iso_6937-2.c : Likewise.
3324 * iconvdata/iso_6937.c : Likewise.
3325 * iconvdata/iso8859-1.c: Likewise.
3326 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3327 * iconvdata/shift_jisx0213.c : Likewise.
3328 * iconvdata/sjis.c : Likewise.
3329 * iconvdata/t.61.c : Likewise.
3330 * iconvdata/tcvn5712-1.c : Likewise.
3331 * iconvdata/tscii.c: Likewise.
3332 * iconvdata/uhc.c : Likewise.
3333 * iconvdata/unicode.c (gconv_end): Likewise.
3334 * iconvdata/utf-16.c (gconv_end): Likewise.
3335 * iconvdata/utf-32.c (gconv_end): Likewise.
3336 * iconvdata/utf-7.c (base64): Likewise.
3337 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3338 * iconv/gconv_close.c (__gconv_close): Likewise.
3339 * iconv/gconv_open.c (__gconv_open): Likewise.
3340 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3341 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3342 internal_ucs4le_loop_single, ucs4le_internal_loop,
3343 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3344 * iconv/iconv.c (iconv): Likewise.
3345 * iconv/iconv_close.c: Likewise.
3346 * iconv/loop.c (SINGLE): Likewise.
3347 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3348 * include/atomic.h: Likewise.
3349 * inet/inet6_option.c (option_alloc): Likewise.
3350 * intl/bindtextdom.c (set_binding_values): Likewise.
3351 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3352 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3353 * intl/localealias.c (read_alias_file): Likewise.
3354 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3355 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3356 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3357 * libio/fmemopen.c (fmemopen): Likewise.
3358 * libio/iofgets.c (_IO_fgets): Likewise.
3359 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3360 * libio/iofgetws.c (fgetws): Likewise.
3361 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3362 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3363 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3364 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3365 * locale/findlocale.c (_nl_find_locale): Likewise.
3366 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3367 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3368 Likewise.
3369 * locale/setlocale.c (setlocale): Likewise.
3370 * login/programs/pt_chown.c (main): Likewise.
3371 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3372 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3373 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3374 mmap, mmap64, mremap, munmap): Likewise.
3375 * math/e_exp2l.c: Likewise.
3376 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3377 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3378 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3379 * math/s_catan.c (__catan): Likewise.
3380 * math/s_catanf.c (__catanf): Likewise.
3381 * math/s_catanh.c (__catanh): Likewise.
3382 * math/s_catanhf.c (__catanhf): Likewise.
3383 * math/s_catanhl.c (__catanhl): Likewise.
3384 * math/s_catanl.c (__catanl): Likewise.
3385 * math/s_ccosh.c (__ccosh): Likewise.
3386 * math/s_ccoshf.c (__ccoshf): Likewise.
3387 * math/s_ccoshl.c (__ccoshl): Likewise.
3388 * math/s_cexp.c (__cexp): Likewise.
3389 * math/s_cexpf.c (__cexpf): Likewise.
3390 * math/s_cexpl.c (__cexpl): Likewise.
3391 * math/s_clog10.c (__clog10): Likewise.
3392 * math/s_clog10f.c (__clog10f): Likewise.
3393 * math/s_clog10l.c (__clog10l): Likewise.
3394 * math/s_clog.c (__clog): Likewise.
3395 * math/s_clogf.c (__clogf): Likewise.
3396 * math/s_clogl.c (__clogl): Likewise.
3397 * math/s_csin.c (__csin): Likewise.
3398 * math/s_csinf.c (__csinf): Likewise.
3399 * math/s_csinh.c (__csinh): Likewise.
3400 * math/s_csinhf.c (__csinhf): Likewise.
3401 * math/s_csinhl.c (__csinhl): Likewise.
3402 * math/s_csinl.c (__csinl): Likewise.
3403 * math/s_csqrt.c (__csqrt): Likewise.
3404 * math/s_csqrtf.c (__csqrtf): Likewise.
3405 * math/s_csqrtl.c (__csqrtl): Likewise.
3406 * math/s_ctan.c (__ctan): Likewise.
3407 * math/s_ctanf.c (__ctanf): Likewise.
3408 * math/s_ctanh.c (__ctanh): Likewise.
3409 * math/s_ctanhf.c (__ctanhf): Likewise.
3410 * math/s_ctanhl.c (__ctanhl): Likewise.
3411 * math/s_ctanl.c (__ctanl): Likewise.
3412 * math/w_pow.c: Likewise.
3413 * math/w_powf.c: Likewise.
3414 * math/w_powl.c: Likewise.
3415 * math/w_scalb.c (sysv_scalb): Likewise.
3416 * math/w_scalbf.c (sysv_scalbf): Likewise.
3417 * math/w_scalbl.c (sysv_scalbl): Likewise.
3418 * misc/error.c (error_tail): Likewise.
3419 * misc/pselect.c (__pselect): Likewise.
3420 * nis/nis_callback.c (__nis_create_callback): Likewise.
3421 * nis/nis_call.c (__nisfind_server): Likewise.
3422 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3423 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3424 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3425 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3426 * nis/nis_lookup.c (nis_lookup): Likewise.
3427 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3428 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3429 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3430 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3431 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3432 internal_getgrgid_r): Likewise.
3433 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3434 Likewise.
3435 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3436 internal_getpwuid_r): Likewise.
3437 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3438 internal_getspnam_r): Likewise.
3439 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3440 _nss_nis_getaliasbyname_r): Likewise.
3441 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3442 _nss_nis_getntohost_r): Likewise.
3443 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3444 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3445 Likewise.
3446 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3447 internal_nis_gethostent_r, internal_gethostbyname2_r,
3448 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3449 _nss_nis_gethostbyname4_r): Likewise.
3450 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3451 initgroups_netid): Likewise.
3452 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3453 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3454 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3455 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3456 _nss_nis_getprotobynumber_r): Likewise.
3457 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3458 _nss_nis_getsecretkey): Likewise.
3459 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3460 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3461 Likewise.
3462 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3463 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3464 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3465 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3466 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3467 _nss_nis_getspnam_r): Likewise.
3468 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3469 Likewise.
3470 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3471 _nss_nisplus_getntohost_r): Likewise.
3472 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3473 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3474 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3475 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3476 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3477 Likewise.
3478 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3479 _nss_nisplus_getnetbyaddr_r): Likewise.
3480 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3481 _nss_nisplus_getprotobynumber_r): Likewise.
3482 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3483 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3484 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3485 Likewise.
3486 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3487 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3488 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3489 _nss_nisplus_getspnam_r): Likewise.
3490 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3491 * nscd/aicache.c (addhstaiX): Likewise.
3492 * nscd/cache.c (cache_search, prune_cache): Likewise.
3493 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3494 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3495 * nscd/grpcache.c (addgrbyX): Likewise.
3496 * nscd/hstcache.c (addhstbyX): Likewise.
3497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3498 * nscd/mem.c (gc, mempool_alloc): Likewise.
3499 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3500 Likewise.
3501 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3502 Likewise.
3503 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3504 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3505 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3506 Likewise.
3507 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3509 * nscd/nscd_helper.c (__readvall, open_socket,
3510 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3511 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3512 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3513 * nscd/pwdcache.c (addpwbyX): Likewise.
3514 * nscd/selinux.c (preserve_capabilities): Likewise.
3515 * nscd/servicescache.c (addservbyX): Likewise.
3516 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3517 * posix/fnmatch.c (fnmatch): Likewise.
3518 * posix/getopt.c (_getopt_internal_r): Likewise.
3519 * posix/glob.c (glob, glob_in_dir): Likewise.
3520 * posix/wordexp.c (exec_comm_child): Likewise.
3521 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3522 gaih_getanswer_slice): Likewise.
3523 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3524 * resolv/res_init.c: Likewise.
3525 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3526 * resolv/res_query.c (__libc_res_nquery): Likewise.
3527 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3528 Likewise.
3529 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3530 * stdio-common/perror.c (perror): Likewise.
3531 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3532 * stdio-common/tmpnam.c (tmpnam): Likewise.
3533 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3534 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3535 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3536 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3537 * stdlib/putenv.c (putenv): Likewise.
3538 * stdlib/setenv.c (__add_to_environ): Likewise.
3539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3540 * stdlib/strtol_l.c (INTERNAL): Likewise.
3541 * string/memmem.c (memmem): Likewise.
3542 * string/strerror.c (strerror): Likewise.
3543 * string/strnlen.c (__strnlen): Likewise.
3544 * string/test-memmem.c (simple_memmem): Likewise.
3545 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3546 * sunrpc/pm_getport.c (__get_socket): Likewise.
3547 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3548 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3549 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3550 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3551 Likewise.
3552 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3553 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3554 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3555 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3556 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3557 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3558 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3559 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3560 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3561 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3562 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3563 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3565 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3566 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3567 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3568 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3569 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3570 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3571 Likewise.
3572 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3573 Likewise.
3574 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3575 Likewise.
3576 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3579 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3580 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3581 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3582 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3583 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3584 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3586 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3588 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3589 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3590 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3591 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3592 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3593 Likewise.
3594 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3595 Likewise.
3596 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3597 Likewise.
3598 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3600 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3601 Likewise.
3602 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3603 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3604 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3605 * sysdeps/posix/sleep.c: Likewise.
3606 * sysdeps/posix/tempname.c: Likewise.
3607 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3608 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3609 Likewise.
3610 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3611 elf_machine_rela): Likewise.
3612 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3614 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3615 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3616 Likewise.
3617 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3618 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3619 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3620 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3621 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3622 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3623 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3624 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3625 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3626 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3628 elf_machine_lazy_rel): Likewise.
3629 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3631 elf_machine_lazy_rel): Likewise.
3632 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3633 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3634 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3635 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3636 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3637 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3638 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3639 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3640 Likewise.
3641 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3642 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3643 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3644 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3645 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3646 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3647 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3648 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3649 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3650 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3651 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3652 Likewise.
3653 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3654 (__posix_fallocate64_l64): Likewise.
3655 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3656 (posix_fallocate): Likewise.
3657 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3658 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3659 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3660 getifaddrs_internal): Likewise.
3661 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3662 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3663 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3664 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3665 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3666 (__posix_fallocate64_l64): Likewise.
3667 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3668 Likewise.
3669 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3671 Likewise.
3672 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3673 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3674 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3677 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3678 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3679 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3680 Likewise.
3681 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3682 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3683 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3684 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3685 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3686 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3687 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3688 Likewise.
3689 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3690 (posix_fallocate): Likewise.
3691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3692 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3693 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3694 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3695 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3696 Likewise.
3697 * time/asctime.c (asctime_internal): Likewise.
3698 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3699 * time/tzset.c (__tzset_parse_tz): Likewise.
3700 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3701 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3702 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3703 * wcsmbs/wcsmbsload.h: Likewise.
3704
f3d338c9
OB
37052014-02-10 Ondřej Bílka <neleai@seznam.cz>
3706
3707 [BZ #15894]
3708 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3709
bdfe308a
OB
37102014-02-10 Ondřej Bílka <neleai@seznam.cz>
3711
3712 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3713 arena_get2): Remove THREAD_STATS conditionals.
3714 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3715 __malloc_stats, int): Likewise.
3716
d674667c
MF
37172014-02-08 Mike Frysinger <vapier@gentoo.org>
3718
3719 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3720 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3721
6349768c
MF
37222014-02-08 Mike Frysinger <vapier@gentoo.org>
3723
3724 * manual/setjmp.texi: Fix typos/grammar errors.
3725
0b7c7473
MF
37262014-02-08 Mike Frysinger <vapier@gentoo.org>
3727
3728 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3729 Only return early when n is <= 0. Delete unused return statement.
3730
ac8cc9e3
MF
37312014-02-08 Mike Frysinger <vapier@gentoo.org>
3732
3733 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3734 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3735 * debug/tst-longjmp_chk3.c: New file.
3736
c5bb8e23
MF
37372014-02-08 Mike Frysinger <vapier@gentoo.org>
3738
3739 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3740 (test_main): Replace code with set_fortify_handler call.
3741 * debug/test-strcpy_chk.c: Likewise.
3742 * debug/tst-chk1.c: Likewise.
3743 * debug/tst-longjmp_chk.c: Likewise.
3744 * test-skeleton.c: Include fcntl.h & paths.h
3745 (set_fortify_handler): Define.
3746
10444e42
MF
37472014-02-08 Mike Frysinger <vapier@gentoo.org>
3748
3749 * debug/tst-longjmp_chk.c: Add header comment and include
3750 ../test-skeleton.c.
3751 (do_test): Mark static.
3752 (TEST_FUNCTION): Define.
3753
1e805e8d
MF
37542014-02-08 Mike Frysinger <vapier@gentoo.org>
3755
3756 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3757 (IP_PMTUDISC_INTERFACE): Likewise.
3758 (IP_MULTICAST_IF): Likewise.
3759 (IP_MULTICAST_TTL): Likewise.
3760 (IP_MULTICAST_LOOP): Likewise.
3761 (IP_ADD_MEMBERSHIP): Likewise.
3762 (IP_DROP_MEMBERSHIP): Likewise.
3763 (IP_UNBLOCK_SOURCE): Likewise.
3764 (IP_BLOCK_SOURCE): Likewise.
3765 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3766 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3767 (IP_MSFILTER): Likewise.
3768 (MCAST_JOIN_GROUP): Likewise.
3769 (MCAST_BLOCK_SOURCE): Likewise.
3770 (MCAST_UNBLOCK_SOURCE): Likewise.
3771 (MCAST_LEAVE_GROUP): Likewise.
3772 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3773 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3774 (MCAST_MSFILTER): Likewise.
3775 (IP_MULTICAST_ALL): Likewise.
3776 (IP_UNICAST_IF): Likewise.
3777
73f79bb7
MF
37782014-02-08 Mike Frysinger <vapier@gentoo.org>
3779
3780 * timezone/Makefile: Delete $(have-ksh) check.
3781 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3782 * timezone/tzselect.ksh: Add +x mode bits.
3783
8da79b60
MF
37842014-02-08 Mike Frysinger <vapier@gentoo.org>
3785
3786 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3787 (ANON_INODE_FS_MAGIC): Likewise.
3788 (BDEVFS_MAGIC): Likewise.
3789 (BINFMTFS_MAGIC): Likewise.
3790 (BTRFS_TEST_MAGIC): Likewise.
3791 (CRAMFS_MAGIC_WEND): Likewise.
3792 (DEBUGFS_MAGIC): Likewise.
3793 (ECRYPTFS_SUPER_MAGIC): Likewise.
3794 (EXT3_SUPER_MAGIC): Likewise.
3795 (EXT4_SUPER_MAGIC): Likewise.
3796 (FUTEXFS_SUPER_MAGIC): Likewise.
3797 (HOSTFS_SUPER_MAGIC): Likewise.
3798 (HUGETLBFS_MAGIC): Likewise.
3799 (MINIX3_SUPER_MAGIC): Likewise.
3800 (MTD_INODE_FS_MAGIC): Likewise.
3801 (NILFS_SUPER_MAGIC): Likewise.
3802 (OPENPROM_SUPER_MAGIC): Likewise.
3803 (PIPEFS_MAGIC): Likewise.
3804 (PSTOREFS_MAGIC): Likewise.
3805 (QNX6_SUPER_MAGIC): Likewise.
3806 (RAMFS_MAGIC): Likewise.
3807 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3808 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3809 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3810 (SECURITYFS_MAGIC): Likewise.
3811 (SELINUX_MAGIC): Likewise.
3812 (SMACK_MAGIC): Likewise.
3813 (SOCKFS_MAGIC): Likewise.
3814 (SQUASHFS_MAGIC): Likewise.
3815 (STACK_END_MAGIC): Likewise.
3816 (TMPFS_MAGIC): Likewise.
3817 (USBDEVICE_SUPER_MAGIC): Likewise.
3818 (V9FS_MAGIC): Likewise.
3819 (XENFS_SUPER_MAGIC): Likewise.
3820 (CRAMFS_MAGIC): Fix typo in comment.
3821 (EXT2_SUPER_MAGIC): Update comment.
3822 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3823
464263cc
JM
38242014-02-08 Joseph Myers <joseph@codesourcery.com>
3825
c6bfe5c4
JM
3826 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3827 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3828 * sysdeps/unix/sysv/linux/arm: Move directory from
3829 ports/sysdeps/unix/sysv/linux/arm.
3830 * README: Update listing for arm-*-linux-gnueabi.
3831
464263cc
JM
3832 * README: Remove mention of am33.
3833
32749f6c
RM
38342014-02-07 Roland McGrath <roland@hack.frob.com>
3835
3836 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3837 than the comma operator, to avoid "rhs of comma has no effect"
3838 compiler warnings.
3839 (__sigfillset, __sigandset, __sigorset): Likewise.
3840 * include/signal.h (__sigemptyset): Likewise.
3841 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3842
d5b396c1
AM
38432014-02-07 Allan McRae <allan@archlinux.org>
3844
3845 * version.h (RELEASE): Set to "development".
3846 (VERSION): Set to "2.19.90"
3847 * NEWS: Add 2.20 section.
3848
3bfff2ed
CD
38492014-02-06 Carlos O'Donell <carlos@redhat.com>
3850
3851 [BZ #16529]
3852 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3853
ee7cc385
SP
38542014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3855
3856 * manual/contrib.texi: Update entry for Carlos O'Donell,
3857 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3858
f877c4f2
CD
38592014-02-05 Carlos O'Donell <carlos@rehdat.com>
3860
27e839f6
CD
3861 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3862
f877c4f2
CD
3863 * sysdeps/unix/sysv/linux/kernel-features.h
3864 [__LINUX_KERNEL_VERSION >= 0x020621]
3865 (__ASSUME_PROC_PID_TASK_COMM): Define.
3866
68159946
SP
38672014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3868
ba17cdbd
SP
3869 [BZ #16398]
3870 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3871 conversion when destination buffer does not have enough space.
3872 * libio/tst-ftell-partial-wide.c: New test case.
3873 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3874
68159946
SP
3875 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3876 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3877 Leonard and Allan McRae.
3878
2b528732
DM
38792014-02-04 David S. Miller <davem@davemloft.net>
3880
3881 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3882 32-bit.
3883
0ff82463
AZ
38842014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3885
c01603f7
AZ
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3887 file
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3889 New file
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3891 file.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3893 file.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3895 New file.
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3897 file.
3898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3899 file.
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3901 New file.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3903 New file.
3904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3905 New file.
3906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3907 New file.
3908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3909 New file.
3910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3911 New file.
3912
39132014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3914
0ff82463
AZ
3915 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3916 * shlib-versions: Likewise.
3917
1695c773
AZ
39182014-02-04 Roland McGrath <roland@hack.frob.com>
3919 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3920
3921 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3922 (abilist-pattern): New variable, set to %-le.abilist.
3923
3924 * Makerules (abilist-pattern): New variable.
3925 (vpath): Use $(abilist-pattern) in place of %.abilist.
3926 (check-abi-% pattern rule): Likewise.
3927 (check-abi, update-abi): Likewise.
3928
6c0ce4b4
EW
39292014-02-04 Eric Wong <normalperson@yhbt.net>
3930
3931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3932
dc98b8f5
EW
39332014-02-04 Eric Wong <normalperson@yhbt.net>
3934
3935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3936
481e3524
CD
39372014-02-03 Carlos O'Donell <carlos@redhat.com>
3938
3939 * manual/startup.texi: Add next, previous, and top entries for
3940 the `Program Arguments' and `Environment Variables' nodes.
3941
375592d3
AO
39422014-02-03 Alexandre Oliva <aoliva@redhat.com>
3943
3944 * manual/macros.texi: Add comments before MTASC-safety macros.
3945
f54838ba
AO
3946 * manual/users.texi: Document MTASC-safety properties.
3947
909e12ad
AO
3948 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3949 pthread_getspecific, pthread_setspecific): Format with
3950 @deftypefun, and add @safety note.
3951 * manual/signal.texi: Move comments that analyze the above
3952 functions to their home place.
3953
fd3daba4
AM
39542014-02-03 Allan McRae <allan@archlinux.org>
3955
3956 * po/sl.po: Update Slovenian translation from translation project.
3957
597636d7
AO
39582014-02-02 Alexandre Oliva <aoliva@redhat.com>
3959
3960 * manual/time.texi (timegm): Add missing blank after @c.
3961 Reported by Joseph Myers <joseph@codesourcery.com>.
3962
ee196e3c
AO
39632014-02-01 Alexandre Oliva <aoliva@redhat.com>
3964
3965 * manual/check-safety.sh: New.
3966 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3967
f8d529d5
AO
3968 * manual/terminal.texi: Document MTASC-safety properties.
3969
de55fdf4
AO
3970 * manual/filesys.texi: Document MTASC-safety properties.
3971
c3299c08
AO
3972 * manual/errno.texi: Document MTASC-safety properties.
3973
06e90b14
AO
3974 * manual/intro.texi: Document safety identifiers and
3975 conditionals.
3976
1acd4371
AO
3977 * manual/string.texi (wcstok): Fix prototype.
3978 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3979
23e5b8cb
AO
3980 * manual/time.texi: Document MTASC-safety properties.
3981
11087373
AO
3982 * manual/string.texi: Document MTASC-safety properties.
3983
5da2c93d
AO
3984 * manual/threads.texi: Document MTASC-safety properties.
3985
171e9210
AO
3986 * manual/stdio.texi: Document MTASC-safety properties.
3987
d9e02532
AO
3988 * manual/syslog.texi: Document MTASC-safety properties.
3989
6af8bab7
AO
3990 * manual/sysinfo.texi: Document MTASC-safety properties.
3991
663b02d7
AO
3992 * manual/startup.texi: Document MTASC-safety properties.
3993
973f180b
AO
3994 * manual/socket.texi: Document MTASC-safety properties.
3995
8f3c25c8
AO
3996 * manual/signal.texi: Document MTASC-safety properties.
3997
542210fb
AO
39982014-01-31 Alexandre Oliva <aoliva@redhat.com>
3999
4000 * manual/setjmp.texi: Document MTASC-safety properties.
4001
433c45a2
AO
4002 * manual/search.texi: Document MTASC-safety properties.
4003
c8ce789c
AO
4004 * manual/resource.texi: Document MTASC-safety properties.
4005
19f5d29c
AO
4006 * manual/process.texi: Document MTASC-safety properties.
4007
e2dfb7f4
AO
4008 * manual/platform.texi: Document MTASC-safety properties.
4009
8c1413f5
AO
4010 * manual/pipe.texi: Document MTASC-safety properties.
4011
03483ada
AO
4012 * manual/pattern.texi: Document MTASC-safety properties.
4013
29e7e2df
AO
4014 * manual/message.texi: Document MTASC-safety properties.
4015
9f529d7c
AO
4016 [BZ #12751]
4017 * manual/memory.texi: Document MTASC-safety properties.
4018
27aaa791
AO
4019 * manual/math.texi: Document MTASC-safety properties.
4020
f2d58726
AO
4021 * manual/locale.texi: Document MTASC-safety properties.
4022
2cc3615c
AO
4023 * manual/llio.texi: Document MTASC-safety properties.
4024
d9f0ec97
AO
4025 * manual/libdl.texi: New.
4026
e7c4409a
AO
4027 * manual/lang.texi: Document MTASC-safety properties.
4028
27bdc63c
AO
4029 * manual/job.texi: Document MTASC-safety properties.
4030
a7b90ea9
AO
4031 * manual/getopt.texi: Document MTASC-safety properties.
4032
c49130e3
AO
4033 * manual/ctype.texi: Document MTASC-safety properties.
4034
0d23a5c1
MR
40352014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4036
4037 [BZ #16046]
4038 * csu/libc-tls.c (static_map): Remove variable.
4039 (__libc_setup_tls): Use main executable's link map for TLS data.
4040 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4041 casing for LM_ID_BASE and GL(dl_nns).
4042 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4043 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4044 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4045 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4046 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4047 member.
4048 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4049 l_phnum members.
4050
0037bb60
AO
40512014-01-30 Alexandre Oliva <aoliva@redhat.com>
4052
4053 * manual/debug.texi: Document MTASC-safety properties.
4054
409e00bd
L
40552014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4056
4057 [BZ #16510]
4058 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4059 of __x86_64__ when disabling x87 inline functions.
4060
86e60666
AO
40612014-01-29 Alexandre Oliva <aoliva@redhat.com>
4062
4063 * manual/charset.texi: Document MTASC-safety properties.
4064
76167637
AO
4065 * manual/crypt.texi: Document MTASC-safety properties.
4066
e567f2a0
AO
4067 * manual/conf.texi: Document MTASC-safety properties.
4068
b719dafd
AO
4069 * manual/arith.texi: Document MTASC-safety properties.
4070
4a16c662
AO
4071 * manual/argp.texi: Document MTASC-safety properties.
4072
0a57b83e
AO
4073 * manual/macros.texi: Introduce macros to document multi
4074 thread, asynchronous signal and asynchronous cancellation
4075 safety properties.
4076 * manual/intro.texi: Introduce the properties themselves.
4077
feab2397
KK
40782014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4079
4080 * sysdeps/sh/sh4/Makefile: New file.
4081
1c0d11bc
AS
40822014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4083
4084 * math/gen-libm-test.pl ($srcdir): New variable.
4085 ($auto_input): Use it.
4086
af37a8a3
SP
40872014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4088
d7b00f98
SP
4089 [BZ #16506]
4090 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4091 access beyond array bounds when parsing netgroups file.
4092
af37a8a3
SP
4093 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4094 the old buffer before realloc.
4095
0c00f062
AM
40962014-01-27 Allan McRae <allan@archlinux.org>
4097
4098 * po/fr.po: Update French translation from translation project.
4099
7d69a1b0
KK
41002014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4101
4102 * sysdeps/sh/libm-test-ulps: Regenerate.
4103
6e697ff7
DM
41042014-01-24 David S. Miller <davem@davemloft.net>
4105
4106 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4107
9cadb35c
KK
41082014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4109
4110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4111 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4112
5d41dadf
SP
41132013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4114
4115 [BZ #16474]
4116 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4117 string pointers after reallocation.
4118
0bad441c
KK
41192014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4120
4121 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4122 __SH4A__ instead of __SH_FPU_ANY__.
4123
7007c661
KK
41242014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4125
4126 * sysdeps/sh/fpu_control.h: New file.
4127 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4128 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4129 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4130 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4131 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4132 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4133 * sysdeps/sh/sys/ucontext.h: Remove.
4134 * sysdeps/sh/sys: Remove directory.
4135
0f0c35e4
AK
41362014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4137
4138 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4139 s390/sys/ucontext.h.
4140 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4141 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4142
4959e284
L
41432014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 [BZ #15605]
4146 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4147
d98720e0
AZ
41482014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4149
4150 [BZ#16431]
4151 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4152 Adjust the vDSO correctly for internal calls.
4153 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4154
91cbd0bc
AM
41552014-01-20 Allan McRae <allan@archlinux.org>
4156
4157 * po/ca.po: Update Catalan translation from translation project.
4158
7a02cfad
MF
41592014-01-16 Mike Frysinger <vapier@gentoo.org>
4160
4161 * sysdeps/s390/sotruss-lib.c: New file.
4162
736c304a
AZ
41632014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4164
4165 [BZ#16430]
6e077ee5 4166 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4167 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4168 local calls issues by not having a PLT stub required for IFUNC calls.
4169 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4170
94d0cea0
JM
41712014-01-16 Joseph Myers <joseph@codesourcery.com>
4172
4173 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4174 * math/test-fpucw-static.c: Likewise.
4175
980cb518
SP
41762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4177
4178 [BZ #16453]
4179 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4180
2393fc01
AZ
41812014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4182
4183 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4184 implementation for powerpc.
4185
d359bcc2
OB
41862014-01-15 Ondřej Bílka <neleai@seznam.cz>
4187
4188 [BZ #14782]
4189 * sysdeps/posix/system.c (__libc_system): Do not enable
4190 asynchronous cancellation.
4191
7beb48cb
AK
41922014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4193
4194 [BZ #16427]
4195 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4196 handling only for numbers special also in the IEEE case.
4197
c20d5bf5
AK
41982014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4199
4200 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4201
e83bd4ee
AM
42022014-01-11 Allan McRae <allan@archlinux.org>
4203
76d0ea69
AM
4204 * po/bg.po: Update Bulgarian translation from translation project.
4205
e83bd4ee
AM
4206 * po/de.po: Update German translation from translation project.
4207
bc2ba20a
RM
42082014-01-10 Roland McGrath <roland@hack.frob.com>
4209
4210 * sysdeps/generic/gcc-compat.h: New file.
4211
649ecea2
SP
42122014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4213
4214 * benchtests/asin-inputs: Correct slow inputs.
4215 * benchtests/acos-inputs: Likewise.
4216
1b19c006
AM
42172014-01-10 Allan McRae <allan@archlinux.org>
4218
a46dab08
AM
4219 * po:sv.po: Update Swedish translation from translation project.
4220
421df74a
AM
4221 * po/vi.po: Update Vietnamese translation from translation project.
4222
d61c51a7
AM
4223 * po/eo.po: Update Esperanto translation from translation project.
4224
0339a319
AM
4225 * po/cs.po: Update Czech translation from translation project.
4226
94ad3e99
AM
4227 * po/nl.po: Update Dutch translation from translation project.
4228
e349ca71
AM
4229 * po/pl.po: Update Polish translation from translation project.
4230
ddf930c1
AM
4231 * po/ru.po: Update Russian translation from translation project.
4232
1b19c006
AM
4233 * po/uk.po: Update Ukrainian translation from translation project.
4234
9f236c49
BM
42352014-01-08 Brooks Moses <bmoses@google.com>
4236
4237 * elf/dl-load.c: Fix comment typo.
4238
cd6701cf
CD
42392014-01-08 Carlos O'Donell <carlos@redhat.com>
4240
4241 * po/header.pot: Rename to...
4242 * po/pot.header: ... this.
4243 * po/Makefile: Use pot.header.
4244
66671c84
YK
42452014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4246 Maxim Kuvyrkov <maxim@kugelworks.com>
4247
4248 [BZ #16394]
cd6701cf
CD
4249 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4250 SRC and DEST against LEN.
66671c84 4251
38f34581
AZ
42522014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4253
4254 [BZ #16414]
4255 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4256 implementation.
4257 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4258
42592014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4260
4261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4262
4c327f2a
JM
42632014-01-08 Joseph Myers <joseph@codesourcery.com>
4264
4265 [BZ #16408]
4266 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4267 for large positive arguments.
4268
b821f414
JM
42692014-01-07 Joseph Myers <joseph@codesourcery.com>
4270
1f0f2067
JM
4271 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4272
a5a326f6
JM
4273 * math/auto-libm-test-in: Mark various tests with
4274 xfail-rounding:ldbl-128ibm.
4275 * math/auto-libm-test-out: Regenerated.
4276
b821f414
JM
4277 [BZ #16407]
4278 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4279 Increase overflow threshold.
4280
94c8a4bc
OB
42812014-01-07 Ondřej Bílka <neleai@seznam.cz>
4282
4283 [BZ #14286]
4284 * stdio-common/vfprintf.c: Check for integer overflow.
4285
87ded0c3
AK
42862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4287
4288 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4289 the first argument and return value of __tls_get_addr_internal.
4290
c5eebdd0
AK
42912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4292
4293 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4294 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4295
05d138ef
AK
42962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4297
4298 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4299 * sysdeps/s390/rtld-global-offsets.sym: New file.
4300 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4301 GLIBC_2.19 symbol.
4302 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4303 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4304 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4305 ... this.
4306 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4307 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4308 ... this.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4310 Regenerate.
4311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4312 Regenerate.
4313 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4314 halfs of GPRs for high_gprs contexts.
4315 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4316 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4317 field.
4318 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4319 uc_flags field.
4320 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4321 64 bit versions:
4322 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4323 for high GPRs (uc_high_gprs) and for future extensions
4324 (__reserved).
4325 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4326 for future extensions (__reserved).
4327 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4328 64 bit versions:
4329 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4330 SC_HIGHGPRS offset definition.
4331 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4332 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4333
93a45ff1
AK
43342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4335
4336 * Versions.def: Add GLIBC_2.19 for libpthread.
4337 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4338 siglongjmp for libpthread with GLIBC_2.19 symver.
4339 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4340 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4341 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4342 * sysdeps/s390/__longjmp.c: New file.
4343 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4344 * sysdeps/s390/longjmp.c: New file.
4345 * sysdeps/s390/setjmp.S: New file.
4346 * sysdeps/s390/sigjmp.S: New file.
4347 * sysdeps/s390/v1-longjmp.c: New file.
4348 * sysdeps/s390/v1-setjmp.h: New file.
4349 * sysdeps/s390/v1-sigjmp.c: New file.
4350 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4351 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4352 GLIBC_2.19 version.
4353 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4354 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4355 versioned symbols for ____longjmp_chk.
4356 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4357 Likewise.
4358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4359 Regenerate.
4360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4361 Regenerate.
4362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4363 Regenerate.
4364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4365 Regenerate.
4366 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4367 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4368 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4369 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4370 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4371 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4372 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4373 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4374 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4375 * sysdeps/s390/rtld-__longjmp.c: New file.
4376 * sysdeps/s390/rtld-setjmp.S: New file.
4377
eb3fc44b
JM
43782014-01-06 Joseph Myers <joseph@codesourcery.com>
4379
4380 [BZ #16400]
4381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4382 Return -__logl (x) for small positive arguments without evaluating
4383 a polynomial.
4384
9341dde4
MF
43852014-01-06 Mike Frysinger <vapier@gentoo.org>
4386
4387 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4388 Rename to ...
4389 (__ptrace_peeksiginfo_args): ... this.
4390 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4391 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4393
4cff0293
AM
43942014-01-06 Allan McRae <allan@archlinux.org>
4395
4396 * inet/netinet/in.h: Fix typo in comment.
4397
75595dcf
AJ
43982014-01-05 Andreas Jaeger <aj@suse.de>
4399
4400 * sysdeps/i386/fpu/libm-test-ulps: Update.
4401
79c1e109
AM
44022014-01-05 Allan McRae <allan@archlinux.org>
4403
dd804818
AM
4404 * po/libc.pot: Regenerated.
4405
79c1e109
AM
4406 * malloc/memusagestat.c: Fix gettext call formatting.
4407
0c813d1f
SK
44082014-01-04 Sami Kerola <kerolasa@iki.fi>
4409
4410 * nscd/nscd.c: Improve usage() output.
4411
20f4a8d9
MF
44122014-01-04 Mike Frysinger <vapier@gentoo.org>
4413
4414 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4415 * sysdeps/unix/sysv/linux/configure: Regenerated.
4416 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4417 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4418
22562bb2
JM
44192014-01-03 Joseph Myers <joseph@codesourcery.com>
4420
4421 [BZ #16390]
4422 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4423 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4424
d7ad2d9b
AZ
44252014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4426
4427 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4428 extra tokens at end of #undef directive.
4429 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4430 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4431 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4432
7dd009d8
JM
44332014-01-03 Joseph Myers <joseph@codesourcery.com>
4434
24db925a
JM
4435 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4436
7dd009d8
JM
4437 * math/auto-libm-test-in: Mark various tests with
4438 xfail-rounding:ldbl-128ibm.
4439 * math/auto-libm-test-out: Regenerated.
4440
396e3ecf
JM
44412014-01-02 Joseph Myers <joseph@codesourcery.com>
4442
819e5d50
JM
4443 [BZ #16386]
4444 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4445 numbers with subnormal high part when calculating exponent.
4446
90b6a1e5
JM
4447 [BZ #16385]
4448 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4449 fabs.
4450
396e3ecf
JM
4451 [BZ #16384]
4452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4453 M_LN2l.
4454 (__ieee754_acoshl): Use __log1pl not __log1p.
4455
6c8dbf00
OB
44562013-01-02 Ondřej Bílka <neleai@seznam.cz>
4457
4458 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4459 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4460 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4461 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4462 Convert to GNU style.
4463 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4464 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4465 memalign_check, __malloc_set_state): Likewise.
4466 * malloc/mallocbug.c (main): Likewise.
4467 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4468 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4469 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4470 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4471 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4472 * malloc/malloc.h: Likewise.
4473 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4474 memalignhook, reallochook, mabort): Likewise.
4475 * malloc/mcheck.h: Likewise.
4476 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4477 mmap64, mremap, munmap, dest): Likewise.
4478 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4479 * malloc/morecore.c (__default_morecore): Likewise.
4480 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4481 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4482 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4483 print_and_abort): Likewise.
4484 * malloc/obstack.h: Likewise.
4485 * malloc/set-freeres.c (__libc_freeres): Likewise.
4486 * malloc/tst-mallocstate.c (main): Likewise.
4487 * malloc/tst-mtrace.c (main): Likewise.
4488 * malloc/tst-realloc.c (do_test): Likewise.
4489
d4124212
SP
44902013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4491
9a3c6a6f
SP
4492 [BZ #16366]
4493 * nscd/netgroupcache.c (do_notfound): New function.
4494 (addgetnetgrentX): Use it.
4495
d4124212
SP
4496 [BZ # 16365]
4497 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4498 NSS_STATUS_NOTFOUND.
4499
97b9a009
JM
45002014-01-01 Joseph Myers <joseph@codesourcery.com>
4501
4502 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4504
d4697bc9
AM
45052014-01-01 Allan McRae <allan@archlinux.org>
4506
ddb3687f
AM
4507 * scripts/update-copyrights: Update configure input file suffix.
4508
88726d48
AM
4509 * NEWS: Update copyright year.
4510 * catgets/gencat.c: Likewise.
4511 * csu/version.c: Likewise.
4512 * debug/catchsegv.sh: Likewise.
4513 * debug/pcprofiledump.c: Likewise.
4514 * debug/xtrace.sh: Likewise.
4515 * elf/ldconfig.c: Likewise.
4516 * elf/ldd.bash.in: Likewise.
4517 * elf/pldd.c: Likewise.
4518 * elf/sotruss.ksh: Likewise.
4519 * elf/sprof.c: Likewise.
4520 * iconv/iconv_prog.c: Likewise.
4521 * iconv/iconvconfig.c: Likewise.
4522 * locale/programs/locale.c: Likewise.
4523 * locale/programs/localedef.c: Likewise.
4524 * login/programs/pt_chown.c: Likewise.
4525 * malloc/memusage.sh: Likewise.
4526 * malloc/memusagestat.c: Likewise.
4527 * malloc/mtrace.pl: Likewise.
4528 * manual/libc.texinfo: Likewise.
4529 * nscd/nscd.c: Likewise.
4530 * nss/getent.c: Likewise.
4531 * nss/makedb.c: Likewise.
4532 * posix/getconf.c: Likewise.
4533 * scripts/test-installation.pl: Likewise.
4534
d4697bc9
AM
4535 * All files with FSF copyright notices: Update copyright dates
4536 using scripts/update-copyrights.
4537 * intl/plural.c: Regenerated.
4538 * locale/programs/charmap-kw.h: Likewise.
4539 * locale/programs/locfile-kw.h: Likewise.
4540
c8590f9d
MF
45412013-12-31 Mike Frysinger <vapier@gentoo.org>
4542
4543 * sysdeps/unix/sysv/linux/configure: Regenerated.
4544 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4545 the linux/fanotify.h header.
4546 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4547 HAVE_LINUX_FANOTIFY_H is defined.
4548
b19221b9
SP
45492013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4550
dd1d85e5
SP
4551 * benchtests/cos-inputs: New inputs.
4552 * benchtests/sin-inputs: Likewise.
4553
1acbb90f
SP
4554 * benchtests/atan-inputs: New inputs. Fix name of multiple
4555 precision fallback inputs.
4556
4c012ed3
SP
4557 * benchtests/atanh-inputs: New inputs.
4558 * benchtests/tanh-inputs: Likewise.
4559
eff98324
SP
4560 * benchtests/acosh-inputs: New inputs.
4561 * benchtests/asinh-inputs: Likewise.
4562
ce641152
SP
4563 * benchtests/cosh-inputs: New inputs.
4564 * benchtests/sinh-inputs: Likewise.
4565
b19221b9
SP
4566 * benchtests/acos-inputs: Add more inputs.
4567 * benchtests/asin-inputs: Likewise.
4568
030a4976 45692013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4570
030a4976 4571 [BZ #16375]
9dcc8f11
VS
4572 * manual/arith.texi: Fix spelling.
4573 * manual/charset.texi: Likewise.
4574 * manual/errno.texi: Likewise.
4575 * manual/filesys.texi: Likewise.
4576 * manual/lang.texi: Likewise.
4577 * manual/llio.texi: Likewise.
4578 * manual/locale.texi: Likewise.
4579 * manual/message.texi: Likewise.
4580 * manual/resource.texi: Likewise.
4581 * manual/search.texi: Likewise.
4582 * manual/setjmp.texi: Likewise.
4583 * manual/stdio.texi: Likewise.
4584 * manual/string.texi: Likewise.
4585 * manual/sysinfo.texi: Likewise.
4586 * manual/time.texi: Likewise.
4587
11520a57
CD
45882013-12-27 Carlos O'Donell <carlos@redhat.com>
4589
4590 * po/sl.po: New file.
4591
471103ae
MF
45922013-12-27 Mike Frysinger <vapier@gentoo.org>
4593
4594 * .gitignore: Add core/.gdbinit/.gdb_history.
4595
6c9642ed
AM
45962013-12-27 Allan McRae <allan@archlinux.org>
4597
4598 [BZ #16369]
4599 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4600 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4601
3f637079
BM
46022013-12-24 Brooks Moses <bmoses@google.com>
4603
4604 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4605 all compilers that claim C++98 compliance, not just GCC.
4606 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4607 Likewise.
4608
abc26e99
MK
46092013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4610
4611 * NEWS: Restore accidentally deleted bug-fix entries.
4612
362b47fe
MK
46132013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4614 Ondřej Bílka <neleai@seznam.cz>
4615
4616 [BZ #15073]
4617 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4618 have_lock.
362b47fe 4619
b9bcbbcb
OB
46202013-12-23 Ondřej Bílka <neleai@seznam.cz>
4621
4622 [BZ #12986]
4623 * manual/stdio.texi (String Input Conversions): Clarify that character
4624 classes are not supported.
4625
fb55fcd2
AZ
46262013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4627
4628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4629
ef7344f0
JM
46302013-12-22 Joseph Myers <joseph@codesourcery.com>
4631
4f40e4b3
JM
4632 [BZ #16337]
4633 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4634 Calculate results for small negative arguments directly rather
4635 than using reflection formula with special underflow handling.
4636
ef7344f0
JM
4637 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4638 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4639 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4640 (fchflags): Likewise.
4641 (revoke): Likewise.
4642 (setlogin): Likewise.
4643 (sigaltstack): Likewise.
4644 (wait4): Likewise.
4645 (sigblock): Remove.
4646 (sigsetmask): Likewise.
4647 (wait3): Likewise.
4648 (waitpid): Likewise.
4649 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4650 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4651 file.
4652 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4653 * sysdeps/unix/bsd/Makefile: ... here.
4654 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4655 * sysdeps/unix/bsd/Versions: ... here.
4656 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4657 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4658 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4659 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4660 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4661 * sysdeps/unix/bsd/sigblock.c: ... here.
4662 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4663 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4664 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4665 * sysdeps/unix/bsd/sigvec.c: ... here.
4666 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4667 * sysdeps/unix/bsd/tcdrain.c: ... here.
4668 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4669 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4670 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4671 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4672 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4673 * sysdeps/unix/bsd/wait.c: ... here.
4674 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4675 * sysdeps/unix/bsd/wait3.c: ... here.
4676 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4677 * sysdeps/unix/bsd/waitpid.c: ... here.
4678
5b0626b9
JM
46792013-12-21 Joseph Myers <joseph@codesourcery.com>
4680
4681 [BZ #16356]
4682 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4683 round-to-nearest for [!USE_AS_EXPM1L].
4684 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4685 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4686 more tests of exp and exp10. Expect some exp10 tests to miss
4687 exceptions or fail in directed rounding modes.
4688 * math/auto-libm-test-out: Regenerated.
4689 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4690 (exp10_test_tonearest): New function.
4691 (exp10_towardzero_test_data): New array.
4692 (exp10_test_towardzero): New function.
4693 (exp10_downward_test_data): New array.
4694 (exp10_test_downward): New function.
4695 (exp10_upward_test_data): New array.
4696 (exp10_test_upward): New function.
4697 (main): Call the new functions.
4698 * sysdeps/i386/fpu/libm-test-ulps: Update.
4699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4700
7fda5682
JM
47012013-12-20 Joseph Myers <joseph@codesourcery.com>
4702
31e3a405
JM
4703 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4704 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4705 * math/auto-libm-test-out: Regenerated.
4706 * math/libm-test.inc (acosh_test_data): Add more tests.
4707 (atanh_test_data): Likewise.
4708 (ceil_test_data): Likewise.
4709 (copysign_test_data): Likewise.
4710 * sysdeps/i386/fpu/libm-test-ulps: Update.
4711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4712
85bff96a
JM
4713 * timezone/checktab.awk: Update from tzcode 2013i.
4714 * timezone/private.h: Likewise.
4715 * timezone/scheck.c: Likewise.
4716 * timezone/tzfile.h: Likewise.
4717 * timezone/tzselect.ksh: Likewise.
4718 * timezone/zdump.c: Likewise.
4719 * timezone/zic.c: Likewise.
4720
b7867a3b
JM
4721 * math/auto-libm-test-in: Add tests of cpow.
4722 * math/auto-libm-test-out: Regenerated.
4723 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4724 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4725 mpc_cc_c.
4726 (func_calc_desc): Add mpc_cc_c union field.
4727 (test_functions): Add cpow.
4728 (special_fill_2pi): New function.
4729 (special_real_inputs): Add 2pi.
4730 (calc_generic_results): Handle mpc_cc_c.
4731 * sysdeps/i386/fpu/libm-test-ulps: Update.
4732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4733
7fda5682
JM
4734 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4735 csqrt, ctan and ctanh.
4736 * math/auto-libm-test-out: Regenerated.
4737 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4738 (TEST_COND_x86): Likewise.
4739 (ccos_test_data): Use AUTO_TESTS_c_c.
4740 (ccosh_test_data): Likewise.
4741 (cexp_test_data): Likewise.
4742 (clog_test_data): Likewise.
4743 (csqrt_test_data): Likewise.
4744 (ctan_test_data): Likewise.
4745 (ctan_tonearest_test_data): Likewise.
4746 (ctan_towardzero_test_data): Likewise.
4747 (ctan_downward_test_data): Likewise.
4748 (ctan_upward_test_data): Likewise.
4749 (ctanh_test_data): Likewise.
4750 (ctanh_tonearest_test_data): Likewise.
4751 (ctanh_towardzero_test_data): Likewise.
4752 (ctanh_downward_test_data): Likewise.
4753 (ctanh_upward_test_data): Likewise.
4754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4755 mpc_c_c.
4756 (func_calc_desc): Add mpc_c_c union field.
4757 (FUNC_mpc_c_c): New macro.
4758 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4759 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4760 ctanh.
4761 (special_fill_min_subnorm_p120): New function.
4762 (special_real_inputs): Add min_subnorm_p120.
4763 (calc_generic_results): Handle mpc_c_c.
4764 * sysdeps/i386/fpu/libm-test-ulps: Update.
4765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4766
5ff8d60e
SP
47672013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4768
392dd2de
SP
4769 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4770 do_sin_slow): New functions.
4771 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4772 cslow2, csloww1, csloww2): Use the new functions.
4773
84ba214c
SP
4774 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4775 Use M to change sign of result instead of X. Assume X is
4776 positive.
4777 (csloww1): Likewise.
4778 (__sin): Adjust.
4779 (__cos): Adjust.
4780
975195e4
SP
4781 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4782 arguments A and DA.
4783 (__sin): Adjust.
4784 (__cos): Likewise.
4785
5ff8d60e
SP
4786 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4787 (__cos): Likewise.
4788 (sloww1): Don't adjust sign of DX.
4789 (csloww1): Likewise.
4790 (sloww2): Use X directly and don't adjust sign of DX.
4791 (csloww2): Likewise.
4792
eb983568
JM
47932013-12-19 Joseph Myers <joseph@codesourcery.com>
4794
64a17f1a
JM
4795 * math/auto-libm-test-in: Add tests of cabs and carg.
4796 * math/auto-libm-test-out: Regenerated.
4797 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4798 (carg_test_data): Likewise.
4799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4800 mpc_c_f.
4801 (func_calc_desc): Add mpc_c_f union field.
4802 (test_functions): Add cabs and carg.
4803 (calc_generic_results): Handle mpc_c_f.
4804
eb983568
JM
4805 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4806 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4807 as a macro and a compat symbol.
4808 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4809 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4810 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4811 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4812 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4813 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4814 not use .hidden.
4815 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4816 Likewise.
4817 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4818 Likewise.
4819 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4820 Likewise.
4821 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4822 Likewise.
4823 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4824 Likewise.
4825 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4826 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4827 from GLIBC_2.3.2.
4828
6eeb678a
AZ
48292013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4830
4831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4832
6f6fc482
JM
48332013-12-19 Joseph Myers <joseph@codesourcery.com>
4834
21fea2e2
JM
4835 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4836 trailing whitespace removed.
4837 * scripts/config.guess: Update to version 2013-11-29.
4838 * scripts/config.sub: Update to version 2013-10-01.
4839
6f6fc482
JM
4840 * math/auto-libm-test-in: Add tests of sincos.
4841 * math/auto-libm-test-out: Regenerated.
4842 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4843 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4844 mpfr_f_11.
4845 (func_calc_desc): Add mpfr_f_11 union field.
4846 (test_functions): Add sincos.
4847 (calc_generic_results): Handle mpfr_f_11.
4848 * sysdeps/i386/fpu/libm-test-ulps: Update.
4849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4850
83f5c32d
AS
48512013-12-19 Andreas Schwab <schwab@suse.de>
4852
4853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4854 CALL_MCOUNT.
4855 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4856 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4857 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4858
c688b419
JM
48592013-12-19 Joseph Myers <joseph@codesourcery.com>
4860
335ee092
JM
4861 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4862 * sysdeps/i386/fpu/libm-test-ulps: Update.
4863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4864
f88acd39
JM
4865 [BZ #16293]
4866 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4867 round-to-nearest mode when using frndint.
4868 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4869 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4871 Likewise.
4872 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4873 sinh test to fail.
4874 * math/auto-libm-test-out: Regenerated.
4875 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4876 (TEST_COND_x86): Likewise.
4877 (expm1_tonearest_test_data): New array.
4878 (expm1_test_tonearest): New function.
4879 (expm1_towardzero_test_data): New array.
4880 (expm1_test_towardzero): New function.
4881 (expm1_downward_test_data): New array.
4882 (expm1_test_downward): New function.
4883 (expm1_upward_test_data): New array.
4884 (expm1_test_upward): New function.
4885 (main): Run the new test functions.
4886 * sysdeps/i386/fpu/libm-test-ulps: Update.
4887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4888
c688b419
JM
4889 * include/features.h: Update comment documenting feature test
4890 macros. Mention _DEFAULT_SOURCE in comment.
4891 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4892 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4893 _BSD_SOURCE and _SVID_SOURCE.
4894 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4895 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4896 !_SVID_SOURCE]: Likewise.
4897 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4898 (__USE_POSIX_IMPLICITLY): Define.
4899 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4900 (_POSIX_SOURCE): Undefine and redefine.
4901 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4902 (_POSIX_C_SOURCE): Likewise.
4903 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4904 (Feature Test Macros): Update documentation of default features.
4905
9f6e964c
RS
49062013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4907
4908 * benchtests/Makefile: Add bench-strtok.
4909 * benchtests/bench-strtok.c: New file: strtok benchtest.
4910
ee0a148a
AM
49112013-12-19 Allan McRae <allan@archlinux.org>
4912
4913 * manual/install.texi: Suppress menu for plain text output.
4914 * INSTALL: Regenerated.
4915
b9ab448f
BM
49162013-12-18 Brooks Moses <bmoses@google.com>
4917
4918 [BZ #15846]
4919 * misc/getauxval.c: Include errno.h.
4920 (__getauxval): Set errno to ENOENT if the requested type is not
4921 found.
4922 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4923 don't declare with __attribute_const__.
4924 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4925 * manual/startup.texi: Document that getauxval sets errno.
4926
23776487
JM
49272013-12-18 Joseph Myers <joseph@codesourcery.com>
4928
f889953b
JM
4929 * math/auto-libm-test-in: Add tests of jn and yn.
4930 * math/auto-libm-test-out: Regenerated.
4931 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4932 (yn_test_data): Likewise.
4933 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4934 mpfr_if_f.
4935 (func_calc_desc): Add mpfr_if_f union field.
4936 (FUNC_mpfr_if_f): New macro.
4937 (test_functions): Add jn and yn.
4938 (calc_generic_results): Assert type of second input for
4939 mpfr_ff_f. Handle mpfr_if_f.
4940 (output_for_one_input_case): Disable all checking for arguments
4941 fitting floating-point types in case of an integer argument.
4942 * sysdeps/i386/fpu/libm-test-ulps: Update.
4943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4944
23776487
JM
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4946 Don't expect fegetround reference in libm.so.
4947
cb756c6d
MS
49482013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4949
4950 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4951 $(config-cflags-nofma).
4952
2dec468f
JM
49532013-12-18 Joseph Myers <joseph@codesourcery.com>
4954
5953eb3a
JM
4955 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4956 * math/auto-libm-test-out: Regenerated.
4957
2dec468f
JM
4958 [BZ #16338]
4959 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4960 to determine exponent and adjust argument to have exponent of -1.
4961 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4962 log2.
4963 * math/auto-libm-test-out: Regenerated.
4964 * sysdeps/i386/fpu/libm-test-ulps: Update.
4965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4966
4d84e6ad
OB
49672013-12-18 Ondřej Bílka <neleai@seznam.cz>
4968
4969 * manual/probes.texi: Remove cases when per-thread arenas are
4970 disabled.
4971
1818483b
AS
49722013-12-18 Andreas Schwab <schwab@suse.de>
4973
4974 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4975 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4976 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4977 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4978 * sysdeps/i386/i686/multiarch/Makefile: Update.
4979 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4980
25de95bf
JM
49812013-12-17 Joseph Myers <joseph@codesourcery.com>
4982
4983 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4984 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4985
674762d9
PE
49862013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4987
ed27ed83 4988 [BZ #15968]
0748546f
PE
4989 Support TZ transition times < 00:00:00.
4990 This is needed for version-3 tz-format files; it supports time
4991 stamps past 2037 for America/Godthab (the only entry in the tz
4992 database for which this change is relevant).
4993 * manual/time.texi (TZ Variable): Document transition times
4994 from -167:59:59 through -00:00:01.
4995 * time/tzset.c (tz_rule): Time of day is now signed.
4996 (__tzset_parse_tz): Parse negative time of day.
4997
4480e934
PE
4998 Document TZ transition times >= 25:00:00.
4999 * manual/time.texi (TZ Variable): Document transition times from
5000 25:00:00 through 167:59:59. These are already supported, and this
5001 support will help with version-3 tz-format files.
5002
69947401
PE
5003 * manual/time.texi (TZ Variable): Modernize North America example
5004 to reflect current (i.e., 2007-and-later) daylight saving rules.
5005
674762d9
PE
5006 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5007
7011c262
JM
50082013-12-17 Joseph Myers <joseph@codesourcery.com>
5009
2fc6557e
JM
5010 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5011 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5013 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5014 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5015 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5016 * sysdeps/unix/bsd/clock.c: Likewise.
5017 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5018 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5019 * sysdeps/unix/bsd/init-posix.c: Likewise.
5020 * sysdeps/unix/bsd/poll.c: Likewise.
5021 * sysdeps/unix/bsd/ptsname.c: Likewise.
5022 * sysdeps/unix/bsd/seekdir.c: Likewise.
5023 * sysdeps/unix/bsd/setegid.c: Likewise.
5024 * sysdeps/unix/bsd/seteuid.c: Likewise.
5025 * sysdeps/unix/bsd/setgid.c: Likewise.
5026 * sysdeps/unix/bsd/setrgid.c: Likewise.
5027 * sysdeps/unix/bsd/setruid.c: Likewise.
5028 * sysdeps/unix/bsd/setsid.c: Likewise.
5029 * sysdeps/unix/bsd/setuid.c: Likewise.
5030 * sysdeps/unix/bsd/sigaction.c: Likewise.
5031 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5032 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5033 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5034 * sysdeps/unix/bsd/telldir.c: Likewise.
5035 * sysdeps/unix/bsd/times.c: Likewise.
5036 * sysdeps/unix/bsd/usleep.c: Likewise.
5037
029c7b25
JM
5038 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5039 ($(objpfx)libbsd-compat.a): Remove rule.
5040
7011c262
JM
5041 * include/features.h (__FAVOR_BSD): Do not define.
5042 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5043 features conflicting with POSIX.
5044 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5045 (_BSD_SOURCE): Remove description of not being a subset of other
5046 feature test macros.
5047 * manual/job.texi (getpgrp): Do not document BSD version.
5048 (getpgid): Do not document by reference to BSD getpgrp.
5049 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5050 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5051 * signal/signal.h [__FAVOR_BSD]: Likewise.
5052 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5053 instead of making contents conditional on [__FAVOR_BSD].
5054 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5055
affb6f78
AZ
50562013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5057
5058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5059
c88769dd
JM
50602013-12-17 Joseph Myers <joseph@codesourcery.com>
5061
6432a540
JM
5062 [BZ #16314]
5063 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5064 values below 2**-450, not 2**-500.
5065 * math/auto-libm-test-in: Don't allow spurious underflow from
5066 hypot.
5067 * math/auto-libm-test-out: Regenerated.
5068
c88769dd
JM
5069 [BZ #16316]
5070 [BZ #16330]
5071 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5072 values of ha and hb and sort them after adjusting subnormal
5073 arguments.
5074 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5075 Likewise.
5076 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5077 values of ea and eb and sort them after adjusting subnormal
5078 arguments.
5079 * math/auto-libm-test-in: Do not expect some hypot tests of
5080 subnormals to fail. Add more hypot tests.
5081 * math/auto-libm-test-out: Regenerated.
5082
29618f6b
KK
50832013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5084
5085 [BZ #13304]
5086 * sysdeps/sh/s_fma.c: New file.
5087 * sysdeps/sh/s_fmaf.c: New file.
5088 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5089 version.
5090 * sysdeps/sh/Implies: Add sh/soft-fp.
5091
eacfdfbf
RM
50922013-12-16 Roland McGrath <roland@hack.frob.com>
5093
5094 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5095 level of indirection to members `objname', `errstring', `malloced'.
5096 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5097 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5098 it as the __longjmp argument (just pass 1 instead).
5099 (_dl_catch_error): Initialize C with argument pointers and address of
5100 volatile local ERRCODE rather than copying values out of C at return.
5101
ff362e5b
JM
51022013-12-16 Joseph Myers <joseph@codesourcery.com>
5103
5104 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5105 * math/auto-libm-test-out: Regenerated.
5106 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5107 (hypot_test_data): Likewise.
5108 (pow_test_data): Likewise.
5109 (pow_tonearest_test_data): Likewise.
5110 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5111 mpfr_ff_f.
5112 (func_calc_desc): Add mpfr_ff_f union field.
5113 (FUNC_mpfr_ff_f): New macro.
5114 (test_functions): Add atan2, hypot and pow.
5115 (special_fill_min): New function.
5116 (special_fill_minus_min): Likewise.
5117 (special_fill_min_subnorm): Likewise.
5118 (special_fill_minus_min_subnorm): Likewise.
5119 (special_real_inputs): Add min, -min, min_subnorm and
5120 -min_subnorm.
5121 (calc_generic_results): Handle mpfr_ff_f.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124
5764c27f
WN
51252013-12-16 Will Newton <will.newton@linaro.org>
5126
5127 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5128 (Aligned Memory Blocks): Add documentation for aligned_alloc
5129 and suggest it as an alternative to posix_memalign.
5130 (Hooks for Malloc): Document __memalign_hook is also called
5131 for aligned_alloc. (Summary of Malloc): Add summary for
5132 aligned alloc. Document __memalign_hook is also called
5133 for aligned_alloc.
5134
0a096e44
WN
51352013-12-16 Will Newton <will.newton@linaro.org>
5136
5137 * manual/memory.texi (Malloc Examples): Clarify default
5138 alignment documentation. Suggest posix_memalign rather
5139 than memalign or valloc.
5140 (Aligned Memory Blocks): Remove suggestion to use memalign
5141 or valloc. Remove obsolete comment about BSD.
5142 Document memalign errno values and mark the function obsolete.
5143 Document posix_memalign returned error codes. Mark valloc
5144 as obsolete. (Hooks for Malloc): __memalign_hook is also
5145 called for posix_memalign and valloc.
5146 (Summary of Malloc): Add posix_memalign to function summary.
5147 __memalign_hook is also called for posix_memalign and valloc.
5148
8d561986
SP
51492013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5150
5151 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5152 TAYLOR_SIN.
5153 (__sin): Adjust.
5154 (__cos): Likewise.
5155 (sloww): Use mynumber union. Expand ternary operator into
5156 if-else statements.
5157 (cslow): use mynumber union.
5158
73616a74
AM
51592013-12-16 Allan McRae <allan@archlinux.org>
5160
9e8ac24b
AM
5161 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5162 * configure: Regenerated.
5163
6f8e37eb
AM
5164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5165
8894bad3
AM
5166 [BZ #14120]
5167 * configure.ac: Added --enable-maintainer-mode. Check for
5168 autoconf when enabled.
5169 * configure: Regenerated.
5170
73616a74
AM
5171 * nscd/nscd.service: New file.
5172 * nscd/nscd.tmpfiles: New file.
5173
584b18eb
OB
51742013-12-14 Ondřej Bílka <neleai@seznam.cz>
5175
5176 [BZ #12100]
5177 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5178 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5179 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5180 (strstr): Add __strstr_sse2_unaligned ifunc.
5181 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5182 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5183 (strcasestr): Remove __strcasestr_sse42 ifunc.
5184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5187
8a5c7897
KK
51882013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5189
5190 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5191 * sysdeps/sh/bits/fenv.h: ... here.
5192 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5193
fd712ef3
AZ
51942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5195
5196 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5197
42fcb46c
AZ
51982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5199
5200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5201 hypotf multiarch implementations.
5202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5204 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5205 multiarch hypot for PPC64.
5206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5209 multiarch hypotf for PPC64.
5210
83efded4
AZ
52112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212
5213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5214 modff multiarch implementations.
5215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5218 multiarch modf for PPC64.
5219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5222 multiarch modff for PPC64.
5223
43e246d2
AZ
52242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225
5226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5227 and logl multiarch implementations.
5228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5231 multiarch logb for PPC64.
5232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5235 multiarch logb for PPC64.
5236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5239 multiarch logb for PPC64.
5240
8fdad123
AZ
52412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5242
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5244 isinff multiarch implementation.
5245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5246 file.
5247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5249 multiarch isinf for PPC64.
5250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5251 file.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5253 multiarch isinff for PPC64.
5254
1481d706
AZ
52552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5256
5257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5258 finitef multiarch implementation.
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5260 file.
5261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5263 multiarch finite for PPC64.
5264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5265 file.
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5267 multiarch finitef for PPC64.
5268
5ccd5fc8
AZ
52692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5270
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5272 lrint multiarch implementation.
5273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5274 file.
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5277 multiarch llrint for PPC64.
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5279 multiarch lrint for PPC64.
5280
2568f3fa
AZ
52812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5282
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5284 copysignf multiarch implementation.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5286 file.
5287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5288 file.
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5290 multiarch copysign for PPC64.
5291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5292 multiarch copysignf for PPC64.
5293
1cb341fd
AZ
52942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5295
5296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5297 multiarch implementation.
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5299 file.
5300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5301 file.
5302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5303 file.
5304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5305 file.
5306 multiarch llround for PPC64.
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5308 multiarch trunc for PPC64.
5309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5310 multiarch truncf for PPC64.
5311
59a3e194
AZ
53122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5313
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5315 multiarch implementation.
5316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5317 file.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5319 file.
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5321 file.
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5323 file.
5324 multiarch llround for PPC64.
5325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5326 multiarch round for PPC64.
5327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5328 multiarch roundf for PPC64.
5329
357fd3b4
AZ
53302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5331
5332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5333 multiarch implementation.
5334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5335 file.
5336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5337 file.
5338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5339 file.
5340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5341 file.
5342 multiarch llround for PPC64.
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5344 multiarch floor for PPC64.
5345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5346 multiarch floorf for PPC64.
5347
96770f12
AZ
53482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5349
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5351 multiarch implementation.
5352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5353 file.
5354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5355 file.
5356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5357 file.
5358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5359 file.
5360 multiarch llround for PPC64.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5362 multiarch ceil for PPC64.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5364 multiarch ceilf for PPC64.
5365
c3627f6e
AZ
53662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5369 multiarch implementation.
5370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5371 file.
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5373 file.
5374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5375 file.
5376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5377 multiarch llround for PPC64.
5378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5379 multiarch lround for PPC64.
5380
b2284ad7
AZ
53812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5382
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5384 multiarch implementation.
5385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5388 file.
5389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5392 multiarch isnan for PPC64.
5393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5394 multiarch isnanf for PPC64.
5395
69bbc63d
AZ
53962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5397
5398 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5399 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5400 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5401 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5402 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5404
c24517c9
AZ
54052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5406
5407 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5411
a52374e8
AZ
54122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5413
5414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5415 multiarch implementations.
5416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5417 (__libc_ifunc_impl_list): Likewise.
5418 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5419 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5420 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5421 multiarch stpcpy for PPC64.
5422
7f5ec113
AZ
54232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5424
5425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5426 multiarch implementations.
5427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5428 (__libc_ifunc_impl_list): Likewise.
5429 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5430 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5431 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5432 multiarch strcpy for PPC64.
5433
e28bcd42
AZ
54342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5435
5436 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5437 redefine function name.
5438 (_wordcopy_fwd_dest_aligned): Likewise.
5439 (_wordcopy_bwd_aligned): Likewise.
5440 (_wordcopy_bwd_dest_aligned): Likewise.
5441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5442 multiarch implementations.
5443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5444 (__libc_ifunc_impl_list): Likewise.
5445 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5446 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5447 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5448 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5449 multiarch wcscpy for PPC64.
5450
92cacfce
AZ
54512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5452
5453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5454 multiarch implementations.
5455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5456 (__libc_ifunc_impl_list): Likewise.
5457 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5458 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5459 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5460 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5461 multiarch wcscpy for PPC64.
5462
7b714620
AZ
54632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464
5465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5466 multiarch implementations.
5467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5468 (__libc_ifunc_impl_list): Likewise.
5469 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5470 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5471 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5472 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5473 multiarch wcsrchr for PPC64.
5474
16fd2ae3
AZ
54752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5476
5477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5478 multiarch implementations.
5479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5480 (__libc_ifunc_impl_list): Likewise.
5481 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5482 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5483 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5484 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5485 multiarch wcschr for PPC64.
5486
9ee2969b
AZ
54872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5488
5489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5490 multiarch implementations.
5491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5492 (__libc_ifunc_impl_list): Likewise.
5493 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5494 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5495 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5496 multiarch strchrnul for PPC64.
5497
372dc060
AZ
54982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499
5500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5501 implementations.
5502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5503 (__libc_ifunc_impl_list): Likewise.
5504 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5505 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5506 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5507 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5508 strchr for PPC64.
5509
24c2c3b9
AZ
55102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5511
5512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5513 implementations.
5514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5515 (__libc_ifunc_impl_list): Likewise.
5516 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5517 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5518 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5519 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5520 strncmp for PPC64.
5521
1c92d9a0
AZ
55222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5523
5524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5525 multiarch implementations.
5526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5527 (__libc_ifunc_impl_list): Likewise.
5528 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5529 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5530 strncasecmp for PPC64.
5531 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5532 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5533 multiarch strncasecmp_l for PPC64.
5534
17de3ee3
AZ
55352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5536
5537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5538 multiarch implementations.
5539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5540 (__libc_ifunc_impl_list): Likewise.
5541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5542 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5543 multiarch strcasecmp for PPC64.
5544 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5545 file.
5546 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5547 multiarch strcasecmp_l for PPC64.
5548
62982bf9
AZ
55492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5550
5551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5552 implementations.
5553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5554 (__libc_ifunc_impl_list): Likewise.
5555 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5556 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5557 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5558 strnlen for PPC64.
5559
a65f4904
AZ
55602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5561
5562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5563 implementations.
5564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5565 (__libc_ifunc_impl_list): Likewise.
5566 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5567 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5568 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5569 strlen for PPC64.
5570
1fd005ad
AZ
55712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5572
5573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5574 implementations.
5575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5576 (__libc_ifunc_impl_list): Likewise.
5577 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5578 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5579 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5580 rawmemrchr for PPC64.
5581
cd05ba91
AZ
55822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5583
5584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5585 implementation.
5586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5587 (__libc_ifunc_impl_list): Likewise.
5588 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5589 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5590 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5591 memrchr for PPC64.
5592
870f8676
AZ
55932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5594
5595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5596 implementation.
5597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5598 (__libc_ifunc_impl_list): Likewise.
5599 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5600 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5601 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5602 memchr for PPC64.
5603
f00be62b
AZ
56042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5605
5606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5607 implementation.
5608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5609 (__libc_ifunc_impl_list): Likewise.
5610 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5611 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5612 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5613 mempcpy for PPC64.
5614
8a29a3d0
AZ
56152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616
5617 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5618 avoid cretion of __bzero symbol.
5619 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5620 Likewise.
5621 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5622 Likewise.
5623 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5624 Likewise.
5625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5626 multiarch implementations.
5627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5628 (__libc_ifunc_impl_list): Likewise.
5629 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5630 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5631 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5632 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5633 bzero for PPC32.
5634 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5635 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5636 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5637 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5638 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5639 memset for PPC64.
5640 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5641
07253fcf
AZ
56422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5643
5644 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5646 implementations.
5647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5648 (__libc_ifunc_impl_list): Likewise.
5649 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5650 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5651 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5652 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5653 memcmp for PPC64.
5654
b5beafbc
AZ
56552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5656
5657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5658 multiarch for POWER/PPC64.
5659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5660 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5661 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5662 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5663 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5664 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5665 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5666 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5667 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5668 memcpy for PPC64.
5669
5e6a4d4b
AZ
56702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671
5672 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5673 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5674 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5675 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5676 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5677 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5678 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5679 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5680 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5681 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5682 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5683 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5684 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5685 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5686 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5694
ddfab6dc
KK
56952013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5696
5697 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5698
19b5525e
SP
56992013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5700
5701 * benchtests/Makefile (bench): Add exp2 and log2.
5702 (LDLIBS-bench-exp2): Add -lm.
5703 (LDLIBS-bench-log2): Likewise.
5704 * benchtests/exp2-inputs: New inputs file.
5705 * benchtests/log2-inputs: New inputs file.
5706 * benchtests/log-inputs: Add new inputs.
5707 * benchtests/tan-inputs: Likewise.
5708
196f7f5d
SP
57092013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5710
7a74607f
SP
5711 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5712 definition...
5713 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5714 csloww1, csloww2): ... from here.
5715
196f7f5d
SP
5716 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5717 instead of structures.
5718 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5719 (POLYNOMIAL): Likewise.
5720 (TAYLOR_SLOW): Likewise.
5721 (__sin): Likewise.
5722 (__cos): Likewise.
5723 (slow1): Likewise.
5724 (slow2): Likewise.
5725 (sloww): Likewise.
5726 (sloww1); Likewise.
5727 (sloww2): Likewise.
5728 (bsloww1): Likewise.
5729 (bsloww2): Likewise.
5730 (cslow2): Likewise.
5731 (csloww): Likewise.
5732 (csloww1): Likewise.
5733 (csloww2): Likewise.
5734
0dfa665c
OB
57352013-12-10 Ondřej Bílka <neleai@seznam.cz>
5736
5737 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5738 (__malloc_assert, __libc_realloc, __libc_calloc,
5739 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5740 memcpy and memset.
5741 * malloc/hooks.c (realloc_check): Likewise.
5742
5782a80f
OB
57432013-12-10 Ondřej Bílka <neleai@seznam.cz>
5744
5745 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5746 * malloc/arena.c: Remove PER_THREAD conditional.
5747 [!PER_THREAD]: Remove code.
5748 (ptmalloc_unlock_all2): Likewise.
5749 (ptmalloc_init): Likewise.
5750 (_int_new_arena): Likewise.
5751 (arena_get2): Likewise.
5752 * malloc/hooks.c (__malloc_get_state): Likewise.
5753 (__malloc_set_state): Likewise.
5754 * malloc/malloc.c: Likewise.
5755 (struct malloc_state): Likewise.
5756 (struct malloc_par): Likewise.
5757 (__libc_realloc): Likewise.
5758 (__libc_mallopt): Likewise.
5759
aeb95445
AZ
57602013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761
5762 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5763
e8349efd
OB
57642013-12-09 Ondřej Bílka <neleai@seznam.cz>
5765
5766 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5767 macro to a function. Check for zero perturb_byte.
5768 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5769
f3eeb3fc
OB
57702013-12-09 Ondřej Bílka <neleai@seznam.cz>
5771
5772 * malloc/malloc.c: (force_reg): Remove.
5773 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5774 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5775 force_reg by atomic_forced_read.
5776 * malloc/arena.c (ptmalloc_init): Likewise.
5777 * malloc/hooks.c (top_check): Likewise.
5778
be2f9009
AZ
57792013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5780
5781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5782
e7b914bd
MT
57832013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5784
5785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5786
9f0be4f8
JM
57872013-12-08 Joseph Myers <joseph@codesourcery.com>
5788
5789 * math/auto-libm-test-in: Add tests of lgamma.
5790 * math/auto-libm-test-out: Regenerated.
5791 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5792 (M_LOG_2_SQRT_PIl): Likewise.
5793 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5794 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5795 mpfr_f_f1.
5796 (func_calc_desc): Add mpfr_f_f1 union field.
5797 (ARGS1): New macro.
5798 (ARGS2): Likewise.
5799 (ARGS3): Likewise.
5800 (ARGS4): Likewise.
5801 (RET1): Likewise.
5802 (RET2): Likewise.
5803 (CALC): Likewise.
5804 (FUNC): Likewise.
5805 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5806 (test_functions): Add lgamma.
5807 (calc_generic_results): Handle mpfr_f_f1.
5808 * sysdeps/i386/fpu/libm-test-ulps: Update.
5809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5810
24eeafdb
AZ
58112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5812
5813 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5814 __mpn_add_n for PowerPC64/POWER7.
5815 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5816 __mpn_sub_n for PowerPC64/POWER7.
5817
4a2c0fd4
AZ
58182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819
5820 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5821 __mpn_addmul_1 for PowerPC64.
5822 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5823 __mpn_submul_1 for PowerPC64.
5824 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5825 for PowerPC64.
5826 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5827 for PowerPC64.
5828
4b5b548c
FS
58292013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5830
5831 [BZ #15089]
5832 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5833
0a3ac0aa
AZ
58342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5835
5836 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5837
ccdc8438
AZ
58382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5839
5840 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5841 add multiarch folders.
5842 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5843 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5844 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5845 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5846 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5847 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5848 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5849 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5850 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5851 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5852 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5859
2e973d99
AZ
58602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5861
5862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5863 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5865 New file.
5866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5867 New file.
5868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5869 multiarch __ieee754_hypot for PowerPC32.
5870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5871 New file.
5872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5873 New file.
5874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5875 multiarch __ieee754_hypotf for PowerPC32.
5876
2d9470b2
AZ
58772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5878
5879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5880 long_double_symbol only if __logbl is defined.
5881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5882 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5884 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5886 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5887 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5888 path for implementation.
5889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5892 logb, and logbl multiarch implementations for PowerPC32.
5893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5894 file.
5895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5896 file.
5897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5898 multiarch logb for PowerPC32.
5899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5900 file.
5901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5902 file.
5903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5904 multiarch logbf for PowerPC32.
5905 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5907 file.
5908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5909 multiarch logbl implementation for PowerPC32.
5910
5212ffce
AZ
59112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912
5913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5914 and modff multiarch implementations.
5915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5916 New file.
5917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5918 New file.
5919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5920 multiarch modf for PowerPC32.
5921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5922 New file.
5923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5924 New file.
5925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5926 multiarch modff for PowerPC32.
5927
79dccf31
AZ
59282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929
5930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5931 and lrintf multiarch implementations.
5932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5933 New file.
5934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5935 New file.
5936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5937 multiarch lrint for PowerPC32.
5938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5939 file: multiarch lrintf for PowerPC32.
5940
deb66480
AZ
59412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942
5943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5944 and lroundf multiarch implementations.
5945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5946 New file.
5947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5948 New file.
5949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5950 New file.
5951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5952 multiarch lround for PowerPC32.
5953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5954 file: multiarch lroundf for PowerPC32.
5955
264b036b
AZ
59562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5957
5958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5959 copysign and copysignf multiarch implementations.
5960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5961 New file.
5962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5963 New file.
5964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5965 file: multiarch copysign for PowerPC32.
5966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5967 file: multiarch copysignf for PowerPC32.
5968
d47db6c9
AZ
59692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5970
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5972 and truncf multiarch implementations.
5973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5974 New file.
5975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5976 file.
5977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5978 multiarch trunc for PowerPC32.
5979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5980 New file.
5981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5982 New file.
5983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5984 multiarch truncf for PowerPC32.
5985
ddb60b5a
AZ
59862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987
5988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5989 and roundf multiarch implementations.
5990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5991 New file.
5992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5993 file.
5994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5995 multiarch round for PowerPC32.
5996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5997 New file.
5998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5999 New file.
6000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6001 multiarch roundf for PowerPC32.
6002
bedcf49b
AZ
60032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6004
6005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6006 and floorf multiarch implementations.
6007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6008 New file.
6009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6010 file.
6011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6012 multiarch floor for PowerPC32.
6013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6014 New file.
6015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6016 New file.
6017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6018 multiarch floorf for PowerPC32.
6019
35ae5b40
AZ
60202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6021
6022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6023 and ceilf multiarch implementations.
6024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6025 New file.
6026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6027 file.
6028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6029 multiarch ceil for PowerPC32.
6030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6031 New file.
6032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6033 file.
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6035 multiarch ceilf for PowerPC32.
6036
ae1a4cd9
AZ
60372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6038
6039 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6040 is defined.
6041 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6042 FINITEF is defined.
6043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6044 and finitef multiarch implementations.
6045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6046 New file.
6047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6048 file.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6050 multiarch finite for PowerPC32.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6052 New file.
6053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6054 file: multiarch finitef for PowerPC32.
6055
64fffd65
AZ
60562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6057
6058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6059 and isinff multiarch implementations.
6060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6061 file.
6062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6063 file.
6064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6065 multiarch isinf for PowerPC32.
6066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6067 New file.
6068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6069 multiarch isinff for PowerPC32.
6070
8e4e7ba2
AZ
60712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072
6073 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6074 alias when __isnan is defined.
6075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6076 and isnanf multiarch implementations.
6077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6078 file.
6079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6080 file.
6081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6082 file.
6083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6084 file.
6085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6086 multiarch isnan for PowerPC32.
6087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6088 New file.
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6090 New file.
6091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6092 multiarch isnanf for PowerPC32.
6093
ddba588e
AZ
60942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6095
6096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6097 and sqrtf multiarch implementations.
6098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6099 file.
6100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6101 file.
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6103 multiarch sqrt for PowerPC32.
6104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6105 file.
6106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6107 file.
6108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6109 multiarch sqrtf for PowerPC32.
6110
0f96a2f0
AZ
61112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6112
6113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6114 and llroundf multiarch implementations.
6115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6116 New file.
6117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6118 New file.
6119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6120 New file.
6121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6122 file: multiarch llround for PowerPC32.
6123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6124 file: multiarch llroundf for PowerPC32.
6125
c9b5d79e
AZ
61262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6127
6128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6129 multiarch PowerPC32 fpu implementations.
6130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6131 New file.
6132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6133 New file.
6134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6135 multiarch llrint for PowerPC32.
6136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6137 New file.
6138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6139 New file.
6140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6141 file.
6142
9cbb3aab
AZ
61432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6146
ea5a72f8
AZ
61472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6148
6149 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6150 file.
6151 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6152 file.
6153 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6154 file.
6155 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6156 multiarch wordcopy for PPC32.
6157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6158 wordcopy objects.
6159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6160 (__libc_ifunc_impl_list): Likewise.
6161 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6162 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6163 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6164 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6165 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6166 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6167
93be09e7
AZ
61682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6172 file.
6173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6174 file.
6175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6176 file.
6177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6178 multiarch wcscpy for PPC32.
6179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6180 multiarch objects.
6181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6182 (__libc_ifunc_impl_list): Likewise.
6183 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6184 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6185 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6186 sysdeps/powerpc/power6/wcscpy.c.
6187
bb04e529
AZ
61882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6189
6190 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6192 file.
6193 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6194 file.
6195 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6196 file.
6197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6198 multiarch wcsrchr for PPC32.
6199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6200 multiarch objects.
6201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6202 (__libc_ifunc_impl_list): Likewise.
6203 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6204 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6205 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6206 sysdeps/powerpc/power6/wcsrchr.c.
6207
05b5cd1c
AZ
62082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6209
6210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6211 file.
6212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6213 file.
6214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6216 multiarch wcschr for PPc32.
6217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6218 multiarch objects.
6219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6220 (__libc_ifunc_impl_list): Likewise.
6221 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6222 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6223 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6224 sysdeps/powerpc/power6/wcschr.c.
6225
ba964147
AZ
62262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6227
6228 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6229 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6230 file.
6231 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6232 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6233 file: multiarch strchr for PPC32.
6234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6235 multiarch objects.
6236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6237 (__libc_ifunc_impl_list): Likewise.
6238
31c81aaa
AZ
62392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6240
6241 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6242 name.
6243 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6244 file.
6245 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6246 file.
6247 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6248 multiarch strchrnul for PPC32.
6249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6250 multiarch objects.
6251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6252 (__libc_ifunc_impl_list): Likewise.
6253
0d0607d9
AZ
62542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6255
6256 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6257 file.
6258 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6259 multiarch strncasecmp for PPC32.
6260 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6261 file.
6262 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6263 multiarch strncasecmp_l for PPC32.
6264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6265 strncasecmp multiarch objects.
6266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6267 (__libc_ifunc_impl_list): Likewise.
6268
4dfd5c86
AZ
62692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6270
6271 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6272 file.
6273 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6274 multiarch strncasecmp for PPC32.
6275 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6276 New file.
6277 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6278 multiarch strcasecmp_l for PPC32.
6279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6280 multiarch objects.
6281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6282 (__libc_ifunc_impl_list): Likewise.
6283
a19e01a3
AZ
62842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6285
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6287 file.
6288 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6289 file.
6290 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6291 multiarch strncmp for PPC32.
6292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6293 multiarch objects.
6294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6295 (__libc_ifunc_impl_list): Likewise.
6296
ae9cf7a2
AZ
62972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6298
6299 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6300 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6301 file.
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6303 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6305 multiarch objects.
6306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6307 (__libc_ifunc_impl_list): Likewise.
6308
3148bb7d
AZ
63092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310
6311 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6312 file.
6313 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6314 file.
6315 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6317 multiarch objects.
6318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6319 (__libc_ifunc_impl_list): Likewise.
6320
7af8b946
AZ
63212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6322
6323 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6324 file.
6325 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6326 file.
6327 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6328 multiarch rawmemchr for PPC32.
6329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6330 multiarch objects.
6331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6332 (__libc_ifunc_impl_list): Likewise.
6333
03a6aa6a
AZ
63342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335
6336 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6337 file.
6338 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6339 file.
6340 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6341 file: memrchr multiarch for PPC32.
6342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6343 multiarch objects.
6344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6345 (__libc_ifunc_impl_list): Likewise.
6346
1c62e6d9
AZ
63472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6348
6349 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6350 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6351 file.
6352 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6353 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6354 multiarch memchr for PPC32.
6355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6356 multiarch objects.
6357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6358 (__libc_ifunc_impl_list): Likewise.
6359
87da8bdb
AZ
63602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6361
6362 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6363 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6364 file.
6365 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6366 file.
6367 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6368 file: multiarch mempcpy for PPC32.
6369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6370 multiarch objects.
6371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6372 (__libc_ifunc_impl_list): Likewise.
6373
20ed4714
AZ
63742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6375
6376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6378 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6379 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6380 multiarch bzero for PPC32.
6381 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6382 file.
6383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6384 file.
6385 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6386 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6387 file: multiarch memset for PPC32.
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6390 memset multiarch objects.
6391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6392 (__libc_ifunc_impl_list): Likewise.
6393
ab3e3a46
AZ
63942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395
6396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6397 file.
6398 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6400 memcmp for PPC32.
6401 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6403 multiarch objects.
6404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6405 (__libc_ifunc_impl_list): Likewise.
6406
930de6f0
AZ
64072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6408
6409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6412 file.
6413 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6414 file.
6415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6416 file.
6417 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6418 multiarch memcpy for PPC32.
6419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6420 multiarch objects.
6421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6422 (__libc_ifunc_impl_list): Likewise.
6423
4c628e00
AZ
64242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6425
6426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6427 support multiarch for POWER/PPC32.
6428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6429 Likewise.
6430 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6432 Implies file to make multiarch folder appers before the fpu and
6433 default folder for power4 configuration.
6434
f4479220
SP
64352013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6436
6437 * scripts/bench.pl: Append volatile keyword to type.
6438
8517800f
KK
64392013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6440
6441 * sysdeps/sh/sotruss-lib.c: New file.
6442 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6443
180138f1
AZ
64442013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445
6446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6447
bbf37bdc
JM
64482013-12-05 Joseph Myers <joseph@codesourcery.com>
6449
e47cc4e0
JM
6450 [BZ #6810]
6451 * math/w_tgamma.c: Include <errno.h>.
6452 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6453 * math/w_tgammaf.c: Include <errno.h>.
6454 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6455 * math/w_tgammal.c: Include <errno.h>.
6456 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6457 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6458 underflow. Add more tgamma tests.
6459 * math/auto-libm-test-out: Regenerated.
6460 * sysdeps/i386/fpu/libm-test-ulps: Update.
6461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6462
bbf37bdc
JM
6463 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6464 sin, sinh, tan, tanh, tgamma, y0 and y1.
6465 * math/auto-libm-test-out: Regenerated.
6466 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6467 (TEST_COND_x86): Likewise.
6468 (M_E2l): Remove macro.
6469 (M_E3l): Likewise.
6470 (M_2_SQRT_PIl): Likewise.
6471 (M_SQRT_PIl): Likewise.
6472 (M_1_DIV_El): Likewise.
6473 (log_test_data): Use AUTO_TESTS_f_f.
6474 (log10_test_data): Likewise.
6475 (log1p_test_data): Likewise.
6476 (log2_test_data): Likewise.
6477 (sin_test_data): Likewise.
6478 (sin_tonearest_test_data): Likewise.
6479 (sin_towardzero_test_data): Likewise.
6480 (sin_downward_test_data): Likewise.
6481 (sin_upward_test_data): Likewise.
6482 (sinh_test_data): Likewise.
6483 (sinh_tonearest_test_data): Likewise.
6484 (sinh_towardzero_test_data): Likewise.
6485 (sinh_downward_test_data): Likewise.
6486 (sinh_upward_test_data): Likewise.
6487 (tan_test_data): Likewise.
6488 (tan_tonearest_test_data): Likewise.
6489 (tan_towardzero_test_data): Likewise.
6490 (tan_downward_test_data): Likewise.
6491 (tan_upward_test_data): Likewise.
6492 (tanh_test_data): Likewise.
6493 (tgamma_test_data): Likewise.
6494 (y0_test_data): Likewise.
6495 (y1_test_data): Likewise.
6496 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6497 (special_real_inputs): Add pi/4.
6498 * sysdeps/i386/fpu/libm-test-ulps: Update.
6499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6500
eb5ad6b9
AZ
65012013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6502
6503 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6504 "longjmp_target" static probes.
6505 (__longjmp): Rename to __longjmp_symbol.
6506 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6507 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6508 on which longjmp to generate.
6509 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6510 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6511 probe.
6512 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6513 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6514 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6515 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6516 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6517 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6519 __longjmp_symbol based on which __longjmp to generate.
6520 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6521 probe.
6522 (setjmp): Rename to setjmp_symbol.
6523 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6524 (_setjmp): Rename to _setjmp_symbol.
6525 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6526 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6527 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6528 which setjmp to generate.
6529 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6530 "longjmp_target" static probes.
6531
d136c6dc
SP
65322013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6533
9298ecba
SP
6534 * benchtests/README: Add note about output arguments.
6535 * benchtests/bench-sincos.c: Remove file.
6536 * benchtests/sincos-inputs: New file.
6537 * scripts/bench.pl: Identify output arguments and define
6538 static variables for them.
6539
232983e9
SP
6540 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6541
d136c6dc
SP
6542 [BZ #15941]
6543 * Makefile (INSTALL): Add install-plain.texi as the primary
6544 dependency.
6545 * manual/install-plain.texi: New file.
6546 * manual/install.texi: Include node directive only for
6547 non-plaintext output.
6548
699ff837
JM
65492013-12-04 Joseph Myers <joseph@codesourcery.com>
6550
ab07cea8
JM
6551 * stdlib/longlong.h: Update from GCC.
6552
699ff837
JM
6553 [BZ #6807]
6554 [BZ #15901]
6555 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6556 * math/w_j0f.c (y0f): Likewise.
6557 * math/w_j0l.c (__y0l): Likewise.
6558 * math/w_j1.c (y1): Likewise.
6559 * math/w_j1f.c (y1f): Likewise.
6560 * math/w_j1l.c (__y1l): Likewise
6561 * math/w_jn.c (yn): Likewise.
6562 * math/w_jnf.c (ynf): Likewise.
6563 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6564 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6565 value for Bessel function domain errors outside _SVID_ mode.
6566 Adjust sign of return value for yn (negative integer, 0).
6567 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6568 by zero in return for negative x and set sign appropriately for
6569 negative n.
6570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6571 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6572 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6573 expectations in error cases.
6574 (y1_test_data): Likewise.
6575 (yn_test_data): Likewise.
6576 * sysdeps/i386/fpu/libm-test-ulps: Update.
6577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6578
5b118558
UW
65792013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6580
6581 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6582 "64" to "64-v1". Add "64-v2".
6583 (abi-64-options): Rename to ...
6584 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6585 (abi-64-condition): Rename to ...
6586 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6587 (abi-64-ld-soname): Rename to ...
6588 (abi-64-v1-ld-soname): ... this.
6589 (abi-64-v2-options): Define.
6590 (abi-64-v2-condition): Likewise.
6591 (abi-64-v2-ld-soname): Likewise.
6592 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6593 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6597
61cd8fe4
UW
65982013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6599 Alan Modra <amodra@gmail.com>
6600
6601 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6602 New versions for use with the ELFv2 ABI.
6603 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6604 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6605 declaration.
6606 (struct La_ppc64v2_retval): Likewise.
6607 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6608 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6609 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6610 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6611 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6612 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6613 Do not save or restore CR.
6614 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6615 (_dl_profile_resolve): Do no save or restore CR. Support extended
6616 return values for ELFv2 ABI. Fix location of FPR return registers.
6617 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6618 updated values for _CALL_ELF == 2.
6619 (La_regs, La_retval, int_retval): Likewise.
6620
8b8a692c
UW
66212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6622
6623 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6624 (FRAME_MIN_SIZE_PARM): Likewise.
6625 (FRAME_BACKCHAIN): Likewise.
6626 (FRAME_CR_SAVE): Likewise.
6627 (FRAME_LR_SAVE): Likewise.
6628 (FRAME_TOC_SAVE): Likewise.
6629 (FRAME_PARM_SAVE): Likewise.
6630 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6631 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6632 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6633 (call_mcount_parm_offset): New macro.
6634 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6635 (PROF): Use symbolic stack frame offsets.
6636 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6637 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6638 Redefine in terms of FRAME_MIN_SIZE.
6639 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6640 (_dl_profile_resolve): Likewise. Update comment.
6641 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6642 symbols stack frame offsets.
6643 (__sigsetjmp): Likewise.
6644 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6645 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6646 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6647 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6648
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6650 (FRAME_BACKCHAIN): Remove.
6651 (FRAME_CR_SAVE): Likewise.
6652 (FRAME_LR_SAVE): Likewise.
6653 (FRAME_COMPILER_DW): Likewise.
6654 (FRAME_LINKER_DW): Likewise.
6655 (FRAME_TOC_SAVE): Likewise.
6656 (FRAME_PARM_SAVE): Likewise.
6657 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6658 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6659 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6661 (CHECK_SP): Use symbolic stack frame offsets.
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6663 zone" instead of caller's parameter save area for temp storage.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6665 Likewise. Also, use symbolic stack frame offsets.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6667 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6668 our own stack frame instead of the caller's.
6669 (__socket): Use symbolic stack frame offsets.
6670
122b66de
UW
66712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6672 Alan Modra <amodra@gmail.com>
6673
6674 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6675 Define.
6676 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6677 PPC64_LOCAL_ENTRY_OFFSET): Define.
6678 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6679 New function.
6680 (elf_machine_fixup_plt): Call it.
6681 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6682 reloc arguments.
6683 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6684 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6685 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6686 r2 before calling target.
6687
696caf1d
UW
66882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6689 Alan Modra <amodra@gmail.com>
6690
6691 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6692 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6693 versions of macros to support ELFv2 ABI.
6694 (LOCALENTRY): New macro.
6695 (ENTRY, EALIGN): Use it.
6696 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6697 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6698 fall through into ENTRY entry point.
6699 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6700 Only define if _CALL_ELF != 2.
6701
6702 (elf_machine_matches_host): Verify ABI version matches.
6703 (RTLD_START): Use LOCALENTRY.
6704 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6705 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6706 (PLT_ENTRY_WORDS): New macro.
6707 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6708 (elf_machine_runtime_setup): Support ELFv2 ABI.
6709 (elf_machine_fixup_plt): Likewise.
6710 (elf_machine_plt_conflict): Likewise.
6711 (resolve_ifunc): Likewise.
6712 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6714 Likewise.
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6716 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6718 (makecontext): Support ELFv2 ABI.
6719 * elf/elf.h (EF_PPC64_ABI): Define.
6720
d31beafa
UW
67212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6722
6723 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6724 New assembler macro.
6725 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6726 [ASSEMBLER] (ENTRY): ... but instead here ...
6727 [ASSEMBLER] (EALIGN): ... and here.
6728 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6729 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6730 [!ASSEMBLER] (ENTRY_2): Use it.
6731 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6732 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6733 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6734 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6735 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6737 Use PPC64_LOAD_FUNCPTR.
6738
b525166b
UW
67392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6740
6741 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6742
7ec07d9a
AM
67432013-12-04 Alan Modra <amodra@gmail.com>
6744
6745 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6746 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6747 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6748 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6749
6750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6751 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6752 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6753 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6754 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6755 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6756
5162e7dd
UW
67572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6758
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6760 (__makecontext): Fix incorrect CFI when backtracing out of
6761 context created via makecontext.
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6763 (__setcontext): Fix incorrect CFI during switch to new context.
6764 (__novec_setcontext): Likewise.
6765
19e3372b
OB
67662013-12-04 Ondřej Bílka <neleai@seznam.cz>
6767
6768 [BZ #4772]
6769 * time/strptime_l.c (__strptime_internal): Allow modifiers
6770 in strptime.
6771 * time/tst-strptime.c (day_tests): Add testcase.
6772
6773
ecaf142d
SP
67742013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6775
6776 * scripts/bench.pl: Skip over blank lines.
6777
fbf964ae
PE
67782013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6779
6780 [BZ #926]
6781 * manual/time.texi (Calendar Time): Clarify what timezone functions
6782 use.
6783
fa60a674
AZ
67842013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785
6786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6787
d674f0ef
OB
67882013-12-04 Ondřej Bílka <neleai@seznam.cz>
6789
6790 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6791 implementation.
6792 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6793 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6794 * debug/memset_chk.c (__memset_chk): Likewise.
6795 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6796 * debug/strncpy_chk.c: Likewise.
6797
17dea188
JM
67982013-12-03 Joseph Myers <joseph@codesourcery.com>
6799
749008ff
JM
6800 [BZ #15268]
6801 [BZ #15425]
6802 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6803 (__ieee754_exp): For possibly underflowing results, check size of
6804 result and force underflow exception if required.
6805 * math/auto-libm-test-in: Add more tests of exp.
6806 * math/auto-libm-test-out: Regenerated.
6807 * sysdeps/i386/fpu/libm-test-ulps: Update.
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6809
17dea188
JM
6810 [BZ #16283]
6811 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6812 * math/w_exp2f.c (__exp2f): Likewise.
6813 * math/w_exp2l.c (__exp2l): Likewise.
6814 * math/auto-libm-test-in: Do not allow missing errno on exp2
6815 underflow.
6816 * math/auto-libm-test-out: Regenerated.
6817
b20de2c3
OB
68182013-12-03 Ondřej Bílka <neleai@seznam.cz>
6819
6820 [BZ #16274]
6821 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6822 handle filename validation.
6823 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6824 (do_open): Delete.
6825
d8e2dbe3
JM
68262013-12-03 Joseph Myers <joseph@codesourcery.com>
6827
34e16df5
JM
6828 [BZ #6786]
6829 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6830 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6831 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6832 <float.h>.
6833 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6834 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6835 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6837 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6838 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6839 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6840 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6841 Add more erfc tests.
6842 * math/auto-libm-test-out: Regenerated.
6843 * sysdeps/i386/fpu/libm-test-ulps: Update.
6844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6845
d8e2dbe3
JM
6846 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6847 exp2, expm1, j0 and j1.
6848 * math/auto-libm-test-out: Regenerated.
6849 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6850 (erfc_test_data): Likewise.
6851 (exp_test_data): Likewise.
6852 (exp_tonearest_test_data): Likewise.
6853 (exp_towardzero_test_data): Likewise.
6854 (exp_downward_test_data): Likewise.
6855 (exp_upward_test_data): Likewise.
6856 (exp10_test_data): Likewise.
6857 (exp2_test_data): Likewise.
6858 (expm1_test_data): Likewise.
6859 (j0_test_data): Likewise.
6860 (j1_test_data): Likewise.
6861 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6862 (input_flag_type): Add flag_xfail_rounding.
6863 (input_flags): Add xfail-rounding.
6864 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6865 (output_for_one_input_case): Handle flag_xfail_rounding.
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6868
18d14251
AJ
68692013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6870
3d2e6075 6871 [BZ #16289]
18d14251
AJ
6872 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6873 division by 0.
6874
520d437b
SP
68752013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6876
6877 [BZ #16195]
6878 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6879 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6880 (STAP_PROBE0): New macro.
6881 (STAP_PROBE1): Likewise.
6882 (STAP_PROBE2): Likewise.
6883 (STAP_PROBE3): Likewise.
6884 (STAP_PROBE4): Likewise.
6885
416e0145
OB
68862013-12-02 Ondřej Bílka <neleai@seznam.cz>
6887
6888 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6889
9d17796a
SE
68902013-12-02 Steve Ellcey <sellcey@mips.com>
6891
6892 * benchtests/Makefile (bench): Add sqrt.
6893 (LDLIBS-bench-sqrt): New.
6894 * benchtests/sqrt-input: New.
6895
f524d6a8
PS
68962013-12-02 Pavel Simerda <psimerda@redhat.com>
6897
639a0ef8
PS
6898 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6899 (GAIH_EAI): Likewise.
6900 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6901 (gaih_inet): Likewise.
6902 (getaddrinfo): Don't use GAIH_EAI.
6903
f524d6a8
PS
6904 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6905 (struct gaih): Remove definition.
6906
df3aedaf
SP
69072013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6908
6909 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6910 Use HERRNOP directly.
6911
1ab19dec
AZ
69122013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6913
b42ad38d 6914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6915
176b0c79
JM
69162013-11-30 Joseph Myers <joseph@codesourcery.com>
6917
6918 * math/gen-auto-libm-tests.c (test_functions): Add more
6919 single-argument functions.
6920 (special_fill_pi_2): New function.
6921 (special_fill_minus_pi_2): Likewise.
6922 (special_fill_pi_6): Likewise.
6923 (special_fill_minus_pi_6): Likewise.
6924 (special_fill_pi_3): Likewise.
6925 (special_fill_2pi_3): Likewise.
6926 (special_fill_e): Likewise.
6927 (special_fill_1_e): Likewise.
6928 (special_fill_e_minus_1): Likewise.
6929 (special_real_inputs): Add more special inputs.
6930 (output_for_one_input_case): Do not require ERANGE on underflow to
6931 zero if round-to-nearest result does not underflow to zero, unless
6932 exact results required.
6933 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6934 atan, atanh, cbrt, cos and cosh.
6935 * math/auto-libm-test-out: Regenerated.
6936 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6937 (acos_tonearest_test_data): Likewise.
6938 (acos_towardzero_test_data): Likewise.
6939 (acos_downward_test_data): Likewise.
6940 (acos_upward_test_data): Likewise.
6941 (acosh_test_data): Likewise.
6942 (asin_test_data): Likewise.
6943 (asin_tonearest_test_data): Likewise.
6944 (asin_towardzero_test_data): Likewise.
6945 (asin_upward_test_data): Likewise.
6946 (asinh_test_data): Likewise.
6947 (atan_test_data): Likewise.
6948 (atanh_test_data): Likewise.
6949 (cbrt_test_data): Likewise.
6950 (cos_test_data): Likewise.
6951 (cos_tonearest_test_data): Likewise.
6952 (cos_towardzero_test_data): Likewise.
6953 (cos_downward_test_data): Likewise.
6954 (cos_upward_test_data): Likewise.
6955 (cosh_test_data): Likewise.
6956 (cosh_tonearest_test_data): Likewise.
6957 (cosh_towardzero_test_data): Likewise.
6958 (cosh_downward_test_data): Likewise.
6959 (cosh_upward_test_data): Likewise.
6960 * sysdeps/i386/fpu/libm-test-ulps: Update.
6961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6962
ffb536d0
JM
69632013-11-29 Joseph Myers <joseph@codesourcery.com>
6964
2a77a467
JM
6965 [BZ #6787]
6966 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6967 * math/w_exp10f.c (__exp10f): Likewise.
6968 * math/w_exp10l.c (__exp10l): Likewise.
6969 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6970 errno settings in existing tests.
6971
ea3bc4e8
JM
6972 [BZ #14032]
6973 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6974 precision control set to double precision.
6975 * sysdeps/i386/fpu/w_sqrt.c: New file.
6976 * math/auto-libm-test-in: Add more tests.
6977 * math/auto-libm-test-out: Update.
6978
0712c9d8
JM
6979 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6980 (sqrt_test_tonearest): New function.
6981 (sqrt_towardzero_test_data): New variable.
6982 (sqrt_test_towardzero): New function.
6983 (sqrt_downward_test_data): New variable.
6984 (sqrt_test_downward): New function.
6985 (sqrt_upward_test_data): New variable.
6986 (sqrt_test_upward): New function.
6987 (main): Call the new functions.
6988
ffb536d0
JM
6989 * math/gen-auto-libm-tests.c: New file.
6990 * math/auto-libm-test-in: Likewise.
6991 * math/auto-libm-test-out: New generated file.
6992 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6993 variables.
6994 (%beautify): Add generated representations of zero.
6995 (top level): Set $auto_input and call parse_auto_input.
6996 (beautify): Remove trailing "f" from hex float constants.
6997 (parse_args): Handle XFAIL_TEST.
6998 (convert_condition): New function.
6999 (or_value): Likewise.
7000 (or_cond_value): Likewise.
7001 (generate_testfile): Handle AUTO_TESTS_* lines.
7002 (parse_auto_input): New function.
7003 * math/libm-test.inc (XFAIL_TEST): New macro.
7004 (ERRNO_UNCHANGED): Update value.
7005 (ERRNO_EDOM): Likewise.
7006 (ERRNO_ERANGE): Likewise.
7007 (IGNORE_RESULT): Likewise.
7008 (TEST_COND_flt_32): New macro.
7009 (TEST_COND_dbl_64): Likewise.
7010 (TEST_COND_ldbl_96_intel): Likewise.
7011 (TEST_COND_ldbl_96_m68k): Likewise.
7012 (TEST_COND_ldbl_128): Likewise.
7013 (TEST_COND_ldbl_128ibm): Likewise.
7014 (TEST_COND_long32): Likewise.
7015 (TEST_COND_long64): Likewise.
7016 (TEST_COND_before_rounding): Likewise.
7017 (TEST_COND_after_rounding): Likewise.
7018 (enable_test): Handle XFAIL_TEST flag.
7019 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7020 with finite results.
7021 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7022 auto-libm-test-out.
7023
acd98a8e
AK
70242013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7025 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7026
7027 [BZ #16214]
7028 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7029 __tls_get_addr_internal instead of __tls_get_offset in order to
7030 avoid GOT pointer dependency. Make rtld export
7031 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7032 __tls_get_addr since we are a __tls_get_offset platform.
7033 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7034 GOT pointer being set up before.
7035 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7036
3c1c46a6
JM
70372013-11-28 Joseph Myers <joseph@codesourcery.com>
7038
7475aef5
JM
7039 * manual/math.texi (Errors in Math Functions): Document accuracy
7040 goals.
7041
8bca7cd8
JM
7042 [BZ #15004]
7043 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7044 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7047 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7048 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7049 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7054 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7059
91a1f3fe
JM
7060 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7061 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7062 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7063 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7064 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7065 Likewise.
7066 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7067 Likewise.
7068 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7069 Likewise.
7070 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7071 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7072 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7073 atomic-feupdateenv and flt-rounds.
7074 * sysdeps/powerpc/nofpu/Versions (libc): Add
7075 __atomic_feholdexcept, __atomic_feclearexcept,
7076 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7077 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7078 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7079 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7080 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7081 here.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7083 Update.
7084
c5df7609
JM
7085 * manual/arith.texi (FP Exceptions): Document that exceptions may
7086 not be raised when matherr is used.
7087 (Math Error Reporting): Document overflow in directed rounding
7088 modes. Document that errno may not be set when finite values are
7089 returned on overflow. Document intent to set errno on underflow
7090 only for underflow to zero.
7091
3c1c46a6
JM
7092 [BZ #16271]
7093 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7094 round-to-nearest then adjust result for other rounding modes.
7095 * include/fenv.h (fegetround): Use libm_hidden_proto.
7096 * math/fegetround.c (fegetround): Use libm_hidden_def.
7097 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7098 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7099 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7100 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7101 Likewise.
7102 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7103 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7104 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7105 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7106
5a4c6d53
SP
71072013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7108
7109 [BZ #16077]
7110 * nss/Versions (libnss_files): Add
7111 _nss_files_gethostbyname3_r.
7112 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7113 New function.
7114 (HOST_DB_LOOKUP): Remove macro.
7115 (_nss_files_gethostbyname_r): Implement function without the
7116 HOST_DB_LOOKUP macro.
7117 (_nss_files_gethostbyname2_r): Likewise.
7118
897b98ba
OB
71192013-11-28 Ondřej Bílka <neleai@seznam.cz>
7120
7121 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7122
6f476861
UB
71232013-11-26 Uros Bizjak <ubizjak@gmail.com>
7124
7125 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7126 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7127 warning.
7128
bd12ab55
AZ
71292013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7130
7131 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7132 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7133 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7134 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7135 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7136 __fe_nomask_env_priv and attribute_hidden.
7137 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7138 (libc_feupdateenv_test_ppc): Likewise.
7139 (libc_feresetround_ppc): Likewise.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7141 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7142 compat_symbol macro.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7144 (__fe_nomask_env): Likewise.
7145 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7146
52bb6543
OB
71472013-11-26 Ondřej Bílka <neleai@seznam.cz>
7148
7149 * string/Makefile: Remove ifunc tests.
7150 * string/test-string.h: Define TEST_IFUNC.
7151 * string/test-bcopy-ifunc.c: Remove.
7152 * string/test-bzero-ifunc.c: Likewise.
7153 * string/test-memccpy-ifunc.c: Likewise.
7154 * string/test-memchr-ifunc.c: Likewise.
7155 * string/test-memcmp-ifunc.c: Likewise.
7156 * string/test-memcpy-ifunc.c: Likewise.
7157 * string/test-memmem-ifunc.c: Likewise.
7158 * string/test-memmove-ifunc.c: Likewise.
7159 * string/test-mempcpy-ifunc.c: Likewise.
7160 * string/test-memrchr-ifunc.c: Likewise.
7161 * string/test-memset-ifunc.c: Likewise.
7162 * string/test-rawmemchr-ifunc.c: Likewise.
7163 * string/test-stpcpy-ifunc.c: Likewise.
7164 * string/test-stpncpy-ifunc.c: Likewise.
7165 * string/test-strcasecmp-ifunc.c: Likewise.
7166 * string/test-strcasestr-ifunc.c: Likewise.
7167 * string/test-strcat-ifunc.c: Likewise.
7168 * string/test-strchr-ifunc.c: Likewise.
7169 * string/test-strchrnul-ifunc.c: Likewise.
7170 * string/test-strcmp-ifunc.c: Likewise.
7171 * string/test-strcpy-ifunc.c: Likewise.
7172 * string/test-strcspn-ifunc.c: Likewise.
7173 * string/test-strlen-ifunc.c: Likewise.
7174 * string/test-strncasecmp-ifunc.c: Likewise.
7175 * string/test-strncat-ifunc.c: Likewise.
7176 * string/test-strncmp-ifunc.c: Likewise.
7177 * string/test-strncpy-ifunc.c: Likewise.
7178 * string/test-strnlen-ifunc.c: Likewise.
7179 * string/test-strpbrk-ifunc.c: Likewise.
7180 * string/test-strrchr-ifunc.c: Likewise.
7181 * string/test-strspn-ifunc.c: Likewise.
7182 * string/test-strstr-ifunc.c: Likewise.
7183
ab260039 71842013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7185
7186 * benchtests/Makefile: Remove ifunc tests.
7187 * benchtests/bench-string.h: Define TEST_IFUNC.
7188 * benchtests/bench-bcopy-ifunc.c: Remove.
7189 * benchtests/bench-bzero-ifunc.c: Likewise.
7190 * benchtests/bench-memccpy-ifunc.c: Likewise.
7191 * benchtests/bench-memchr-ifunc.c: Likewise.
7192 * benchtests/bench-memcmp-ifunc.c: Likewise.
7193 * benchtests/bench-memcpy-ifunc.c: Likewise.
7194 * benchtests/bench-memmem-ifunc.c: Likewise.
7195 * benchtests/bench-memmove-ifunc.c: Likewise.
7196 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7197 * benchtests/bench-memrchr-ifunc.c: Likewise.
7198 * benchtests/bench-memset-ifunc.c: Likewise.
7199 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7200 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7201 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7202 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7203 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7204 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7205 * benchtests/bench-strcat-ifunc.c: Likewise.
7206 * benchtests/bench-strchr-ifunc.c: Likewise.
7207 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7208 * benchtests/bench-strcmp-ifunc.c: Likewise.
7209 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7210 * benchtests/bench-strcpy-ifunc.c: Likewise.
7211 * benchtests/bench-strcspn-ifunc.c: Likewise.
7212 * benchtests/bench-strlen-ifunc.c: Likewise.
7213 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7214 * benchtests/bench-strncat-ifunc.c: Likewise.
7215 * benchtests/bench-strncmp-ifunc.c: Likewise.
7216 * benchtests/bench-strncpy-ifunc.c: Likewise.
7217 * benchtests/bench-strnlen-ifunc.c: Likewise.
7218 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7219 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7220 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7221 * benchtests/bench-strspn-ifunc.c: Likewise.
7222 * benchtests/bench-strstr-ifunc.c: Likewise.
7223
72242013-11-26 Ondřej Bílka <neleai@seznam.cz>
7225
ab260039
OB
7226 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7227
d1d9eaf4 72282013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7229
d1d9eaf4
OB
7230 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7231 * rt/aio.h: Likewise.
7232 * sysdeps/gnu/bits/utmp.h: Likewise.
7233 * sysdeps/gnu/bits/utmpx.h: Likewise.
7234 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7235 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7236 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7237 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7238 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7239 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7240 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7241 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7242 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7243 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7244 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7245 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7246 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7248 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7249 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7250 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7251 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7252 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7253 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7254 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7255 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7256 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7257 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7258 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7260 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7261 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7262 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7263 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7264 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7265 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7266 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7267 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7268 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7269 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7270 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7271 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7272 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7273 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7274 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7275 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7276
a7624ed9
CD
72772013-11-25 Carlos O'Donell <carlos@redhat.com>
7278
7279 [BZ #16245]
7280 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7281 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7282
63cfe52b
JM
72832013-11-25 Joseph Myers <joseph@codesourcery.com>
7284
7285 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7286 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7287 Likewise.
7288
41e8926a
AZ
72892013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7290
7291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7292 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7293 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7294 (__fesetround): Remove define.
7295 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7296 rounding and exceptions handling.
7297 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7298 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7299 (__fe_nomask_env): Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7301 __fegetround instead of fegetround.
7302 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7303 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7304
6851bd4d
RM
73052013-11-21 Roland McGrath <roland@hack.frob.com>
7306
070906ff
RM
7307 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7308 it's there.
7309
6851bd4d
RM
7310 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7311
84ae135d
MI
73122013-11-21 Meador Inge <meadori@codesourcery.com>
7313
7314 [BZ #11157]
7315 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7316 (encrypt_r): Likewise.
7317 * malloc/obstack.h (obstack_free): Likewise.
7318 * posix/unistd.h (encrypt): Likewise.
7319
daf75146
GM
73202013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7321
7322 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7323 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7324 DL_CALL_DT_FINI() that call the functions directly.
7325 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7326 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7327 * elf/dl-fini.c: Likewise.
7328
10ad46bc
OB
73292013-11-20 Ondřej Bílka <neleai@seznam.cz>
7330
7331 * malloc/hooks.c (memalign_check): Add alignment rounding.
7332 * malloc/malloc.c (_mid_memalign): New function.
7333 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7334 Implement by calling _mid_memalign.
7335 * manual/probes.texi (Memory Allocation Probes): Remove
7336 memory_valloc_retry and memory_pvalloc_retry.
7337
f3fd2628
SP
73382013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7339
4712799f
SP
7340 * locale/programs/locarchive.c (open_archive): Add const
7341 qualifier to ARCHIVEFNAME and copy default fname to
7342 DEFAULT_FNAME.
7343
0417b20f
SP
7344 [BZ #15601]
7345 * libio/tst-widetext.input: Rename Oriya to Odia.
7346 * locale/iso-639.def: Likewise.
7347
f3fd2628
SP
7348 * manual/probes.texi (Mathematical Function Probes): Add
7349 documentation for sin, cos, asin and acos probes.
7350 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7351 (__sin32): Add slowasin probe.
7352 (__cos32): Add slowacos probe.
7353 (__mpsin): Add slowsin probe.
7354 (__mpcos): Add slowcos probe.
7355
73c1ce4f
JM
73562013-11-19 Joseph Myers <joseph@codesourcery.com>
7357
7358 [BZ #15483]
7359 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7360 thread-local __sim_exceptions_thread and global
7361 __sim_exceptions_global.
7362 (__sim_disabled_exceptions): Change to thread-local
7363 __sim_disabled_exceptions_thread and global
7364 __sim_disabled_exceptions_global.
7365 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7366 and global __sim_round_mode_global.
7367 (__simulate_exceptions): Use thread-local floating-point state and
7368 set global state from it as needed.
7369 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7370 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7371 __sim_round_mode_thread.
7372 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7373 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7374 and global __sim_exceptions_global.
7375 (__sim_disabled_exceptions): Change to thread-local
7376 __sim_disabled_exceptions_thread and global
7377 __sim_disabled_exceptions_global.
7378 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7379 and global __sim_round_mode_global.
7380 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7381 (SIM_SET_GLOBAL): Likewise.
7382 * sysdeps/powerpc/soft-fp/sfp-machine.h
7383 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7384 __sim_round_mode_thread.
7385 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7386 __sim_disabled_exceptions_thread.
7387 (__sim_exceptions): Change to __sim_exceptions_thread.
7388 (__sim_disabled_exceptions): Change to
7389 __sim_disabled_exceptions_thread.
7390 (__sim_round_mode): Change to __sim_round_mode_thread.
7391 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7392 thread-local floating-point state and set global state from it as
7393 needed.
7394 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7395 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7396 (__sim_disabled_exceptions): Remove extern declaration.
7397 (feenableexcept): Use thread-local floating-point state and set
7398 global state from it as needed.
7399 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7400 extern declaration.
7401 (__sim_disabled_exceptions): Likewise.
7402 (__sim_round_mode): Likewise.
7403 (__fegetenv): Use thread-local floating-point state.
7404 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7405 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7406 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7407 floating-point state and set global state from it as needed.
7408 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7409 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7410 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7411 Likewise.
7412 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7413 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7414 Likewise.
7415 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7416 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7417 Use __sim_round_mode_thread.
7418 * math/test-fenv-tls.c: New file.
7419 * math/Makefile (tests): Add test-fenv-tls.
7420 ($(objpfx)test-fenv-tls): Depend on
7421 $(common-objpfx)nptl/libpthread.so.
7422
b5449b12
AS
74232013-11-19 Andreas Schwab <schwab@suse.de>
7424
7425 * locale/programs/locale.c (show_info): Decode wordarray elements.
7426 * locale/categories.def (LC_MONETARY): Add element for
7427 _NL_MONETARY_CRNCYSTR.
7428 * locale/C-monetary.c (conversion_rate): New variable.
7429 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7430 element.
7431
e186536b
CM
74322013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7433
7434 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7435 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7436
5c349950
PP
74372013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7438
7439 * elf/Makefile (tst-auxv): New test.
7440 * elf/tst-auxv.c: New
7441 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7442
699df45b
JM
74432013-11-18 Joseph Myers <joseph@codesourcery.com>
7444
7445 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7446 (hidden_proto): Caller changed.
7447 (hidden_tls_proto): New macro.
7448 (libc_hidden_tls_proto): Likewise.
7449 (rtld_hidden_tls_proto): Likewise.
7450 (libm_hidden_tls_proto): Likewise.
7451 (libresolv_hidden_tls_proto): Likewise.
7452 (librt_hidden_tls_proto): Likewise.
7453 (libdl_hidden_tls_proto): Likewise.
7454 (libnss_files_hidden_tls_proto): Likewise.
7455 (libnsl_hidden_tls_proto): Likewise.
7456 (libnss_nisplus_hidden_tls_proto): Likewise.
7457 (libutil_hidden_tls_proto): Likewise.
7458
b7589107
OB
74592013-11-18 Ondřej Bílka <neleai@seznam.cz>
7460
7461 [BZ #10253]
7462 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7463 (decompose_rpath): Defer expansion to fillin_rpath.
7464 (_dl_init_paths): Pass linkmap to fillin_rpath.
7465
250c23bd
RS
74662013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7467
7468 * benchtests/Makefile: Add strsep.
7469 * benchtests/bench-strsep.c: New file: strsep benchtest.
7470 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7471
a7931fcf
AS
74722013-11-18 Andreas Schwab <schwab@suse.de>
7473
7474 * locale/programs/locale.c (show_info) [case byte]: Check for
7475 '\377' instead of '\177'.
7476 * locale/C-monetary.c (not_available): Always use "\377".
7477 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7478 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7479 detect unavailable sign_posn locale elements.
7480 * locale/localeconv.c (__localeconv): For grouping and
7481 mon_grouping handle "\177" and "\377" like no grouping.
7482 (INT_ELEM): New macro. Use it to set all numeric members.
7483 * locale/programs/ld-monetary.c (monetary_read)
7484 <tok_mon_grouping>: Normalize single -1 to the empty string.
7485 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7486 Likewise.
7487
728dab0e
OB
74882013-11-07 Ondřej Bílka <neleai@seznam.cz>
7489
7490 [BZ #16055]
7491 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7492 when we match (nil).
7493 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7494
66294491
JM
74952013-11-16 Joseph Myers <joseph@codesourcery.com>
7496
ce665817
JM
7497 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7498 (NO_TEST_INLINE): Update value.
7499 (ERRNO_UNCHANGED): Likewise.
7500 (ERRNO_EDOM): Likewise.
7501 (ERRNO_ERANGE): Likewise.
7502 (IGNORE_RESULT): Likewise.
7503 (check_float_internal): Check signs of NaN results if
7504 TEST_NAN_SIGN used.
7505 (check_complex): Pass TEST_NAN_SIGN flag through to second
7506 check_float_internal call.
7507 (copysign_test_data): Add tests with quiet NaNs as second
7508 argument. Use TEST_NAN_SIGN.
7509 (fabs_test_data): Add test of negative quiet NaN argument. Use
7510 TEST_NAN_SIGN.
7511 (signbit_test_data): Add tests of quiet NaN argument.
7512 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7513
ee1466a9
JM
7514 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7515 $ignore_result.
7516 (parse_args): Handle function results specified as IGNORE.
7517 * math/libm-test.inc (IGNORE_RESULT): New macro.
7518 (check_float_internal): Do not check numerical result if flag
7519 IGNORE_RESULT set.
7520 (check_complex): Pass through IGNORE_RESULT to second
7521 check_float_internal call.
7522 (check_int): Do not check numerical result if flag IGNORE_RESULT
7523 set.
7524 (check_long): Likewise.
7525 (check_bool): Likewise.
7526 (check_longlong): Likewise.
7527 (lrint_test_data): Add tests of infinite and NaN arguments.
7528 (lrint_tonearest_test_data): Likewise.
7529 (lrint_towardzero_test_data): Likewise.
7530 (lrint_downward_test_data): Likewise.
7531 (lrint_upward_test_data): Likewise.
7532 (llrint_test_data): Likewise.
7533 (llrint_tonearest_test_data): Likewise.
7534 (llrint_towardzero_test_data): Likewise.
7535 (llrint_downward_test_data): Likewise.
7536 (llrint_upward_test_data): Likewise.
7537 (lround_test_data): Likewise.
7538 (llround_test_data): Likewise.
7539
14407b7e
JM
7540 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7541 (ERRNO_UNCHANGED): Update value.
7542 (ERRNO_EDOM): Likewise.
7543 (ERRNO_ERANGE): Likewise.
7544 (NO_TEST_INLINE_FLOAT): New macro.
7545 (NO_TEST_INLINE_DOUBLE): Likewise.
7546 (enable_test): New function.
7547 (RUN_TEST_f_f): Check enable_test before running test.
7548 (RUN_TEST_2_f): Likewise.
7549 (RUN_TEST_fff_f): Likewise.
7550 (RUN_TEST_c_f): Likewise.
7551 (RUN_TEST_f_f1): Likewise.
7552 (RUN_TEST_fF_f1): Likewise.
7553 (RUN_TEST_fI_f1): Likewise.
7554 (RUN_TEST_ffI_f1): Likewise.
7555 (RUN_TEST_c_c): Likewise.
7556 (RUN_TEST_cc_c): Likewise.
7557 (RUN_TEST_f_i): Likewise.
7558 (RUN_TEST_f_i_tg): Likewise.
7559 (RUN_TEST_ff_i_tg): Likewise.
7560 (RUN_TEST_f_b): Likewise.
7561 (RUN_TEST_f_b_tg): Likewise.
7562 (RUN_TEST_f_l): Likewise.
7563 (RUN_TEST_f_L): Likewise.
7564 (RUN_TEST_fFF_11): Likewise.
7565 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7566 conditionals.
7567 (cosh_test_data): Likewise.
7568 (exp_test_data): Likewise.
7569 (expm1_test_data): Likewise.
7570 (hypot_test_data): Likewise.
7571 (pow_test_data): Likewise.
7572 (sinh_test_data): Likewise.
7573 (tanh_test_data): Likewise.
7574 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7575 flags argument.
7576
ca07f197
JM
7577 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7578 tests with quiet NaN input and output.
7579 (acosh_test_data): Likewise.
7580 (asin_test_data): Likewise.
7581 (asinh_test_data): Likewise.
7582 (atan_test_data): Likewise.
7583 (atanh_test_data): Likewise.
7584 (atan2_test_data): Likewise.
7585 (cbrt_test_data): Likewise.
7586 (cos_test_data): Likewise.
7587 (cosh_test_data): Likewise.
7588 (erf_test_data): Likewise.
7589 (erfc_test_data): Likewise.
7590 (exp_test_data): Likewise.
7591 (exp10_test_data): Likewise.
7592 (exp2_test_data): Likewise.
7593 (expm1_test_data): Likewise.
7594 (hypot_test_data): Likewise.
7595 (j0_test_data): Likewise.
7596 (j1_test_data): Likewise.
7597 (jn_test_data): Likewise.
7598 (lgamma_test_data): Likewise.
7599 (log_test_data): Likewise.
7600 (log10_test_data): Likewise.
7601 (log1p_test_data): Likewise.
7602 (log2_test_data): Likewise.
7603 (pow_test_data): Likewise.
7604 (scalb_test_data): Likewise.
7605 (sin_test_data): Likewise.
7606 (sincos_test_data): Likewise.
7607 (sinh_test_data): Likewise.
7608 (tan_test_data): Likewise.
7609 (tanh_test_data): Likewise.
7610 (tgamma_test_data): Likewise.
7611 (y0_test_data): Likewise.
7612 (y1_test_data): Likewise.
7613 (yn_test_data): Likewise.
7614
66294491
JM
7615 [BZ #16167]
7616 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7617 argument being NaN and avoid computations with second argument in
7618 that case.
7619 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7620 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7621 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7622
1820b143
CL
76232013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7624
7625 * locale/iso-639.def: Add Chitwani Tharu (the).
7626
714bd261
AS
76272013-11-14 Andreas Schwab <schwab@suse.de>
7628
7629 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7630 word instead of empty string.
7631
7ab44563
AZ
76322013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7633
7634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7635 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7637 (__fe_nomask_env): Likewise.
7638
e8470ea2
SE
76392013-11-13 Steve Ellcey <sellcey@mips.com>
7640
7641 * benchtests/bench-timing.h: Include time.h.
7642
17c1d9f0
L
76432013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7644
7645 [BZ #15997]
7646 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7647 to 3.4.0 for x32.
7648 * sysdeps/unix/sysv/linux/configure: Regenerated.
7649
9310c284
JM
76502013-11-13 Joseph Myers <joseph@codesourcery.com>
7651
7652 [BZ #16151]
7653 * stdlib/strtod_l.c (round_and_return): Do not consider
7654 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7655 exponent one less than half the least subnormal exponent.
7656 * stdlib/test-strtod-round-data: Add more tests.
7657 * stdlib/tst-strtod-round.c (tests): Regenerated.
7658
7a2ad8cf
AZ
76592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7660
7661 [BZ #14143]
7662 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7663 (__fe_mask_env): Likewise.
7664 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7665 libm_hidden_proto and add function prototype.
7666 (__fe_mask_env): Add function prototype.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7668 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7670 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7672 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7673
50727aa7
MS
76742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7675
b2f386c1 7676 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7677 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7678
a615be46
MS
76792013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7680
7681 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7682 of htab_find_slot().
7683
7ddace62
DM
76842013-11-11 David S. Miller <davem@davemloft.net>
7685
7686 [BZ #16150]
7687 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7688 symbol in the non-vis3 case in static builds.
7689 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7690 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7691 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7692 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7693
9182aa67
JK
76942013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7695
7696 [BZ #387]
7697 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7698 it is empty.
7699
450a2e2d
AZ
77002013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7701
b2f386c1
SP
7702 * benchtests/Makefile: Add bench-strtod.
7703 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7704
8ec3f656
AS
77052013-11-11 Andreas Schwab <schwab@suse.de>
7706
7707 [BZ #16153]
7708 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7709 terminating NUL in key length.
7710
76a9b998
AZ
77112013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7712
7713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7714 Add artificial ODP entry for vDSO symbol for PPC64.
7715 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7716 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7717
e4368156
OB
77182013-11-07 Ondřej Bílka <neleai@seznam.cz>
7719
7720 [BZ #15374]
7721 * nss/getent.c (services_keys): Recognize services starting with digit.
7722
8d6bb57c
DM
77232013-11-06 David S. Miller <davem@davemloft.net>
7724
7725 [BZ #15985]
7726 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7727 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7728
e256c421
WN
77292013-11-06 Will Newton <will.newton@linaro.org>
7730
7731 * manual/memory.texi (Malloc Examples): Remove register
7732 keyword from examples.
7733
f6e12daa 77342013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7735
f6e12daa 7736 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7737
9d880655
AS
77382013-11-04 Joseph Myers <joseph@codesourcery.com>
7739
fd2f9486 7740 [BZ #6981]
9d880655
AS
7741 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7742 depending on [__GCC_IEC_559 > 0].
7743 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7744 depending on [__GCC_IEC_559_COMPLEX > 0].
7745
ae129d3c
CL
77462013-11-03 Chris Leonard <cjl@sugarlabs.org>
7747
7748 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7749 to iso-639.def.
7750
4a15c2a4 77512013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7752
7753 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7754
8b35e35d
OB
77552013-11-01 Ondřej Bílka <neleai@seznam.cz>
7756
7757 [BZ #16112]
7758 * malloc/malloc (malloc_info): Do not handle first bin as
7759 special case.
7760
1d70fd6c
CL
77612013-11-01 Chris Leonard <cjl@sugarlabs.org>
7762
7763 * locale/iso-639.def: Add Central Nahuatl (nhn).
7764
8c5c2600
BH
77652013-11-01 Bruno Haible <bruno@clisp.org>
7766
7767 [BZ #7003]
7768 * manual/math.texi (BSD Random): Specify range upper bound as
7769 in POSIX.
7770
da5579c2
CL
77712013-10-31 Chris Leonard <cjl@sugarlabs.org>
7772
7773 * locale/iso-639.def: Add Meadow Mari (mhr).
7774
5d30d853
OB
77752013-10-31 Ondřej Bílka <neleai@seznam.cz>
7776
7777 [BZ #14752], [BZ #15763]
7778 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7779 Validate name.
7780 * rt/tst_shm.c: Add test for escaping directory.
7781
a4966c61
AS
77822013-10-31 Andreas Schwab <schwab@suse.de>
7783
8a43e768 7784 [BZ #15917]
a4966c61
AS
7785 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7786 followed by 'x' as part of digit sequence.
7787 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7788
28d708c4
MAP
77892013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7790
7791 [BZ #16037]
7792 * configure.ac: allow GNU Make 4.0 and greater.
7793 * configure: Regenerated.
7794
a56ee40b
WN
77952013-10-30 Will Newton <will.newton@linaro.org>
7796
7797 [BZ #16038]
7798 * malloc/hooks.c (memalign_check): Limit alignment to the
7799 maximum representable power of two.
7800 * malloc/malloc.c (__libc_memalign): Likewise.
7801 * malloc/tst-memalign.c (do_test): Add test for very
7802 large alignment values.
7803 * malloc/tst-posix_memalign.c (do_test): Likewise.
7804
c6e4925d
OB
78052013-10-30 Ondřej Bílka <neleai@seznam.cz>
7806
7807 [BZ #11087]
7808 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7809 (munmap_chunk): Likewise.
7810 (mremap_chunk): Likewise.
7811
78122013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7813
8a43e768 7814 [BZ #15799]
bbea82f7
OB
7815 * stdlib/div.c (div): Remove obsolete code.
7816 * stdlib/ldiv.c (ldiv): Likewise.
7817 * stdlib/lldiv.c (lldiv): Likewise.
7818
977f4b31
SP
78192013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7820
7821 [BZ #16071]
7822 * nss/nss_files/files-XXX.c (get_contents_ret): New
7823 enumerator.
7824 (get_contents): New function.
7825 (internal_getent): Use it. Expand size of LINEBUFLEN.
7826
cb8a6dbd
MF
78272013-10-30 Mike Frysinger <vapier@gentoo.org>
7828
7829 * configure.in: Moved to ...
7830 * configure.ac: ... here. Change reference to configure.in
7831 to configure.ac.
7832 * sysdeps/arm/preconfigure.ac: ... here.
7833 configure.in to configure.ac.
7834 * sysdeps/gnu/configure.in: Moved to ...
7835 * sysdeps/gnu/configure.ac: ... here.
7836 * sysdeps/i386/configure.in: Moved to ...
7837 * sysdeps/i386/configure.ac: ... here.
7838 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7839 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7840 * sysdeps/mach/configure.in: Moved to ...
7841 * sysdeps/mach/configure.ac: ... here.
7842 * sysdeps/mach/hurd/configure.in: Moved to ...
7843 * sysdeps/mach/hurd/configure.ac: ... here.
7844 * sysdeps/powerpc/configure.in: Moved to ...
7845 * sysdeps/powerpc/configure.ac: ... here.
7846 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7847 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7848 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7849 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7850 * sysdeps/s390/s390-32/configure.in: Moved to ...
7851 * sysdeps/s390/s390-32/configure.ac: ... here.
7852 * sysdeps/s390/s390-64/configure.in: Moved to ...
7853 * sysdeps/s390/s390-64/configure.ac: ... here.
7854 * sysdeps/sh/configure.in: Moved to ...
7855 * sysdeps/sh/configure.ac: ... here.
7856 * sysdeps/sparc/configure.in: Moved to ...
7857 * sysdeps/sparc/configure.ac: ... here.
7858 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7859 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7860 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7861 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7862 * sysdeps/x86_64/configure.in: Moved to ...
7863 * sysdeps/x86_64/configure.ac: ... here.
7864 * sysdeps/x86_64/preconfigure.in: Moved to ...
7865 * sysdeps/x86_64/preconfigure.ac: ... here.
7866 * aclocal.m4: Change reference to configure.in to configure.ac.
7867 * config.h.in: Likewise.
7868 * manual/install.texi: Likewise.
7869 * manual/maint.texi: Likewise.
7870 * Makefile: Likewise.
7871 * malloc/Makefile: Likewise.
7872 * nscd/Makefile: Likewise.
7873 * Makeconfig: Change reference to configure.in and
7874 preconfigure.in to configure.ac and preconfigure.ac
7875 respectively.
7876 * INSTALL: Regenerated.
7877 * configure: Likewise.
7878 * sysdeps/gnu/configure: Likewise.
7879 * sysdeps/i386/configure: Likewise.
7880 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7881 * sysdeps/mach/configure: Likewise.
7882 * sysdeps/mach/hurd/configure: Likewise.
7883 * sysdeps/powerpc/configure: Likewise.
7884 * sysdeps/powerpc/powerpc32/configure: Likewise.
7885 * sysdeps/powerpc/powerpc64/configure: Likewise.
7886 * sysdeps/s390/s390-32/configure: Likewise.
7887 * sysdeps/s390/s390-64/configure: Likewise.
7888 * sysdeps/sh/configure: Likewise.
7889 * sysdeps/sparc/configure: Likewise.
7890 * sysdeps/unix/sysv/linux/configure: Likewise.
7891 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7892 * sysdeps/x86_64/configure: Likewise.
7893 * sysdeps/x86_64/preconfigure: Likewise.
7894
36a4953a
AS
78952013-10-29 Andreas Schwab <schwab@suse.de>
7896
7897 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7898
c79a1204
SP
78992013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7900
dfa1b402
SP
7901 * benchtests/pow-inputs: Add new inputs.
7902
54f73d9c
SP
7903 * benchtests/exp-inputs: Add new inputs.
7904
c79a1204
SP
7905 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7906 conditional check for return value.
7907 (__cos32): Likewise.
7908
67beb545 79092013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7910
7911 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7912 to provide a boost for large inputs with word alignment.
7913 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7914 implementation based on optimized PPC64 strcpy.
7915 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7916 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7917 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7918 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7919
151659f6
OB
79202013-10-25 Ondřej Bílka <neleai@seznam.cz>
7921
482a077e 7922 [BZ #2801]
151659f6
OB
7923 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7924
10b0f26b
OB
79252013-10-25 Ondřej Bílka <neleai@seznam.cz>
7926
7927 [BZ #14876]
7928 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7929 * time/tst-strptime.c (day_tests): Add testcase.
7930
ca42d35e
OB
79312013-10-25 Ondřej Bílka <neleai@seznam.cz>
7932
482a077e 7933 [BZ #14029]
ca42d35e
OB
7934 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7935
52e6d801
FB
79362013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7937
7938 [BZ #16074]
7939 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7940 MAP_FAILED on error.
7941
7cbcdb36
SP
79422013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7943
7944 [BZ #16072]
7945 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7946 heap for large requests.
7947
894f3f10
AM
79482013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7949
7950 [BZ #9954]
7951 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7952 result if the result has no associated interface.
7953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7954 interface for all 127.X.Y.Z addresses.
7955
b85545a6
CL
79562013-10-24 Chris Leonard <cjl@sugarlabs.org>
7957
7958 * locale/iso-639.def: Add Ligurian (lij)
7959
d1f23d46
OB
79602013-10-21 Ondřej Bílka <neleai@seznam.cz>
7961
7962 [BZ #15825]
7963 * sunrpc/rpc_main.c: Document rpcgen -5.
7964
4db5b08f
MS
79652013-10-19 Michael Stahl <mstahl@redhat.com>
7966
7967 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7968
a471e96a
OB
79692013-10-19 Ondřej Bílka <neleai@seznam.cz>
7970
d1f23d46 7971 [BZ #10278]
a471e96a
OB
7972 * posix/glob.c: Match only directories when trailing slash is present.
7973 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7974 (main): Add testcase.
7975
45c30c61
OB
79762013-10-19 Ondřej Bílka <neleai@seznam.cz>
7977
7978 [BZ #15670]
7979 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7980
484c12fb
CD
79812013-10-18 Carlos O'Donell <carlos@redhat.com>
7982
3d7dc513
CD
7983 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7984 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7985 AUTH_DES and cindex for FIPS 140-2.
7986 (DES Encryption): Add cindex FIPS 46-3.
7987
484c12fb
CD
7988 * locale/locarchive.h (struct locarhandle): Add fname.
7989 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7990 if an optional argument was specified to --list-archive,
7991 otherwise NULL.
7992 * locale/programs/locarchive.c (show_archive_content): Take new
7993 argument fname and pass it via ah.fname to open_archive.
7994 * locale/programs/localedef.h: Update decl.
7995 (open_archive): If AH->fname is non-null, open that file
7996 rather than the default file name, and don't ignore ENOENT.
7997 (create_archive): Set AH.fname to NULL.
7998 (delete_locales_from_archive): Likewise.
7999 (add_locales_to_archive): Likewise.
8000 * locale/programs/locfile.c (write_all_categories): Likewise.
8001
3c8325fb
JM
80022013-10-18 Joseph Myers <joseph@codesourcery.com>
8003 Aldy Hernandez <aldyh@redhat.com>
8004
8005 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8006 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8007 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8008 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8009 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8010 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8011 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8012 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8013 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8014 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8015 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8016 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8017 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8018 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8019 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8020 Likewise.
8021 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8022 Likewise.
8023 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8024 Likewise.
8025 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8026 Likewise.
8027 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8028 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8029 Likewise.
8030 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8031 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8032 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8033 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8034 Likewise.
8035 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8036 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8037 * sysdeps/powerpc/preconfigure: Likewise.
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8039 Likewise.
8040 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8041 Replace contents of file by #include of <fenv_libc.h>.
8042 * sysdeps/powerpc/soft-fp/sfp-machine.h
8043 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8044 and <sys/prctl.h>.
8045 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8052 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8053 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8054 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8055 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8056 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8058 Allow copysignl PLT reference to be missing.
8059
5abe0682
RS
80602013-10-18 Richard Sandiford <richard@codesourcery.com>
8061 Joseph Myers <joseph@codesourcery.com
8062
8063 [BZ #15948]
8064 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8065 single character.
8066 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8067
c7738d08
SP
80682013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8069
8070 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8071 * elf/tst-tls1.c: Likewise.
8072 * elf/tst-tls10.h: Likewise.
8073 * elf/tst-tls14.c: Likewise.
8074 * elf/tst-tls2.c: Likewise.
8075 * elf/tst-tls3.c: Likewise.
8076 * elf/tst-tls4.c: Likewise.
8077 * elf/tst-tls5.c: Likewise.
8078 * elf/tst-tls6.c: Likewise.
8079 * elf/tst-tls7.c: Likewise.
8080 * elf/tst-tls8.c: Likewise.
8081 * elf/tst-tls9.c: Likewise.
8082 * elf/tst-tlsmod1.c: Likewise.
8083 * elf/tst-tlsmod13.c: Likewise.
8084 * elf/tst-tlsmod13a.c: Likewise.
8085 * elf/tst-tlsmod14a.c: Likewise.
8086 * elf/tst-tlsmod16a.c: Likewise.
8087 * elf/tst-tlsmod16b.c: Likewise.
8088 * elf/tst-tlsmod2.c: Likewise.
8089 * elf/tst-tlsmod3.c: Likewise.
8090 * elf/tst-tlsmod4.c: Likewise.
8091 * elf/tst-tlsmod5.c: Likewise.
8092 * elf/tst-tlsmod6.c: Likewise.
8093
0bfcf2c7
OB
80942013-10-18 Ondřej Bílka <neleai@seznam.cz>
8095
8096 [BZ #12486]
8097 * malloc/malloc.c: remove checks for statistics.
8098
264aad1e
OB
80992013-10-17 Ondřej Bílka <neleai@seznam.cz>
8100
8101 [BZ #15277]
8102 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8103 * inet/tst-network.c: Add testcase.
8104
b957ced8
AS
81052013-10-17 Andreas Schwab <schwab@suse.de>
8106
8107 [BZ #15218]
8108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8109 to determine canonical name.
8110
c5d5d574
OB
81112013-10-17 Ondřej Bílka <neleai@seznam.cz>
8112
8113 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8114 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8137 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8138 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8143 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8171
e5c2c2d0
JM
81722013-10-17 Joseph Myers <joseph@codesourcery.com>
8173
8174 [BZ #16041]
8175 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8176 make result into a quiet NaN.
8177
51ca9e29
JM
81782013-10-16 Joseph Myers <joseph@codesourcery.com>
8179
8180 * soft-fp/adddf3.c: Fix horizontal whitespace.
8181 * soft-fp/addsf3.c: Likewise.
8182 * soft-fp/addtf3.c: Likewise.
8183 * soft-fp/divdf3.c: Likewise.
8184 * soft-fp/divsf3.c: Likewise.
8185 * soft-fp/divtf3.c: Likewise.
8186 * soft-fp/double.h: Likewise.
8187 * soft-fp/eqdf2.c: Likewise.
8188 * soft-fp/eqsf2.c: Likewise.
8189 * soft-fp/eqtf2.c: Likewise.
8190 * soft-fp/extenddftf2.c: Likewise.
8191 * soft-fp/extended.h: Likewise.
8192 * soft-fp/extendsfdf2.c: Likewise.
8193 * soft-fp/extendsftf2.c: Likewise.
8194 * soft-fp/extendxftf2.c: Likewise.
8195 * soft-fp/fixdfdi.c: Likewise.
8196 * soft-fp/fixdfsi.c: Likewise.
8197 * soft-fp/fixdfti.c: Likewise.
8198 * soft-fp/fixsfdi.c: Likewise.
8199 * soft-fp/fixsfsi.c: Likewise.
8200 * soft-fp/fixsfti.c: Likewise.
8201 * soft-fp/fixtfdi.c: Likewise.
8202 * soft-fp/fixtfsi.c: Likewise.
8203 * soft-fp/fixtfti.c: Likewise.
8204 * soft-fp/fixunsdfdi.c: Likewise.
8205 * soft-fp/fixunsdfsi.c: Likewise.
8206 * soft-fp/fixunsdfti.c: Likewise.
8207 * soft-fp/fixunssfdi.c: Likewise.
8208 * soft-fp/fixunssfsi.c: Likewise.
8209 * soft-fp/fixunssfti.c: Likewise.
8210 * soft-fp/fixunstfdi.c: Likewise.
8211 * soft-fp/fixunstfsi.c: Likewise.
8212 * soft-fp/fixunstfti.c: Likewise.
8213 * soft-fp/floatdidf.c: Likewise.
8214 * soft-fp/floatdisf.c: Likewise.
8215 * soft-fp/floatditf.c: Likewise.
8216 * soft-fp/floatsidf.c: Likewise.
8217 * soft-fp/floatsisf.c: Likewise.
8218 * soft-fp/floatsitf.c: Likewise.
8219 * soft-fp/floattidf.c: Likewise.
8220 * soft-fp/floattisf.c: Likewise.
8221 * soft-fp/floattitf.c: Likewise.
8222 * soft-fp/floatundidf.c: Likewise.
8223 * soft-fp/floatundisf.c: Likewise.
8224 * soft-fp/floatunditf.c: Likewise.
8225 * soft-fp/floatunsidf.c: Likewise.
8226 * soft-fp/floatunsisf.c: Likewise.
8227 * soft-fp/floatunsitf.c: Likewise.
8228 * soft-fp/floatuntidf.c: Likewise.
8229 * soft-fp/floatuntisf.c: Likewise.
8230 * soft-fp/floatuntitf.c: Likewise.
8231 * soft-fp/fmadf4.c: Likewise.
8232 * soft-fp/fmasf4.c: Likewise.
8233 * soft-fp/fmatf4.c: Likewise.
8234 * soft-fp/gedf2.c: Likewise.
8235 * soft-fp/gesf2.c: Likewise.
8236 * soft-fp/getf2.c: Likewise.
8237 * soft-fp/ledf2.c: Likewise.
8238 * soft-fp/lesf2.c: Likewise.
8239 * soft-fp/letf2.c: Likewise.
8240 * soft-fp/muldf3.c: Likewise.
8241 * soft-fp/mulsf3.c: Likewise.
8242 * soft-fp/multf3.c: Likewise.
8243 * soft-fp/negdf2.c: Likewise.
8244 * soft-fp/negsf2.c: Likewise.
8245 * soft-fp/negtf2.c: Likewise.
8246 * soft-fp/op-1.h: Likewise.
8247 * soft-fp/op-2.h: Likewise.
8248 * soft-fp/op-4.h: Likewise.
8249 * soft-fp/op-8.h: Likewise.
8250 * soft-fp/op-common.h: Likewise.
8251 * soft-fp/quad.h: Likewise.
8252 * soft-fp/single.h: Likewise.
8253 * soft-fp/soft-fp.h: Likewise.
8254 * soft-fp/sqrtdf2.c: Likewise.
8255 * soft-fp/sqrtsf2.c: Likewise.
8256 * soft-fp/sqrttf2.c: Likewise.
8257 * soft-fp/subdf3.c: Likewise.
8258 * soft-fp/subsf3.c: Likewise.
8259 * soft-fp/subtf3.c: Likewise.
8260 * soft-fp/truncdfsf2.c: Likewise.
8261 * soft-fp/trunctfdf2.c: Likewise.
8262 * soft-fp/trunctfsf2.c: Likewise.
8263 * soft-fp/trunctfxf2.c: Likewise.
8264 * soft-fp/unorddf2.c: Likewise.
8265 * soft-fp/unordsf2.c: Likewise.
8266 * soft-fp/unordtf2.c: Likewise.
8267
9ebb0332
JM
82682013-10-15 Joseph Myers <joseph@codesourcery.com>
8269
8270 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8271 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8272
4b1a6d8b
OB
82732013-10-15 Ondřej Bílka <neleai@seznam.cz>
8274
8275 * elf/dl-libc.c: Clear initfini list after freeing.
8276
1e145589
JM
82772013-10-14 Joseph Myers <joseph@codesourcery.com>
8278
8279 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8280 * soft-fp/addsf3.c: Likewise.
8281 * soft-fp/addtf3.c: Likewise.
8282 * soft-fp/divdf3.c: Likewise.
8283 * soft-fp/divsf3.c: Likewise.
8284 * soft-fp/divtf3.c: Likewise.
8285 * soft-fp/double.h: Likewise.
8286 * soft-fp/eqdf2.c: Likewise.
8287 * soft-fp/eqsf2.c: Likewise.
8288 * soft-fp/eqtf2.c: Likewise.
8289 * soft-fp/extenddftf2.c: Likewise.
8290 * soft-fp/extended.h: Likewise.
8291 * soft-fp/extendsfdf2.c: Likewise.
8292 * soft-fp/extendsftf2.c: Likewise.
8293 * soft-fp/extendxftf2.c: Likewise.
8294 * soft-fp/fixdfdi.c: Likewise.
8295 * soft-fp/fixdfsi.c: Likewise.
8296 * soft-fp/fixdfti.c: Likewise.
8297 * soft-fp/fixsfdi.c: Likewise.
8298 * soft-fp/fixsfsi.c: Likewise.
8299 * soft-fp/fixsfti.c: Likewise.
8300 * soft-fp/fixtfdi.c: Likewise.
8301 * soft-fp/fixtfsi.c: Likewise.
8302 * soft-fp/fixtfti.c: Likewise.
8303 * soft-fp/fixunsdfdi.c: Likewise.
8304 * soft-fp/fixunsdfsi.c: Likewise.
8305 * soft-fp/fixunsdfti.c: Likewise.
8306 * soft-fp/fixunssfdi.c: Likewise.
8307 * soft-fp/fixunssfsi.c: Likewise.
8308 * soft-fp/fixunssfti.c: Likewise.
8309 * soft-fp/fixunstfdi.c: Likewise.
8310 * soft-fp/fixunstfsi.c: Likewise.
8311 * soft-fp/fixunstfti.c: Likewise.
8312 * soft-fp/floatdidf.c: Likewise.
8313 * soft-fp/floatdisf.c: Likewise.
8314 * soft-fp/floatditf.c: Likewise.
8315 * soft-fp/floatsidf.c: Likewise.
8316 * soft-fp/floatsisf.c: Likewise.
8317 * soft-fp/floatsitf.c: Likewise.
8318 * soft-fp/floattidf.c: Likewise.
8319 * soft-fp/floattisf.c: Likewise.
8320 * soft-fp/floattitf.c: Likewise.
8321 * soft-fp/floatundidf.c: Likewise.
8322 * soft-fp/floatundisf.c: Likewise.
8323 * soft-fp/floatunsidf.c: Likewise.
8324 * soft-fp/floatunsisf.c: Likewise.
8325 * soft-fp/floatuntidf.c: Likewise.
8326 * soft-fp/floatuntisf.c: Likewise.
8327 * soft-fp/floatuntitf.c: Likewise.
8328 * soft-fp/fmadf4.c: Likewise.
8329 * soft-fp/fmasf4.c: Likewise.
8330 * soft-fp/fmatf4.c: Likewise.
8331 * soft-fp/gedf2.c: Likewise.
8332 * soft-fp/gesf2.c: Likewise.
8333 * soft-fp/getf2.c: Likewise.
8334 * soft-fp/ledf2.c: Likewise.
8335 * soft-fp/lesf2.c: Likewise.
8336 * soft-fp/letf2.c: Likewise.
8337 * soft-fp/muldf3.c: Likewise.
8338 * soft-fp/mulsf3.c: Likewise.
8339 * soft-fp/multf3.c: Likewise.
8340 * soft-fp/negdf2.c: Likewise.
8341 * soft-fp/negsf2.c: Likewise.
8342 * soft-fp/negtf2.c: Likewise.
8343 * soft-fp/op-1.h: Likewise.
8344 * soft-fp/op-2.h: Likewise.
8345 * soft-fp/op-4.h: Likewise.
8346 * soft-fp/op-8.h: Likewise.
8347 * soft-fp/op-common.h: Likewise.
8348 * soft-fp/quad.h: Likewise.
8349 * soft-fp/single.h: Likewise.
8350 * soft-fp/soft-fp.h: Likewise.
8351 * soft-fp/sqrtdf2.c: Likewise.
8352 * soft-fp/sqrtsf2.c: Likewise.
8353 * soft-fp/sqrttf2.c: Likewise.
8354 * soft-fp/subdf3.c: Likewise.
8355 * soft-fp/subsf3.c: Likewise.
8356 * soft-fp/subtf3.c: Likewise.
8357 * soft-fp/truncdfsf2.c: Likewise.
8358 * soft-fp/trunctfdf2.c: Likewise.
8359 * soft-fp/trunctfsf2.c: Likewise.
8360 * soft-fp/trunctfxf2.c: Likewise.
8361 * soft-fp/unorddf2.c: Likewise.
8362 * soft-fp/unordsf2.c: Likewise.
8363 * soft-fp/unordtf2.c: Likewise.
8364
17c48a60
OB
83652013-10-14 Ondřej Bílka <neleai@seznam.cz>
8366
8367 [BZ #15672]
8368 * misc/error.c (error_tail): Fix possible buffer overflow.
8369
cabba934
OB
83702013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8371
8372 [BZ #13028]
8373 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8374 address.
8375
94bf958a
PM
83762013-10-14 P. J. McDermott <pj@pehjota.net>
8377
8378 [BZ #832]
8379 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8380 testing pipefail option.
8381
71b4dea7
JM
83822013-10-12 Joseph Myers <joseph@codesourcery.com>
8383
8384 * soft-fp/double.h: Indent preprocessor directives inside #if.
8385 * soft-fp/extended.h: Likewise.
8386 * soft-fp/op-2.h: Likewise.
8387 * soft-fp/op-4.h: Likewise.
8388 * soft-fp/op-common.h: Likewise.
8389 * soft-fp/quad.h: Likewise.
8390 * soft-fp/single.h: Likewise.
8391 * soft-fp/soft-fp.h: Likewise.
8392
55602758
YC
83932013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8394
8395 * iconv/iconv_prog.c: Fix typos.
8396 * stdio-common/psiginfo-data.h: Likewise.
8397
9cd83302
RT
83982013-10-12 Reuben Thomas <rrt@sc3d.org>
8399
8400 [BZ #15764]
8401 * locale/setlocale.c: Fix typo.
8402
99fd9f47
JM
84032013-10-12 Joseph Myers <joseph@codesourcery.com>
8404
b7ea74f0
JM
8405 [BZ #16036]
8406 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8407 signaling NaN arguments.
8408 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8409 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8410
8a509447
JM
8411 [BZ #14910]
8412 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8413 unordered operands.
8414 * soft-fp/gesf2.c (__gesf2): Likewise.
8415 * soft-fp/getf2.c (__getf2): Likewise.
8416 * soft-fp/ledf2.c (__ledf2): Likewise.
8417 * soft-fp/lesf2.c (__lesf2): Likewise.
8418 * soft-fp/letf2.c (__letf2): Likewise.
8419
98998e9f
JM
8420 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8421 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8422 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8423 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8424 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8425 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8426 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8427 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8428 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8429 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8430 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8431 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8432 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8433 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8434 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8435 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8436 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8437 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8438 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8439 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8440 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8441 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8442 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8443 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8444 * soft-fp/floattidf.c (__floattidf): Likewise.
8445 * soft-fp/floattisf.c (__floattisf): Likewise.
8446 * soft-fp/floattitf.c (__floattitf): Likewise.
8447 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8448 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8449 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8450 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8451 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8452 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8453 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8454 * soft-fp/gesf2.c (__gesf2): Likewise.
8455 * soft-fp/getf2.c (__getf2): Likewise.
8456 * soft-fp/ledf2.c (__ledf2): Likewise.
8457 * soft-fp/lesf2.c (__lesf2): Likewise.
8458 * soft-fp/letf2.c (__letf2): Likewise.
8459
8edc4a11
JM
8460 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8461 Undefine and redefine.
8462 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8463 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8464 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8465 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8466 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8467 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8468 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8469 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8470 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8471 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8472 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8473 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8474 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8475 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8476 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8477
8399acaf
JM
8478 [BZ #16032]
8479 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8480 without decrementing exponent if mantissa >= that for the
8481 denominator, not >.
8482 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8483 denominator, not >. Decrement exponent in < case instead of
8484 incrementing in >= case.
8485 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8486 without decrementing exponent if mantissa >= that for the
8487 denominator, not >.
8488
99fd9f47
JM
8489 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8490 computing saturated result for unsigned overflow.
8491
10e1cf6b
SP
84922013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8493 Jeff Law <law@redhat.com>
8494
8495 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8496 (atan2Mp): Add systemtap probe marker.
8497 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8498 (__ieee754_log): Add systemtap probe marker.
8499 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8500 (atanMp): Add systemtap probe marker.
8501 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8502 (tanMp): Add systemtap probe marker.
8503 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8504 (__slowexp): Add systemtap probe marker.
8505 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8506 (__slowpow): Add systemtap probe marker.
8507 * manual/probes.texi: Document probes.
8508
3d110c7c
EB
85092013-10-11 Eric Biggers <ebiggers3@gmail.com>
8510
8511 [BZ #15362]
8512 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8513 written.
8514 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8515 written.
8516 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8517 written to buffer but not flushed.
8518 * libio/iofwrite_u.c: Likewise.
8519 * libio/iopadn.c: Return bytes returned even if EOF was
8520 encountered.
8521 * libio/iowpadn.c: Likewise.
8522 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8523 if _IO_padn does not write the whole buffer.
8524 [!COMPILE_WPRINTF] (PAD): Likewise.
8525
75b4202a
DM
85262013-10-10 David S. Miller <davem@davemloft.net>
8527
8528 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8529 directory block.
8530
6c6352e6
JM
85312013-10-10 Joseph Myers <joseph@codesourcery.com>
8532
33b853c3
JM
8533 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8534 instead of FSF address.
8535 * soft-fp/fixdfti.c: Likewise.
8536 * soft-fp/fixsfti.c: Likewise.
8537 * soft-fp/fixtfti.c: Likewise.
8538 * soft-fp/fixunsdfti.c: Likewise.
8539 * soft-fp/fixunssfti.c: Likewise.
8540 * soft-fp/fixunstfti.c: Likewise.
8541 * soft-fp/floattidf.c: Likewise.
8542 * soft-fp/floattisf.c: Likewise.
8543 * soft-fp/floattitf.c: Likewise.
8544 * soft-fp/floatuntidf.c: Likewise.
8545 * soft-fp/floatuntisf.c: Likewise.
8546 * soft-fp/floatuntitf.c: Likewise.
8547 * soft-fp/trunctfxf2.c: Likewise.
8548
6c6352e6
JM
8549 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8550 * soft-fp/fixdfti.c: Likewise.
8551 * soft-fp/fixsfti.c: Likewise.
8552 * soft-fp/fixtfti.c: Likewise.
8553 * soft-fp/fixunsdfti.c: Likewise.
8554 * soft-fp/fixunssfti.c: Likewise.
8555 * soft-fp/fixunstfti.c: Likewise.
8556 * soft-fp/floattidf.c: Likewise.
8557 * soft-fp/floattisf.c: Likewise.
8558 * soft-fp/floattitf.c: Likewise.
8559 * soft-fp/floatuntidf.c: Likewise.
8560 * soft-fp/floatuntisf.c: Likewise.
8561 * soft-fp/floatuntitf.c: Likewise.
8562 * soft-fp/trunctfxf2.c: Likewise.
8563
3bf78b71
DM
85642013-10-10 David S. Miller <davem@davemloft.net>
8565
8566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8567
6f10289e
JM
85682013-10-10 Joseph Myers <joseph@codsourcery.com>
8569
bd878fc0
JM
8570 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8571 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8572 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8577
6f10289e
JM
8578 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8579 for NaNs before doing comparisons on argument.
8580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8581 Likewise.
8582
321e2684
WN
85832013-10-10 Will Newton <will.newton@linaro.org>
8584
8585 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8586 passed to _int_memalign does not overflow.
8587
40fefba1
TR
85882013-10-10 Torvald Riegel <triegel@redhat.com>
8589
8590 * scripts/bench.pl: Add include-sources directive.
8591 * benchtests/README: Update documentation.
8592
2ae21ed2
JM
85932013-10-10 Joseph Myers <joseph@codesourcery.com>
8594
dcc2dd3f
JM
8595 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8596 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8597 instead of FP_INIT_ROUNDMODE.
8598 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8599 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8600
2ae21ed2
JM
8601 [BZ #16034]
8602 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8603 copy class of input value.
8604 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8605 not handle exceptions.
8606 * soft-fp/negsf2.c (__negsf2): Likewise.
8607 * soft-fp/negtf2.c (__negtf2): Likewise.
8608 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8609
cb8f9562
JM
86102013-10-09 Joseph Myers <joseph@codesourcery.com>
8611
8612 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8613 semicolon. From Linux kernel.
8614
5b60c59d
AB
86152013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8616
8617 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8618
b86835ca
YC
86192013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8620
8621 [BZ #156]
8622 * manual/socket.texi: Added statement about buffer
8623 for gethostbyname2_r.
8624
e7044ea7
OB
86252013-10-08 Ondřej Bílka <neleai@seznam.cz>
8626
8627 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8628 Use .p2align directive instead, throughout.
8629 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8630 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8631 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8632 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8633 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8634 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8635 * sysdeps/x86_64/strchr.S: Likewise.
8636 * sysdeps/x86_64/strrchr.S: Likewise.
8637
09544cbc
SP
86382013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8639
88576635
SP
8640 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8641
e7b2d1dd
SP
8642 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8643
09544cbc
SP
8644 * sysdeps/generic/math_private.h (__mpsin1): Remove
8645 declaration.
8646 (__mpcos1): Likewise.
8647 (__mpsin): New argument __range_reduce.
8648 (__mpcos): Likewise.
8649 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8650 (slow): Use __mpsin and __mpcos.
8651 (slow1): Likewise.
8652 (slow2): Likewise.
8653 (sloww): Likewise.
8654 (sloww1): Likewise.
8655 (sloww2): Likewise.
8656 (bsloww): Likewise.
8657 (bsloww1): Likewise.
8658 (bsloww2): Likewise.
8659 (cslow2): Likewise.
8660 (csloww): Likewise.
8661 (csloww1): Likewise.
8662 (csloww2): Likewise.
8663 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8664 range_reduce. Merge in __mpsin1.
8665 (__mpcos): Likewise.
8666 (__mpsin1): Remove.
8667 (__mpcos1): Likewise.
8668
7602d070
JM
86692013-10-07 Joseph Myers <joseph@codesourcery.com>
8670
8671 * locale/loadlocale.c (_nl_intern_locale_data): Use
8672 LOCFILE_ALIGNED_P.
8673 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8674 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8675 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8676 obstack data is appropriately aligned.
8677 (obstack_int32_grow_fast): Likewise.
8678 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8679 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8680 (add_locale_uint32_array): Likewise.
8681
a357259b
SP
86822013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8683
8684 * benchtests/Makefile: Remove ARGLIST and RET variables.
8685 ($(objpfx)bench-%.c): Pass only function name to the script.
8686 * benchtests/README: Update documentation.
8687 * benchtests/acos-inputs: Add new directives.
8688 * benchtests/acosh-inputs: Likewise.
8689 * benchtests/asin-inputs: Likewise.
8690 * benchtests/asinh-inputs: Likewise.
8691 * benchtests/atan-inputs: Likewise.
8692 * benchtests/atanh-inputs: Likewise.
8693 * benchtests/cos-inputs: Likewise.
8694 * benchtests/cosh-inputs: Likewise.
8695 * benchtests/exp-inputs: Likewise.
8696 * benchtests/log-inputs: Likewise.
8697 * benchtests/pow-inputs: Likewise.
8698 * benchtests/rint-inputs: Likewise.
8699 * benchtests/sin-inputs: Likewise.
8700 * benchtests/sinh-inputs: Likewise.
8701 * benchtests/tan-inputs: Likewise.
8702 * benchtests/tanh-inputs: Likewise.
8703 * scripts/bench.pl: Add support for new directives.
8704
9ec1b13d
AM
87052013-10-07 Alan Modra <amodra@gmail.com>
8706
8707 * README: Fix careless merge.
8708
8b7d57cd
AM
87092013-10-05 Alan Modra <amodra@gmail.com>
8710
8711 * NEWS: Mention powerpc64le support and bugs fixed.
8712 * README: Both big-endian and little-endian powerpc64 supported.
8713
7b7bab13
ST
87142013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8715
8716 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8717 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8718 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8719 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8720
d39baad1
RA
87212013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8722
8723 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8724 match prototype.
8725
cd78f7e7
JM
87262013-10-04 Joseph Myers <joseph@codesourcery.com>
8727
29d73d86
JM
8728 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8729 Move -mhard-float appending from
8730 ports/sysdeps/powerpc/powerpc32/Makefile.
8731 [$(with-fp) = yes] (ASFLAGS): Likewise.
8732 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8733 * sysdeps/powerpc/nofpu: Move directory from
8734 ports/sysdeps/powerpc/nofpu.
8735 * sysdeps/powerpc/soft-fp: Move directory from
8736 ports/sysdeps/powerpc/soft-fp.
8737 * sysdeps/powerpc/powerpc32/405: Move directory from
8738 ports/sysdeps/powerpc/powerpc32/405.
8739 * sysdeps/powerpc/powerpc32/440: Move directory from
8740 ports/sysdeps/powerpc/powerpc32/440.
8741 * sysdeps/powerpc/powerpc32/464: Move directory from
8742 ports/sysdeps/powerpc/powerpc32/464.
8743 * sysdeps/powerpc/powerpc32/476: Move directory from
8744 ports/sysdeps/powerpc/powerpc32/476.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8746 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8748 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8750 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8752 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8754 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8755 * README: Update for powerpc-*-linux-gnu software floating point
8756 support in libc.
8757
e246b347
JM
8758 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8759 case to powerpc/powerpc32*.
8760 * sysdeps/unix/sysv/linux/configure: Regenerated.
8761
89c2003e
JM
8762 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8763 (_FPU_MASK_OM): Define as 0x04.
8764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8766 0x00c10080.
8767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8768 0x0000003c.
8769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8770
cd78f7e7
JM
8771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8772 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8773 getcontext_e500.
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8775 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8776 setcontext_e500.
8777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8778 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8779 and setcontext_e500.
8780
c755294d
CL
87812013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8782
8783 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8784
e16d221c
SP
87852013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8786
8787 * manual/threads.texi (Default Thread Attributes): Fix typo.
8788
215c7d43
WN
87892013-10-04 Will Newton <will.newton@linaro.org>
8790
8791 * malloc/Makefile: Add tst-memalign.
8792 * malloc/tst-memalign.c: New file.
8793
27d0461b
WN
8794 * malloc/tst-posix_memalign.c: Add comments.
8795 (do_test): Add comments and call free on all potentially
8796 allocated pointers. Add space after cast.
8797
1bc92709
WN
8798 * malloc/tst-pvalloc.c: Add comments.
8799 (do_test): Add comments and call free on all potentially
8800 allocated pointers. Remove duplicate check for NULL pointer.
8801 Add space after cast.
8802
66a9be9d
WN
8803 * malloc/tst-valloc.c: Add comments.
8804 (do_test): Add comments and call free on all potentially
8805 allocated pointers. Remove duplicate check for NULL pointer.
8806 Add space after cast.
8807
4cb81307
AM
88082013-10-04 Alan Modra <amodra@gmail.com>
8809
8810 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8811 Use stdint types in rather than __attribute__((mode())).
8812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8813
f8e3e9f3
AM
88142013-10-04 Alan Modra <amodra@gmail.com>
8815
8816 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8817 Correct handling of unaligned relocs for little-endian.
8818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8819
8f9ebb08
AM
88202013-10-04 Alan Modra <amodra@gmail.com>
8821
8822 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8823 * configure: Regenerate.
8824 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8825 * shlib-versions: Likewise.
8826
0edf96c2
AM
88272013-10-04 Alan Modra <amodra@gmail.com>
8828
8829 * string/tester.c (test_memrchr): Increment reported test cycle.
8830
e0f7a380
AM
88312013-10-04 Alan Modra <amodra@gmail.com>
8832
8833 * string/test-memcpy.c (do_one_test): When reporting errors, print
8834 string address and don't overrun end of string.
8835
466b0393
AM
88362013-10-04 Alan Modra <amodra@gmail.com>
8837
8838 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8839 insrdi. Make better use of reg selection to speed exit slightly.
8840 Schedule entry path a little better. Remove useless "are we done"
8841 checks on entry to main loop. Handle wrapping around zero address.
8842 Correct main loop count. Handle single left-over word from main
8843 loop inline rather than by using loop_small. Remove extra word
8844 case in loop_small caused by wrong loop count. Add little-endian
8845 support.
8846 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8847 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8848 cache hint.
8849 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8850 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8851 support. Avoid rlwimi.
8852 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8853
3be87c77
AM
88542013-10-04 Alan Modra <amodra@gmail.com>
8855
8856 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8857 insrdi. Formatting.
3be87c77
AM
8858 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8859 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8860 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8861 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8862 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8863 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8864
759cfef3
AM
88652013-10-04 Alan Modra <amodra@gmail.com>
8866
8867 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8870 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8871 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8872 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8873 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8874 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8875 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8876 use of regs. Use power7 mtocrf. Tidy function tails.
8877
fe6e95d7
AM
88782013-10-04 Alan Modra <amodra@gmail.com>
8879
8880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8881 Formatting. Consistently use rXXX register defines or rN defines.
8882 Use early exit labels that avoid restoring unused non-volatile regs.
8883 Make cr field use more consistent with rWORDn compares. Rename
8884 regs used as shift registers for unaligned loop, using rN defines
8885 for short lifetime/multiple use regs.
8886 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8888 addi 1,1,64 to pop stack frame. Simplify return value code.
8889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8890
664318c3
AM
88912013-10-04 Alan Modra <amodra@gmail.com>
8892
8893 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8894 support. Correct typos, formatting. Optimize tail. Use insrdi
8895 rather than rlwimi.
8896 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8897 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8898 little-endian support. Correct typos.
8899 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8900 rather than rlwimi.
8901 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8902 in loop and entry code to keep "and." results.
8903 (strchr): Add little-endian support. Comment. Move cntlzd
8904 earlier in tail.
8905 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8906
43b84013
AM
89072013-10-04 Alan Modra <amodra@gmail.com>
8908
8909 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8910 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8911 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8912 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8913
8a7413f9
AM
89142013-10-04 Alan Modra <amodra@gmail.com>
8915
8916 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8917 (rTMP): Define as r11.
8918 (strcmp): Add little-endian support. Optimise tail.
8919 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8920 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8921 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8923 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8926
33ee81de
AM
89272013-10-04 Alan Modra <amodra@gmail.com>
8928
8929 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8930 little-endian support. Remove unnecessary "are we done" tests.
8931 Handle "s" wrapping around zero and extremely large "size".
8932 Correct main loop count. Handle single left-over word from main
8933 loop inline rather than by using small_loop. Correct comments.
8934 Delete "zero" tail, use "end_max" instead.
8935 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8936
db9b4570
AM
89372013-10-04 Alan Modra <amodra@gmail.com>
8938
8939 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8940 support. Don't branch over align.
8941 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8942 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8943 support. Rearrange tmp reg use to suit. Comment.
8944 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8945
f7c399cf
AM
89462013-10-04 Alan Modra <amodra@gmail.com>
8947
8948 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8949
0b2c2ace
AM
89502013-10-04 Alan Modra <amodra@gmail.com>
8951
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8953 conditional form of branch and link when obtaining pc.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8955
02f04a6c
AM
89562013-10-04 Alan Modra <amodra@gmail.com>
8957
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8959 HIWORD/LOWORD.
8960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8962
9b874b2f
AM
89632013-10-04 Alan Modra <amodra@gmail.com>
8964
8965 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8966 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8967 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8968 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8969 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8970 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8971 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8972 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8973 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8974 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8975
be1e5d31
AB
89762013-10-04 Anton Blanchard <anton@au1.ibm.com>
8977 Alistair Popple <alistair@ozlabs.au.ibm.com>
8978 Alan Modra <amodra@gmail.com>
8979
8980 [BZ #15723]
8981 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8983 _dl_hwcap access for little-endian.
8984 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8985 destroy vmx regs when saving unaligned.
8986 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8987 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8988 destroy vmx regs when saving unaligned.
8989
fef13a78
AM
89902013-10-04 Alan Modra <amodra@gmail.com>
8991
8992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8993 Don't use a union to pack hi/low value.
8994
76a66d51
AB
89952013-10-04 Anton Blanchard <anton@au1.ibm.com>
8996
8997 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8998 for little-endian.
8999 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9001 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9002 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9003 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9004
6a31fe7f
AM
90052013-10-04 Alan Modra <amodra@gmail.com>
9006
9007 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9008 constants to usual value for .cst8 section, and remove redundant
9009 high address load.
9010 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9011 constant for 0x1p52. Load little-endian words of double from
9012 correct stack offsets.
9013
7b88401f
AM
90142013-10-04 Alan Modra <amodra@gmail.com>
9015
9016 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9017 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9018 words of double from correct stack offsets.
9019 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9020 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9021 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9025 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9026 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9027 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9028 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9029 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9030 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9031 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9032 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9033 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9034 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9035 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9036
9c008155
AM
90372013-10-04 Alan Modra <amodra@gmail.com>
9038
9039 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9040 64-bit int/double union.
9041 (_FPU_SETCW): Likewise.
9042 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9043 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9044
da13146d
AM
90452013-10-04 Alan Modra <amodra@gmail.com>
9046
9047 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9048 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9049
603e8410
AM
90502013-10-04 Alan Modra <amodra@gmail.com>
9051
9052 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9053 use vector int constants.
9054 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9055
4a28b3ca
AB
90562013-10-04 Anton Blanchard <anton@au1.ibm.com>
9057
9058 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9059 array with long long.
9060 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9061 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9062 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9063 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9064 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9065 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9066 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9067 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9068 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9069 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9070 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9071 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9072 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9073
2ca85d2b
AB
90742013-10-04 Anton Blanchard <anton@au1.ibm.com>
9075
9076 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9077 (__signbit): Likewise. Correct for little-endian.
9078 (__signbitl): Call __signbit.
9079 (lrint): Correct for little-endian.
9080 (lrintf): Call lrint.
9081
62a728ae
AM
90822013-10-04 Alan Modra <amodra@gmail.com>
9083
9084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9085 union 32-bit int array member with 64-bit int array.
9086 (t515, tm256): Double rather than long double.
9087 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9088
32c301df
AM
90892013-10-04 Alan Modra <amodra@gmail.com>
9090
9091 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9092 Delete.
9093 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9094 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9095 version of math_ldbl.h.
9096
650ef4bd
AM
90972013-10-04 Alan Modra <amodra@gmail.com>
9098
9099 [BZ #15734], [BZ #15735]
9100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9101 all uses of ieee875 long double macros and unions. Simplify test
9102 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9103 ldbl_extract_mantissa value for ix,iy exponents. Properly
9104 normalize after ldbl_extract_mantissa, and don't add hidden bit
9105 already handled. Don't treat low word of ieee854 mantissa like
9106 low word of IBM long double and mask off bit when testing for
9107 zero.
9108 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9109 all uses of ieee875 long double macros and unions. Simplify tests
9110 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9111 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9112 two1022, instead use their values. Recognise that tests for large
9113 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9114 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9115 Rewrite all uses of ieee875 long double macros and unions. Simplify
9116 test for 0.0L and nan. Correct negation.
9117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9118 ieee875 long double macros and unions. Correct output for large
9119 magnitude x. Correct absolute value calculation.
9120 (__erfcl): Likewise.
9121 * math/libm-test.inc: Add tests for errors discovered in IBM long
9122 double versions of fmodl, remainderl, erfl and erfcl.
9123
765714ca
AM
91242013-10-04 Alan Modra <amodra@gmail.com>
9125
9126 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9127 all uses of ieee854 long double macros and unions. Simplify tests
9128 for long doubles that are fully specified by the high double.
9129 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9130 Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9132 Remove dead code too.
9133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9134 (__ieee754_ynl): Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9138 Remove dead code too.
9139 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9143 Simplify.
9144 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9145 Simplify.
9146 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9148 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9149 Comment on variable precision.
9150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9152 Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9154 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9155 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9156 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9157 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9158
4ebd120c
AM
91592013-10-04 Alan Modra <amodra@gmail.com>
9160
9161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9162 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9163 all uses of ieee854 long double macros and unions.
9164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9170 Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9177 Simplify sign and nan test too.
9178 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9179 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9182 Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9185 Likewise.
9186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9192
1b6adf88
AM
91932013-10-04 Alan Modra <amodra@gmail.com>
9194
9195 * stdio-common/printf_size.c (__printf_size): Don't use
9196 union ieee854_long_double in fpnum union.
9197 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9198 signbit macro to retrieve sign from long double.
9199 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9200 retrieve sign from long double.
9201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9202 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9203 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9204 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9205 * math/test-misc.c (main): Don't use union ieee854_long_double.
9206
4cf69995
AM
92072013-10-04 Alan Modra <amodra@gmail.com>
9208
9209 [BZ #15680]
9210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9211 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9212 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9213 calculation. Remove unnecessary test for denormal exponent.
9214 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9215 Correct handling of denormals. Avoid undefined shift behaviour.
9216 Correct normalisation of low mantissa when low double is denormal.
9217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9218 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9219 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9220 Correct normalisation of low mantissa. Test for overflow of high
9221 mantissa and normalise.
9222 (ldbl_nearbyint): Use more readable constant for two52.
9223 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9224 (__mpn_construct_long_double): Fix test for overflow of high
9225 mantissa and correct normalisation. Avoid undefined shift.
9226
9605ca6c
AM
92272013-10-04 Alan Modra <amodra@gmail.com>
9228
9229 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9230 (union ibm_extended_long_double): Define as an array of ieee754_double.
9231 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9232 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9233 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9234 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9242
975569d0
JM
92432013-10-03 Joseph Myers <joseph@codesourcery.com>
9244
d3d23756
JM
9245 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9246 page size instead of calling getpagesize.
9247
975569d0
JM
9248 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9249 (LOCFILE_ALIGN_MASK): Likewise.
9250 (LOCFILE_ALIGN_UP): Likewise.
9251 (LOCFILE_ALIGNED_P): Likewise.
9252 * locale/programs/ld-collate.c (collate_output): Use the new
9253 macros instead of __alignof__ (int32_t).
9254 * locale/weight.h (findidx): Likewise.
9255
b1fe1f2b
OB
92562013-10-03 Ondřej Bílka <neleai@seznam.cz>
9257
9258 [BZ #431]
9259 * manual/string.texi: Fix strncat and wcsncat.
9260
5f855e35
BM
92612013-10-03 Brooks Moses <bmoses@google.com>
9262
9263 [BZ #15915]
9264 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9265 * Makerules: ...here, and adjust associated comments.
9266
3cef6009
WN
92672013-10-02 Will Newton <will.newton@linaro.org>
9268
9269 * malloc/Makefile: Add tst-pvalloc.
9270 * malloc/tst-pvalloc.c: New file.
9271
7815420b
WN
92722013-10-02 Will Newton <will.newton@linaro.org>
9273
9274 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9275 improve test coverage.
9276
4868b204
WN
92772013-10-02 Will Newton <will.newton@linaro.org>
9278
9279 * malloc/Makefile: Add tst-posix_memalign.
9280 * malloc/tst-posix_memalign.c: New file.
9281
29c793b3
EB
92822013-10-01 Eric Blake <eblake@redhat.com>
9283
9284 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9285 Use __THROWNL rather than __THROW on static functions.
9286
fd967522
PM
92872013-09-30 Petr Machata <pmachata@redhat.com>
9288
9289 * elf/elf.h (R_AARCH64_ABS16): New macro.
9290 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9291 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9292 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9293 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9294 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9295 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9296 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9297 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9298 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9299 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9300 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9301 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9302 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9303 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9304 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9305 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9306 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9307 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9308 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9309 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9310 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9311 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9312 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9313 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9314 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9315 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9316 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9317 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9318 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9319 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9320 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9321 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9322 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9323 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9324 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9325 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9326 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9327 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9328 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9329 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9330 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9331 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9332 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9333 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9334 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9335 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9336 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9337 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9338 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9339 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9340 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9341 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9342 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9343 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9344 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9345 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9346 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9347 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9348 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9349 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9350 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9351 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9352 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9353 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9354 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9355 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9356 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9357 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9358 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9359 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9360 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9361 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9362 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9363 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9364 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9365 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9366 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9367 (R_AARCH64_TLSDESC_LDR): Likewise.
9368 (R_AARCH64_TLSDESC_ADD): Likewise.
9369 (R_AARCH64_TLSDESC_CALL): Likewise.
9370
b2179107
AS
93712013-09-30 Andreas Schwab <schwab@suse.de>
9372
9373 [BZ #15048]
9374 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9375 the nss database lookup.
9376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9378
47f28d0a
MF
93792013-09-28 Mike Frysinger <vapier@gentoo.org>
9380
9381 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9382
93832013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9384
9385 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9386 ${Bash-specific parameter/pattern/string} parameter expansion.
9387 * sysdeps/unix/make-syscalls.sh: Likewise.
9388
f4518a17
KK
93892013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9390
9391 * sysdeps/sh/stackguard-macros.h: New file.
9392
dc1a95c7
OB
93932013-09-26 Ondřej Bílka <neleai@seznam.cz>
9394
9395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9397 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9398 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9399 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9400 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9401
5ebbff8f
AZ
94022013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9403
9404 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9405 Fix thread ID register.
9406
4fd2cf9f
JM
94072013-09-25 Joseph Myers <joseph@codesourcery.com>
9408
9409 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9410 [POSIX || UNIX98]: Require rather than permitting all symbols from
9411 <time.h>.
9412 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9413 element of struct sched_param.
9414 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9415 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9416 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9417 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9418 constant.
9419
12c22bc4
OL
94202013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9421
9422 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9423 argument calculation.
9424
a03d8ea7
JM
94252013-09-24 Joseph Myers <joseph@codesourcery.com>
9426
9427 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9428 Expect macro.
9429 [POSIX] (pthread_attr_t): Do not require type.
9430 [POSIX] (pthread_cond_t): Likewise.
9431 [POSIX] (pthread_condattr_t): Likewise.
9432 [POSIX] (pthread_key_t): Likewise.
9433 [POSIX] (pthread_mutex_t): Likewise.
9434 [POSIX] (pthread_mutexattr_t): Likewise.
9435 [POSIX] (pthread_once_t): Likewise.
9436 [POSIX] (pthread_t): Likewise.
9437 [POSIX-based standards] (pthread_atfork): Expect function.
9438
6055173a
JM
94392013-09-24 Joseph Myers <joseph@codesourcery.com>
9440 Richard Sandiford <richard@codesourcery.com>
9441
9442 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9443 (swap_endianness_p): New extern variable.
9444 (set_big_endian): New inline function.
9445 (maybe_swap_uint32): Likewise.
9446 (maybe_swap_uint32_array): Likewise.
9447 (maybe_swap_uint32_obstack): Likewise.
9448 * locale/programs/locfile.c: Include <stdbool.h>.
9449 (swap_endianness_p): New variable.
9450 (add_locale_uint32): Call maybe_swap_uint32.
9451 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9452 (write_locale_data): Call maybe_swap_uint32_array.
9453 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9454 maybe_swap_uint32.
9455 (obstack_int32_grow_fast): Likewise.
9456 (output_weightwc): Call maybe_swap_uint32_obstack.
9457 (collate_output): Likewise.
9458 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9459 (OPT_LITTLE_ENDIAN): Likewise.
9460 (options): Add --little-endian and --big-endian options.
9461 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9462 * locale/programs/locarchive.c: Include "locfile.h".
9463 (GET): New macro.
9464 (SET): Likewise.
9465 (INC): Likewise.
9466 (create_archive): Use the new macros to access fields of
9467 structures directly mapped from or written to locale archives.
9468 (oldlocrecentcmp): Likewise.
9469 (enlarge_archive): Likewise.
9470 (insert_name): Likewise.
9471 (add_alias): Likewise.
9472 (add_locale): Likewise.
9473 (delete_locales_from_archive): Likewise.
9474 (show_archive_content): Likewise.
9475 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9476 locale data.
9477
39bf0bb4
RM
94782013-09-24 Roland McGrath <roland@hack.frob.com>
9479
9480 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9481 http://www.gnu.org/doc/freemanuals.texi.
9482 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9483
f02eed10
WN
94842013-09-24 Will Newton <will.newton@linaro.org>
9485
9486 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9487 macro.
9488
a3a6c312
JM
94892013-09-23 Joseph Myers <joseph@codesourcery.com>
9490
9491 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9492 unsigned char.
9493
107375ac
MR
94942013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9495
9496 * manual/threads.texi (POSIX Threads): Fix a typo.
9497
141f3a77
SP
94982013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9499
303e567a
SP
9500 [BZ #14547]
9501 * string/tst-strcoll-overflow.c: New test case.
9502 * string/Makefile (xtests): Add tst-strcoll-overflow.
9503 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9504 cache if string sizes may cause integer overflow.
9505
141f3a77
SP
9506 [BZ #14547]
9507 * string/strcoll_l.c (coll_seq): New members rule, idx,
9508 save_idx and back_us.
9509 (get_next_seq_nocache): New function.
9510 (do_compare_nocache): New function.
9511 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9512 when malloc fails.
9513
c61b4d41
CD
95142013-09-23 Carlos O'Donell <carlos@redhat.com>
9515
0b1f8e35
CD
9516 [BZ #15754]
9517 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9518 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9519 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9520
c61b4d41
CD
9521 [BZ #15754]
9522 * elf/Makefile (tests): Add tst-ptrguard1.
9523 (tests-static): Add tst-ptrguard1-static.
9524 (tst-ptrguard1-ARGS): Define.
9525 (tst-ptrguard1-static-ARGS): Define.
9526 * elf/tst-ptrguard1.c: New file.
9527 * elf/tst-ptrguard1-static.c: New file.
9528 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9529 * sysdeps/i386/stackguard-macros.h: Likewise.
9530 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9531 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9532 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9533 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9534 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9535 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9536
95372013-09-23 Hector Marco <hecmargi@upv.es>
9538 Ismael Ripoll <iripoll@disca.upv.es>
9539 Carlos O'Donell <carlos@redhat.com>
9540
9541 [BZ #15754]
9542 * sysdeps/generic/stackguard-macros.h: Define
9543 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9544 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9545 Define __pointer_chk_guard_local.
9546 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9547 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9548
f5f4e7b4
VV
95492013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9550
9551 [BZ #15859]
9552 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9553
5bb43a43
AS
95542013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9555
9556 * include/string.h (__ffs): Declare as hidden.
9557 * string/ffs.c (__ffs): Define as hidden.
9558 * sysdeps/i386/ffs.c (__ffs): Likewise.
9559 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9560 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9561 * sysdeps/s390/ffs.c (__ffs): Likewise.
9562 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9563
3ea5be54
AO
95642013-09-20 Alexandre Oliva <aoliva@redhat.com>
9565
ffb89e53
AO
9566 * NEWS: Mention malloc probes.
9567
322dea08
AO
9568 * malloc/arena.c (new_heap): New memory_heap_new probe.
9569 (grow_heap): New memory_heap_more probe.
9570 (shrink_heap): New memory_heap_less probe.
9571 (heap_trim): New memory_heap_free probe.
9572 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9573 (systrim): New memory_sbrk_less probe.
9574 * manual/probes.texi: Document them.
9575
655673f3
AO
9576 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9577 * manual/probes.texi: Document it.
9578
35fed6f1
AO
9579 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9580 (__libc_realloc): Add memory_realloc_retry probe.
9581 (__libc_memalign): Add memory_memalign_retry probe.
9582 (__libc_valloc): Add memory_valloc_retry probe.
9583 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9584 (__libc_calloc): Add memory_calloc_retry probe.
9585 * manual/probes.texi: Document them.
9586
6999d38c
AO
9587 * malloc/arena.c (get_free_list): Add probe
9588 memory_arena_reuse_free_list.
9589 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9590 and memory_arena_reuse.
9591 (arena_get2) [!PER_THREAD]: Likewise.
9592 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9593 memory_arena_reuse_realloc.
9594 * manual/probes.texi: Document them.
9595
0653427f
AO
9596 * malloc/malloc.c (__libc_free): Add
9597 memory_mallopt_free_dyn_thresholds probe.
9598 (__libc_mallopt): Add multiple memory_mallopt probes.
9599 * manual/probes.texi: Document them.
9600
3ea5be54
AO
9601 * malloc/malloc.c: Include stap-probe.h.
9602 (__libc_mallopt): Add memory_mallopt probe.
9603 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9604 * manual/probes.texi: New.
9605 * manual/Makefile (chapters): Add probes.
9606 * manual/threads.texi: Set next node.
9607
e35696c3 96082013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9609
e35696c3
CL
9610 [BZ #15963, #13985]
9611 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9612 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9613 Add `Chinese' to `nan' entry name.
9614
4aafb73c
SP
96152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9616
9617 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9618 (POLYNOMIAL): Likewise.
9619 (TAYLOR_SINCOS): Likewise.
9620 (TAYLOR_SLOW): Likewise.
9621 (__sin): Use TAYLOR_SINCOS.
9622 (__cos): Likewise.
9623 (slow): Use TAYLOR_SLOW.
9624 (sloww): Likewise.
9625 (bsloww): Likewise.
9626 (csloww): Likewise.
9627
d84f25c7
LD
96282013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9629
9630 * stdlib/strtod_l.c: Fix buffer overrun.
9631
5eea0404
SP
96322013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9633
7849ff93
SP
9634 * benchtests/Makefile (bench): Add sincos.
9635 * benchtests/bench-sincos.c: New file.
9636
cfa3c886
SP
9637 * math/libm-test.inc (cos_test_data): New test inputs.
9638 (sin_test_data): Likewise.
9639
b348e1e3
SP
9640 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9641 macro.
9642 (__sin): Use it.
9643 (__cos): Likewise.
9644 (slow1): Likewise.
9645 (slow2): Likewise.
9646 (sloww1): Likewise.
9647 (sloww2): Likewise.
9648 (bsloww1): Likewise.
9649 (bsloww2): Likewise.
9650 (cslow2): Likewise.
9651 (csloww1): Likewise.
9652 (csloww2): Likewise.
9653
6cce25f8
SP
9654 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9655 function.
9656 (__sin): Use it.
9657 (__cos): Likewise.
9658
5eea0404
SP
9659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9660 gotos.
9661 (__cos): Likewise.
9662
9c21573c
MR
96632013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9664
9665 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9666 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9667 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9668 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9669 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9670 * elf/cache.c (print_entry): Handle the new cache flags.
9671
24d22e65
JM
96722013-09-18 Joseph Myers <joseph@codesourcery.com>
9673 Aldy Hernandez <aldyh@redhat.com>
9674
9675 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9676 Change condition to [_SOFT_FLOAT].
9677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9689 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9692 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9693 declaration.
9694
d13ef066
JM
96952013-09-18 Joseph Myers <joseph@codesourcery.com>
9696
2e071de0
JM
9697 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9698 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9699 (__longjmp): Use LOAD_GP to load saved GPRs.
9700 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9701 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9702 (__sigsetjmp): Use SAVE_GP to save GPRs.
9703
d13ef066
JM
9704 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9705 Do not append -msoft-float.
9706 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9707
97a0650b
SP
97082013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9709
9710 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9711
11ca09e9
JM
97122013-09-17 Joseph Myers <joseph@codesourcery.com>
9713
9714 [BZ #15966]
9715 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9716 (_FPU_GETCW): Use initial "__" on variable and field names but not
9717 on macro parameter name.
9718 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9719 parentheses around reference to macro parameter.
9720
08ffcf34
RS
97212013-09-13 Richard Sandiford <richard@codesourcery.com>
9722
9723 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9724 prototype.
9725 (ctype_startup): Use uint32_t in cast and sizeof for
9726 ctype->charnames.
9727
ae7080d3
JL
97282013-09-11 Jia Liu <proljc@gmail.com>
9729
9730 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9731 __daddr_t_defined.
9732 [__FreeBSD__]: Likewise.
9733
5905e7b3
OB
97342013-09-11 Ondřej Bílka <neleai@seznam.cz>
9735
9736 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9737 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9738 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9739 (strchr): Remove __strchr_sse42 ifunc selection.
9740 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9741 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9742
b987c776
WN
97432013-09-11 Will Newton <will.newton@linaro.org>
9744
9745 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9746 parameter to RES. Remove hardcoded 1000 value.
9747 * benchtests/bench-skeleton.c (main): Pass RES parameter
9748 to TIMING_INIT and multiply result by 1000.
9749
ddf985af
AZ
97502013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9751
9752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9753
ffdd3181
AS
97542013-09-11 Andreas Schwab <schwab@suse.de>
9755
9756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9757 if not defined.
9758 (O_TMPFILE) [__USE_GNU]: Define.
9759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9760 Define.
9761
b73ed247
WN
97622013-09-11 Will Newton <will.newton@linaro.org>
9763
9764 [BZ #15857]
9765 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9766 does not overflow.
9767
55e17aad
WN
97682013-09-11 Will Newton <will.newton@linaro.org>
9769
9770 [BZ #15856]
9771 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9772 does not overflow.
9773
1159a193
WN
97742013-09-11 Will Newton <will.newton@linaro.org>
9775
9776 [BZ #15855]
9777 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9778 does not overflow.
9779
5905e7b3 97802013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9781
9782 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9784 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9785 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9786 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9787
cdfc721b
AM
97882013-09-10 Allan McRae <allan@archlinux.org>
9789
aa04af00
AM
9790 [BZ #15748]
9791 * manual/arith.texi (Parsing of Floats): Clarify
9792 cross-reference.
9793
cdfc721b
AM
9794 [BZ #15849]
9795 * manual/install.texi (Running make install): Mention
9796 --enable-pt-chown.
9797 * INSTALL: Regenerated.
9798
95e7cf29
MR
97992013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9800
9801 * csu/init-first.c (_init): Remove the !SHARED condition around
9802 FPU control word initialization.
9803 * elf/dl-support.c (_dl_fpu_control): New variable.
9804 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9805 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9806 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9807 * math/test-fpucw-static.c: New file.
9808 * math/test-fpucw-ieee.c: New file.
9809 * math/test-fpucw-ieee-static.c: New file.
9810 * math/Makefile (tests): Add `test-fpucw-ieee' and
9811 `$(tests-static)'.
9812 (tests-static): New variable.
9813 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9814 dependency to...
9815 [($(build-shared),yes)]
9816 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9817 ... this.
9818 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9819 New dependency.
9820
83e43bf0
AM
98212013-09-09 Allan McRae <allan@archlinux.org>
9822
a9f5ce09
AM
9823 [BZ #15939]
9824 * manual/string.texi (Collation Functions): Fix typo in
9825 strcoll example.
9826 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9827
34829bc2
AM
9828 [BZ #15893]
9829 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9830
3932737d
AM
9831 [BZ #15892]
9832 * libio/memstream.c (open_memstream): Fix memory leak.
9833 * libio/wmemstream.c (open_wmemstream): Likewise.
9834
83e43bf0
AM
9835 [BZ #15895]
9836 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9837
0c66b8e9
WN
98382013-09-09 Will Newton <will.newton@linaro.org>
9839
9840 * malloc/Makefile: Add tst-realloc to tests.
9841 * malloc/tst-realloc.c: New file.
9842
f6b00fd1
AM
98432013-09-09 Allan McRae <allan@archlinux.org>
9844
9845 [BZ #15844]
9846 * COPYING: Update from GNU website to fix FSF address.
9847 * COPYING.LIB: Likewise.
9848
eec55e16
DM
98492013-09-06 David S. Miller <davem@davemloft.net>
9850
9851 * po/zh_TW.po: Update Chinese (traditional) translation from
9852 translation project.
9853
1ecbb381
RS
98542013-09-06 Richard Sandiford <richard@codesourcery.com>
9855 Joseph Myers <joseph@codesourcery.com>
9856
9857 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9858 "localeinfo.h".
9859 (obstack_chunk_alloc): New macro.
9860 (obstack_chunk_free): Likewise.
9861 (record_offset): New function.
9862 (init_locale_data): Likewise.
9863 (align_locale_data): Likewise.
9864 (add_locale_empty): Likewise.
9865 (add_locale_raw_data): Likewise.
9866 (add_locale_raw_obstack): Likewise.
9867 (add_locale_string): Likewise.
9868 (add_locale_wstring): Likewise.
9869 (add_locale_uint32): Likewise.
9870 (add_locale_uint32_array): Likewise.
9871 (add_locale_char): Likewise.
9872 (start_locale_structure): Likewise.
9873 (end_locale_structure): Likewise.
9874 (start_locale_prelude): Likewise.
9875 (end_locale_prelude): Likewise.
9876 (write_locale_data): Take locale_file structure rather than an
9877 iovec.
9878 * locale/programs/locfile.h: Include "obstack.h".
9879 (struct locale_file): Change to store locale file contents instead
9880 of header.
9881 (init_locale_data): New prototype.
9882 (align_locale_data): Likewise.
9883 (add_locale_empty): Likewise.
9884 (add_locale_raw_data): Likewise.
9885 (add_locale_raw_obstack): Likewise.
9886 (add_locale_string): Likewise.
9887 (add_locale_wstring): Likewise.
9888 (add_locale_uint32): Likewise.
9889 (add_locale_uint32_array): Likewise.
9890 (add_locale_char): Likewise.
9891 (start_locale_structure): Likewise.
9892 (end_locale_structure): Likewise.
9893 (start_locale_prelude): Likewise.
9894 (end_locale_prelude): Likewise.
9895 (write_locale_data): Update prototype.
9896 * locale/programs/3level.h (struct TABLE): Remove result field.
9897 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9898 Use new locale_file interface.
9899 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9900 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9901 * locale/programs/ld-address.c (address_output): Use new
9902 locale_file interface.
9903 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9904 NO_ADD_LOCALE.
9905 (collate_finish): Don't call collseq_table_finalize.
9906 (collate_output): Use new locale_file interface.
9907 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9908 in file.
9909 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9910 (TABLE): Move defines earlier in file.
9911 (ELEMENT): Likewise.
9912 (DEFAULT): Likewise.
9913 (wctrans_table_add): Move macro and inline function earlier in
9914 file.
9915 (struct wctype_table): Move type earlier in file.
9916 (add_locale_wctype_table): New static prototype.
9917 (struct locale_ctype_t): Use logical types instead of struct iovec
9918 pointers for members.
9919 (ctype_output): Use new locale_file interface.
9920 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9921 new locale_file interface.
9922 (allocate_arrays): Update for use of new locale_file interface.
9923 * locale/programs/ld-identification.c (identification_output): Use
9924 new locale_file interface.
9925 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9926 * locale/programs/ld-messages.c (messages_output): Likewise.
9927 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9928 * locale/programs/ld-name.c (name_output): Likewise.
9929 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9930 * locale/programs/ld-paper.c (paper_output): Likewise.
9931 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9932 * locale/programs/ld-time.c (time_output): Likewise.
9933
e029e2e5
AZ
99342013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9935
9936 * benchtests/Makefile: Add memrchr benchmark.
9937 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9938 benchmark as memrchr.
9939 * benchtests/bench-memrchr-ifunc.c: New file.
9940 * benchtests/bench-memrchr.c: New file.
9941
bbf6e8e4
WN
99422013-09-06 Will Newton <will.newton@linaro.org>
9943
9944 * benchtests/Makefile (string-bench): Add memcpy.
9945
6c82a2f8
CD
99462013-09-05 Carlos O'Donell <carlos@redhat.com>
9947 Cong Wang <amwang@redhat.com>
9948
e732c5f0 9949 [BZ #15850]
6c82a2f8
CD
9950 * sysdeps/unix/sysv/linux/bits/in.h
9951 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9952 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9953 before __USE_KERNEL_IPV6_DEFS uses.
9954 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9955 IPPROTO_BEETPH.
9956 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9957 sockaddr_in6, or ipv6_mreq.
9958
5430fc65
AZ
99592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9960
9961 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9962 memory access for final bytes in some large inputs.
9963 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9964
4660856c
AZ
99652013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9966
9967 * string/test-memrchr.c: New file.
9968 * string/test-memrchr-ifunc.c: New file.
9969 * string/Makefile: Add new memrchr testcase.
9970
bb8ea713
MF
99712013-09-05 Mike Frysinger <vapier@gentoo.org>
9972
9973 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9974 fanotify_init returns EPERM.
9975
b92a20b5
JM
99762013-09-04 Joseph Myers <joseph@codesourcery.com>
9977
9978 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9979 errors.
9980 (top level): Treat second token from macro or constant entries for
9981 allowed headers as allowed.
9982 * include/complex.h: Condition internal declarations on
9983 [!_ISOMAC].
9984 * include/fenv.h: Condition include of <stdbool.h> and internal
9985 declarations on [!_ISOMAC].
7447ccd9
CL
9986
99872013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9988
3e181dda 9989 [BZ #15923]
7447ccd9
CL
9990 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9991
3f2e46a4
JM
99922013-09-04 Joseph Myers <joseph@codesourcery.com>
9993
9994 * configure.in (--enable-versioning): Remove configure option.
9995 (libc_cv_asm_symver_directive): Remove configure test.
9996 (libc_cv_ld_version_script_option): Likewise.
9997 (VERSIONING): Remove variable and AC_SUBST.
9998 (DO_VERSIONING): Remove AC_DEFINE.
9999 * configure: Regenerated.
10000 * config.h.in (DO_VERSIONING): Remove macro.
10001 * Makerules [$(versioning) = yes]: Change conditionals to
10002 [$(build-shared) = yes].
10003 * config.make.in (versioning): Remove variable.
10004 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10005 [$(build-shared) = yes].
10006 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10007 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10008 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10009 [$(build-shared) = yes].
10010 * extra-lib.mk [$(versioning) = yes]: Likewise.
10011 * hurd/Makefile [$(versioning) = yes]: Likewise.
10012 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10013 [SHARED].
10014 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10015 [SHARED].
10016 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10017 [SHARED && !NO_HIDDEN].
10018 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10019 [SHARED].
10020 [SHARED && DO_VERSIONING]: Likewise..
10021 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10022 [$(build-shared) = yes].
10023 * manual/install.texi (--disable-versioning): Remove
10024 documentation.
10025 * INSTALL: Regenerated.
10026 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10027 to [SHARED].
10028 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10029 [$(build-shared) = yes].
10030 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10031 * sysdeps/i386/i686/multiarch/strstr-c.c
10032 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10033 [SHARED && !NO_HIDDEN].
10034 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10035 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10036 * sysdeps/powerpc/powerpc32/dl-machine.c
10037 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10038 * sysdeps/powerpc/powerpc32/sysdep.h
10039 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10040 to [SHARED && PIC && !NO_HIDDEN].
10041 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10042 conditional to [SHARED].
10043
44558701
WN
100442013-09-04 Will Newton <will.newton@linaro.org>
10045
10046 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10047 * benchtests/bench-string.h: Include bench-timing.h instead
10048 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10049 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10050 call to HP_TIMING_DIFF_INIT.
10051 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10052 instead of hp-timing.h macros.
10053 * benchtests/bench-memchr.c: Likewise.
10054 * benchtests/bench-memcmp.c: Likewise.
10055 * benchtests/bench-memcpy.c: Likewise.
10056 * benchtests/bench-memmem.c: Likewise.
10057 * benchtests/bench-memmove.c: Likewise.
10058 * benchtests/bench-memset.c: Likewise.
10059 * benchtests/bench-rawmemchr.c: Likewise.
10060 * benchtests/bench-strcasecmp.c: Likewise.
10061 * benchtests/bench-strcasestr.c: Likewise.
10062 * benchtests/bench-strcat.c: Likewise.
10063 * benchtests/bench-strchr.c: Likewise.
10064 * benchtests/bench-strcmp.c: Likewise.
10065 * benchtests/bench-strcpy.c: Likewise.
10066 * benchtests/bench-strcpy_chk.c: Likewise.
10067 * benchtests/bench-strlen.c: Likewise.
10068 * benchtests/bench-strncasecmp.c: Likewise.
10069 * benchtests/bench-strncat.c: Likewise.
10070 * benchtests/bench-strncmp.c: Likewise.
10071 * benchtests/bench-strncpy.c: Likewise.
10072 * benchtests/bench-strnlen.c: Likewise.
10073 * benchtests/bench-strpbrk.c: Likewise.
10074 * benchtests/bench-strrchr.c: Likewise.
10075 * benchtests/bench-strspn.c: Likewise.
10076 * benchtests/bench-strstr.c: Likewise.
10077
cae16d66
WN
100782013-09-04 Will Newton <will.newton@linaro.org>
10079
10080 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10081
ffa3cd7f
JM
100822013-09-03 Joseph Myers <joseph@codesourcery.com>
10083
10084 [BZ #15427]
10085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10086 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10087 * math/libm-test.inc (lgamma_test_data): Add more tests.
10088 * sysdeps/i386/fpu/libm-test-ulps: Update.
10089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10090
8f02859f
OB
100912013-09-03 Ondřej Bílka <neleai@seznam.cz>
10092
10093 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10095 Add ifunc.
10096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10097 Add strcmp-sse2-unaligned
10098 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10099
18d43716
MF
101002013-09-02 Mike Frysinger <vapier@gentoo.org>
10101
10102 * Versions.def (libc): Add GLIBC_2.19.
10103
ac444012
MF
101042013-09-02 Mike Frysinger <vapier@gentoo.org>
10105
10106 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10107 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10108
b7835e32
JM
101092013-09-02 Joseph Myers <joseph@codesourcery.com>
10110
10111 [BZ #14155]
10112 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10113 intermediate calculations in recurrence.
10114 (__ieee754_ynf): Likewise.
10115 * math/libm-test.inc (jn_test_data): Do not allow spurious
10116 underflow exception. Add more tests.
10117 (yn_test_data): Add more tests.
10118 * sysdeps/i386/fpu/libm-test-ulps: Update.
10119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10120
8220f4f0
OB
101212013-09-02 Ondřej Bílka <neleai@seznam.cz>
10122
10123 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10124
f24a6d08
OB
101252013-08-30 Ondřej Bílka <neleai@seznam.cz>
10126
10127 * csu/init-first.c: Fix then/than typos.
10128 * locale/programs/ld-collate.c: Likewise.
10129 * locale/programs/linereader.h: Likewise.
10130 * manual/charset.texi: Likewise.
10131 * manual/filesys.texi: Likewise.
10132 * manual/stdio.texi: Likewise.
10133 * manual/string.texi: Likewise.
10134 * stdlib/fmtmsg.c: Likewise.
10135 * sysdeps/i386/stpncpy.S: Likewise.
10136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10137 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10139 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10140
382466e0
OB
101412013-08-30 Ondřej Bílka <neleai@seznam.cz>
10142
10143 * elf/dl-open.c: Fix typos.
10144 * iconvdata/gbbig5.c: Likewise.
10145 * iconvdata/iso-2022-jp.c: Likewise.
10146 * iconv/gconv_int.h: Likewise.
10147 * iconv/loop.c: Likewise.
10148 * nis/rpcsvc/nis.h: Likewise.
10149 * resolv/ns_name.c: Likewise.
10150 * stdio-common/vfscanf.c: Likewise.
10151 * streams/stropts.h: Likewise.
10152 * sunrpc/rpc_thread.c: Likewise.
10153 * sysdeps/i386/strpbrk.S: Likewise.
10154 * sysdeps/ieee754/k_standard.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10157 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10158 * sysdeps/mach/hurd/profil.c: Likewise.
10159 * sysdeps/s390/dl-procinfo.h: Likewise.
10160 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10161 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10162 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10163 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10165
0186c6e9
OB
101662013-08-30 Ondřej Bílka <neleai@seznam.cz>
10167
10168 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10170
d4e16af1
OB
101712013-08-29 Ondřej Bílka <neleai@seznam.cz>
10172
10173 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10174 aix specific files.
10175 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10176 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10177 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10178 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10179 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10180 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10181 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10182 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10183
88335980
TS
101842013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10185 Roland McGrath <roland@hack.frob.com>
10186
10187 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10188 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10189
ed479b02
ST
101902013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10191
10192 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10193 __executable_start symbol instead of _start.
10194
f1cc4c86
TS
101952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10196
d821f07c
TS
10197 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10198 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10199 Move macros to...
10200 * sysdeps/gnu/ldsodefs.h: ... this new file.
10201
c54290cf
TS
10202 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10203 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10204 instead of ELFOSABI_LINUX.
10205
0007fc9b 10206 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10207 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10208 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10209 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10210 Likewise.
10211 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10212 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10213 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10214 Likewise.
10215 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10216 (ibm_extended_long_double): Add ieee_nan member.
10217 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10218 (do_test): New function.
10219
f1cc4c86
TS
10220 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10221 TEST_TRUNC.
10222 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10223 functions, renamed from truncdfsf_test, trunctfsf_test,
10224 trunctfdf_test.
10225 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10226 functions.
10227 (do_test): Run all these.
10228
6f65e668
OB
102292013-08-29 Ondřej Bílka <neleai@seznam.cz>
10230
10231 * argp/argp-help.c: Fix typos.
10232 * argp/argp-parse.c: Likewise.
10233 * debug/backtracesyms.c: Likewise.
10234 * elf/elf.h: Likewise.
10235 * malloc/malloc.c: Likewise.
10236 * nis/nis_print.c: Likewise.
10237 * resolv/res_comp.c: Likewise.
10238 * stdlib/stdlib.h: Likewise.
10239 * sunrpc/clnt_tcp.c: Likewise.
10240 * sunrpc/clnt_udp.c: Likewise.
10241 * sunrpc/clnt_unix.c: Likewise.
10242 * sysdeps/unix/bsd/ptsname.c: Likewise.
10243 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10244 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10246 Likewise.
10247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10248 Likewise.
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10250 Likewise.
6f65e668
OB
10251 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10252
3a309239
SP
102532013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10254
10255 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10257
3b813b29
MF
102582013-08-27 Mike Frysinger <vapier@gentoo.org>
10259
10260 [BZ #15897]
10261 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10262 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10263 ($(objpfx)bug-dl-leaf): New rule.
10264 ($(objpfx)bug-dl-leaf.so): Likewise.
10265 ($(objpfx)bug-dl-leaf.out): Likewise.
10266 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10267 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10268 * dlfcn/bug-dl-leaf.c: New test.
10269 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10270 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10271 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10272 (dlclose): Likewise.
10273 (dlmopen): Likewise.
10274
8cc3269f
RM
102752013-08-27 Roland McGrath <roland@hack.frob.com>
10276
7f9d0034
RM
10277 * include/netdb.h [!_ISOMAC]:
10278 Don't include <tls.h>.
10279 (h_errno, __libc_h_errno): Move declaration and macros out of
10280 [_LIBC_REENTRANT].
10281
fb431262
RM
10282 * include/resolv.h [_RESOLV_H_]:
10283 Don't include <tls.h>.
10284 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10285 * resolv/res_libc.c: Don't include <tls.h>.
10286 (_res): Use __attribute__ ((nocommon)) in place of
10287 __attribute__ ((section (".bss"))).
10288
bd81123a
RM
10289 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10290 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10291
c4e42566
RM
10292 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10293
f890a59b
RM
10294 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10295 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10296
10297 * resolv/res_mkquery.c: Include <sys/time.h>.
10298
5d1f0a09
RM
10299 * inet/ifreq.c: Moved to ...
10300 * sysdeps/unix/ifreq.c: ... here.
10301 * inet/ifreq.c: New file, true stub version.
10302
6fcf28b3
RM
10303 * socket/sa_len.c: New file.
10304 * socket/Makefile (aux): Add it.
10305 * sysdeps/unix/sysv/linux/Makefile
10306 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10307 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10308 and #include <socket/sa_len.c>.
10309 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10310 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10311
e041fb8b
RM
10312 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10313 * bits/socket.h: ... here.
10314
8cc3269f
RM
10315 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10316 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10317 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10318
5d228a43
AS
103192013-08-27 Andreas Schwab <schwab@suse.de>
10320
45b8accc
AS
10321 [BZ #15736]
10322 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10323 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10324 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10325 * string/test-strcasecmp.c (test_main): Run tests in several
10326 locales.
10327 * string/test-strncasecmp.c (test_main): Likewise.
10328
5d228a43
AS
10329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10330 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10331 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10333 (__strncasecmp_ssse3) [PIC]: Likewise.
10334
59d112a4
RM
103352013-08-26 Roland McGrath <roland@hack.frob.com>
10336
53234cc3
RM
10337 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10338
59d112a4
RM
10339 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10340 instead of explicitly declaring xdecrypt.
10341 * nis/nss_nis/nis-publickey.c: Likewise.
10342
595aba70
SP
103432013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10344
10345 [BZ #15890]
10346 * nscd/aicache.c: Include res_hconf.h.
10347 (addhstaiX): Initialize res_hconf.
10348
ffabd393
AS
103492013-08-26 Andreas Schwab <schwab@suse.de>
10350
10351 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10352 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10353
e0a69f5c
SP
103542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10355
10356 * nscd/aicache.c (addhstaiX): Fix indentation.
10357
8c12f01d
MF
103582013-08-25 Mike Frysinger <vapier@gentoo.org>
10359
10360 * configure.ac: Quote $build_pt_chown test.
10361 * configure: Regenerated.
10362
8fe89494
JM
103632013-08-23 Joseph Myers <joseph@codesourcery.com>
10364
10365 [BZ #15532]
10366 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10367 * math/s_cexpf.c (__cexpf): Likewise.
10368 * math/s_cexpl.c (__cexpl): Likewise.
10369 * math/libm-test.inc (cexp_test_data): Correct expected return
10370 value for NaN + i0. Add another test.
10371
75b181d6
DM
103722013-08-22 David S. Miller <davem@davemloft.net>
10373
10374 * po/ca.po: Update Catalan translation from translation project.
936241e4 10375 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10376
acd06bb1
JM
103772013-08-21 Joseph Myers <joseph@codesourcery.com>
10378
10379 [BZ #15797]
10380 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10381 is infinite, not alongside NaN test.
10382 * math/s_fdimf.c (__fdimf): Likewise.
10383 * math/s_fdiml.c (__fdiml): Likewise.
10384 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10385 errno is unchanged.
10386
c0c3f78a
OB
103872013-08-21 Ondřej Bílka <neleai@seznam.cz>
10388
10389 * argp/argp-help.c: Fix typos.
10390 * crypt/speeds.c: Likewise.
10391 * csu/check_fds.c: Likewise.
10392 * elf/dl-load.c: Likewise.
10393 * elf/dl-open.c: Likewise.
10394 * elf/reldep3.c: Likewise.
10395 * elf/reldep.c: Likewise.
10396 * elf/sprof.c: Likewise.
10397 * iconv/iconv_charmap.c: Likewise.
10398 * iconv/skeleton.c: Likewise.
10399 * iconv/strtab.c: Likewise.
10400 * io/lockf64.c: Likewise.
10401 * libio/libioP.h: Likewise.
10402 * resolv/gai_notify.c: Likewise.
10403 * resolv/ns_name.c: Likewise.
10404 * resolv/ns_samedomain.c: Likewise.
10405 * resolv/res_send.c: Likewise.
10406 * stdlib/random.c: Likewise.
10407 * sunrpc/rpc/xdr.h: Likewise.
10408 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10409 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10410 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10411 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10412 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10413 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10416 * sysdeps/mach/hurd/check_fds.c: Likewise.
10417 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10418 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10419 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10421 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10422 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10423 * sysdeps/pthread/aio_notify.c: Likewise.
10424 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10425 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10426 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10428 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10429
46ed1038
LD
104302013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10431
10432 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10433 version if bit_Slow_SSE4_2 is set.
10434 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10435 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10436
d400dcac
AZ
104372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10438
10439 [BZ #15867]
10440 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10441 trampoline stack frame information.
10442 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10443 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10444 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10445 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10446 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10447 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10448 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10449 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10450 sa_flags value.
10451 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10452 interrupting a syscall and set with option SA_SIGINFO.
10453
42c8fdd8
JM
104542013-08-20 Joseph Myers <joseph@codesourcery.com>
10455
c980f2f4
JM
10456 [BZ #15531]
10457 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10458 argument is infinite.
10459 * math/s_cprojf.c (__cprojf): Likewise.
10460 * math/s_cprojl.c (__cprojl): Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10462 * math/libm-test.inc (cproj_test_data): Add more tests.
10463
0716c4fc
JM
10464 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10465
42c8fdd8
JM
10466 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10467 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10468 size. Use __ffs to determine corresponding shift.
10469
b31469d0
JM
104702013-08-20 Joseph Myers <joseph@codesourcery.com>
10471 Roland McGrath <roland@hack.frob.com>
10472
10473 * Makefile (INSTALL): Remove trailing blank lines from output of
10474 makeinfo.
10475
4e39af6e
AK
104762013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10477
10478 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10479 Align 32 bit compat elf_greg to 8 bytes.
10480
f315524e
AA
104812013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10482
10483 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10484
1326ba1a
SP
104852013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10486
10487 * string/strcoll_l.c (coll_seq): New structure.
10488 (get_next_seq_cached): New function.
10489 (get_next_seq): New function.
10490 (do_compare): New function.
10491 (STRCOLL): Use GNU style definition. Simplify implementation
10492 by using get_next_seq, get_next_seq_cached and do_compare.
10493
91ce4085
FW
104942013-08-16 Florian Weimer <fweimer@redhat.com>
10495
10496 [BZ #14699]
10497 CVE-2013-4237
10498 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10499 member.
10500 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10501 member.
10502 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10503 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10504 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10505 conditional.
10506 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10507 GETDENTS_64BIT_ALIGNED.
10508 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10509 * manual/filesys.texi (Reading/Closing Directory): Document
10510 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10511 strongly.
10512 * manual/conf.texi (Limits for Files): Add portability note to
10513 NAME_MAX, PATH_MAX.
10514 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10515
ca0a6bc4
AS
105162013-08-13 Andreas Schwab <schwab@suse.de>
10517
10518 [BZ #15749]
10519 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10520 of fabs.
10521 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10522 LDBL_MAX_EXP >= 16384]: Add tests for it.
10523
6c1fd795
DM
105242013-08-12 David S. Miller <davem@davemloft.net>
10525
10526 * version.h (RELEASE): Set to "development".
10527 (VERSION): Set to "2.18.90".
10528 * NEWS: Add 2.19 section.
10529
31ad488d
DM
105302013-08-03 David S. Miller <davem@davemloft.net>
10531
10532 * po/ko.po: Update Korean translation from translation project.
10533
db24e684
DM
105342013-08-01 David S. Miller <davem@davemloft.net>
10535
10536 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10537 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10538 Bilka.
10539
f723285b
DM
105402013-07-30 David S. Miller <davem@davemloft.net>
10541
10542 * po/fr.po: Update French translation from translation project.
10543
3cbc52db
DM
105442013-07-28 David S. Miller <davem@davemloft.net>
10545
30bbc0cc
DM
10546 * po/cs.po: Update Czech translation from translation project.
10547
3cbc52db
DM
10548 * po/sv.po: Update Swedish translation from translation project.
10549
d492e6d0
DM
105502013-07-27 David S. Miller <davem@davemloft.net>
10551
f1a7f492
DM
10552 * po/eo.po: Update Esperanto translation from translation project.
10553
90e62a4a
DM
10554 * po/vi.po: Update Vietnamese translation from translation project.
10555
d492e6d0
DM
10556 * po/de.po: Update German translation from translation project.
10557
d4baa62d
DM
105582013-07-26 David S. Miller <davem@davemloft.net>
10559
641aa7b4
DM
10560 * po/bg.po: Update Bulgarian translation from translation project.
10561
d4baa62d
DM
10562 * po/nl.po: Update Dutch translation from translation project.
10563 * po/pl.po: Update Polish translation from translation project.
10564 * po/ru.po: Update Russian translation from translation project.
10565
61a9dcb9
DM
105662013-07-24 David S. Miller <davem@davemloft.net>
10567
10568 * po/libc.pot: Update.
10569
7b1f8b58
AZ
105702013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10571
10572 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10573 variable page size.
10574 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10575 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10576 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10577
a8fc7a03
AK
105782013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10579
10580 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10581
e4608715
CD
105822013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10583 Andreas Schwab <schwab@suse.de>
10584 Roland McGrath <roland@hack.frob.com>
10585 Joseph Myers <joseph@codesourcery.com>
10586 Carlos O'Donell <carlos@redhat.com>
10587
10588 [BZ #15755]
10589 * config.h.in: Define HAVE_PT_CHOWN.
10590 * config.make.in (build-pt-chown): New variable.
10591 * configure.in (--enable-pt_chown): New configure option.
10592 * configure: Regenerate.
10593 * login/Makefile: Include Makeconfig. Build pt_chown only if
10594 build-pt-chown is enabled.
10595 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10596 pt_chown to fix pty ownership.
10597 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10598 CLOSE_ALL_FDS.
10599 * manual/install.texi (Configuring and compiling): Mention
10600 --enable-pt_chown. Add @findex for grantpt.
10601 * INSTALL: Regenerate.
10602
da2d62df
DM
106032013-07-20 David S. Miller <davem@davemloft.net>
10604
10605 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10606 difference between 32-bit and 64-bit.
10607
d7e06450
CD
106082013-07-15 Carlos O'Donell <carlos@redhat.com>
10609
10610 [BZ #15711]
10611 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10612 Avoid system header dependency with -ffreestanding.
10613 ($(objpfx)bits/syscall%d): Likewise.
10614
f959cfd7
DM
106152013-07-13 David S. Miller <davem@davemloft.net>
10616
10617 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10618 underflows from atanl/atan2l due to bug 15319.
10619 (casinh_test_data): Likewise.
10620
c61f8513
DM
106212013-07-07 David S. Miller <davem@davemloft.net>
10622
10623 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10624
72c90ed0
JA
106252013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10626
10627 * sysdeps/i386/fpu/libm-test-ulps: Update.
10628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629
52dfbe13
SP
106302013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10631
10632 * configure.in (--enable-lock-elision): Fix message text.
10633 * INSTALL: Regenerate.
10634 * configure: Regenerate.
10635
3f169543
AZ
106362013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10637
10638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10639
521c6785
AJ
106402013-07-03 Andreas Jaeger <aj@suse.de>
10641
10642 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10643 define.
10644 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10645 (ptrace_peeksiginfo_args): Add.
10646 (__ptrace_peeksiginfo_flags): Add.
10647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10648 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10650
d2cc15cb
AM
106512013-07-03 Allan McRae <allan@archlinux.org>
10652
10653 * sysdeps/i386/fpu/libm-test-ulps: Update.
10654
3aaeeca7
DM
106552013-07-02 David S. Miller <davem@davemloft.net>
10656
10657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10658
5314ed1a
MT
106592013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10660
10661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10662
67338156
JM
106632013-07-02 Joseph Myers <joseph@codesourcery.com>
10664
10665 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10667
1717da59
AK
106682013-07-02 Andi Kleen <ak@linux.intel.com>
10669
10670 * config.h.in (ENABLE_LOCK_ELISION): Add.
10671 * configure.in (--enable-lock-elision): Add option.
10672 * manual/install.texi: Document --enable lock elision.
10673 * configure: Regenerate
10674 * INSTALL: Regenerate.
10675
1c81621c
L
106762013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10677
10678 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10679 SSE4.2 strcasecmp for libc.a.
10680 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10681
77f01ab5
JM
106822013-07-02 Joseph Myers <joseph@codesourcery.com>
10683
10684 [BZ #13304]
10685 * soft-fp/op-common.h (_FP_FMA): New macro.
10686 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10687 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10688 (_FP_MUL_MEAT_1_imm): ... here.
10689 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10690 (_FP_MUL_MEAT_1_wide): ... here.
10691 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10692 (_FP_MUL_MEAT_1_hard): ... here.
10693 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10694 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10695 (_FP_MUL_MEAT_2_wide): ... here.
10696 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10697 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10698 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10699 (_FP_MUL_MEAT_2_gmp): ... here.
10700 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10701 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10702 (_FP_MUL_MEAT_4_wide): ... here.
10703 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10704 (_FP_MUL_MEAT_4_gmp): ... here.
10705 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10706 (_FP_WFRACBITS_DW_S): Likewise.
10707 (_FP_WFRACXBITS_DW_S): Likewise.
10708 (_FP_HIGHBIT_DW_S): Likewise.
10709 (FP_FMA_S): Likewise.
10710 (_FP_FRAC_HIGH_DW_S): Likewise.
10711 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10712 (_FP_WFRACBITS_DW_D): Likewise.
10713 (_FP_WFRACXBITS_DW_D): Likewise.
10714 (_FP_HIGHBIT_DW_D): Likewise.
10715 (FP_FMA_D): Likewise.
10716 (_FP_FRAC_HIGH_DW_D): Likewise.
10717 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10718 (_FP_WFRACBITS_DW_E): Likewise.
10719 (_FP_WFRACXBITS_DW_E): Likewise.
10720 (_FP_HIGHBIT_DW_E): Likewise.
10721 (FP_FMA_E): Likewise.
10722 (_FP_FRAC_HIGH_DW_E): Likewise.
10723 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10724 (_FP_WFRACBITS_DW_Q): Likewise.
10725 (_FP_WFRACXBITS_DW_Q): Likewise.
10726 (_FP_HIGHBIT_DW_Q): Likewise.
10727 (FP_FMA_Q): Likewise.
10728 (_FP_FRAC_HIGH_DW_Q): Likewise.
10729 * soft-fp/fmasf4.c: New file.
10730 * soft-fp/fmadf4.c: Likewise.
10731 * soft-fp/fmatf4.c: Likewise.
10732
6308fd9a
LD
107332013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10734
10735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10736 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10737 Silvermont.
10738 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10739 macro.
10740 (index_Slow_SSE4_2): Likewise.
10741 (index_Prefer_PMINUB_for_stringop): Likewise.
10742 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10743 bit_Slow_SSE4_2 is set.
10744 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10745 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10746
89cd9569
RA
107472013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10748
10749 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10750 rtld_global._dl_hwcap2.
10751 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10752 POWER8.
10753 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10754 POWER8 feature descriptions defined in _dl_hwcap2.
10755 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10756 string handling for POWER8 feature bits.
10757 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10758 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10759 _dl_powerpc_cap_flags.
10760 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10761 * sysdeps/powerpc/rtld-global-offsets.sym
10762 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10763 _dl_hwcap2 in the rtld_global_ro structure.
10764
1ae8bfe0
RA
107652013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10766
10767 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10768 hardware capabilities in support of AT_HWCAP2.
10769 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10770 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10771 GLRO(dl_hwcap2).
10772 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10773 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10774 explicitly the unknown a_type display mechanism is used.
10775 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10776 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10777 struct member.
10778 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10779 to macro prototype for AT_HWCAP2 support.
10780 * sysdeps/i386/dl-procinfo.h: Likewise.
10781 * sysdeps/s390/dl-procinfo.h: Likewise.
10782 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10783 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10784 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10785 return -1 for unknown a_type display fallback.
10786 * sysdeps/sparc/dl-procinfo.h: Likewise.
10787 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10788 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10789
8fbec010
JM
107902013-06-28 Joseph Myers <joseph@codesourcery.com>
10791
10792 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10793 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10794
0432680e
PY
107952013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10796
10797 [BZ #12492]
10798 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10799 mprotect making __stack_prot writable.
10800
ce61a2ad
NF
108012013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10802 Joseph Myers <joseph@codesourcery.com>
10803
10804 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10805 as being properly aligned.
10806
f91f1c0f
MR
108072013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10808
3d0f5d0c
MR
10809 * dlfcn/modstatic5.c: New file.
10810 * dlfcn/tststatic5.c: New file.
10811 * dlfcn/Makefile (tests): Add tststatic5.
10812 (tests-static): Likewise.
10813 (modules-names): Add modstatic5.
10814 (tststatic5-ENV): New variable.
10815 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10816
f91f1c0f
MR
10817 [BZ #15022]
10818 * elf/dl-support.c (_dl_main_map): New variable.
10819 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10820 (_dl_nns, _dl_load_adds): Set to 1.
10821 (_dl_initial_searchlist): Refer to _dl_main_map.
10822 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10823 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10824 call to _dl_get_origin.
10825 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10826 around call_map.
10827 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10828 * dlfcn/modstatic3.c: New file.
10829 * dlfcn/tststatic3.c: New file.
10830 * dlfcn/tststatic4.c: New file.
10831 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10832 (tests-static): Likewise.
10833 (modules-names): Add modstatic3.
10834 (tststatic3-ENV, tststatic4-ENV): New variables.
10835 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10836 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10837
cbe7d24b
JM
108382013-06-26 Joseph Myers <joseph@codesourcery.com>
10839
10840 * configure.in (CC): Require GCC version 4.4 or later.
10841 * configure: Regenerated.
10842 * manual/install.texi (Tools for Compilation): Update GCC version
10843 requirement.
10844 * INSTALL: Regenerated.
10845
11b8a0e1
LD
108462013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10847
10848 [BZ #15674]
bb5bb87c
L
10849 * string/test-memcmp.c (check2): New.
10850 (main): Call check2.
10851
11b8a0e1
LD
10852 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10853
b0037103
MR
108542013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10855
10856 [BZ #15022]
10857 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10858 over to...
10859 (dl_open_worker) [!SHARED]: ... here.
10860
c18c701d
RA
108612013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10862
10863 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10864
1d17fa5f
RH
108652013-06-25 Richard Henderson <rth@redhat.com>
10866
10867 * locale/programs/locarchive.c: Include <libc-internal.h>
10868
8fcb833a
JM
108692013-06-25 Joseph Myers <joseph@codesourcery.com>
10870
10871 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10872 trailing whitespace removed.
10873
17db6e8d
MF
108742013-06-24 Mike Frysinger <vapier@gentoo.org>
10875
10876 [BZ #10283]
17db6e8d
MF
10877 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10878 * locale/programs/locarchive.c: Include libc-mmap.h.
10879 (prepare_address_space): Take two new outputs (the mmap base and len).
10880 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10881 values.
10882 (create_archive): Declare new mmap base and len values for
10883 prepare_address_space, and store the result in ah.
10884 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10885 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10886 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10887 Declare new mmap base and len values for
10888 prepare_address_space, and store the result in new_ah.
10889 (open_archive): Declare new mmap base and len values for
10890 prepare_address_space, and store the result in ah.
10891 (close_archive): If ah->mmap_base is not NULL, use that and
10892 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10893 * sysdeps/generic/libc-mmap.h: New file.
10894
d605071e
MF
108952013-06-24 Mike Frysinger <vapier@gentoo.org>
10896
10897 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10898 (ALIGN_UP): Likewise.
10899 (PTR_ALIGN_DOWN): Likewise.
10900 (PTR_ALIGN_UP): Likewise.
10901
2f063a6e
RA
109022013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10903
10904 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10905 entry mapped to PPC_PLATFORM_POWER8.
10906 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10907 POWER8.
10908 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10909 (_dl_string_platform): Add case for exporting platform position for
10910 POWER8.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10912 search path to sysdeps/powerpc/powerpc32/power8 directory.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10914 search path to sysdeps/powerpc/powerpc64/power8 directory.
10915 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10916 power7 directories.
10917 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10918 power7 directories.
10919
a31ee4b3
SP
109202013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10921
a74ca98f
SP
10922 * INSTALL: Regenerate.
10923
a31ee4b3
SP
10924 * nscd/connections.c (nscd_init): Fix comment.
10925
695c378f
JM
109262013-06-22 Joseph Myers <joseph@codesourcery.com>
10927
d8412221
JM
10928 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10929
695c378f
JM
10930 [BZ #15667]
10931 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10932 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10933
d1d54715
MR
109342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10935
10936 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10937 DL_DST_REQ_STATIC.
10938 (DL_DST_REQ_STATIC): Remove macro.
10939
8fdda7af
JM
109402013-06-21 Joseph Myers <joseph@codesourcery.com>
10941
10942 [BZ #7006]
10943 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10944 with a shift of 0 bits.
10945
f3bc5e5a
MR
109462013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10947
10948 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10949 $(tststatic-ENV).
10950
be09e8c9
KK
109512013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10952
10953 [BZ #15655]
10954 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10955
85c2e611
AZ
109562013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10957
10958 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10959 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10960 accepts -fno-tree-loop-distribute-patterns.
10961 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10962 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10963 recursive call.
10964 * string/memset.c (memset): Likewise.
10965 * string/test-memmove.c (simple_memmove): Disable loop transformation
10966 to library calls.
10967 * string/test-memset.c (simple_memset): Likewise.
10968 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10969 * benchtests/bench-memset.c (simple_memset): Likewise.
10970 * configure: Regenerated.
10971
c91e0825
JM
109722013-06-20 Joseph Myers <joseph@codesourcery.com>
10973
b8c792af
JM
10974 * math/test-misc.c (main): Ignore fesetround failure when failures
10975 of subsequent rounding tests would be ignored.
10976
c91e0825
JM
10977 [BZ #15654]
10978 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10979 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10980 * math/fegetenv.c (__fegetenv): Return 0.
10981 * math/fegetexcept.c (fegetexcept): Return 0.
10982 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10983 FE_TONEAREST.
10984 * math/feholdexcpt.c (feholdexcept): Return 0.
10985 * math/fesetenv.c (__fesetenv): Return 0.
10986 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10987 argument FE_TONEAREST.
10988 * math/feupdateenv.c (__feupdateenv): Return 0.
10989 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10990
bfcacbde
RM
109912013-06-18 Roland McGrath <roland@hack.frob.com>
10992
10993 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10994 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10995 ($(objpfx)rtld-%.os rules): Use them.
10996
e55a9b25
AZ
109972013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10998
10999 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11000 fields.
11001
346d65b3
RM
110022013-06-17 Roland McGrath <roland@hack.frob.com>
11003
12086fb4
RM
11004 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11005 length of target pattern, then descending length of dependency pattern.
11006 * configure.in (AWK): Require gawk 3.1.2 or newer.
11007 * manual/install.texi (Tools for Compilation): Say that we do.
11008 * configure: Regenerated.
11009
346d65b3
RM
11010 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11011 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11012 * scripts/sysd-rules.awk: ... this new script.
11013 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11014 than a glob-style pattern.
11015
1a846317
JM
110162013-06-17 Joseph Myers <joseph@codesourcery.com>
11017
11018 * math/test-misc.c (main): Do not treat incorrectly rounded
11019 conversions as failure unless ROUNDING_TESTS passes.
11020
8fc75e6f
JM
110212013-06-15 Joseph Myers <joseph@codesourcery.com>
11022
3711a167
JM
11023 [BZ #15631]
11024 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11025 restore exception state around main square root computation, then
11026 check for inexactness explicitly.
11027
8fc75e6f
JM
11028 * math/libm-test.inc (fma_test_data): Add another test.
11029
61dd6208
SP
110302013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11031
adf23d2c
SP
11032 * manual/threads.texi (Non-POSIX Extensions): New document
11033 node. Document pthread_getattr_default_np and
11034 pthread_setattr_default_np.
11035
61dd6208
SP
11036 * Versions.def (libpthread): Add GLIBC_2.18.
11037 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11039 Likewise.
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11041 Likewise.
11042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11043 Likewise.
11044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11045 Likewise.
11046 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11047 Likewise.
11048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11049 Likewise.
11050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11051 Likewise.
11052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11053 Likewise.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11055 Likewise.
11056
d086fc7b
LD
110572013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11058
11059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11060 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11061
747ef469
SP
110622013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11063 H.J. Lu <hjl.tools@gmail.com>
11064
11065 [BZ #15627]
11066 * sysdeps/x86_64/rtld-memset.c: Remove file.
11067 * sysdeps/x86_64/rtld-memset.S: New file.
11068
1b2feed2
JM
110692013-06-14 Joseph Myers <joseph@codesourcery.com>
11070
11071 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11072 (test_in_one_mode): Take arguments for whether the rounding mode
11073 is supported for each floating-point type.
11074 (do_test): Pass new arguments to test_in_one_mode using
11075 ROUNDING_TESTS.
11076
a58ad3f8
RM
110772013-06-13 Roland McGrath <roland@hack.frob.com>
11078
11079 * posix/tst-waitid.c (do_test): Distinguish different instances of
11080 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11081 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11082 before entering the kernel for waitpid.
11083
c204ab28
SP
110842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11085
11086 * NEWS: Fix note on clock function precision. Text by Roland
11087 McGrath.
11088
f4a29fba
RM
110892013-06-13 Roland McGrath <roland@hack.frob.com>
11090
11091 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11092 it into place only when and if the sanity check passes.
11093
1f24b9ad
JM
110942013-06-13 Joseph Myers <joseph@codesourcery.com>
11095
11096 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11097 output for whether conversion result is exact. Take argument
11098 indicating whether type is IBM long double.
11099 (round_for_all): Change need_exact field to ibm_ld.
11100 * stdlib/tst-strtod-round.c (struct exactness): New type.
11101 (struct test): Change bool ld_ok field to struct exactness exact.
11102 (TEST): Update all definitions for change to field.
11103 (tests): Regenerate array contents.
11104 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11105 field value. Check for IBM long double here.
11106 (do_test): Update calls to test_in_one_mode.
11107
58206c68
SP
111082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11109
11110 [BZ #12515]
11111 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11112 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11113
2d6f4c5b 111142013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11115
11116 [BZ #15605]
11117 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11118 generated by the compiler on loop optimizations.
11119 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11120 general definitions.
11121
94f2c076
JM
111222013-06-12 Joseph Myers <joseph@codesourcery.com>
11123
11124 * math/bug-nextafter.c: Include <math-tests.h>.
11125 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11126 the relevant type.
11127 * math/bug-nexttoward.c: Include <math-tests.h>.
11128 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11129 the relevant type.
11130 * math/test-misc.c: Include <math-tests.h>.
11131 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11132 the relevant type.
11133
e0e50a0a
AJ
111342013-06-12 Andreas Jaeger <aj@suse.de>
11135
11136 * po/ia.po: Update Interlingua translation from translation
11137 project.
11138
25061094
SP
111392013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11140
11141 * include/fenv.h: Include stdbool.h.
11142 (struct rm_ctx): New structure.
11143 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11144 Define macro.
11145 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11146 (SET_RESTORE_ROUNDF): Likewise.
11147 (SET_RESTORE_ROUNDL): Likewise.
11148 (SET_RESTORE_ROUND_NOEX): Likewise.
11149 (SET_RESTORE_ROUND_NOEXF): Likewise.
11150 (SET_RESTORE_ROUND_NOEXL): Likewise.
11151 (SET_RESTORE_ROUND_53BIT): Likewise.
11152 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11153 (libc_feresetround_noexf_ctx): Likewise.
11154 (libc_feresetround_noexl_ctx): Likewise.
11155 (libc_feholdsetround_53bit_ctx): Likewise.
11156 (libc_feresetround_53bit_ctx): Likewise.
11157 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11158 (libc_feholdexcept_setround_sse_ctx): New function.
11159 (libc_fesetenv_sse_ctx): Likewise.
11160 (libc_feupdateenv_sse_ctx): Likewise.
11161 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11162 (libc_feholdexcept_setround_387_ctx): Likewise.
11163 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11164 (libc_feholdsetround_387_prec_ctx): Likewise.
11165 (libc_feholdsetround_387_ctx): Likewise.
11166 (libc_feholdsetround_387_53bit_ctx): Likewise.
11167 (libc_feholdsetround_sse_ctx): Likewise.
11168 (libc_feresetround_sse_ctx): Likewise.
11169 (libc_feresetround_387_ctx): Likewise.
11170 (libc_feupdateenv_387_ctx): Likewise.
11171 (libc_feholdexcept_setroundf_ctx): Define macro.
11172 (libc_fesetenvf_ctx): Likewise.
11173 (libc_feupdateenvf_ctx): Likewise.
11174 (libc_feholdsetroundf_ctx): Likewise.
11175 (libc_feresetroundf_ctx): Likewise.
11176 (libc_feholdexcept_setround_ctx): Likewise.
11177 (libc_fesetenv_ctx): Likewise.
11178 (libc_feupdateenv_ctx): Likewise.
11179 (libc_feholdsetround_ctx): Likewise.
11180 (libc_feresetround_ctx): Likewise.
11181 (libc_feholdexcept_setroundl_ctx): Likewise.
11182 (libc_feupdateenvl_ctx): Likewise.
11183 (libc_feholdsetroundl_ctx): Likewise.
11184 (libc_feresetroundl_ctx): Likewise.
11185 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11186 (libc_feresetround_53bit_ctx): Likewise.
11187
59b30555
SP
111882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11189
11190 * locale/iso-639.def: Convert to UTF-8.
11191
f1d73d30
JM
111922013-06-11 Joseph Myers <joseph@codesourcery.com>
11193
11194 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11195 (EXCEPTION_TESTS_double): Likewise.
11196 (EXCEPTION_TESTS_long_double): Likewise.
11197 (EXCEPTION_TESTS): Likewise.
11198 * math/libm-test.inc (test_exceptions): Only test exceptions if
11199 EXCEPTION_TESTS (FLOAT).
11200
94aca5e7
SP
112012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11202
11203 * benchtests/Makefile (string-bench): Add strcpy_chk and
11204 stpcpy_chk.
11205 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11206 * benchtests/bench-stpcpy_chk.c: New file.
11207 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11208 * benchtests/bench-strcpy_chk.c: New file.
11209 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11210 code.
11211 (do_test): Likewise.
11212
fac0c5f2
RA
112132013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11214
11215 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11216 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11217 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11218 with tabs where appropriate.
11219 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11220 dl-procinfo.h.
11221 [PPC_PLATFORM_PPC440]: Likewise.
11222 [PPC_PLATFORM_PPC464]: Likewise.
11223 [PPC_PLATFORM_PPC476]: Likewise.
11224 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11225 ppc464, and ppc476 platform strings merging from ports/
11226 dl-procinfo.h.
11227
f22bc486
AS
112282013-06-11 Andreas Schwab <schwab@suse.de>
11229
11230 [BZ #14991]
11231 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11232 (from_ucs4_idx): Regenerate.
11233 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11234 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11235 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11236 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11237 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11238 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11239 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11240 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11241 from FROM_LOOP and TO_LOOP specific macros.
11242 (BODY): Handle combining characters.
11243 * iconvdata/BIG5HKSCS.irreversible: Update.
11244 * iconvdata/BIG5HKSCS.precomposed: New file.
11245 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11246 characters.
11247 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11248
c1f75dc3
SP
112492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11250
4eacded2
SP
11251 * include/sys/time.h: Fix indentation and add copyright header.
11252
fec799f8
SP
11253 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11254 (do_test): Likewise.
11255 * string/test-memchr.c (do_one_test): Likewise.
11256 (do_test): Likewise.
11257 * string/test-memcmp.c (do_one_test): Likewise.
11258 (do_test): Likewise.
11259 * string/test-memcpy.c (do_one_test): Likewise.
11260 (do_test): Likewise.
11261 * string/test-memmem.c (do_one_test): Likewise.
11262 (do_test): Likewise.
11263 (do_random_tests): Likewise.
11264 * string/test-memmove.c (do_one_test): Likewise.
11265 (do_test): Likewise.
11266 * string/test-memset.c (do_one_test): Likewise.
11267 (do_test): Likewise.
11268 * string/test-rawmemchr.c (do_one_test): Likewise.
11269 (do_test): Likewise.
11270 * string/test-strcasecmp.c (do_one_test): Likewise.
11271 (do_test): Likewise.
11272 * string/test-strcasestr.c (do_one_test): Likewise.
11273 (do_test): Likewise.
11274 * string/test-strcat.c (do_one_test): Likewise.
11275 (do_test): Likewise.
11276 * string/test-strchr.c (do_one_test): Likewise.
11277 (do_test): Likewise.
11278 * string/test-strcmp.c (do_one_test): Likewise.
11279 (do_test): Likewise.
11280 * string/test-strcpy.c (do_one_test): Likewise.
11281 (do_test): Likewise.
11282 * string/test-string.h: Likewise.
11283 (test_init): Likewise.
11284 * string/test-strlen.c (do_one_test): Likewise.
11285 (do_test): Likewise.
11286 * string/test-strncasecmp.c (do_one_test): Likewise.
11287 (do_test): Likewise.
11288 * string/test-strncat.c (do_one_test): Likewise.
11289 (do_test): Likewise.
11290 * string/test-strncmp.c (do_one_test): Likewise.
11291 (do_test_limit): Likewise.
11292 (do_test): Likewise.
11293 * string/test-strncpy.c (do_one_test): Likewise.
11294 (do_test): Likewise.
11295 * string/test-strnlen.c (do_one_test): Likewise.
11296 (do_test): Likewise.
11297 * string/test-strpbrk.c (do_one_test): Likewise.
11298 (do_test): Likewise.
11299 * string/test-strrchr.c (do_one_test): Likewise.
11300 (do_test): Likewise.
11301 * string/test-strspn.c (do_one_test): Likewise.
11302 (do_test): Likewise.
11303 * string/test-strstr.c (do_one_test): Likewise.
11304 (do_test): Likewise.
11305
97020474
SP
11306 * benchtests/Makefile (string-bench): Add string benchmarks.
11307 * benchtests/bench-bcopy-ifunc.c: New file.
11308 * benchtests/bench-bcopy.c: New file.
11309 * benchtests/bench-bzero-ifunc.c: New file.
11310 * benchtests/bench-bzero.c: New file.
11311 * benchtests/bench-memccpy-ifunc.c: New file.
11312 * benchtests/bench-memccpy.c: New file.
11313 * benchtests/bench-memchr-ifunc.c: New file.
11314 * benchtests/bench-memchr.c: New file.
11315 * benchtests/bench-memcmp-ifunc.c: New file.
11316 * benchtests/bench-memcmp.c: New file.
11317 * benchtests/bench-memmem-ifunc.c: New file.
11318 * benchtests/bench-memmem.c: New file.
11319 * benchtests/bench-memmove-ifunc.c: New file.
11320 * benchtests/bench-memmove.c: New file.
11321 * benchtests/bench-mempcpy-ifunc.c: New file.
11322 * benchtests/bench-mempcpy.c: New file.
11323 * benchtests/bench-memset-ifunc.c: New file.
11324 * benchtests/bench-memset.c: New file.
11325 * benchtests/bench-rawmemchr-ifunc.c: New file.
11326 * benchtests/bench-rawmemchr.c: New file.
11327 * benchtests/bench-stpcpy-ifunc.c: New file.
11328 * benchtests/bench-stpcpy.c: New file.
11329 * benchtests/bench-stpncpy-ifunc.c: New file.
11330 * benchtests/bench-stpncpy.c: New file.
11331 * benchtests/bench-strcasecmp-ifunc.c: New file.
11332 * benchtests/bench-strcasecmp.c: New file.
11333 * benchtests/bench-strcasestr-ifunc.c: New file.
11334 * benchtests/bench-strcasestr.c: New file.
11335 * benchtests/bench-strcat-ifunc.c: New file.
11336 * benchtests/bench-strcat.c: New file.
11337 * benchtests/bench-strchr-ifunc.c: New file.
11338 * benchtests/bench-strchr.c: New file.
11339 * benchtests/bench-strchrnul-ifunc.c: New file.
11340 * benchtests/bench-strchrnul.c: New file.
11341 * benchtests/bench-strcmp-ifunc.c: New file.
11342 * benchtests/bench-strcmp.c: New file.
11343 * benchtests/bench-strcpy-ifunc.c: New file.
11344 * benchtests/bench-strcpy.c: New file.
11345 * benchtests/bench-strcspn-ifunc.c: New file.
11346 * benchtests/bench-strcspn.c: New file.
11347 * benchtests/bench-strlen-ifunc.c: New file.
11348 * benchtests/bench-strlen.c: New file.
11349 * benchtests/bench-strncasecmp-ifunc.c: New file.
11350 * benchtests/bench-strncasecmp.c: New file.
11351 * benchtests/bench-strncat-ifunc.c: New file.
11352 * benchtests/bench-strncat.c: New file.
11353 * benchtests/bench-strncmp-ifunc.c: New file.
11354 * benchtests/bench-strncmp.c: New file.
11355 * benchtests/bench-strncpy-ifunc.c: New file.
11356 * benchtests/bench-strncpy.c: New file.
11357 * benchtests/bench-strnlen-ifunc.c: New file.
11358 * benchtests/bench-strnlen.c: New file.
11359 * benchtests/bench-strpbrk-ifunc.c: New file.
11360 * benchtests/bench-strpbrk.c: New file.
11361 * benchtests/bench-strrchr-ifunc.c: New file.
11362 * benchtests/bench-strrchr.c: New file.
11363 * benchtests/bench-strspn-ifunc.c: New file.
11364 * benchtests/bench-strspn.c: New file.
11365 * benchtests/bench-strstr-ifunc.c: New file.
11366 * benchtests/bench-strstr.c: New file.
11367
c1f75dc3
SP
11368 * benchtests/Makefile: Disable parallel execution of targets.
11369 (string-bench): Add memcpy.
11370 (benchset): New variable to store a list of benchmark sets.
11371 (bench-func): Renamed from bench.
11372 (bench-set): New target.
11373 (bench): Depend on bench-func and bench-set.
11374 * benchtests/README: Add section on benchmark sets.
11375 * benchtests/bench-memcpy-ifunc.c: New file.
11376 * benchtests/bench-memcpy.c: New file.
11377 * benchtests/bench-string.h: New file.
11378
50fd745b
AS
113792013-06-11 Andreas Schwab <schwab@suse.de>
11380
11381 [BZ #15577]
11382 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11383 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11384 values in the triple.
11385 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11386 terminator in the group key.
11387
3ee7e9fe
AJ
113882013-06-11 Andreas Jaeger <aj@suse.de>
11389
11390 * po/zh_TW.po: Update Chinese (traditional) translation from
11391 translation project.
11392
89fb6835
SP
113932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11394
11395 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11396 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11397 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11399 (clock_getcpuclockid): Likewise.
11400 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11401 Add weak_alias and libc_hidden_def.
11402 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11403 * rt/clock_gettime.c (clock_gettime): Rename to
11404 __clock_gettime. Add weak_alias and libc_hidden_def.
11405 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11406 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11407 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11408 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11409 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11410 Likewise.
11411 * rt/clock_settime.c (clock_settime): Rename to
11412 __clock_settime. Add weak_alias and libc_hidden_def.
11413 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11414
0efa6f8b
JM
114152013-06-10 Joseph Myers <joseph@codesourcery.com>
11416
b8c61b4b
JM
11417 * mach/err_boot.sub: Remove trailing whitespace.
11418 * mach/err_ipc.sub: Likewise.
11419 * mach/err_mach.sub: Likewise.
11420
0efa6f8b
JM
11421 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11422 (ROUNDING_TESTS_double): Likewise.
11423 (ROUNDING_TESTS_long_double): Likewise.
11424 (ROUNDING_TESTS): Likewise.
11425 * math/libm-test.inc: Include <math-tests.h>.
11426 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11427 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11428 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11429 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11430
50b818bf
SP
114312013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11432
11433 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11434 of assigning.
11435
60d2f8f3
JM
114362013-06-08 Joseph Myers <joseph@codesourcery.com>
11437
4902d2c3
JM
11438 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11439 otherwise empty TRANS lines.
11440 * sysdeps/gnu/errlist.c: Regenerated.
11441
60d2f8f3
JM
11442 * catgets/gencat.c (error_print): Use (void) in function
11443 definition.
11444 * crypt/crypt_util.c (__init_des): Likewise.
11445 * crypt/speeds.c (Stop): Likewise.
11446 (main): Likewise.
11447 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11448 * inet/ruserpass.c (token): Likewise.
11449 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11450 * intl/localealias.c (extend_alias_table): Likewise.
11451 * intl/plural-exp.c (init_germanic_plural): Likewise.
11452 * libio/fcloseall.c (__fcloseall): Likewise.
11453 * libio/genops.c (_IO_flush_all): Likewise.
11454 (_IO_flush_all_linebuffered): Likewise.
11455 (_IO_cleanup): Likewise.
11456 (_IO_iter_begin): Likewise.
11457 (_IO_iter_end): Likewise.
11458 (_IO_list_lock): Likewise.
11459 (_IO_list_unlock): Likewise.
11460 (_IO_list_resetlock): Likewise.
11461 * libio/getchar.c (getchar): Likewise.
11462 * libio/getchar_u.c (getchar_unlocked): Likewise.
11463 * libio/getwchar.c (getwchar): Likewise.
11464 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11465 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11466 * login/getpt.c (__getpt): Likewise.
11467 * login/tst-utmp.c (main): Likewise.
11468 * malloc/hooks.c (__malloc_check_init): Likewise.
11469 * malloc/malloc.c (__malloc_stats): Likewise.
11470 * malloc/mtrace.c (tr_break): Likewise.
11471 (mtrace): Likewise.
11472 (muntrace): Likewise.
11473 * misc/fstab.c (endfsent): Likewise.
11474 * misc/getclktck.c (__getclktck): Likewise.
11475 * misc/getdtsz.c (__getdtablesize): Likewise.
11476 * misc/gethostid.c (gethostid): Likewise.
11477 * misc/getpagesize.c (__getpagesize): Likewise.
11478 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11479 (__get_nprocs): Likewise.
11480 (__get_phys_pages): Likewise.
11481 (__get_avphys_pages): Likewise.
11482 * misc/getttyent.c (getttyent): Likewise.
11483 (setttyent): Likewise.
11484 (endttyent): Likewise.
11485 * misc/getusershell.c (getusershell): Likewise.
11486 (endusershell): Likewise.
11487 (setusershell): Likewise.
11488 (initshells): Likewise.
11489 * misc/hsearch.c (__hdestroy): Likewise.
11490 * misc/sync.c (sync): Likewise.
11491 * misc/syslog.c (closelog_internal): Likewise.
11492 (closelog): Likewise.
11493 * misc/ttyslot.c (ttyslot): Likewise.
11494 * misc/vhangup.c (vhangup): Likewise.
11495 * posix/fork.c (__fork): Likewise.
11496 * posix/getegid.c (__getegid): Likewise.
11497 * posix/geteuid.c (__geteuid): Likewise.
11498 * posix/getgid.c (__getgid): Likewise.
11499 * posix/getpid.c (__getpid): Likewise.
11500 * posix/getppid.c (__getppid): Likewise.
11501 * posix/getuid.c (__getuid): Likewise.
11502 * posix/pause.c (pause): Likewise.
11503 * posix/setpgrp.c (setpgrp): Likewise.
11504 * posix/setsid.c (__setsid): Likewise.
11505 * posix/test-vfork.c (noop): Likewise.
11506 * resolv/gethnamaddr.c (_endhtent): Likewise.
11507 (_gethtent): Likewise.
11508 (ht_endhostent): Likewise.
11509 (gethostent): Likewise.
11510 (dns_service): Likewise.
11511 * stdlib/drand48.c (drand48): Likewise.
11512 * stdlib/lrand48.c (lrand48): Likewise.
11513 * stdlib/mrand48.c (mrand48): Likewise.
11514 * stdlib/rand.c (rand): Likewise.
11515 * stdlib/random.c (__random): Likewise.
11516 * stdlib/setenv.c (clearenv): Likewise.
11517 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11518 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11519 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11520 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11521 (__get_nprocs): Likewise.
11522 (__get_phys_pages): Likewise.
11523 (__get_avphys_pages): Likewise.
11524 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11525 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11526 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11527 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11528 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11529 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11530 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11531 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11532 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11533 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11534 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11535 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11536 * sysdeps/posix/clock.c (clock): Likewise.
11537 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11538 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11539 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11540 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11541 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11543 (__get_nprocs_conf): Likewise.
11544 (__get_phys_pages): Likewise.
11545 (__get_avphys_pages): Likewise.
11546 * time/clock.c (clock): Likewise.
11547 * time/tzset.c (__tzname_max): Likewise.
11548
2e09a79a
JM
115492013-06-07 Joseph Myers <joseph@codesourcery.com>
11550
11551 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11552 (__bswap_32): Do not use "register".
11553 * crypt/crypt.c (_ufc_doit_r): Likewise.
11554 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11555 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11556 * gmon/gmon.c (__monstartup): Likewise.
11557 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11558 * hurd/hurdmalloc.c (more_memory): Likewise.
11559 (malloc): Likewise.
11560 (free): Likewise.
11561 (realloc): Likewise.
11562 (malloc_fork_prepare): Likewise.
11563 (malloc_fork_parent): Likewise.
11564 (malloc_fork_child): Likewise.
11565 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11566 (_svcauth_des): Likewise.
11567 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11568 * inet/inet_net.c (inet_network): Likewise.
11569 * inet/inet_netof.c (inet_netof): Likewise.
11570 * inet/rcmd.c (__validuser2_sa): Likewise.
11571 * io/fts.c (fts_open): Likewise.
11572 (fts_load): Likewise.
11573 (fts_close): Likewise.
11574 (fts_read): Likewise.
11575 (fts_children): Likewise.
11576 (fts_build): Likewise.
11577 (fts_stat): Likewise.
11578 (fts_sort): Likewise.
11579 (fts_alloc): Likewise.
11580 (fts_lfree): Likewise.
11581 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11582 (_IO_file_xsgetn): Likewise.
11583 (_IO_file_xsgetn_mmap): Likewise.
11584 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11585 (_IO_cookie_write): Likewise.
11586 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11587 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11588 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11589 * malloc/obstack.c (_obstack_begin): Likewise.
11590 (_obstack_begin_1): Likewise.
11591 (_obstack_newchunk): Likewise.
11592 (_obstack_allocated_p): Likewise.
11593 (obstack_free): Likewise.
11594 (_obstack_memory_used): Likewise.
11595 * misc/getttyent.c (getttynam): Likewise.
11596 (getttyent): Likewise.
11597 (skip): Likewise.
11598 (value): Likewise.
11599 * misc/getusershell.c (initshells): Likewise.
11600 * misc/syslog.c (__vsyslog_chk): Likewise.
11601 * misc/ttyslot.c (ttyslot): Likewise.
11602 * nis/nis_hash.c (__nis_hash): Likewise.
11603 * posix/fnmatch_loop.c (FCT): Likewise.
11604 * posix/getconf.c (print_all): Likewise.
11605 (main): Likewise.
11606 * posix/getopt.c (exchange): Likewise.
11607 * posix/glob.c (globfree): Likewise.
11608 (prefix_array): Likewise.
11609 (__glob_pattern_type): Likewise.
11610 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11611 (NS_GET32): Likewise.
11612 (NS_PUT16): Likewise.
11613 (NS_PUT32): Likewise.
11614 * resolv/gethnamaddr.c (getanswer): Likewise.
11615 (gethostbyname2): Likewise.
11616 (gethostbyaddr): Likewise.
11617 (_gethtent): Likewise.
11618 (_gethtbyname2): Likewise.
11619 (_gethtbyaddr): Likewise.
11620 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11621 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11622 * resolv/res_init.c (__res_vinit): Likewise.
11623 (net_mask): Likewise.
11624 * resolv/res_mkquery.c (outchar): Likewise.
11625 (PRINT): Likewise.
11626 * stdio-common/printf_fp.c (outchar): Likewise.
11627 (PRINT): Likewise.
11628 * stdio-common/printf_fphex.c (outchar): Likewise.
11629 (PRINT): Likewise.
11630 * stdio-common/printf_size.c (outchar): Likewise.
11631 (PRINT): Likewise.
11632 * stdio-common/test_rdwr.c (main): Likewise.
11633 * stdio-common/tfformat.c (matches): Likewise.
11634 * stdio-common/vfprintf.c (outchar): Likewise.
11635 (printf_unknown): Likewise.
11636 (buffered_vfprintf): Likewise.
11637 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11638 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11639 (ReadFile): Likewise.
11640 * stdlib/qsort.c (SWAP): Likewise.
11641 (_quicksort): Likewise.
11642 * stdlib/setenv.c (__add_to_environ): Likewise.
11643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11644 * stdlib/strtol_l.c (__strtol_l): Likewise.
11645 * stdlib/tst-strtod.c (main): Likewise.
11646 * stdlib/tst-strtol.c (main): Likewise.
11647 * stdlib/tst-strtoll.c (main): Likewise.
11648 * string/bits/string2.h (__strcmp_cc): Likewise.
11649 (__strcmp_cg): Likewise.
11650 (__strcspn_c1): Likewise.
11651 (__strcspn_c2): Likewise.
11652 (__strcspn_c3): Likewise.
11653 (__strspn_c1): Likewise.
11654 (__strspn_c2): Likewise.
11655 (__strspn_c3): Likewise.
11656 (__strsep_1c): Likewise.
11657 (__strsep_2c): Likewise.
11658 (__strsep_3c): Likewise.
11659 * string/memccpy.c (__memccpy): Likewise.
11660 * string/stpcpy.c (__stpcpy): Likewise.
11661 * string/strcmp.c (strcmp): Likewise.
11662 * string/strrchr.c (strrchr): Likewise.
11663 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11664 Likewise.
11665 * sysdeps/mach/hurd/getcwd.c
11666 (_hurd_canonicalize_directory_name_internal): Likewise.
11667 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11668 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11669 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11670 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11671 Likewise, in both definitions.
11672 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11673 definitions.
11674 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11675 64] (__bswap_64): Likewise.
11676 * time/test_time.c (main): Likewise.
11677 * time/tzfile.c (__tzfile_read): Likewise.
11678 (__tzfile_compute): Likewise.
11679 * time/tzset.c (__tzset_parse_tz): Likewise.
11680 (tzset_internal): Likewise.
11681 (compute_change): Likewise.
11682 * wcsmbs/wcscat.c (__wcscat): Likewise.
11683 * wcsmbs/wcschr.c (wcschr): Likewise.
11684 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11685 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11686 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11687 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11688 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11689 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11690 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11691 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11692 * wcsmbs/wmemset.c (wmemset): Likewise.
11693
9e54314b
JM
116942013-06-06 Joseph Myers <joseph@codesourcery.com>
11695
11696 * scripts/config.guess: Update to version 2013-05-16.
11697 * scripts/config.sub: Update to version 2013-04-24.
11698 * scripts/install-sh: Update to version 2011-11-20.07.
11699 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11700 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11701
350635a5
OB
117022013-06-06 Ondřej Bílka <neleai@seznam.cz>
11703
11704 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11705 * elf/sln.c: Likewise.
11706 * hurd/hurd/ioctl.h: Likewise.
11707 * hurd/hurdmalloc.c: Likewise.
11708 * hurd/xattr.c: Likewise.
11709 * include/shlib-compat.h: Likewise.
11710 * inet/ruserpass.c: Likewise.
11711 * libio/iofgets_u.c: Likewise.
11712 * libio/iofgetws_u.c: Likewise.
11713 * locale/programs/ld-identification.c: Likewise.
11714 * locale/programs/ld-time.c: Likewise.
11715 * mach/msg-destroy.c: Likewise.
11716 * nss/nss_files/files-netgrp.c: Likewise.
11717 * resolv/res_data.c: Likewise.
11718 * soft-fp/op-1.h: Likewise.
11719 * soft-fp/op-2.h: Likewise.
11720 * soft-fp/op-4.h: Likewise.
11721 * soft-fp/op-common.h: Likewise.
11722 * stdio-common/printf_fphex.c: Likewise.
11723 * stdlib/strtod_l.c: Likewise.
11724 * sunrpc/rpc/clnt.h: Likewise.
11725 * sysdeps/generic/framestate.c: Likewise.
11726 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11727 * sysdeps/i386/bsd-setjmp.S: Likewise.
11728 * sysdeps/i386/__longjmp.S: Likewise.
11729 * sysdeps/i386/setjmp.S: Likewise.
11730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11748 * sysdeps/ieee754/support.c: Likewise.
11749 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11750 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11751 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11752 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11753 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11754 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11755 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11756 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11757 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11758 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11759 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11760 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11761 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11762 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11763 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11764 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11765 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11767
44a988af
OB
117682013-06-05 Ondřej Bílka <neleai@seznam.cz>
11769
25506f09 11770 * posix/transbug.c: Remove executable mode.
44a988af 11771
9c84384c
JM
117722013-06-05 Joseph Myers <joseph@codesourcery.com>
11773
11774 * crypt/speeds.c: Remove trailing whitespace.
11775 * dlfcn/default.c: Likewise.
11776 * elf/ifuncdep2.c: Likewise.
11777 * elf/ifuncmain1.c: Likewise.
11778 * elf/ifuncmain1vis.c: Likewise.
11779 * elf/testobj.h: Likewise.
11780 * elf/tst-stackguard1.c: Likewise.
11781 * gmon/sys/gmon.h: Likewise.
11782 * hurd/hurdmsg.c: Likewise.
11783 * hurd/new-fd.c: Likewise.
11784 * hurd/ports-get.c: Likewise.
11785 * iconvdata/ibm1008_420.c: Likewise.
11786 * inet/tst-getni1.c: Likewise.
11787 * inet/tst-getni2.c: Likewise.
11788 * libio/ioungetc.c: Likewise.
11789 * libio/wfiledoalloc.c: Likewise.
11790 * manual/libm-err-tab.pl: Likewise.
11791 * math/w_dremf.c: Likewise.
11792 * misc/ftruncate.c: Likewise.
11793 * posix/bug-glob2.c: Likewise.
11794 * posix/tst-pcre.c: Likewise.
11795 * posix/wait4.c: Likewise.
11796 * resolv/README: Likewise.
11797 * resolv/res_debug.h: Likewise.
11798 * resolv/tst-inet_ntop.c: Likewise.
11799 * setjmp/bug269-setjmp.c: Likewise.
11800 * soft-fp/extended.h: Likewise.
11801 * soft-fp/op-1.h: Likewise.
11802 * soft-fp/op-2.h: Likewise.
11803 * soft-fp/op-4.h: Likewise.
11804 * soft-fp/op-8.h: Likewise.
11805 * soft-fp/testit.c: Likewise.
11806 * stdio-common/bug16.c: Likewise.
11807 * stdlib/random.c: Likewise.
11808 * sunrpc/rpcsvc/rquota.x: Likewise.
11809 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11810 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11812 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11813 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11814 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11815 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11816 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11817 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11818 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11819 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11820 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11822 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11824 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11825 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11826 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11827 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11829 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11832 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11833 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11834 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11835 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11836 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11838 * sysdeps/ieee754/s_lib_version.c: Likewise.
11839 * sysdeps/mach/hurd/check_fds.c: Likewise.
11840 * sysdeps/mach/hurd/getsockname.c: Likewise.
11841 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11842 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11843 * sysdeps/powerpc/bits/link.h: Likewise.
11844 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11845 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11846 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11847 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11848 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11849 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11850 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11851 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11852 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11853 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11854 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11855 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11856 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11857 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11858 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11859 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11860 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11861 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11862 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11863 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11864 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11865 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11866 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11867 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11868 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11870 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11871 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11872 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11875 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11876 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11878 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11879 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11880 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11881 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11882 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11883 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11884 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11885 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11886 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11887 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11888 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11889 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11890 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11891 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11892 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11893 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11896 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11897 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11898 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11899 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11900 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11901 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11902 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11903 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11904 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11905 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11906 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11907 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11908 * sysdeps/powerpc/sysdep.h: Likewise.
11909 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11910 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11911 * sysdeps/sh/dl-trampoline.S: Likewise.
11912 * sysdeps/sh/memset.S: Likewise.
11913 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11914 * sysdeps/sh/strlen.S: Likewise.
11915 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11916 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11917 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11918 * sysdeps/sparc/sparc32/rem.S: Likewise.
11919 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11920 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11921 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11922 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11923 * sysdeps/sparc/sparc32/urem.S: Likewise.
11924 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11925 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11926 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11927 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11928 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11929 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11930 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11931 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11932 * sysdeps/unix/bsd/times.c: Likewise.
11933 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11934 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11938 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11939 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11940 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11941 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11942 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11943 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11944 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11945 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11946 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11947 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11948 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11949 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11950 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11951 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11952 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11953 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11954 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11955 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11956 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11957 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11958 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11959 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11960 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11961 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11962 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11963 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11964 * sysdeps/x86_64/strcspn.S: Likewise.
11965
869378a5
RA
119662013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11967
11968 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11969 generated file. Regenerate properly from gen-translit.pl.
11970 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11971 locale/C-translit.h.
11972
840e2943
AS
119732013-06-05 Andreas Schwab <schwab@suse.de>
11974
11975 [BZ #15100]
11976 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11977 week as 6 instead of -1.
11978 * time/tst-strptime.c (day_tests): Add test case.
11979
4c60cb0c
SP
119802013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11981
11982 * sysdeps/generic/math_private.h
11983 (libc_feholdexcept_setround_53bit): Replace with
11984 libc_feholdsetround_53bit.
11985 (libc_feupdateenv_53bit): Replace with
11986 libc_feresetround_53bit.
11987 (SET_RESTORE_ROUND_53BIT): Adjust.
11988
d180203e
SP
119892013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11990
96df079a
SP
11991 * string/test-strchrnul.c: Add copyright header.
11992
d180203e
SP
11993 * posix/tst-getaddrinfo4.c: Increase test timeout.
11994
8b0ccb2d
CD
119952013-06-03 Carlos O'Donell <carlos@redhat.com>
11996
11997 [BZ #15536]
11998 * math/libm-test.inc (MAX_EXP): Remove
11999 (MIN_EXP): Define.
12000 (ulp): Use MIN_EXP - MANT_DIG.
12001 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12002
3b3c4d40
CD
120032013-05-31 Carlos O'Donell <carlos@redhat.com>
12004
12005 * po/be.po: Revert last change.
12006 * po/zh_CN.po: Likewise.
12007 * po/header.pot: Likewise.
12008
fab7ce3f
JM
120092013-05-31 Joseph Myers <joseph@codesourcery.com>
12010
12011 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12012 link-libc-deps to empty as target-specific variable.
12013 * Makerules (link-libc-args): New variable.
12014 (libc-for-link): Likewise.
12015 (link-libc-deps): Likewise.
12016 (lib%.so): Depend on $(link-libc-deps). Link with
12017 $(link-libc-args).
12018 (build-module): Link with $(link-libc-args).
12019 (build-module-asneeded): Likewise.
12020 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12021 list of objects.
12022 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12023 target-specific variable.
12024 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12025 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12026 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12027 libc.
12028 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12029 libc and ld.so.
12030 ($(objpfx)libpcprofile.so): Likewise.
12031 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12032 libc_nonshared.a.
12033 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12034 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12035 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12036 $(link-libc-deps).
12037 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12038 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12039 * login/Makefile ($(objpfx)libutil.so): Likewise.
12040 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12041 * math/Makefile ($(objpfx)libm.so): Likewise.
12042 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12043 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12044 variable instead of depending directly on libc.
12045 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12046 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12047 $(link-libc-deps).
12048 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12049 libc.
12050 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12051 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12052 ($(objpfx)libanl.so): Likewise.
12053 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12054 ld.so.
12055 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12056 $(link-libc-deps).
12057 * sysdeps/i386/fpu/Makefile: Remove file.
12058 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12059 ($(objpfx)libm.so): Remove dependency on ld.so.
12060
eca5920c
PF
120612013-05-30 Patsy Franklin <pfrankli@redhat.com>
12062
12063 [BZ # 15553]
12064 * nis/yp_xdr.c (XDRMAXNAME): Define.
12065 (XDRMAXRECORD): Define.
12066 (xdr_domainname): Use XDRMAXNAME.
12067 (xdr_mapname): Likewise.
12068 (xdr_peername): Likewise.
12069 (xdr_keydat): Use XDRMAXRECORD.
12070 (xdr_valdat): Likewise.
12071
120722013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12073
12074 [BZ #14256]
12075 * manual/errno.texi (ESTALE): Update to account for more than
12076 just NFS file systems.
12077 * sysdeps/gnu/errlist.c: Regenerated.
12078
b9375348
SP
120792013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12080
12081 [BZ #15465]
12082 * elf/Makefile (tests): Add tst-null-argv.
12083 (modules-names): Add tst-null-argv-lib.
12084 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12085 (tst-null-argv-ENV): Set environment for tst-null-argv.
12086 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12087 (RTLD_PROGNAME): New macro.
12088 * elf/tst-null-argv.c: New test case.
12089 * elf/tst-null-argv-lib.c: Library for test case.
12090 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12091 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12092 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12093 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12094 * elf/dl-init.c (call_init): Likewise.
12095 (_dl_init): Likewise.
12096 * elf/dl-load.c (print_search_path): Likewise.
12097 (_dl_map_object): Likewise.
12098 * elf/dl-lookup.c (do_lookup_x): Likewise.
12099 (add_dependency): Likewise.
12100 (_dl_lookup_symbol_x): Likewise.
12101 (_dl_debug_bindings): Likewise.
12102 * elf/dl-open.c (_dl_show_scope): Likewise.
12103 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12104 * elf/dl-version.c (match_symbol): Likewise.
12105 (_dl_check_map_versions): Likewise.
12106 * elf/rtld.c (dl_main): Likewise.
12107 (print_unresolved): Use RTLD_PROGNAME.
12108 (print_missing_version): Likewise.
12109 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12110 (elf_machine_rela): Likewise.
12111 * sysdeps/powerpc/powerpc32/dl-machine.c
12112 (__process_machine_rela): Likewise.
12113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12114 Likewise.
12115 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12116 Likewise.
12117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12118 Likewise.
12119 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12121 Likewise.
12122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12123 Likewise.
12124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12125
8a9f20c8
CD
121262013-05-28 Carlos O'Donell <carlos@redhat.com>
12127
12128 * po/be.po: Add descriptive title.
12129 * po/zh_CN.po: Likewise.
12130 * po/header.pot: Likewise.
12131
0e60d68e
MF
121322013-05-28 Mike Frysinger <vapier@gentoo.org>
12133
12134 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12135 error message.
12136 (enlarge_archive): Likewise.
12137
56b672e9
BN
121382013-05-28 Ben North <ben@redfrontdoor.org>
12139
12140 * manual/arith.texi (frexp): It is the magnitude of the return
12141 value which lies in [0.5, 1), not the return value itself.
12142
5e056687
AZ
121432013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12144
12145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12146
2b66ef5d
TS
121472013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12148
528c2405
TS
12149 * stdio-common/bug26.c (main): Correct fscanf template.
12150
07b4c13d
TS
12151 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12152 declare _dl_skip_args.
12153
ec9dd97c
TS
12154 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12155 Don't declare.
12156
2b66ef5d
TS
12157 * manual/platform.texi: Add missing @end deftypefun.
12158
4f8dfe27
JM
121592013-05-24 Joseph Myers <joseph@codesourcery.com>
12160
0323d086
JM
12161 [BZ #15529]
12162 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12163 bit of mantissa of 2^16382.
12164 * math/libm-test.inc (hypot_test_data): Add more tests.
12165
dd4259b9
JM
12166 * math/libm-test.inc: Add drem and pow10 to list of tested
12167 functions.
12168 (pow10_test): New function.
12169 (drem_test): Likewise.
12170 (drem_test_tonearest): Likewise.
12171 (drem_test_towardzero): Likewise.
12172 (drem_test_downward): Likewise.
12173 (drem_test_upward): Likewise.
12174 (main): Call the new functions.
12175
4f8dfe27
JM
12176 * math/libm-test.inc (finite_test_data): Remove.
12177 (finite_test): Run tests from isfinite_test_data.
12178 (gamma_test_data): Remove.
12179 (gamma_test): Run tests from lgamma_test_data.
12180 * sysdeps/i386/fpu/libm-test-ulps: Update.
12181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12182
d116b7c4
AZ
121832013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12184
12185 * manual/platform.texi: Add PowerPC PPR function set documentation.
12186 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12187 implementation.
12188
e96e3767
CD
121892013-05-24 Carlos O'Donell <carlos@redhat.com>
12190
12191 * math/libm-test.inc (MAX_EXP): Define.
12192 (ULPDIFF): Define.
12193 (ulp): New function.
12194 (check_float_internal): Use ULPDIFF.
12195 (cpow_test): Disable failing test.
12196 (check_ulp): Test ulp() implemetnation.
12197 (main): Call check_ulp before starting tests.
12198
b679a606
JM
121992013-05-24 Joseph Myers <joseph@codesourcery.com>
12200
e8bdba36
JM
12201 * math/gen-libm-test.pl (generate_testfile): Do not handle
12202 START_DATA and END_DATA.
12203 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12204 END_DATA.
12205 (acos_tonearest_test_data): Likewise.
12206 (acos_towardzero_test_data): Likewise.
12207 (acos_downward_test_data): Likewise.
12208 (acos_upward_test_data): Likewise.
12209 (acosh_test_data): Likewise.
12210 (asin_test_data): Likewise.
12211 (asin_tonearest_test_data): Likewise.
12212 (asin_towardzero_test_data): Likewise.
12213 (asin_downward_test_data): Likewise.
12214 (asin_upward_test_data): Likewise.
12215 (asinh_test_data): Likewise.
12216 (atan_test_data): Likewise.
12217 (atanh_test_data): Likewise.
12218 (atan2_test_data): Likewise.
12219 (cabs_test_data): Likewise.
12220 (cacos_test_data): Likewise.
12221 (cacosh_test_data): Likewise.
12222 (carg_test_data): Likewise.
12223 (casin_test_data): Likewise.
12224 (casinh_test_data): Likewise.
12225 (catan_test_data): Likewise.
12226 (catanh_test_data): Likewise.
12227 (cbrt_test_data): Likewise.
12228 (ccos_test_data): Likewise.
12229 (ccosh_test_data): Likewise.
12230 (ceil_test_data): Likewise.
12231 (cexp_test_data): Likewise.
12232 (cimag_test_data): Likewise.
12233 (clog_test_data): Likewise.
12234 (clog10_test_data): Likewise.
12235 (conj_test_data): Likewise.
12236 (copysign_test_data): Likewise.
12237 (cos_test_data): Likewise.
12238 (cos_tonearest_test_data): Likewise.
12239 (cos_towardzero_test_data): Likewise.
12240 (cos_downward_test_data): Likewise.
12241 (cos_upward_test_data): Likewise.
12242 (cosh_test_data): Likewise.
12243 (cosh_tonearest_test_data): Likewise.
12244 (cosh_towardzero_test_data): Likewise.
12245 (cosh_downward_test_data): Likewise.
12246 (cosh_upward_test_data): Likewise.
12247 (cpow_test_data): Likewise.
12248 (cproj_test_data): Likewise.
12249 (creal_test_data): Likewise.
12250 (csin_test_data): Likewise.
12251 (csinh_test_data): Likewise.
12252 (csqrt_test_data): Likewise.
12253 (ctan_test_data): Likewise.
12254 (ctan_tonearest_test_data): Likewise.
12255 (ctan_towardzero_test_data): Likewise.
12256 (ctan_downward_test_data): Likewise.
12257 (ctan_upward_test_data): Likewise.
12258 (ctanh_test_data): Likewise.
12259 (ctanh_tonearest_test_data): Likewise.
12260 (ctanh_towardzero_test_data): Likewise.
12261 (ctanh_downward_test_data): Likewise.
12262 (ctanh_upward_test_data): Likewise.
12263 (erf_test_data): Likewise.
12264 (erfc_test_data): Likewise.
12265 (exp_test_data): Likewise.
12266 (exp_tonearest_test_data): Likewise.
12267 (exp_towardzero_test_data): Likewise.
12268 (exp_downward_test_data): Likewise.
12269 (exp_upward_test_data): Likewise.
12270 (exp10_test_data): Likewise.
12271 (exp2_test_data): Likewise.
12272 (expm1_test_data): Likewise.
12273 (fabs_test_data): Likewise.
12274 (fdim_test_data): Likewise.
12275 (finite_test_data): Likewise.
12276 (floor_test_data): Likewise.
12277 (fma_test_data): Likewise.
12278 (fma_towardzero_test_data): Likewise.
12279 (fma_downward_test_data): Likewise.
12280 (fma_upward_test_data): Likewise.
12281 (fmax_test_data): Likewise.
12282 (fmin_test_data): Likewise.
12283 (fmod_test_data): Likewise.
12284 (fpclassify_test_data): Likewise.
12285 (frexp_test_data): Likewise.
12286 (gamma_test_data): Likewise.
12287 (hypot_test_data): Likewise.
12288 (ilogb_test_data): Likewise.
12289 (isfinite_test_data): Likewise.
12290 (isgreater_test_data): Likewise.
12291 (isgreaterequal_test_data): Likewise.
12292 (isinf_test_data): Likewise.
12293 (isless_test_data): Likewise.
12294 (islessequal_test_data): Likewise.
12295 (islessgreater_test_data): Likewise.
12296 (isnan_test_data): Likewise.
12297 (isnormal_test_data): Likewise.
12298 (issignaling_test_data): Likewise.
12299 (isunordered_test_data): Likewise.
12300 (j0_test_data): Likewise.
12301 (j1_test_data): Likewise.
12302 (jn_test_data): Likewise.
12303 (ldexp_test_data): Likewise.
12304 (lgamma_test_data): Likewise.
12305 (lrint_test_data): Likewise.
12306 (lrint_tonearest_test_data): Likewise.
12307 (lrint_towardzero_test_data): Likewise.
12308 (lrint_downward_test_data): Likewise.
12309 (lrint_upward_test_data): Likewise.
12310 (llrint_test_data): Likewise.
12311 (llrint_tonearest_test_data): Likewise.
12312 (llrint_towardzero_test_data): Likewise.
12313 (llrint_downward_test_data): Likewise.
12314 (llrint_upward_test_data): Likewise.
12315 (log_test_data): Likewise.
12316 (log10_test_data): Likewise.
12317 (log1p_test_data): Likewise.
12318 (log2_test_data): Likewise.
12319 (logb_test_data): Likewise.
12320 (logb_downward_test_data): Likewise.
12321 (lround_test_data): Likewise.
12322 (llround_test_data): Likewise.
12323 (modf_test_data): Likewise.
12324 (nearbyint_test_data): Likewise.
12325 (nextafter_test_data): Likewise.
12326 (nexttoward_test_data): Likewise.
12327 (pow_test_data): Likewise.
12328 (pow_tonearest_test_data): Likewise.
12329 (pow_towardzero_test_data): Likewise.
12330 (pow_downward_test_data): Likewise.
12331 (pow_upward_test_data): Likewise.
12332 (remainder_test_data): Likewise.
12333 (remainder_tonearest_test_data): Likewise.
12334 (remainder_towardzero_test_data): Likewise.
12335 (remainder_downward_test_data): Likewise.
12336 (remainder_upward_test_data): Likewise.
12337 (remquo_test_data): Likewise.
12338 (rint_test_data): Likewise.
12339 (rint_tonearest_test_data): Likewise.
12340 (rint_towardzero_test_data): Likewise.
12341 (rint_downward_test_data): Likewise.
12342 (rint_upward_test_data): Likewise.
12343 (round_test_data): Likewise.
12344 (scalb_test_data): Likewise.
12345 (scalbn_test_data): Likewise.
12346 (scalbln_test_data): Likewise.
12347 (signbit_test_data): Likewise.
12348 (sin_test_data): Likewise.
12349 (sin_tonearest_test_data): Likewise.
12350 (sin_towardzero_test_data): Likewise.
12351 (sin_downward_test_data): Likewise.
12352 (sin_upward_test_data): Likewise.
12353 (sincos_test_data): Likewise.
12354 (sinh_test_data): Likewise.
12355 (sinh_tonearest_test_data): Likewise.
12356 (sinh_towardzero_test_data): Likewise.
12357 (sinh_downward_test_data): Likewise.
12358 (sinh_upward_test_data): Likewise.
12359 (sqrt_test_data): Likewise.
12360 (tan_test_data): Likewise.
12361 (tan_tonearest_test_data): Likewise.
12362 (tan_towardzero_test_data): Likewise.
12363 (tan_downward_test_data): Likewise.
12364 (tan_upward_test_data): Likewise.
12365 (tanh_test_data): Likewise.
12366 (tgamma_test_data): Likewise.
12367 (trunc_test_data): Likewise.
12368 (y0_test_data): Likewise.
12369 (y1_test_data): Likewise.
12370 (yn_test_data): Likewise.
12371 (significand_test_data): Likewise.
12372
b679a606
JM
12373 * math/gen-libm-test.pl (@functions): Remove variable.
12374 (generate_testfile): Don't handle START and END lines.
12375 * math/libm-test.inc (START): New macro.
12376 (END): Likewise.
12377 (END_COMPLEX): Likewise.
12378 (acos_test): Use END macro without arguments.
12379 (acos_test_tonearest): Likewise.
12380 (acos_test_towardzero): Likewise.
12381 (acos_test_downward): Likewise.
12382 (acos_test_upward): Likewise.
12383 (acosh_test): Likewise.
12384 (asin_test): Likewise.
12385 (asin_test_tonearest): Likewise.
12386 (asin_test_towardzero): Likewise.
12387 (asin_test_downward): Likewise.
12388 (asin_test_upward): Likewise.
12389 (asinh_test): Likewise.
12390 (atan_test): Likewise.
12391 (atanh_test): Likewise.
12392 (atan2_test): Likewise.
12393 (cabs_test): Likewise.
12394 (cacos_test): Use END_COMPLEX macro without arguments.
12395 (cacosh_test): Likewise.
12396 (carg_test): Use END macro without arguments.
12397 (casin_test): Use END_COMPLEX macro without arguments.
12398 (casinh_test): Likewise.
12399 (catan_test): Likewise.
12400 (catanh_test): Likewise.
12401 (cbrt_test): Use END macro without arguments.
12402 (ccos_test): Use END_COMPLEX macro without arguments.
12403 (ccosh_test): Likewise.
12404 (ceil_test): Use END macro without arguments.
12405 (cexp_test): Use END_COMPLEX macro without arguments.
12406 (cimag_test): Use END macro without arguments.
12407 (clog_test): Use END_COMPLEX macro without arguments.
12408 (clog10_test): Likewise.
12409 (conj_test): Likewise.
12410 (copysign_test): Use END macro without arguments.
12411 (cos_test): Likewise.
12412 (cos_test_tonearest): Likewise.
12413 (cos_test_towardzero): Likewise.
12414 (cos_test_downward): Likewise.
12415 (cos_test_upward): Likewise.
12416 (cosh_test): Likewise.
12417 (cosh_test_tonearest): Likewise.
12418 (cosh_test_towardzero): Likewise.
12419 (cosh_test_downward): Likewise.
12420 (cosh_test_upward): Likewise.
12421 (cpow_test): Use END_COMPLEX macro without arguments.
12422 (cproj_test): Likewise.
12423 (creal_test): Use END macro without arguments.
12424 (csin_test): Use END_COMPLEX macro without arguments.
12425 (csinh_test): Likewise.
12426 (csqrt_test): Likewise.
12427 (ctan_test): Likewise.
12428 (ctan_test_tonearest): Likewise.
12429 (ctan_test_towardzero): Likewise.
12430 (ctan_test_downward): Likewise.
12431 (ctan_test_upward): Likewise.
12432 (ctanh_test): Likewise.
12433 (ctanh_test_tonearest): Likewise.
12434 (ctanh_test_towardzero): Likewise.
12435 (ctanh_test_downward): Likewise.
12436 (ctanh_test_upward): Likewise.
12437 (erf_test): Use END macro without arguments.
12438 (erfc_test): Likewise.
12439 (exp_test): Likewise.
12440 (exp_test_tonearest): Likewise.
12441 (exp_test_towardzero): Likewise.
12442 (exp_test_downward): Likewise.
12443 (exp_test_upward): Likewise.
12444 (exp10_test): Likewise.
12445 (exp2_test): Likewise.
12446 (expm1_test): Likewise.
12447 (fabs_test): Likewise.
12448 (fdim_test): Likewise.
12449 (finite_test): Likewise.
12450 (floor_test): Likewise.
12451 (fma_test): Likewise.
12452 (fma_test_towardzero): Likewise.
12453 (fma_test_downward): Likewise.
12454 (fma_test_upward): Likewise.
12455 (fmax_test): Likewise.
12456 (fmin_test): Likewise.
12457 (fmod_test): Likewise.
12458 (fpclassify_test): Likewise.
12459 (frexp_test): Likewise.
12460 (gamma_test): Likewise.
12461 (hypot_test): Likewise.
12462 (ilogb_test): Likewise.
12463 (isfinite_test): Likewise.
12464 (isgreater_test): Likewise.
12465 (isgreaterequal_test): Likewise.
12466 (isinf_test): Likewise.
12467 (isless_test): Likewise.
12468 (islessequal_test): Likewise.
12469 (islessgreater_test): Likewise.
12470 (isnan_test): Likewise.
12471 (isnormal_test): Likewise.
12472 (issignaling_test): Likewise.
12473 (isunordered_test): Likewise.
12474 (j0_test): Likewise.
12475 (j1_test): Likewise.
12476 (jn_test): Likewise.
12477 (ldexp_test): Likewise.
12478 (lgamma_test): Likewise.
12479 (lrint_test): Likewise.
12480 (lrint_test_tonearest): Likewise.
12481 (lrint_test_towardzero): Likewise.
12482 (lrint_test_downward): Likewise.
12483 (lrint_test_upward): Likewise.
12484 (llrint_test): Likewise.
12485 (llrint_test_tonearest): Likewise.
12486 (llrint_test_towardzero): Likewise.
12487 (llrint_test_downward): Likewise.
12488 (llrint_test_upward): Likewise.
12489 (log_test): Likewise.
12490 (log10_test): Likewise.
12491 (log1p_test): Likewise.
12492 (log2_test): Likewise.
12493 (logb_test): Likewise.
12494 (logb_test_downward): Likewise.
12495 (lround_test): Likewise.
12496 (llround_test): Likewise.
12497 (modf_test): Likewise.
12498 (nearbyint_test): Likewise.
12499 (nextafter_test): Likewise.
12500 (nexttoward_test): Likewise.
12501 (pow_test): Likewise.
12502 (pow_test_tonearest): Likewise.
12503 (pow_test_towardzero): Likewise.
12504 (pow_test_downward): Likewise.
12505 (pow_test_upward): Likewise.
12506 (remainder_test): Likewise.
12507 (remainder_test_tonearest): Likewise.
12508 (remainder_test_towardzero): Likewise.
12509 (remainder_test_downward): Likewise.
12510 (remainder_test_upward): Likewise.
12511 (remquo_test): Likewise.
12512 (rint_test): Likewise.
12513 (rint_test_tonearest): Likewise.
12514 (rint_test_towardzero): Likewise.
12515 (rint_test_downward): Likewise.
12516 (rint_test_upward): Likewise.
12517 (round_test): Likewise.
12518 (scalb_test): Likewise.
12519 (scalbn_test): Likewise.
12520 (scalbln_test): Likewise.
12521 (signbit_test): Likewise.
12522 (sin_test): Likewise.
12523 (sin_test_tonearest): Likewise.
12524 (sin_test_towardzero): Likewise.
12525 (sin_test_downward): Likewise.
12526 (sin_test_upward): Likewise.
12527 (sincos_test): Likewise.
12528 (sinh_test): Likewise.
12529 (sinh_test_tonearest): Likewise.
12530 (sinh_test_towardzero): Likewise.
12531 (sinh_test_downward): Likewise.
12532 (sinh_test_upward): Likewise.
12533 (sqrt_test): Likewise.
12534 (tan_test): Likewise.
12535 (tan_test_tonearest): Likewise.
12536 (tan_test_towardzero): Likewise.
12537 (tan_test_downward): Likewise.
12538 (tan_test_upward): Likewise.
12539 (tanh_test): Likewise.
12540 (tgamma_test): Likewise.
12541 (trunc_test): Likewise.
12542 (y0_test): Likewise.
12543 (y1_test): Likewise.
12544 (yn_test): Likewise.
12545 (significand_test): Likewise.
12546
bae143d2
OB
125472013-05-24 Ondřej Bílka <neleai@seznam.cz>
12548
12549 [BZ #15381]
12550 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12551
9323d39b
EM
125522013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12553
d4ea44a0 12554 [BZ #14894]
9323d39b
EM
12555 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12556 __ppc_mdoio and __ppc_mdoom.
12557 * manual/platform.texi: Document new functions __ppc_yield,
12558 __ppc_mdoio and __ppc_mdoom.
12559
13e23af7
CD
125602013-05-22 Carlos O'Donell <carlos@redhat.com>
12561
12562 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12563 (main): Mention "tls" pseudo-hwcap is legacy.
12564 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12565
351fe550
JM
125662013-05-22 Joseph Myers <joseph@codesourcery.com>
12567
12568 * math/gen-libm-test.pl (parse_args): Output only string of
12569 arguments as text for test name, not full call or descriptions of
12570 tests for extra outputs.
12571 (generate_testfile): Do not pass function name to parse_args.
12572 Generate this_func variable from START.
12573 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12574 field to arg_str.
12575 (struct test_ff_f_data): Likewise.
12576 (test_ff_f_data_nexttoward): Likewise.
12577 (struct test_fi_f_data): Likewise.
12578 (struct test_fl_f_data): Likewise.
12579 (struct test_if_f_data): Likewise.
12580 (struct test_fff_f_data): Likewise.
12581 (struct test_c_f_data): Likewise.
12582 (struct test_f_f1_data): Likewise. Remove field extra_name.
12583 (struct test_fF_f1_data): Likewise.
12584 (struct test_ffI_f1_data): Likewise.
12585 (struct test_c_c_data): Rename test_name field to arg_str.
12586 (struct test_cc_c_data): Likewise.
12587 (struct test_f_i_data): Likewise.
12588 (struct test_ff_i_data): Likewise.
12589 (struct test_f_l_data): Likewise.
12590 (struct test_f_L_data): Likewise.
12591 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12592 and extra2_name.
12593 (COMMON_TEST_SETUP): New macro.
12594 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12595 (COMMON_TEST_CLEANUP): Likewise.
12596 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12597 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12598 macros.
12599 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12600 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12601 macros.
12602 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12603 (RUN_TEST_fff_f): Take argument string. Call new setup and
12604 cleanup macros.
12605 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12606 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12607 macros.
12608 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12609 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12610 macros.
12611 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12612 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12613 cleanup macros.
12614 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12615 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12616 cleanup macros.
12617 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12618 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12619 cleanup macros.
12620 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12621 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12622 macros.
12623 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12624 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12625 macros.
12626 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12627 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12628 macros.
12629 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12630 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12631 cleanup macros.
12632 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12633 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12634 cleanup macros.
12635 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12636 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12637 macros.
12638 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12639 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12640 cleanup macros.
12641 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12642 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12643 macros.
12644 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12645 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12646 macros.
12647 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12648 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12649 cleanup macros.
12650 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12651
85118d4d
EBM
126522013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12653
12654 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12655 to _sifields.sigfault.
12656 (si_addr_lsb): Define new macro.
12657 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12658 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12659 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12660
7a44c18f
CD
126612013-05-03 Carlos O'Donell <carlos at redhat.com>
12662
12663 [BZ #15441]
12664 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12665 returns -1.
12666 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12667 null return -1.
12668 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12669 loading the domain.
12670
b50a7181
JM
126712013-05-22 Joseph Myers <joseph@codesourcery.com>
12672
12673 * math/gen-libm-test.pl (parse_args): Do not include expected
12674 result in test name.
12675 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12677 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12678 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12681
051063c8
SP
126822013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12683
3ce9e010
SP
12684 * benchtests/Makefile: Sort function entries.
12685
051063c8
SP
12686 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12687 tanh, asinh, acosh, atanh.
12688 * benchtests/acos-inputs: New file.
12689 * benchtests/acosh-inputs: New file.
12690 * benchtests/asin-inputs: New file.
12691 * benchtests/asinh-inputs: New file.
12692 * benchtests/atanh-inputs: New file.
12693 * benchtests/cosh-inputs: New file.
12694 * benchtests/log-inputs: New file.
12695 * benchtests/sinh-inputs: New file.
12696 * benchtests/tanh-inputs: New file.
12697
47c22455
DL
126982013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12699
12700 [BZ #15339]
12701 * posix/tst-getaddrinfo4.c: New test.
12702 * posix/Makefile (tests): Add it.
12703
3d04f5db
SP
127042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12705
12706 [BZ #15339]
12707 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12708 when no services were used.
12709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12710 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12711
d5dd6189
AS
127122013-05-21 Andreas Schwab <schwab@suse.de>
12713
12714 [BZ #15014]
12715 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12716 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12717 successful.
12718 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12719 redundant variable declarations and reallocation of buffer when
12720 parsing as IPv6 address. Always set NSS status when called from
12721 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12722 buffer too small. Correct computation of needed size.
12723 * nss/Makefile (tests): Add test-digits-dots.
12724 * nss/test-digits-dots.c: New test.
12725
fef94eab
SP
127262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12727
12728 * benchtests/Makefile: Remove instructions for adding
12729 benchmark tests.
12730 * benchtests/README: New file to explain how to execute and
12731 enhance the benchmark tests.
12732
e39adf43
AS
127332013-05-21 Andreas Schwab <schwab@suse.de>
12734
12735 [BZ #15493]
12736 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12737 * setjmp/tst-sigsetjmp.c: New test.
12738
b2b671b6
OB
127392013-05-20 Ondřej Bílka <neleai@seznam.cz>
12740
12741 * sysdeps/x86_64/memset.S (memset): New implementation.
12742 (__bzero): Likewise.
12743 (__memset_tail): New function.
12744
2d48b41c
OB
127452013-05-20 Ondřej Bílka <neleai@seznam.cz>
12746
12747 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12748 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12749 __memcpy_sse2_unaligned ifunc selection.
12750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12751 Add memcpy-sse2-unaligned.S.
12752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12753 Add: __memcpy_sse2_unaligned.
12754
f16cc3eb
JM
127552013-05-19 Joseph Myers <joseph@codesourcery.com>
12756
3e694268
JM
12757 [BZ #15490]
12758 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12759 math_force_eval before restoring floating-point envrionment.
12760 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12762 Likewise.
12763 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12764 <math_private.h>.
12765 (__nearbyintl): Use math_force_eval before restoring
12766 floating-point environment.
12767 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12768
db62a907
JM
12769 * math/gen-libm-test.pl (special_functions): Remove.
12770 (parse_args): Don't handle TEST_extra. Handle functions with no
12771 return value.
12772 * math/libm-test.inc (struct test_sincos_data): Replace with
12773 struct test_fFF_11_data.
12774 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12775 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12776 (sincos_test_data): Change element type to struct
12777 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12778 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12779 RUN_TEST_LOOP_sincos.
12780 * math/README.libm-test: Don't mention special handling of
12781 individual functions.
12782 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12783 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12784 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12785 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12786 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12788
f16cc3eb
JM
12789 * math/gen-libm-test.pl (get_variable): Remove function.
12790 (parse_args): Don't show pointer parameters to call in test
12791 names. Use "extra output N" in test names for extra outputs
12792 rather than naming variables.
12793
3779b5b6
JM
127942013-05-18 Joseph Myers <joseph@codesourcery.com>
12795
2ee094ff
JM
12796 [BZ #15488]
12797 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12798 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12799 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12800 double tests.
12801 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12802 disable.
12803 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12804 check_long_double.
12805
3779b5b6
JM
12806 * math/gen-libm-test.pl (@tests): Remove variable.
12807 ($count): Likewise.
12808 (new_test): Remove function.
12809 (show_exceptions): New function.
12810 (special_functions): Use show_exceptions instead of new_test.
12811 (parse_args): Likewise.
12812 (generate_testfile): Pass only function name in generated call to
12813 print_max_error or print_complex_max_error.
12814 (get_ulps): Do not handle complex tests specially.
12815 (output_test): Rename to ...
12816 (get_all_ulps_for_test): ... this. Return a string rather than
12817 printing to a file. Require ulps to be present.
12818 (output_ulps): Generate arrays rather than #defines.
12819 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12820 (struct ulp_data): New type.
12821 (BUILD_COMPLEX_ULP): Remove macro.
12822 (compare_ulp_data): New function.
12823 (find_ulps): Likewise.
12824 (find_test_ulps): Likewise.
12825 (find_function_ulps): Likewise.
12826 (find_complex_function_ulps): Likewise.
12827 (print_max_error): Determine allowed ulps using
12828 find_function_ulps.
12829 (print_complex_max_error): Determine allowed ulps using
12830 find_complex_function_ulps.
12831 (check_float_internal): Determine max ulps using find_test_ulps.
12832 (check_float): Do not take max_ulp parameter. Update call to
12833 check_float_internal.
12834 (check_complex): Likewise.
12835 (check_int): Do not take max_ulp parameter.
12836 (check_long): Likewise.
12837 (check_bool): Likewise.
12838 (check_longlong): Likewise.
12839 (struct test_f_f_data): Remove max_ulp field.
12840 (struct test_ff_f_data): Likewise.
12841 (struct test_ff_f_data_nexttoward): Likewise.
12842 (struct test_fi_f_data): Likewise.
12843 (struct test_fl_f_data): Likewise.
12844 (struct test_if_f_data): Likewise.
12845 (struct test_fff_f_data): Likewise.
12846 (struct test_c_f_data): Likewise.
12847 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12848 (struct test_fF_f1_data): Likewise.
12849 (struct test_ffI_f1_data): Likewise.
12850 (struct test_c_c_data): Remove max_ulp field.
12851 (struct test_cc_c_data): Likewise.
12852 (struct test_f_i_data): Likewise.
12853 (struct test_ff_i_data): Likewise.
12854 (struct test_f_l_data): Likewise.
12855 (struct test_f_L_data): Likewise.
12856 (struct test_sincos_data): Likewise.
12857 (RUN_TEST_f_f): Do not handle ulps.
12858 (RUN_TEST_LOOP_f_f): Likewise.
12859 (RUN_TEST_2_f): Likewise.
12860 (RUN_TEST_LOOP_2_f): Likewise.
12861 (RUN_TEST_fff_f): Likewise.
12862 (RUN_TEST_LOOP_fff_f): Likewise.
12863 (RUN_TEST_c_f): Likewise.
12864 (RUN_TEST_LOOP_c_f): Likewise.
12865 (RUN_TEST_f_f1): Likewise.
12866 (RUN_TEST_LOOP_f_f1): Likewise.
12867 (RUN_TEST_fF_f1): Likewise.
12868 (RUN_TEST_LOOP_fF_f1): Likewise.
12869 (RUN_TEST_fI_f1): Likewise.
12870 (RUN_TEST_LOOP_fI_f1): Likewise.
12871 (RUN_TEST_ffI_f1): Likewise.
12872 (RUN_TEST_LOOP_ffI_f1): Likewise.
12873 (RUN_TEST_c_c): Likewise.
12874 (RUN_TEST_LOOP_c_c): Likewise.
12875 (RUN_TEST_cc_c): Likewise.
12876 (RUN_TEST_LOOP_cc_c): Likewise.
12877 (RUN_TEST_f_i): Likewise.
12878 (RUN_TEST_LOOP_f_i): Likewise.
12879 (RUN_TEST_f_i_tg): Likewise.
12880 (RUN_TEST_LOOP_f_i_tg): Likewise.
12881 (RUN_TEST_ff_i_tg): Likewise.
12882 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12883 (RUN_TEST_f_b): Likewise.
12884 (RUN_TEST_LOOP_f_b): Likewise.
12885 (RUN_TEST_f_b_tg): Likewise.
12886 (RUN_TEST_LOOP_f_b_tg): Likewise.
12887 (RUN_TEST_f_l): Likewise.
12888 (RUN_TEST_LOOP_f_l): Likewise.
12889 (RUN_TEST_f_L): Likewise.
12890 (RUN_TEST_LOOP_f_L): Likewise.
12891 (RUN_TEST_sincos): Likewise.
12892 (RUN_TEST_LOOP_sincos): Likewise.
12893
8269107f
JM
128942013-05-17 Joseph Myers <joseph@codesourcery.com>
12895
bb38759d
JM
12896 [BZ #15480]
12897 [BZ #15485]
12898 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12899 main case of finite arguments, set rounding mode to FE_TONEAREST
12900 and discard exceptions.
12901 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12902 exceptions.
12903 (remainder_tonearest_test_data): New variable.
12904 (remainder_test_tonearest): New function.
12905 (remainder_towardzero_test_data): New variable.
12906 (remainder_test_towardzero): New function.
12907 (remainder_downward_test_data): New variable.
12908 (remainder_test_downward): New function.
12909 (remainder_upward_test_data): New variable.
12910 (remainder_test_upward): New function.
12911 (main): Call the new test functions.
12912
a00bdcf0
JM
12913 * math/libm-test.inc (struct test_f_f1_data): Remove field
12914 extra_init.
12915 (struct test_fF_f1_data): Likewise.
12916 (struct test_ffI_f1_data): Likewise.
12917 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12918 based on value of EXTRA_EXPECTED.
12919 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12920 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12921 EXTRA_VAR based on value of EXTRA_EXPECTED.
12922 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12923 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12924 EXTRA_VAR based on value of EXTRA_EXPECTED.
12925 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12926 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12927 EXTRA_VAR based on value of EXTRA_EXPECTED.
12928 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12929 * math/gen-libm-test.pl (parse_args): Don't output initializers
12930 for extra output values.
12931
de407f79
JM
12932 * math/libm-test.inc (check_int): Expect result to be exactly
12933 equal to expected value and do not handle ulps.
12934 (check_long): Likewise.
12935 (check_longlong): Likewise.
12936
8269107f
JM
12937 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12938 exceptions.
12939 (cimag_test_data): Likewise.
12940 (conj_test_data): Likewise.
12941 (copysign_test_data): Likewise.
12942 (cproj_test_data): Likewise.
12943 (creal_test_data): Likewise.
12944 (fabs_test_data): Likewise.
12945 (fdim_test_data): Likewise.
12946 (finite_test_data): Likewise.
12947 (floor_test_data): Likewise.
12948 (fmax_test_data): Likewise.
12949 (fmin_test_data): Likewise.
12950 (fmod_test_data): Likewise.
12951 (fpclassify_test_data): Likewise.
12952 (frexp_test_data): Likewise.
12953 (ilogb_test_data): Likewise.
12954 (isfinite_test_data): Likewise.
12955 (isgreater_test_data): Likewise.
12956 (isgreaterequal_test_data): Likewise.
12957 (isinf_test_data): Likewise.
12958 (isless_test_data): Likewise.
12959 (islessequal_test_data): Likewise.
12960 (islessgreater_test_data): Likewise.
12961 (isnan_test_data): Likewise.
12962 (isnormal_test_data): Likewise.
12963 (issignaling_test_data): Likewise.
12964 (isunordered_test_data): Likewise.
12965 (ldexp_test_data): Likewise.
12966 (lrint_test_data): Likewise.
12967 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12968 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12969 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12970 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12971 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12972 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12973 test input.
12974 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12975 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12976 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12977 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12978 that test input.
12979 (lrint_downward_test_data): Test for "inexact" exceptions.
12980 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12981 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12982 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12983 test input.
12984 (lrint_upward_test_data): Test for "inexact" exceptions.
12985 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12986 test input.
12987 (llrint_test_data): Test for "inexact" exceptions.
12988 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12989 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12990 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12991 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12992 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12993 (llrint_downward_test_data): Test for "inexact" exceptions.
12994 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12995 (llrint_upward_test_data): Test for "inexact" exceptions.
12996 (logb_test_data): Likewise.
12997 (logb_downward_test_data): Likewise.
12998 (nextafter_test_data): Likewise.
12999 (nexttoward_test_data): Likewise.
13000 (remainder_test_data): Likewise.
13001 (remquo_test_data): Likewise.
13002 (scalbn_test_data): Likewise.
13003 (scalbln_test_data): Likewise.
13004 (signbit_test_data): Likewise.
13005 (sqrt_test_data): Likewise.
13006 (significand_test_data): Likewise.
13007
48a18de1
SP
130082013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13009
13010 [BZ #15424]
13011 * benchtests/bench-modf.c (struct args): Mark arg0 as
13012 volatile.
13013 * scripts/bench.pl: Mark members of struct args as volatile.
13014
13d3b41a
AZ
130152013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13016
68191c1d 13017 [BZ # 15497]
13d3b41a
AZ
13018 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13019 negative infinity on POWER6 or lower.
13020 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13021
2848b105
MR
130222013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13023
13024 [BZ #15442]
13025 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13026 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13027 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13028 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13029 (_FP_SETQNAN): New macro.
13030 (_FP_SETQNAN_SEMIRAW): Likewise.
13031 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13032 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13033 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13034 (FP_EXTEND): Use _FP_FRAC_SNANP.
13035 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13036 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13037 into account.
13038 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13039 New macro.
13040 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13041 Likewise.
13042
323e5cb7
JM
130432013-05-16 Joseph Myers <joseph@codesourcery.com>
13044
c58b274f
JM
13045 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13046 with DIVIDE_BY_ZERO_EXCEPTION.
13047 (gamma_test_data): Likewise.
13048 (lgamma_test_data): Likewise.
13049 (log_test_data): Likewise.
13050 (log10_test_data): Likewise.
13051 (log2_test_data): Likewise.
13052 (tgamma_test_data): Likewise.
13053
0ab34904
JM
13054 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13055 (acos_test_tonearest): Likewise.
13056 (acos_test_towardzero): Likewise.
13057 (acos_test_downward): Likewise.
13058 (acos_test_upward): Likewise.
13059 (acosh_test): Likewise.
13060 (asin_test): Likewise.
13061 (asin_test_tonearest): Likewise.
13062 (asin_test_towardzero): Likewise.
13063 (asin_test_downward): Likewise.
13064 (asin_test_upward): Likewise.
13065 (asinh_test): Likewise.
13066 (atan_test): Likewise.
13067 (atanh_test): Likewise.
13068 (atan2_test): Likewise.
13069 (cabs_test): Likewise.
13070 (cacos_test): Likewise.
13071 (cacosh_test): Likewise.
13072 (casin_test): Likewise.
13073 (casinh_test): Likewise.
13074 (catan_test): Likewise.
13075 (catanh_test): Likewise.
13076 (cbrt_test): Likewise.
13077 (ccos_test): Likewise.
13078 (ccosh_test): Likewise.
13079 (cexp_test): Likewise.
13080 (clog_test): Likewise.
13081 (clog10_test): Likewise.
13082 (cos_test): Likewise.
13083 (cos_test_tonearest): Likewise.
13084 (cos_test_towardzero): Likewise.
13085 (cos_test_downward): Likewise.
13086 (cos_test_upward): Likewise.
13087 (cosh_test): Likewise.
13088 (cosh_test_tonearest): Likewise.
13089 (cosh_test_towardzero): Likewise.
13090 (cosh_test_downward): Likewise.
13091 (cosh_test_upward): Likewise.
13092 (cpow_test): Likewise.
13093 (csin_test): Likewise.
13094 (csinh_test): Likewise.
13095 (csqrt_test): Likewise.
13096 (ctan_test): Likewise.
13097 (ctan_test_tonearest): Likewise.
13098 (ctan_test_towardzero): Likewise.
13099 (ctan_test_downward): Likewise.
13100 (ctan_test_upward): Likewise.
13101 (ctanh_test): Likewise.
13102 (ctanh_test_tonearest): Likewise.
13103 (ctanh_test_towardzero): Likewise.
13104 (ctanh_test_downward): Likewise.
13105 (ctanh_test_upward): Likewise.
13106 (erf_test): Likewise.
13107 (erfc_test): Likewise.
13108 (exp_test): Likewise.
13109 (exp_test_tonearest): Likewise.
13110 (exp_test_towardzero): Likewise.
13111 (exp_test_downward): Likewise.
13112 (exp_test_upward): Likewise.
13113 (exp10_test): Likewise.
13114 (exp2_test): Likewise.
13115 (expm1_test): Likewise.
13116 (fmod_test): Likewise.
13117 (gamma_test): Likewise.
13118 (hypot_test): Likewise.
13119 (j0_test): Likewise.
13120 (j1_test): Likewise.
13121 (jn_test): Likewise.
13122 (lgamma_test): Likewise.
13123 (log_test): Likewise.
13124 (log10_test): Likewise.
13125 (log1p_test): Likewise.
13126 (log2_test): Likewise.
13127 (logb_test_downward): Likewise.
13128 (pow_test): Likewise.
13129 (pow_test_tonearest): Likewise.
13130 (pow_test_towardzero): Likewise.
13131 (pow_test_downward): Likewise.
13132 (pow_test_upward): Likewise.
13133 (remainder_test): Likewise.
13134 (remquo_test): Likewise.
13135 (sin_test): Likewise.
13136 (sin_test_tonearest): Likewise.
13137 (sin_test_towardzero): Likewise.
13138 (sin_test_downward): Likewise.
13139 (sin_test_upward): Likewise.
13140 (sincos_test): Likewise.
13141 (sinh_test): Likewise.
13142 (sinh_test_tonearest): Likewise.
13143 (sinh_test_towardzero): Likewise.
13144 (sinh_test_downward): Likewise.
13145 (sinh_test_upward): Likewise.
13146 (sqrt_test): Likewise.
13147 (tan_test): Likewise.
13148 (tan_test_tonearest): Likewise.
13149 (tan_test_towardzero): Likewise.
13150 (tan_test_downward): Likewise.
13151 (tan_test_upward): Likewise.
13152 (tanh_test): Likewise.
13153 (tgamma_test): Likewise.
13154 (y0_test): Likewise.
13155 (y1_test): Likewise.
13156 (yn_test): Likewise.
13157
323e5cb7
JM
13158 * math/gen-libm-test.pl (adjust_arg): Remove function.
13159 (special_function): Remove argument $in_func. Only handle
13160 generating output for tables of tests, not inside functions.
13161 (parse_args): Likewise.
13162 (generate_testfile): Remove variable $in_func. Update call to
13163 parse_args.
13164 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13165 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13166 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13167 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13168 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13169 (MAX_VALUE_INIT): Rename macro to max_value.
13170 (MIN_VALUE_INIT): Rename macro to min_value.
13171 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13172 (plus_zero): Remove variable.
13173 (minus_zero): Likewise.
13174 (plus_infty): Likewise.
13175 (minus_infty): Likewise.
13176 (qnan_value): Likewise.
13177 (max_value): Likewise.
13178 (min_value): Likewise.
13179 (min_subnorm_value): Likewise.
13180
e054f494
RA
131812013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13182
13183 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13184 uint64_t or uint32_t usage.
13185 * crypt/sha256-block.c: Likewise.
13186 * crypt/sha256-crypt.c: Likewise.
13187 * crypt/sha256.c: Likewise.
13188 * crypt/sha512-block.c: Likewise.
13189 * crypt/sha512-crypt.c: Likewise.
13190 * crypt/sha512.c: Likewise.
13191 * debug/backtrace-tst.c: Likewise.
13192 * debug/pcprofiledump.c: Likewise.
13193 * elf/cache.c: Likewise.
13194 * elf/dl-cache.c: Likewise.
13195 * elf/dl-misc.c: Likewise.
13196 * elf/dl-profile.c: Likewise.
13197 * elf/dl-support.c: Likewise.
13198 * elf/ldconfig.c: Likewise.
13199 * elf/sprof.c: Likewise.
13200 * iconv/dummy-repertoire.c: Likewise.
13201 * iconv/iconv_charmap.c: Likewise.
13202 * iconv/skeleton.c: Likewise.
13203 * iconvdata/8bit-generic.c: Likewise.
13204 * iconvdata/cp737.h: Likewise.
13205 * iconvdata/cp775.h: Likewise.
13206 * iconvdata/ibm1008.h: Likewise.
13207 * iconvdata/ibm1025.h: Likewise.
13208 * iconvdata/ibm1046.h: Likewise.
13209 * iconvdata/ibm1097.h: Likewise.
13210 * iconvdata/ibm1112.h: Likewise.
13211 * iconvdata/ibm1122.h: Likewise.
13212 * iconvdata/ibm1123.h: Likewise.
13213 * iconvdata/ibm1124.h: Likewise.
13214 * iconvdata/ibm1129.h: Likewise.
13215 * iconvdata/ibm1130.h: Likewise.
13216 * iconvdata/ibm1132.h: Likewise.
13217 * iconvdata/ibm1133.h: Likewise.
13218 * iconvdata/ibm1137.h: Likewise.
13219 * iconvdata/ibm1140.h: Likewise.
13220 * iconvdata/ibm1141.h: Likewise.
13221 * iconvdata/ibm1142.h: Likewise.
13222 * iconvdata/ibm1143.h: Likewise.
13223 * iconvdata/ibm1144.h: Likewise.
13224 * iconvdata/ibm1145.h: Likewise.
13225 * iconvdata/ibm1146.h: Likewise.
13226 * iconvdata/ibm1147.h: Likewise.
13227 * iconvdata/ibm1148.h: Likewise.
13228 * iconvdata/ibm1149.h: Likewise.
13229 * iconvdata/ibm1153.h: Likewise.
13230 * iconvdata/ibm1154.h: Likewise.
13231 * iconvdata/ibm1155.h: Likewise.
13232 * iconvdata/ibm1156.h: Likewise.
13233 * iconvdata/ibm1157.h: Likewise.
13234 * iconvdata/ibm1158.h: Likewise.
13235 * iconvdata/ibm1160.h: Likewise.
13236 * iconvdata/ibm1161.h: Likewise.
13237 * iconvdata/ibm1162.h: Likewise.
13238 * iconvdata/ibm1163.h: Likewise.
13239 * iconvdata/ibm1164.h: Likewise.
13240 * iconvdata/ibm1166.h: Likewise.
13241 * iconvdata/ibm1167.h: Likewise.
13242 * iconvdata/ibm12712.h: Likewise.
13243 * iconvdata/ibm1390.h: Likewise.
13244 * iconvdata/ibm1399.h: Likewise.
13245 * iconvdata/ibm16804.h: Likewise.
13246 * iconvdata/ibm4517.h: Likewise.
13247 * iconvdata/ibm4899.h: Likewise.
13248 * iconvdata/ibm4909.h: Likewise.
13249 * iconvdata/ibm4971.h: Likewise.
13250 * iconvdata/ibm5347.h: Likewise.
13251 * iconvdata/ibm803.h: Likewise.
13252 * iconvdata/ibm856.h: Likewise.
13253 * iconvdata/ibm901.h: Likewise.
13254 * iconvdata/ibm902.h: Likewise.
13255 * iconvdata/ibm9030.h: Likewise.
13256 * iconvdata/ibm9066.h: Likewise.
13257 * iconvdata/ibm921.h: Likewise.
13258 * iconvdata/ibm922.h: Likewise.
13259 * iconvdata/ibm9448.h: Likewise.
13260 * iconvdata/isiri-3342.h: Likewise.
13261 * iconvdata/jis0201.h: Likewise.
13262 * include/link.h: Likewise.
13263 * include/netdb.h: Likewise.
13264 * inet/check_native.c: Likewise.
13265 * inet/check_pf.c: Likewise.
13266 * inet/getipv4sourcefilter.c: Likewise.
13267 * inet/getnameinfo.c: Likewise.
13268 * inet/getsourcefilter.c: Likewise.
13269 * inet/htonl.c: Likewise.
13270 * inet/setipv4sourcefilter.c: Likewise.
13271 * inet/setsourcefilter.c: Likewise.
13272 * inet/test-inet6_opt.c: Likewise.
13273 * inet/tst-network.c: Likewise.
13274 * locale/C-collate.c: Likewise.
13275 * locale/C-ctype.c: Likewise.
13276 * locale/C-time.c: Likewise.
13277 * locale/C-translit.h: Likewise.
13278 * locale/loadarchive.c: Likewise.
13279 * locale/programs/3level.h: Likewise.
13280 * locale/programs/charmap.c: Likewise.
13281 * locale/programs/charmap.h: Likewise.
13282 * locale/programs/ld-address.c: Likewise.
13283 * locale/programs/ld-collate.c: Likewise.
13284 * locale/programs/ld-ctype.c: Likewise.
13285 * locale/programs/ld-identification.c: Likewise.
13286 * locale/programs/ld-measurement.c: Likewise.
13287 * locale/programs/ld-messages.c: Likewise.
13288 * locale/programs/ld-monetary.c: Likewise.
13289 * locale/programs/ld-name.c: Likewise.
13290 * locale/programs/ld-numeric.c: Likewise.
13291 * locale/programs/ld-paper.c: Likewise.
13292 * locale/programs/ld-telephone.c: Likewise.
13293 * locale/programs/ld-time.c: Likewise.
13294 * locale/programs/linereader.c: Likewise.
13295 * locale/programs/locale.c: Likewise.
13296 * locale/programs/locarchive.c: Likewise.
13297 * locale/programs/locfile.h: Likewise.
13298 * locale/programs/repertoire.c: Likewise.
13299 * locale/programs/simple-hash.c: Likewise.
13300 * locale/programs/simple-hash.h: Likewise.
13301 * malloc/memusage.c: Likewise.
13302 * malloc/memusagestat.c: Likewise.
13303 * nis/nis_defaults.c: Likewise.
13304 * nis/nis_hash.c: Likewise.
13305 * nis/nis_print.c: Likewise.
13306 * nis/nis_xdr.c: Likewise.
13307 * nscd/connections.c: Likewise.
13308 * nscd/hstcache.c: Likewise.
13309 * nscd/nscd_gethst_r.c: Likewise.
13310 * nscd/nscd_getserv_r.c: Likewise.
13311 * nscd/nscd_helper.c: Likewise.
13312 * nscd/servicescache.c: Likewise.
13313 * nss/makedb.c: Likewise.
13314 * nss/nss_db/db-XXX.c: Likewise.
13315 * nss/nss_db/db-initgroups.c: Likewise.
13316 * nss/nss_db/db-netgrp.c: Likewise.
13317 * nss/nss_files/files-network.c: Likewise.
13318 * nss/nss_files/files-parse.c: Likewise.
13319 * posix/bug-regex5.c: Likewise.
13320 * posix/fnmatch_loop.c: Likewise.
13321 * posix/regcomp.c: Likewise.
13322 * posix/regexec.c: Likewise.
13323 * posix/tst-rfc3484-2.c: Likewise.
13324 * posix/tst-rfc3484-3.c: Likewise.
13325 * posix/tst-rfc3484.c: Likewise.
13326 * resolv/nss_dns/dns-canon.c: Likewise.
13327 * resolv/nss_dns/dns-network.c: Likewise.
13328 * resolv/res_init.c: Likewise.
13329 * resolv/res_mkquery.c: Likewise.
13330 * resolv/tst-aton.c: Likewise.
13331 * stdlib/cxa_atexit.c: Likewise.
13332 * stdlib/cxa_finalize.c: Likewise.
13333 * stdlib/gen-fpioconst.c: Likewise.
13334 * stdlib/strtol_l.c: Likewise.
13335 * string/tst-endian.c: Likewise.
13336 * sunrpc/auth_des.c: Likewise.
13337 * sunrpc/clnt_udp.c: Likewise.
13338 * sunrpc/rtime.c: Likewise.
13339 * sunrpc/svcauth_des.c: Likewise.
13340 * sunrpc/xdr.c: Likewise.
13341 * sunrpc/xdr_intXX_t.c: Likewise.
13342 * sunrpc/xdr_rec.c: Likewise.
13343 * sysdeps/generic/ldconfig.h: Likewise.
13344 * sysdeps/generic/ldsodefs.h: Likewise.
13345 * sysdeps/generic/memusage.h: Likewise.
13346 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13356 * sysdeps/posix/getaddrinfo.c: Likewise.
13357 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13358 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13359 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13360 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13361 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13362 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13363 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13364 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13365 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13366 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13367 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13368 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13369 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13370 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13371 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13372 * sysdeps/x86_64/dl-tls.h: Likewise.
13373 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13374 * time/alt_digit.c: Likewise.
13375 * time/era.c: Likewise.
13376 * wcsmbs/tst-c16c32-1.c: Likewise.
13377
8c75f674
JM
133782013-05-16 Joseph Myers <joseph@codesourcery.com>
13379
13380 * math/libm-test.inc (struct test_sincos_data): New type.
13381 (RUN_TEST_LOOP_sincos): New macro.
13382 (sincos_test_data): New variable.
13383 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13384
e6e49e59
RH
133852013-05-16 Richard Henderson <rth@redhat.com>
13386
13387 * math/atest-exp2.c (LIMB64): New macro.
13388 (CONSTSZ): New macro.
13389 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13390 (hexdig): Move ...
13391 (print_mpn_fp): ... to function scope.
13392 (read_mpn_hex): Remove.
13393 (get_log2): Remove.
13394 (exp2_mpn): Use mp_log2.
13395 (main): Use mp_exp1.
13396
15c7c18d
JM
133972013-05-16 Joseph Myers <joseph@codesourcery.com>
13398
105a07df
JM
13399 * math/libm-test.inc: Remove comment about not testing "inexact"
13400 exceptions.
13401 (INEXACT_EXCEPTION): New macro.
13402 (NO_INEXACT_EXCEPTION): Likewise.
13403 (INVALID_EXCEPTION_OK): Update value.
13404 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13405 (OVERFLOW_EXCEPTION_OK): Likewise.
13406 (UNDERFLOW_EXCEPTION_OK): Likewise.
13407 (IGNORE_ZERO_INF_SIGN): Likewise.
13408 (ERRNO_UNCHANGED): Likewise.
13409 (ERRNO_EDOM): Likewise.
13410 (ERRNO_ERANGE): Likewise.
13411 (test_exceptions): Handle testing "inexact" exceptions.
13412 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13413 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13414 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13415 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13416 INEXACT_EXCEPTION.
13417 (rint_towardzero_test_data): Likewise.
13418 (rint_downward_test_data): Likewise.
13419 (rint_upward_test_data): Likewise.
13420
e9eee333
JM
13421 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13422 with OVERFLOW_EXCEPTION.
13423 (exp10_test_data): Likewise.
13424 (exp2_test_data): Likewise.
13425 (expm1_test_data): Likewise.
13426 (lgamma_test_data): Likewise.
13427 (pow_test_data): Likewise.
13428 (tgamma_test_data): Likewise.
13429 (yn_test_data): Remove duplicate test of overflow.
13430
1c38ff73
JM
13431 * math/libm-test.inc (struct test_cc_c_data): New type.
13432 (RUN_TEST_LOOP_cc_c): New macro.
13433 (cpow_test_data): New variable.
13434 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13435
15c7c18d
JM
13436 * math/libm-test.inc (struct test_f_L_data): New type.
13437 (RUN_TEST_LOOP_f_L): New macro.
13438 (llrint_test_data): New variable.
13439 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13440 (llrint_tonearest_test_data): New variable.
13441 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13442 (llrint_towardzero_test_data): New variable.
13443 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13444 (llrint_downward_test_data): New variable.
13445 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13446 (llrint_upward_test_data): New variable.
13447 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13448 (llround_test_data): New variable.
13449 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13450
f137ff13
PC
134512013-05-13 Peter Collingbourne <pcc@google.com>
13452
13453 * math/atest-exp2.c (get_log2): Remove const attribute.
13454
3608cb24
JM
134552013-05-15 Joseph Myers <joseph@codesourcery.com>
13456
13457 * math/libm-test.inc (struct test_f_l_data): New type.
13458 (RUN_TEST_LOOP_f_l): New macro.
13459 (lrint_test_data): New variable.
13460 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13461 (lrint_tonearest_test_data): New variable.
13462 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13463 (lrint_towardzero_test_data): New variable.
13464 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13465 (lrint_downward_test_data): New variable.
13466 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13467 (lrint_upward_test_data): New variable.
13468 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13469 (lround_test_data): New variable.
13470 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13471
39b1f617
PC
134722013-05-15 Peter Collingbourne <pcc@google.com>
13473
1deff3dc
PC
13474 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13475 (EXTRACT_WORDS64) Use where appropriate.
13476 (INSERT_WORDS64) Likewise.
13477
791f3ba0
PC
13478 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13479 constraints with x constraints.
13480 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13481
39b1f617
PC
13482 * malloc/obstack.c (_obstack_compat): Add initializer.
13483
12fba011
EM
134842013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13485
13486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13487 si_trapno and add si_addr_lsb to _sifields.sigfault.
13488 (si_trapno): Remove macro.
13489 (si_addr_lsb): Define new macro.
13490 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13491
d369f531
JM
134922013-05-15 Joseph Myers <joseph@codesourcery.com>
13493
b861c6c4
JM
13494 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13495 instead of TEST_f_l.
13496 (llrint_test_tonearest): Likewise.
13497 (llrint_test_towardzero): Likewise.
13498 (llrint_test_downward): Likewise.
13499 (llrint_test_upward): Likewise.
13500 (llround_test): Likewise.
13501
7abeee12
JM
13502 * math/libm-test.inc (struct test_f_i_data): Add comment.
13503 (RUN_TEST_LOOP_f_b): New macro.
13504 (RUN_TEST_LOOP_f_b_tg): Likewise.
13505 (finite_test_data): New variable.
13506 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13507 (isfinite_test_data): New variable.
13508 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13509 (isinf_test_data): New variable.
13510 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13511 (isnan_test_data): New variable.
13512 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13513 (isnormal_test_data): New variable.
13514 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13515 (issignaling_test_data): New variable.
13516 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13517 (signbit_test_data): New variable.
13518 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13519
cbe8c4d3
JM
13520 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13521 with INVALID_EXCEPTION.
13522 (acosh_test_data): Likewise.
13523 (asin_test_data): Likewise.
13524 (atanh_test_data): Likewise.
13525 (fmod_test_data): Likewise.
13526 (log_test_data): Likewise.
13527 (log10_test_data): Likewise.
13528 (log2_test_data): Likewise.
13529 (pow_test_data): Likewise.
13530 (sqrt_test_data): Likewise.
13531 (y0_test_data): Likewise.
13532 (y1_test_data): Likewise.
13533 (yn_test_data): Likewise.
13534
5575c0e5
JM
13535 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13536 function contents.
13537
d369f531
JM
13538 * math/libm-test.inc (struct test_ff_i_data): New type.
13539 (RUN_TEST_LOOP_ff_i_tg): New macro.
13540 (isgreater_test_data): New variable.
13541 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13542 (isgreaterequal_test_data): New variable.
13543 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13544 (isless_test_data): New variable.
13545 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13546 (islessequal_test_data): New variable.
13547 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13548 (islessgreater_test_data): New variable.
13549 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13550 (isunordered_test_data): New variable.
13551 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13552
781fd748
DM
135532013-05-14 David S. Miller <davem@davemloft.net>
13554
13555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13556
87aa21df
JM
135572013-05-14 Joseph Myers <joseph@codesourcery.com>
13558
5e908270
JM
13559 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13560
f71172e5
JM
13561 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13562 extra_test to int.
13563 (struct test_f_i_data): Change type of max_ulp to int.
13564
8cfa635a
JM
13565 * math/libm-test.inc (test_ffI_f1_data): New type.
13566 (RUN_TEST_LOOP_ffI_f1): New macro.
13567 (remquo_test_data): New variable.
13568 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13569
2bcb36b2
JM
13570 * setjmp/tst-setjmp-fp.c: New file.
13571 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13572 (link-libm): New variable.
13573 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13574
acbd839a
JM
13575 * math/libm-test.inc (struct test_f_i_data): New type.
13576 (RUN_TEST_LOOP_f_i): New macro.
13577 (RUN_TEST_LOOP_f_i_tg): Likewise.
13578 (fpclassify_test_data): New variable.
13579 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13580 (ilogb_test_data): New variable.
13581 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13582
e414d745
JM
13583 * math/libm-test.inc (scalbln_test): Correct function name in END
13584 call.
13585
d9c2a0fd
JM
13586 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13587 (RUN_TEST_LOOP_fI_f1): New macro.
13588 (frexp_test_data): New variable.
13589 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13590
9dc9095d
JM
13591 * math/libm-test.inc (struct test_fF_f1_data): New type.
13592 (RUN_TEST_LOOP_fF_f1): New macro.
13593 (modf_test_data): New variable.
13594 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13595
87aa21df
JM
13596 * math/libm-test.inc (struct test_f_f1_data): New type.
13597 (RUN_TEST_LOOP_f_f1): New macro.
13598 (gamma_test_data): New variable.
13599 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13600 (lgamma_test_data): New variable.
13601 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13602
141af660
CD
136032013-05-13 Carlos O'Donell <carlos@redhat.com>
13604
13605 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13606 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13607 (main): Comment "tls" pseudo-hwcap.
13608
6d33265c
JM
136092013-05-13 Joseph Myers <joseph@codesourcery.com>
13610
68fc074c
JM
13611 * math/libm-test.inc (struct test_fl_f_data): New type.
13612 (RUN_TEST_LOOP_fl_f): New variable.
13613 (scalbln_test_data): New variable.
13614 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13615
243216e1
JM
13616 * math/libm-test.inc (struct test_fi_f_data): New type.
13617 (RUN_TEST_LOOP_fi_f): New macro.
13618 (ldexp_test_data): New variable.
13619 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13620 (scalbn_test_data): New variable.
13621 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13622
6a1992e2
JM
13623 * math/libm-test.inc (struct test_c_f_data): New type.
13624 (RUN_TEST_LOOP_c_f): New macro.
13625 (cabs_test_data): New variable.
13626 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13627 (carg_test_data): New variable.
13628 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13629 (cimag_test_data): New variable.
13630 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13631 (creal_test_data): New variable.
13632 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13633
0e400df5
JM
13634 * math/libm-test.inc (struct test_if_f_data): New type.
13635 (RUN_TEST_LOOP_if_f): New macro.
13636 (jn_test_data): New variable.
13637 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13638 (yn_test_data): New variable.
13639 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13640
6d33265c
JM
13641 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13642
f98ece5f
AZ
136432013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13644
13645 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13646 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13647
0f7d347b
SP
136482013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13649
43fe811b
SP
13650 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13651 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13652 (bench-deps): Add bench-timing.h.
13653 * benchtests-bench-skeleton.c: Include bench-timing.h.
13654 (main): Use TIMING_* macros instead of clock_gettime.
13655 * benchtests/bench-timing.h: New file.
13656
0f7d347b
SP
13657 [BZ #14582]
13658 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13659 Renamed from _LIB_VERSION.
13660 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13661
601a3a5f
JM
136622013-05-12 Joseph Myers <joseph@codesourcery.com>
13663
4f184d30
JM
13664 * math/libm-test.inc (struct test_fff_f_data): New type.
13665 (RUN_TEST_LOOP_fff_f): New macro.
13666 (fma_test_data): New variable.
13667 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13668 (fma_towardzero_test_data): New variable.
13669 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13670 (fma_downward_test_data): New variable.
13671 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13672 (fma_upward_test_data): New variable.
13673 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13674
08198877
JM
13675 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13676 (struct test_c_c_data): New type.
13677 (RUN_TEST_LOOP_c_c): New macro.
13678 (cacos_test_data): New variable.
13679 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13680 (cacosh_test_data): New variable.
13681 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13682 (casin_test_data): New variable.
13683 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13684 (casinh_test_data): New variable.
13685 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13686 (catan_test_data): New variable.
13687 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13688 (catanh_test_data): New variable.
13689 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13690 (ccos_test_data): New variable.
13691 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13692 (ccosh_test_data): New variable.
13693 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13694 (cexp_test_data): New variable.
13695 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13696 (clog_test_data): New variable.
13697 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13698 (clog10_test_data): New variable.
13699 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13700 (conj_test_data): New variable.
13701 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13702 (cproj_test_data): New variable.
13703 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13704 (csin_test_data): New variable.
13705 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13706 (csinh_test_data): New variable.
13707 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13708 (csqrt_test_data): New variable.
13709 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13710 (ctan_test_data): New variable.
13711 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13712 (ctan_tonearest_test_data): New variable.
13713 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13714 (ctan_towardzero_test_data): New variable.
13715 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13716 (ctan_downward_test_data): New variable.
13717 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13718 (ctan_upward_test_data): New variable.
13719 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13720 (ctanh_test_data): New variable.
13721 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13722 (ctanh_tonearest_test_data): New variable.
13723 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13724 (ctanh_towardzero_test_data): New variable.
13725 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13726 (ctanh_downward_test_data): New variable.
13727 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13728 (ctanh_upward_test_data): New variable.
13729 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13730 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13731 of BUILD_COMPLEX.
13732
601a3a5f
JM
13733 * math/libm-test.inc (struct test_ff_f_data): New type.
13734 (struct test_ff_f_data_nexttoward): Likewise.
13735 (RUN_TEST_LOOP_2_f): New macro.
13736 (RUN_TEST_LOOP_ff_f): Likewise.
13737 (atan2_test_data): New variable.
13738 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13739 (copysign_test_data): New variable.
13740 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13741 (fdim_test_data): New variable.
13742 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13743 (fmax_test_data): New variable.
13744 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13745 (fmin_test_data): New variable.
13746 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13747 (fmod_test_data): New variable.
13748 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13749 (hypot_test_data): New variable.
13750 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13751 (nextafter_test_data): New variable.
13752 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13753 (nexttoward_test_data): New variable.
13754 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13755 (pow_test_data): New variable.
13756 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13757 (pow_tonearest_test_data): New variable.
13758 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13759 (pow_towardzero_test_data): New variable.
13760 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13761 (pow_downward_test_data): New variable.
13762 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13763 (pow_upward_test_data): New variable.
13764 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13765 (remainder_test_data): New variable.
13766 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13767 (scalb_test_data): New variable.
13768 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13769 * sysdeps/i386/fpu/libm-test-ulps: Update.
13770
74c57478
JM
137712013-05-11 Joseph Myers <joseph@codesourcery.com>
13772
8329e4da
JM
13773 * math/libm-test.inc (fma_test): Use max_value instead of local
13774 variable fltmax.
13775 (nextafter_test): Likewise.
13776
74c57478
JM
13777 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13778 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13779 (acos_downward_test_data): New variable.
13780 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13781 (acos_upward_test_data): New variable.
13782 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13783 (acosh_test_data): New variable.
13784 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13785 (asin_test_data): New variable.
13786 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13787 (asin_tonearest_test_data): New variable.
13788 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13789 (asin_towardzero_test_data): New variable.
13790 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13791 (asin_downward_test_data): New variable.
13792 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13793 (asin_upward_test_data): New variable.
13794 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13795 (asinh_test_data): New variable.
13796 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13797 (atan_test_data): New variable.
13798 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13799 (atanh_test_data): New variable.
13800 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13801 (cbrt_test_data): New variable.
13802 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13803 (ceil_test_data): New variable.
13804 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13805 (cos_test_data): New variable.
13806 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13807 (cos_tonearest_test_data): New variable.
13808 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13809 (cos_towardzero_test_data): New variable.
13810 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13811 (cos_downward_test_data): New variable.
13812 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13813 (cos_upward_test_data): New variable.
13814 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13815 (cosh_test_data): New variable.
13816 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13817 (cosh_tonearest_test_data): New variable.
13818 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13819 (cosh_towardzero_test_data): New variable.
13820 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13821 (cosh_downward_test_data): New variable.
13822 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13823 (cosh_upward_test_data): New variable.
13824 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13825 (erf_test_data): New variable.
13826 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13827 (erfc_test_data): New variable.
13828 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13829 (exp_test_data): New variable.
13830 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13831 (exp_tonearest_test_data): New variable.
13832 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13833 (exp_towardzero_test_data): New variable.
13834 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13835 (exp_downward_test_data): New variable.
13836 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13837 (exp_upward_test_data): New variable.
13838 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13839 (exp10_test_data): New variable.
13840 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13841 (exp2_test_data): New variable.
13842 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13843 (expm1_test_data): New variable.
13844 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13845 (fabs_test_data): New variable.
13846 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13847 (floor_test_data): New variable.
13848 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13849 (j0_test_data): New variable.
13850 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13851 (j1_test_data): New variable.
13852 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13853 (log_test_data): New variable.
13854 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13855 (log10_test_data): New variable.
13856 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13857 (log1p_test_data): New variable.
13858 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13859 (log2_test_data): New variable.
13860 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13861 (logb_test_data): New variable.
13862 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13863 (logb_downward_test_data): New variable.
13864 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13865 (nearbyint_test_data): New variable.
13866 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13867 (rint_test_data): New variable.
13868 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13869 (rint_tonearest_test_data): New variable.
13870 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13871 (rint_towardzero_test_data): New variable.
13872 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13873 (rint_downward_test_data): New variable.
13874 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13875 (rint_upward_test_data): New variable.
13876 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13877 (round_test_data): New variable.
13878 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13879 (sin_test_data): New variable.
13880 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13881 (sin_tonearest_test_data): New variable.
13882 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13883 (sin_towardzero_test_data): New variable.
13884 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13885 (sin_downward_test_data): New variable.
13886 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13887 (sin_upward_test_data): New variable.
13888 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13889 (sinh_test_data): New variable.
13890 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13891 (sinh_tonearest_test_data): New variable.
13892 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13893 (sinh_towardzero_test_data): New variable.
13894 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13895 (sinh_downward_test_data): New variable.
13896 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13897 (sinh_upward_test_data): New variable.
13898 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13899 (sqrt_test_data): New variable.
13900 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13901 (tan_test_data): New variable.
13902 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13903 (tan_tonearest_test_data): New variable.
13904 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13905 (tan_towardzero_test_data): New variable.
13906 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13907 (tan_downward_test_data): New variable.
13908 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13909 (tan_upward_test_data): New variable.
13910 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13911 (tanh_test_data): New variable.
13912 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13913 (tgamma_test_data): New variable.
13914 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13915 (trunc_test_data): New variable.
13916 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13917 (y0_test_data): New variable.
13918 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13919 (y1_test_data): New variable.
13920 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13921 (significand_test_data): New variable.
13922 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13923
7187d844
CG
139242013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13925
13926 [BZ #12387]
13927 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13928
f63fae73
PT
139292013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13930
13931 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13932
8a67a4b3
AJ
139332013-05-10 Andreas Jaeger <aj@suse.de>
13934
13935 [BZ #15448]
13936 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13937 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13938
51df539d
JM
139392013-05-10 Joseph Myers <joseph@codesourcery.com>
13940
13941 * math/gen-libm-test.pl (adjust_arg): New function.
13942 (special_functions): Handle generating output in both functions
13943 and arrays.
13944 (parse_args): Likewise.
13945 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13946 $in_func argument to parse_args.
13947 * math/libm-test.inc (struct test_f_f_data): New type.
13948 (IF_ROUND_INIT_): New macro.
13949 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13950 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13951 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13952 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13953 (ROUND_RESTORE_): Likewise.
13954 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13955 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13956 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13957 (ROUND_RESTORE_FE_UPWARD): Likewise.
13958 (RUN_TEST_LOOP_f_f): New macro.
13959 (acos_test_data): New variable.
13960 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13961 (acos_tonearest_test_data): New variable.
13962 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13963
5c637fe5
SP
139642013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13965
13966 * benchtests/bench-skeleton.c (startup): Fix coding style.
13967
ab2b9461
JM
139682013-05-10 Joseph Myers <joseph@codesourcery.com>
13969
13970 [BZ #6809]
13971 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13972 negative infinity argument.
13973 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13974 negative infinity argument.
13975 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13976 negative infinity argument.
13977 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13978 domain errors.
13979
4c0fe6fe
FW
139802013-05-10 Florian Weimer <fweimer@redhat.com>
13981
13982 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13983 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13984 * iconv/iconv_prog.c (main): Likewise.
13985 * locale/programs/charmap-dir.c (charmap_readdir)
13986 (fopen_uncompressed): Likewise.
13987 * locale/programs/locfile.c (siblings_uncached)
13988 (write_locale_data): Use lstat64 instead of lstat.
13989 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13990 stat.
13991
a3375d29
AJ
139922013-05-10 Andreas Jaeger <aj@suse.de>
13993
13994 [BZ #15395]
13995 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13996 localization.
13997 Include <locale.h>.
13998
36129722
CD
139992013-05-09 Carlos O'Donell <carlos@redhat.com>
14000
14001 * elf/dl-close.c (_dl_close_worker): Add comments.
14002
faa7f811
JM
140032013-05-09 Joseph Myers <joseph@codesourcery.com>
14004
ed41ffef
JM
14005 [BZ #15359]
14006 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14007 high part of pi/2.
14008 (__ieee754_rem_pio2l): Update comments.
14009
d0213cd0
JM
14010 [BZ #15429]
14011 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14012 high part of pi/2.
14013 (__ieee754_rem_pio2l): Update comments.
14014
0d3e777a
JM
14015 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14016 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14017
24f56066
JM
14018 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14019 M_PI_4l.
14020
faa7f811
JM
14021 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14022 (M_PI_34_LOG10El): Likewise.
14023 (M_PI2_LOG10El): Likewise.
14024 (M_PI4_LOG10El): Likewise.
14025 (M_PI_LOG10El): Likewise.
14026
e9a5e0fd
AZ
140272013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14028
14029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14030
d8cd06db
JM
140312013-05-08 Joseph Myers <joseph@codesourcery.com>
14032
a0d9f9d7
JM
14033 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14034 (MINUS_ZERO_INIT): Likewise.
14035 (PLUS_INFTY_INIT): Likewise.
14036 (MINUS_INFTY_INIT): Likewise.
14037 (QNAN_VALUE_INIT): Likewise.
14038 (MAX_VALUE_INIT): Likewise.
14039 (MIN_VALUE_INIT): Likewise.
14040 (MIN_SUBNORM_VALUE_INIT): Likewise.
14041 (plus_zero): Initialize with PLUS_ZERO_INIT.
14042 (minus_zero): Initialize with MINUS_ZERO_INIT.
14043 (plus_infty): Initialize with PLUS_INFTY_INIT.
14044 (minus_infty): Initialize with MINUS_INFTY_INIT.
14045 (qnan_value): Initialize with QNAN_VALUE_INIT.
14046 (max_value): Initialize with MAX_VALUE_INIT.
14047 (min_value): Initialize with MIN_VALUE_INIT.
14048 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14049
ae08db3b
JM
14050 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14051 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14052 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14053 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14054
f44bf14a
JM
14055 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14056 (RUN_TEST_2_f): Likewise.
14057 (RUN_TEST_ff_f): Likewise.
14058 (RUN_TEST_fi_f): Likewise.
14059 (RUN_TEST_fl_f): Likewise.
14060 (RUN_TEST_fff_f): Likewise.
14061 (RUN_TEST_c_f): Likewise.
14062 (RUN_TEST_f_f1): Likewise.
14063 (RUN_TEST_fF_f1): Likewise.
14064 (RUN_TEST_fI_f1): Likewise.
14065 (RUN_TEST_ffI_f1): Likewise.
14066 (RUN_TEST_c_c): Likewise.
14067 (RUN_TEST_cc_c): Likewise.
14068 (RUN_TEST_f_i): Likewise.
14069 (RUN_TEST_f_i_tg): Likewise.
14070 (RUN_TEST_ff_i_tg): Likewise.
14071 (RUN_TEST_f_b): Likewise.
14072 (RUN_TEST_f_b_tg): Likewise.
14073 (RUN_TEST_f_l): Likewise.
14074 (RUN_TEST_f_L): Likewise.
14075 (RUN_TEST_sincos): Likewise.
14076 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14077 whether to show exceptions. Do not include ");\n" in return
14078 value.
14079 (special_functions): Output call to RUN_TEST_sincos instead of
14080 check_float calls. Update calls to new_test.
14081 (parse_args): Output call to single RUN_TEST_* macro instead of
14082 check_* calls and other assignments. Update calls to new_test.
14083
d8cd06db
JM
14084 [BZ #2546]
14085 [BZ #2560]
14086 [BZ #5159]
14087 [BZ #15426]
14088 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14089 input to result for tgamma overflow.
14090 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14091 (gamma_coeff): New variable.
14092 (NCOEFF): New macro.
14093 (gamma_positive): New function.
14094 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14095 underflow here. Use gamma_positive instead of exp (lgamma) for
14096 other arguments.
14097 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14098 (gamma_coeff): New variable.
14099 (NCOEFF): New macro.
14100 (gammaf_positive): New function.
14101 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14102 underflow here. Use gamma_positive instead of exp (lgamma) for
14103 other arguments.
14104 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14105 (gamma_coeff): New variable.
14106 (NCOEFF): New macro.
14107 (gammal_positive): New function.
14108 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14109 underflow here. Use gamma_positive instead of exp (lgamma) for
14110 other arguments.
14111 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14112 (gamma_coeff): New variable.
14113 (NCOEFF): New macro.
14114 (gammal_positive): New function.
14115 (__ieee754_gammal_r): Handle positive infinity, overflow and
14116 underflow here. Handle NaN the same as positive infinity. Remove
14117 check x < 0xffffffff for negative integers. Use gamma_positive
14118 instead of exp (lgamma) for other arguments.
14119 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14120 (gamma_coeff): New variable.
14121 (NCOEFF): New macro.
14122 (gammal_positive): New function.
14123 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14124 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14125 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14126 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14127 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14128 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14129 * sysdeps/generic/math_private.h (__gamma_productf): New
14130 prototype.
14131 (__gamma_product): Likewise.
14132 (__gamma_productl): Likewise.
14133 * math/Makefile (libm-calls): Add gamma_product.
14134 * math/libm-test.inc (tgamma_test): Add more tests.
14135 * sysdeps/i386/fpu/libm-test-ulps: Update.
14136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14137
bb7cf681
OB
141382013-05-08 Ondřej Bílka <neleai@seznam.cz>
14139
14140 * benchtests/bench-skeleton.c (main): Preheat CPU.
14141
ba853947
AJ
141422013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14143
14144 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14145
8347c74c
RM
141462013-05-07 Roland McGrath <roland@hack.frob.com>
14147
14148 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14149 and _dl_skip_args_internal.
14150
e8dd4791
CD
141512013-05-07 Carlos O'Donell <carlos@redhat.com>
14152
14153 * manual/message.texi (Message Translation): Talk about users.
14154 Message to key mapping impacts design.
14155
c7405830
RM
141562013-05-06 Roland McGrath <roland@hack.frob.com>
14157
a9173057
RM
14158 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14159
976e2f03
RM
14160 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14161
9723ffc5
RM
14162 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14163 * sysdeps/wordsize-64/glob64.c: ... here.
14164
962e6658
RM
14165 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14166 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14167 New macros.
14168
ee586a6d
RM
14169 * debug/getlogin_r_chk.c: Moved to ...
14170 * login/getlogin_r_chk.c: ... here.
14171 * debug/Makefile (routines): Move getlogin_r_chk to ...
14172 * login/Makefile (routines): ... here.
14173 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14174 * login/Versions (libc: GLIBC_2.4): ... here.
14175
355f9165
RM
14176 * io/poll.c (__poll): Renamed from poll.
14177 Add libc_hidden_def.
14178 (poll): Define as weak alias.
14179
bd9ffde6
RM
14180 * debug/ptsname_r_chk.c: Moved to ...
14181 * login/ptsname_r_chk.c: ... here.
14182 * debug/Makefile (routines): Move ptsname_r_chk to ...
14183 * login/Makefile (routines): ... here.
14184 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14185 * login/Versions (libc: GLIBC_2.4): ... here.
14186
8fb16a04
RM
14187 * posix/getlogin.c: Moved to ...
14188 * login/getlogin.c: ... here.
14189 * posix/getlogin_r.c: Moved to ...
14190 * login/getlogin_r.c: ... here.
14191 * posix/getlogin_r.c: Moved to ...
14192 * login/getlogin_r.c: ... here.
14193 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14194 * login/Makefile (routines): ... here.
14195 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14196 * login/Versions (libc: GLIBC_2.0): ... here.
14197
b99b892f
RM
14198 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14199 (setrlimit): Define as weak alias.
14200
c7405830
RM
14201 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14202 Call __ names for open, ftruncate, and close.
14203 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14204 (truncate): Define as weak alias.
14205
5bf96de5
JM
142062013-05-06 Joseph Myers <joseph@codesourcery.com>
14207
9ea3513c
JM
14208 * math/gen-libm-test.pl (parse_args): Initialize x before each
14209 test of frexp, modf and remquo.
14210
5bf96de5
JM
14211 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14212 test signgam value.
14213
16e616a7
AZ
142142013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14215
14216 [BZ #15418]
14217 [BZ #15419]
14218 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14219 internal tests.
14220 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14221
d5e82754
RM
142222013-05-06 Roland McGrath <roland@hack.frob.com>
14223
14224 * elf/dl-writev.h: New file.
14225 * elf/dl-misc.c: Include it.
14226 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14227 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14228
a7548d41
JM
142292013-05-04 Joseph Myers <joseph@codesourcery.com>
14230
b7dab1e4
JM
14231 * math/libm-test.inc (noXFails): Remove variable.
14232 (noXPasses): Likewise.
14233 (BUILD_COMPLEX_INT): Remove macro.
14234 (print_screen): Remove xfail argument.
14235 (print_screen_max_error): Likewise.
14236 (update_stats): Likewise.
14237 (print_max_error): Likewise. Update calls to other affected
14238 functions.
14239 (print_complex_max_error): Likewise.
14240 (test_single_exception): Update calls to print_screen.
14241 (test_single_errno): Likewise.
14242 (check_float_internal): Remove xfail argument. Update calls to
14243 other affected functions.
14244 (check_float): Likewise.
14245 (check_complex): Likewise.
14246 (check_int): Likewise.
14247 (check_long): Likewise.
14248 (check_bool): Likewise.
14249 (check_longlong): Likewise.
14250 (main): Don't print noXFails and noXPasses.
14251 * math/gen-libm-test.pl (top level): Don't mention expected
14252 failure handling in comment.
14253 (new_test): Don't handle expected failures.
14254 (parse_args): Don't mention expected failure handling in comment.
14255 (generate_testfile): Don't handle expected failures.
14256 (parse_ulps): Likewise.
14257 (print_ulps_file): Likewise.
14258 (get_failure): Remove function.
14259 (output_test): Don't handle expected failures.
14260 * make/README.libm-test: Don't mention expected failure handling.
14261
a7548d41
JM
14262 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14263 (minus_zero): Likewise.
14264 (plus_infty): Likewise.
14265 (minus_infty): Likewise.
14266 (qnan_value): Likewise.
14267 (max_value): Likewise.
14268 (min_value): Likewise.
14269 (min_subnorm_value): Likewise.
14270 (initialize): Do not initialize those variables dynamically.
14271
60bfd54c
RM
142722013-05-03 Roland McGrath <roland@hack.frob.com>
14273
cc0e6ed8
RM
14274 * io/open.c (__open_2): Moved to ...
14275 * io/open_2.c: ... this new file.
14276 * io/open64.c (__open64_2): Moved to ...
14277 * io/open64_2.c: ... this new file.
14278 * io/openat.c (__openat_2): Moved to ...
14279 * io/openat_2.c: ... this new file.
14280 * io/openat64.c (__openat64_2): Moved to ...
14281 * io/openat64_2.c: ... this new file.
14282 * io/Makefile (routines): Add them.
14283 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14284 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14285 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14286 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14287 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14288 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14289 (__openat64): Add hidden_ver.
14290 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14291 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14292
60bfd54c
RM
14293 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14294 Separately conditionalize setting of GLRO(dl_sysinfo) so
14295 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14296 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14297
83e7640f
AZ
142982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14299
14300 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14301 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14302 definition.
14303 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14304 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14305 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14306 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14307 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14308
d5dc2af3
JM
143092013-05-03 Joseph Myers <joseph@codesourcery.com>
14310
c31a5b1e
JM
14311 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14312 test signgam value.
14313
d5dc2af3
JM
14314 * math/libm-test.inc (hypot_test): Do not use
14315 IGNORE_ZERO_INF_SIGN.
14316
164fd39d
AJ
143172013-05-03 Andreas Jaeger <aj@suse.de>
14318
14319 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14320 Linux 3.9.
14321 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14322 (PF_MAX): Adjust for VSOCK change.
14323
8237f48c
AZ
143242013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14325
14326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14327
9df02941
CD
143282013-05-02 Carlos O'Donell <carlos@redhat.com>
14329
14330 [BZ #15264]
14331 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14332 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14333 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14334
d422395e
DM
143352013-05-02 David S. Miller <davem@davemloft.net>
14336
14337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14338
a07c5731
OB
143392013-05-01 Ondřej Bílka <neleai@seznam.cz>
14340
14341 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14342
1324e37f
RM
143432013-05-01 Roland McGrath <roland@hack.frob.com>
14344
14345 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14346
0695940b
RS
143472013-05-01 Richard Smith <richard@metafoo.co.uk>
14348
bb5f27ad 14349 [BZ #14952]
0695940b
RS
14350 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14351 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14352 Use __attribute__ ((__gnu_inline__)).
14353 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14354 Don't use __attribute__ ((__gnu_inline__)).
14355
10de07f5
JM
143562013-05-01 Joseph Myers <joseph@codesourcery.com>
14357
14358 [BZ #15423]
14359 * math/s_catan.c (__catan): Handle small real or imaginary part of
14360 input specially to avoid spurious underflow.
14361 * math/s_catanf.c (__catanf): Likewise.
14362 * math/s_catanh.c (__catanh): Likewise.
14363 * math/s_catanhf.c (__catanhf): Likewise.
14364 * math/s_catanhl.c (__catanhl): Likewise.
14365 * math/s_catanl.c (__catanl): Likewise.
14366 * math/libm-test.inc (catan_test): Add more tests.
14367 (catanh_test): Likewise.
14368 * sysdeps/i386/fpu/libm-test-ulps: Update.
14369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14370
cb4d5414
AZ
143712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14372
14373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14374
caf84319
JM
143752013-04-30 Joseph Myers <joseph@codesourcery.com>
14376
14377 [BZ #15416]
14378 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14379 accurately for denominator in atan2.
14380 * math/s_catanf.c (__catanf): Likewise.
14381 * math/s_catanh.c (__catanh): Likewise.
14382 * math/s_catanhf.c (__catanhf): Likewise.
14383 * math/s_catanhl.c (__catanhl): Likewise.
14384 * math/s_catanl.c (__catanl): Likewise.
14385 * math/libm-test.inc (catan_test): Add more tests.
14386 (catanh_test): Likewise.
14387 * sysdeps/i386/fpu/libm-test-ulps: Update.
14388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14389
d569c6ee
SP
143902013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14391
6dbe713d
SP
14392 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14393
f0ee064b
SP
14394 * benchtests/Makefile (bench): Remove slow benchmarks.
14395 * benchtests/atan-inputs: Add slow benchmark inputs.
14396 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14397 (BENCH_FUNC): Accept variant offset.
14398 (VARIANT): Define.
14399 * benchtests/bench-skeleton.c (main): Run benchmark for each
14400 variant.
14401 * benchtests/cos-inputs: Add slow benchmark inputs.
14402 * benchtests/exp-inputs: Likewise.
14403 * benchtests/pow-inputs: Likewise.
14404 * benchtests/sin-inputs: Likewise.
14405 * benchtests/slowatan-inputs: Remove.
14406 * benchtests/slowatan.c: Remove.
14407 * benchtests/slowcos-inputs: Remove.
14408 * benchtests/slowcos.c: Remove.
14409 * benchtests/slowexp-inputs: Remove.
14410 * benchtests/slowexp.c: Remove.
14411 * benchtests/slowpow-inputs: Remove.
14412 * benchtests/slowpow.c: Remove.
14413 * benchtests/slowsin-inputs: Remove.
14414 * benchtests/slowsin.c: Remove.
14415 * benchtests/slowtan-inputs: Remove.
14416 * benchtests/slowtan.c: Remove.
14417 * benchtests/tan-inputs: Add slow benchmark inputs.
14418 * scripts/bench.pl: Parse comments and directives.
14419
d569c6ee
SP
14420 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14421 in CPPFLAGS.
14422 ($(objpfx)bench-%.c): Remove *-ITER.
14423 * benchtests/bench-modf.c: Remove definition of ITER.
14424 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14425 (main): Loop for DURATION seconds instead of fixed number of
14426 iterations.
14427 * scripts/bench.pl: Don't expect iterations in parameters.
14428
a6a242fe
RM
144292013-04-29 Roland McGrath <roland@hack.frob.com>
14430
14431 * io/fchdir.c (__fchdir): Renamed from fchdir.
14432 (fchdir): Define as weak alias.
14433
f2da7793
JM
144342013-04-29 Joseph Myers <joseph@codesourcery.com>
14435
14436 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14437 (ERRNO_EDOM): Likewise.
14438 (ERRNO_ERANGE): Likewise.
14439 (noErrnoTests): New variable.
14440 (init_max_error): Set errno to 0.
14441 (test_single_errno): New function.
14442 (test_errno): Likewise.
14443 (check_float_internal): Call test_errno. Set errno to 0.
14444 (check_complex): Refer to errno tests in comment.
14445 (check_int): Call test_errno. Set errno to 0.
14446 (check_long): Likewise.
14447 (check_bool): Likewise.
14448 (check_longlong): Likewise.
14449 (cos_test): Use ERRNO_* flags for errno tests instead of
14450 check_int.
14451 (expm1_test): Likewise.
14452 (fmod_test): Likewise.
14453 (ilogb_test): Likewise.
14454 (lgamma_test): Likewise.
14455 (pow_test): Likewise.
14456 (remainder_test): Likewise.
14457 (sin_test): Likewise.
14458 (tan_test): Likewise.
14459 (yn_test): Likewise.
14460 (initialize): Set errno to 0.
14461 (main): Print number of errno tests.
14462 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14463
b1a36ceb
AJ
144642013-04-29 Andreas Jaeger <aj@suse.de>
14465
c3ed8088
AJ
14466 [BZ #15084]
14467 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14468 and RES_USEVC.
14469
f1a24198
AJ
14470 [BZ #15085]
14471 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14472 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14473 unimplemented.
14474
9ce3b2cb
AJ
14475 [BZ #15380]
14476 * stdlib/random.c (__initstate): Return NULL if
14477 __initstate fails.
14478
f1a24198 14479 [BZ #15086]
b1a36ceb
AJ
14480 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14481 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14482 RES_SNGLKUPREOP.
14483
7e7b6f36
AZ
144842013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14485
14486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14487
4d14f449
JM
144882013-04-29 Joseph Myers <joseph@codesourcery.com>
14489
14490 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14491 of individual tests.
14492 (casin_test): Likewise.
14493 (casinh_test): Likewise.
14494
5b4217d7
JM
144952013-04-27 Joseph Myers <joseph@codesourcery.com>
14496
14497 [BZ #15409]
14498 * math/s_catan.c (__catan): Handle arguments with large real or
14499 imaginary part separately without squaring.
14500 * math/s_catanf.c (__catanf): Likewise.
14501 * math/s_catanh.c (__catanh): Likewise.
14502 * math/s_catanhf.c (__catanhf): Likewise.
14503 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14504 and redefine.
14505 (__catanhl): Handle arguments with large real or imaginary part
14506 separately without squaring.
14507 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14508 and redefine.
14509 (__catanl): Handle arguments with large real or imaginary part
14510 separately without squaring.
14511 * math/libm-test.inc (catan_test): Add more tests.
14512 (catanh_test): Likewise.
14513 * sysdeps/i386/fpu/libm-test-ulps: Update.
14514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14515
4220c3ef
AJ
145162013-04-27 Andreas Jaeger <aj@suse.de>
14517
14518 [BZ #15007]
14519 * stdlib/stdlib.h: Update guards for qecvt.
14520 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14521 <stdlib.h>.
14522
4721b2d1
AM
145232013-04-27 Allan McRae <allan@archlinux.org>
14524
14525 * sysdeps/i386/fpu/libm-test-ulps: Update.
14526
f0302940
JM
145272013-04-26 Joseph Myers <joseph@codesourcery.com>
14528
9457fd95
JM
14529 [BZ #15406]
14530 * math/s_catan.c: Include <float.h>.
14531 (__catan): Ensure underflow exception occurs for underflowed
14532 result.
14533 * math/s_catanf.c: Include <float.h>.
14534 (__catanf): Ensure underflow exception occurs for underflowed
14535 result.
14536 * math/s_catanh.c: Include <float.h>.
14537 (__catanh): Ensure underflow exception occurs for underflowed
14538 result.
14539 * math/s_catanhf.c: Include <float.h>.
14540 (__catanhf): Ensure underflow exception occurs for underflowed
14541 result.
14542 * math/s_catanhl.c: Include <float.h>.
14543 (__catanhl): Ensure underflow exception occurs for underflowed
14544 result.
14545 * math/s_catanl.c: Include <float.h>.
14546 (__catanl): Ensure underflow exception occurs for underflowed
14547 result.
14548 * math/libm-test.inc (catan_test): Add more tests.
14549 (catanh_test): Likewise.
14550
f0302940
JM
14551 [BZ #15405]
14552 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14553 underflowed result.
14554 * math/s_ccoshf.c (__ccoshf): Likewise.
14555 * math/s_ccoshl.c (__ccoshl): Likewise.
14556 * math/s_csin.c (__csin): Likewise.
14557 * math/s_csinf.c (__csinf): Likewise.
14558 * math/s_csinh.c (__csinh): Likewise.
14559 * math/s_csinhf.c (__csinhf): Likewise.
14560 * math/s_csinhl.c (__csinhl): Likewise.
14561 * math/s_csinl.c (__csinl): Likewise.
14562 * math/libm-test.inc (ccos_test): Add more tests.
14563 (ccosh_test): Likewise.
14564 (csin_test): Likewise.
14565 (csinh_test): Likewise.
14566
aa630f59
AZ
145672013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14568
14569 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14570 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14571 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14572 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14573 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14574 powerpc/power5+/fpu folders.
14575 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14576
14577
1b835983
MT
145782013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14579
14580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14581
73709b26
JM
145822013-04-25 Joseph Myers <joseph@codesourcery.com>
14583
14584 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14585 additions to variable.
14586 [$(config-machine) = x86_64] (modules-names): Likewise.
14587 ($(objpfx)tst-audit3): Remove dependency.
14588 ($(objpfx)tst-audit3.out): Likewise.
14589 ($(objpfx)tst-audit4): Likewise.
14590 ($(objpfx)tst-audit4.out): Likewise.
14591 ($(objpfx)tst-audit5): Likewise.
14592 ($(objpfx)tst-audit5.out): Likewise.
14593 ($(objpfx)tst-audit6): Likewise.
14594 ($(objpfx)tst-audit6.out): Likewise.
14595 ($(objpfx)tst-audit7): Likewise.
14596 ($(objpfx)tst-audit7.out): Likewise.
14597 (tst-audit3-ENV): Remove variable.
14598 (tst-audit4-ENV): Likewise.
14599 (tst-audit5-ENV): Likewise.
14600 (tst-audit6-ENV): Likewise.
14601 (tst-audit7-ENV): Likewise.
14602 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14603 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14604 addition to variable.
14605 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14606 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14607 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14608 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14609 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14610 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14611 tst-audit3, tst-audit4 and tst-audit5.
14612 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14613 tst-audit6 and tst-audit7.
14614 [$(subdir) = elf] (modules-names): Add audit modules for those
14615 tests.
14616 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14617 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14618 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14619 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14620 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14621 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14622 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14623 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14624 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14625 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14626 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14627 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14628 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14629 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14630 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14631 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14632 Likewise.
14633 [$(subdir) = elf && $(config-cflags-avx) = yes]
14634 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14635 [$(subdir) = elf && $(config-cflags-avx) = yes]
14636 (CFLAGS-tst-auditmod4a.c): Likewise.
14637 [$(subdir) = elf && $(config-cflags-avx) = yes]
14638 (CFLAGS-tst-auditmod4b.c): Likewise.
14639 [$(subdir) = elf && $(config-cflags-avx) = yes]
14640 (CFLAGS-tst-auditmod6b.c): Likewise.
14641 [$(subdir) = elf && $(config-cflags-avx) = yes]
14642 (CFLAGS-tst-auditmod6c.c): Likewise.
14643 [$(subdir) = elf && $(config-cflags-avx) = yes]
14644 (CFLAGS-tst-auditmod7b.c): Likewise.
14645 * elf/tst-audit3.c: Move to ...
14646 * sysdeps/x86_64/tst-audit3.c: ... here.
14647 * elf/tst-audit4.c: Move to ...
14648 * sysdeps/x86_64/tst-audit4.c: ... here.
14649 * elf/tst-audit5.c: Move to ...
14650 * sysdeps/x86_64/tst-audit5.c: ... here.
14651 * elf/tst-audit6.c: Move to ...
14652 * sysdeps/x86_64/tst-audit6.c: ... here.
14653 * elf/tst-audit7.c: Move to ...
14654 * sysdeps/x86_64/tst-audit7.c: ... here.
14655 * elf/tst-auditmod3a.c: Move to ...
14656 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14657 * elf/tst-auditmod3b.c: Move to ...
14658 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14659 * elf/tst-auditmod4a.c: Move to ...
14660 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14661 * elf/tst-auditmod4b.c: Move to ...
14662 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14663 * elf/tst-auditmod5a.c: Move to ...
14664 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14665 * elf/tst-auditmod5b.c: Move to ...
14666 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14667 * elf/tst-auditmod6a.c: Move to ...
14668 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14669 * elf/tst-auditmod6b.c: Move to ...
14670 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14671 * elf/tst-auditmod6c.c: Move to ...
14672 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14673 * elf/tst-auditmod7a.c: Move to ...
14674 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14675 * elf/tst-auditmod7b.c: Move to ...
14676 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14677
1ef74943
PP
146782013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14679
14680 [BZ #15366]
14681 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14682 define unconditionally.
14683 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14684 define unconditionally.
14685 (INT8_C, INT16_C, etc.): Likewise.
14686
93fd48c5
MR
146872013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14688
ae9552cf
MR
14689 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14690 __ehdr_start with hidden visibility.
14691
93fd48c5
MR
14692 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14693
418601aa
CD
146942013-04-24 Carlos O'Donell <carlos@redhat.com>
14695
14696 * math/libm-test.inc (cos_test): Use accurate hex constants.
14697 (sincost_test): Likewise.
14698
2f38fbfe
JM
146992013-04-24 Joseph Myers <joseph@codesourcery.com>
14700
5e221800
JM
14701 * math/libm-test.inc (catan_test): Add more tests.
14702 (catanh_test): Likewise.
14703
77f143fd
JM
14704 * math/s_catanf.c (__catanf): Use suffixed floating-point
14705 constants.
14706 * math/s_catanhf.c (__catanhf): Likewise.
14707 * math/s_catanhl.c (__catanhl): Likewise.
14708 * math/s_catanl.c (__catanl): Likewise.
14709
2f38fbfe
JM
14710 [BZ #15394]
14711 * math/s_catan.c (__catan): Calculate imaginary part of result
14712 with log1p not log unless computing log of number close to 0.
14713 * math/s_catanf.c (__catanf): Likewise.
14714 * math/s_catanl.c (__catanl): Likewise.
14715 * math/s_catanh.c (__catanh): Calculate real part of result with
14716 log1p not log unless computing log of number close to 0.
14717 * math/s_catanhf.c (__catanhf): Likewise.
14718 * math/s_catanhl.c (__catanhl): Likewise.
14719 * math/libm-test.inc (catan_test): Add more tests.
14720 (catanh_test): Likewise.
14721 * sysdeps/i386/fpu/libm-test-ulps: Update.
14722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14723
45d69176
SP
147242013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14725
14726 * benchtests/Makefile: Mention files in which fast and slow
14727 paths of math functions are implemented.
14728
87f51853
RM
147292013-04-23 Roland McGrath <roland@hack.frob.com>
14730
14731 * sysdeps/posix/timespec_get.c: New file.
14732
3c026539
AZ
147332013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734
14735 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14736 POWER.
14737 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14738 for POWER.
14739 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14740 powerpc/power5/fpu folders.
14741 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14742 * benchtests/Makefile: Add modf testcase.
14743 * benchtests/bench-modf.c: New file: Benchmark test for mo
14744
ff491d14
SP
147452013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14746
14747 [BZ #14888]
14748 * time/Makefile (tests): Add tst-strptime-whitespace.
14749 * time/strptime_l.c (get_number): Use ISSPACE.
14750 (__strptime_internal): Likewise.
14751 * time/tst-strptime-whitespace.c: New test case.
14752
7ed3f4e8
AS
147532013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14754
14755 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14756 member.
14757 (_nss_files_init): Set it here.
14758
5c95f7b6
HC
147592013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14760
14761 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14762 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14763 unsigned.
14764
d34c9158
JBG
147652013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14766
14767 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14768
2169712d
SP
147692013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14770
14771 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14772 size just once.
14773
29c5de99
DM
147742013-04-21 David S. Miller <davem@davemloft.net>
14775
14776 * po/ru.po: Update Russion translation from translation project.
14777
ccdad15d
AC
147782013-04-17 Adam Conrad <adconrad@0c3.net>
14779
14780 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14781 and setfsgid.
14782
0f122b8d
CD
147832013-04-17 Carlos O'Donell <carlos@redhat.com>
14784
5c5b07da 14785 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14786 * configure: Regenerate.
5c5b07da 14787 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14788 Add example to error message.
14789 * sysdeps/i386/configure: Regenerate.
14790
037714dd
SP
147912013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14792
14793 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14794 slowtan.
14795 * benchtests/cos-inputs: New file.
14796 * benchtests/slowcos-inputs: New file.
14797 * benchtests/slowcos.c: New file.
14798 * benchtests/slowtan-inputs: New file.
14799 * benchtests/slowtan.c: New file.
14800 * benchtests/tan-inputs: New file.
14801
e913141d
RM
148022013-04-16 Roland McGrath <roland@hack.frob.com>
14803
14804 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14805 considered kosher.
14806
a2964074
SP
148072013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14808
4856bcd2
SP
14809 * benchtests/Makefile: Include cppflags-iterator.mk to add
14810 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14811
a2964074
SP
14812 * Makefile.in (bench-clean): New target.
14813 * benchtests/Makefile (bench-clean): Likewise.
14814
9fbf9aca
DH
148152013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14816
14817 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14818
207d1e2a
TS
148192013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14820
14821 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14822
306dfba9
AS
148232013-04-15 Andreas Schwab <schwab@suse.de>
14824
14825 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14827 * nscd/pwdcache.c (cache_addpw): Likewise.
14828 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14829 more than recsize.
14830
206a6699
SP
148312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14832
14833 * benchtests/Makefile (bench): Write all output to
14834 bench-out.tmp together.
14835
0582f6b3
AS
148362013-04-15 Andreas Schwab <schwab@suse.de>
14837
14838 * nscd/nscd.c (main): Don't fork again after closing files.
14839
acb4325f
SP
148402013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14841
5cb26d0a
SP
14842 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14843
acb4325f
SP
14844 * benchtests/Rules (bench-deps): Collect dependencies into a
14845 single variable. Add Makefile to dependencies.
14846 ($(objpfx)bench-%.c): Depend on bench-deps.
14847
47792506
RM
148482013-04-12 Roland McGrath <roland@hack.frob.com>
14849 Xavier Roche <roche+kml2@exalead.com>
14850
14851 [BZ #15361]
14852 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14853 just that it's a file descriptor.
14854 * manual/llio.texi (Synchronizing AIO Operations): Update description
14855 for EBADF error from aio_fsync.
14856
8fc1bee5
SP
148572013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14858
14859 * Rules (bench): Move target definition...
14860 * benchtests/Makefile: ... here.
14861
aba5e333
CD
148622013-04-11 Carlos O'Donell <carlos@redhat.com>
14863
14864 * math/libm-test.inc (cos_test): Fix PI/2 test.
14865 (sincos_test): Likewise.
14866 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14867 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14868
273cdee8
AS
148692013-04-11 Andreas Schwab <schwab@suse.de>
14870
6ecec3b6
AS
14871 [BZ #13988]
14872 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14873 accept exponent character only when digits were seen.
14874 * stdio-common/Makefile (tests): Add bug26.
14875 * stdio-common/bug26.c: New file.
14876
273cdee8
AS
14877 [BZ #14293]
14878 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14879 non-freeable.
14880
8da491f5
SP
148812013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14882
01dc6df9
SP
14883 * Makeconfig (rtld-prefix): Define built linker prefix.
14884 * Rules (run-bench): Use it.
14885 * math/Makefile (run-regen-ulps): Likewise.
14886
8da491f5
SP
14887 * Rules (bench): Remove eval.
14888
abe7f530
SP
148892013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14890 Roland McGrath <roland@hack.frob.com>
14891 Ondrej Bilka <neleai@seznam.cz>
14892
14893 [BZ #15346]
14894 * time/getdate.c: Include ctype.h and alloca.h.
14895 (__getdate_r): Trim leading and trailing spaces of input.
14896 * time/tst-getdate.c (tests): Add tests with leading and
14897 trailing spaces.
14898
61c23e62
RM
148992013-04-08 Roland McGrath <roland@hack.frob.com>
14900
14901 [BZ #14280]
14902 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14903 when computing value.
14904
7208a313
CD
149052013-04-06 Carlos O'Donell <carlos@redhat.com>
14906
085b2d41
CD
14907 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14908 Use testrun.sh to run libm tests.
14909
7208a313
CD
14910 [BZ #15309]
14911 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14912
872c0acd
MM
149132013-04-06 Marko Myllynen <myllynen@redhat.com>
14914
14915 [BZ #15264]
14916 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14917
26510bdd
CD
149182013-04-06 Carlos O'Donell <carlos@redhat.com>
14919
14920 * Makefile.in (regen-ulps): New target.
14921 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14922 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14923 [ifneq (no,$(PERL)] (regen-ulps): New target.
14924 [ifeq (no,$(PERL)] (regen-ulps): New target.
14925 * math/libm-test.inc (ulps_file_name): Define.
14926 (output_dir): New variable.
14927 (options): Add "output-dir" option.
14928 (parse_opt): Handle 'o' case.
14929 (main): If output_dir is non-NULL use it as a prefix
14930 otherwise use "".
14931 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14932
a01f19c8
CD
149332013-04-06 Carlos O'Donell <carlos@redhat.com>
14934
14935 [BZ #10060, #10062]
14936 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14937 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14938 fail configure if __sync_val_compare_and_swap is not inlined.
14939 * sysdeps/i386/configure: Regenerate.
14940 * configure.in: Build for i686 when configured for i386.
14941 * configure: Regenerate.
14942 * README: Remove i386 reference.
14943
b7a329a5
CD
149442013-04-06 Carlos O'Donell <carlos@redhat.com>
14945
14946 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14948
bf0f50df
TS
149492013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14950
ee091edf
TS
14951 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14952 (lmsnanval): New variables.
14953 (F): Add conversion tests.
14954 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14955 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14956
a8b792d6
TS
14957 * stdio-common/tstdiomisc.c (F): Properly collect individual
14958 tests' results.
14959
a1cbf437
TS
14960 [BZ #14686, #15336]
14961 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14962 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14963 Instead, use input NaN values or generate a qNaN by arithmetic
14964 operation. Also fix bugs to comply with the standard.
14965 * math/libm-test.inc (remainder_test): Add more tests.
14966
8b43a0c9
TS
14967 [BZ #15335, #15342]
14968 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14969 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14970 input NaN values or generate a qNaN by arithmetic operation.
14971
d91da4ce
TS
14972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14973 unreachable code.
14974
bf0f50df
TS
14975 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14976 definitions.
14977
05e166c8
JM
149782013-04-03 Joseph Myers <joseph@codesourcery.com>
14979
14980 [BZ #14478]
14981 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14982 underflowed result.
14983 * math/s_cexpf.c (__cexpf): Likewise.
14984 * math/s_cexpl.c (__cexpl): Likewise.
14985 * math/libm-test.inc (cexp_test): Add more tests.
14986
1cef1b19
AS
149872013-04-03 Andreas Schwab <schwab@suse.de>
14988
14989 [BZ #15330]
14990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14991 order arrays from heap if bigger than alloca cutoff.
14992
74d87055
TS
149932013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14994
14995 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14996 (SNAN_TESTS_double): Refer to GCC PR56831.
14997 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14998 GCC PR56828.
14999
d755bba4
SP
150002013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15001
90d5d5bb
SP
15002 * Rules (bench): Move bench.out after the run is complete.
15003
73e0cd5d
SP
15004 * Rules (bench): Echo currently running benchmark.
15005
64aabd4b
SP
15006 * benchtests/Makefile (bench): Add atan and slowatan.
15007 * benchtests/atan-inputs: New file.
15008 * benchtests/slowatan-inputs: New file.
15009 * benchtests/slowatan.c: New file.
15010
c871eccd
SP
15011 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15013 its value.
15014
d755bba4
SP
15015 [BZ #15305]
15016 * sysdeps/unix/sysv/linux/kernel-features.h
15017 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15018 __ASSUME_XFS_RESTRICTED_CHOWN.
15019 * sysdeps/unix/sysv/linux/pathconf.c
15020 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15021 Save and restore errno.
15022
52ce4860
JM
150232013-04-02 Joseph Myers <joseph@codesourcery.com>
15024
15025 [BZ #15327]
15026 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15027 arguments using __kernel_casinh.
15028 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15029 arguments using __kernel_casinhf.
15030 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15031 arguments using __kernel_casinhl.
15032 * math/libm-test.inc (cacosh_test): Add more tests.
15033 * sysdeps/i386/fpu/libm-test-ulps: Update.
15034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15035
81f311c2
SP
150362013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15037
e7906a47
SP
15038 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15040
92e3664b
SP
15041 * bench/Makefile (bench): Add sin and slowsin.
15042 * benchtests/sin-inputs: New file.
15043 * benchtests/slowsin-inputs: New file.
15044 * benchtests/slowsin.c: New file.
15045
81f311c2
SP
15046 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15047 (bench): Add slowexp and slowpow.
15048 (exp-ITER): Increase iterations.
15049 (pow-ITER): Likewise.
15050 * benchtests/exp-inputs: Change input.
15051 * benchtests/pow-inputs: Likewise.
15052 * benchtests/slowexp-inputs: New file.
15053 * benchtests/slowexp.c: New file.
15054 * benchtests/slowpow-inputs: New file.
15055 * benchtests/slowpow.c: New file.
15056
ab0f1aa9
AZ
150572013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15058
15059 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15060 instructions.
15061 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15062 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15063 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15064 * benchtests/Makefile: Add rint benchtest.
15065 * benchtests/rint-inputs: Input for rint benchtest.
15066
57267616
TS
150672013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15068
15069 * Versions.def (libm): Add GLIBC_2.18.
15070 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15071 hidden libm prototypes.
15072 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15073 * math/Makefile (libm-calls): Add s_issignaling.
15074 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15075 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15076 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15077 declaration.
15078 * math/math.h [__USE_GNU] (issignaling): New macro.
15079 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15080 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15081 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15082 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15085 * manual/arith.texi (issignaling): New section.
15086 * manual/libm-err-tab.pl (@all_functions): Update comment.
15087 * math/gen-libm-test.pl (parse_args): Apply special handling for
15088 issignaling.
15089 * math/libm-test.inc (print_float, issignaling_test): New
15090 functions.
15091 (check_float_internal): Add issignaling checks.
15092 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15093 default definition.
15094 * sysdeps/powerpc/math-tests.h: New file.
15095 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15096 tests.
15097 * math/test-snan.c (TEST_FUNC): Likewise.
15098
6142896d
DM
150992013-03-30 David S. Miller <davem@davemloft.net>
15100
15101 * po/de.po: Update from translation team.
15102
ccc8cadf
JM
151032013-03-30 Joseph Myers <joseph@codesourcery.com>
15104
15105 [BZ #10357]
15106 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15107 imaginary part less than 1.0 and real part less than 0.5
15108 specially.
15109 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15110 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15111 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15112 (cacos_test): Add more tests.
15113 (casin_test): Likewise.
15114 (casinh_test): Likewise.
15115 * sysdeps/i386/fpu/libm-test-ulps: Update.
15116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15117
0f6a8d4b
SP
151182013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15119
0d1029de
SP
15120 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15121 ONE with its value.
15122
c2d94018
SP
15123 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15124 (__pow_mp): Replace ONE and MONE with their values.
15125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15126 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15127 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15128 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15129 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15130 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15131
27ec37f1
SP
15132 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15133
a64d7e0e
SP
15134 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15135 (__pow_mp): Replace ZERO and MZERO with their values.
15136 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15138 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15140 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15141 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15142 (__sqr): Likewise.
15143
d26dd3eb
SP
15144 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15145
0f6a8d4b
SP
15146 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15147
e57b0c61
RM
151482013-03-28 Roland McGrath <roland@hack.frob.com>
15149
15150 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15151 Declare with __attribute__ ((weak)).
15152 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15153 Call __call_tls_dtors only if it's not NULL.
15154
356b3480
RM
151552013-03-28 Roland McGrath <roland@hack.frob.com>
15156
288f7d79
RM
15157 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15158 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15159 magic __ehdr_start linker symbol if it's defined.
15160 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15161 them up here if it was already done.
15162
dc0a0263
RM
15163 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15164 (_dl_aux_init): Use const in cast when setting it.
15165 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15166 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15167 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15168
3d3436ae
RM
15169 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15170 Declare them here.
15171 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15172 * csu/libc-tls.c: Nor here.
15173 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15174
356b3480
RM
15175 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15176 (__libc_message): Never call vsyslog.
15177
b0f1246a
AM
151782013-03-28 Alan Modra <amodra@gmail.com>
15179
15180 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15181 Define as empty.
15182 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15183 Likewise.
15184
fbbe2b9a
AZ
151852013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15186
15187 [BZ #15214]
15188 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15189 underflow.
15190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15191
1728ab37
SP
151922013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15193
7a86be6e
SP
15194 [BZ #15304]
15195 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15196 Don't add gid passed as argument.
15197
1728ab37
SP
15198 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15199
3a7182a1
JM
152002013-03-27 Joseph Myers <joseph@codesourcery.com>
15201
15202 [BZ #15307]
15203 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15204 imaginary part between 1.0 and 1.5 and real part less than 0.5
15205 specially.
15206 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15207 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15208 * math/libm-test.inc (cacos_test): Add more tests.
15209 (casin_test): Likewise.
15210 (casinh_test): Likewise.
15211 * sysdeps/i386/fpu/libm-test-ulps: Update.
15212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15213
6f2e90e7
SP
152142013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15215
5739f705
SP
15216 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15217 constants.
15218 (norm): Likewise.
15219 (denorm): Likewise.
15220 (__dbl_mp): Likewise.
15221 (add_magnitudes): Likewise.
15222 (sub_magnitudes): Likewise.
15223 (__add): Likewise.
15224 (__sub): Likewise.
15225 (__mul): Likewise.
15226 (__sqr): Likewise.
15227 (__inv): Likewise.
15228 (__dvd): Likewise.
15229
e375e83d
SP
15230 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15231 commented code.
15232 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15233 (__dubcos): Likewise.
15234 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15235 (__ieee754_acos): Likewise.
15236 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15237 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15238 (__exp1): Likewise.
15239 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15241 (log1): Likewise.
15242 (my_log2): Likewise.
15243 (checkint): Likewise.
15244 * sysdeps/ieee754/dbl-64/e_remainder.c
15245 (__ieee754_remainder): Likewise.
15246 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15247 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15248 (bsloww): Likewise.
15249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15250
6f2e90e7
SP
15251 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15253 MANTISSA_STORE_T to store computations on mantissa. Use
15254 macros for rounding and division.
15255 (denorm): Likewise.
15256 (__dbl_mp): Likewise.
15257 (add_magnitudes): Likewise.
15258 (sub_magnitudes): Likewise.
15259 (__mul): Likewise.
15260 (__sqr): Likewise.
15261 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15262 powers of two in terms of TWOPOW macro.
15263 (mp_no): Make type of mantissa as MANTISSA_T.
15264 [!RADIXI]: Define RADIXI.
15265 [!TWO52]: Define TWO52.
15266 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15267
fce14d4e
AZ
152682013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15269
15270 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15271 llroundl symbol when building for PPC32.
15272
9ad027fb
MW
152732013-03-24 Mark H Weaver <mhw@netris.org>
15274
15275 * manual/arith.texi (Normalization Functions): Fix prototypes for
15276 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15277
e42a38dd
AZ
152782013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15279
15280 [BZ #13889]
15281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15282 high value to check if expl overflow.
15283 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15284 to check for underflow and overflow.
15285 * math/libm-test.inc: Add exp test.
15286
2e0fb521
DL
152872013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15288
15289 [BZ #11120]
15290 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15291 with NOT_IN_libc.
15292
b5784d95
AZ
152932013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15294
15295 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15296 symbol.
15297
5aa4a1a1
TS
152982013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15299
bdef0be7
TS
15300 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15301 wrap blocks consisting of several statements.
15302
5aa4a1a1
TS
15303 * sysdeps/generic/math-tests.h: New file.
15304 * sysdeps/i386/fpu/math-tests.h: Likewise.
15305 * math/test-snan.c: Include it.
15306 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15307
98c48fe5
JM
153082013-03-21 Joseph Myers <joseph@codesourcery.com>
15309
15310 [BZ #15285]
15311 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15312 (__ieee754_j0l): Do not improve calculations using cos of twice
15313 input for inputs above LDBL_MAX / 2.0L.
15314 (__ieee754_y0l): Likewise.
15315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15316 (__ieee754_j1l): Do not improve calculations using cos of twice
15317 input for inputs above LDBL_MAX / 2.0L.
15318 (__ieee754_y1l): Likewise.
15319 * math/libm-test.inc (j0_test): Add another test.
15320 (j1_test): Likewise.
15321 (y0_test): Likewise.
15322 (y1_test): Likewise.
15323 * sysdeps/i386/fpu/libm-test-ulps: Update.
15324
3775a8bc
SP
153252013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15326
15327 * Rules ($(objpfx)bench-%.c): Include code from a C source
15328 file.
15329
0a1b2ae6
JM
153302013-03-21 Joseph Myers <joseph@codesourcery.com>
15331
15332 [BZ #15287]
15333 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15334 imaginary part 1.0 and real part less than 0.5 specially.
15335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15337 * math/libm-test.inc (cacos_test): Add more tests.
15338 (casin_test): Likewise.
15339 (casinh_test): Likewise.
15340 * sysdeps/i386/fpu/libm-test-ulps: Update.
15341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15342
b33d4ce4
SP
153432013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15344
15345 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15346 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15347
bef0b507
JM
153482013-03-20 Joseph Myers <joseph@codesourcery.com>
15349
15350 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15351 * config.make.in (config-cflags-sse4): Remove variable.
15352 (config-cflags-avx): Likewise.
15353 (config-cflags-sse2avx): Likewise.
15354 (config-cflags-novzeroupper): Likewise.
15355 (config-asflags-i686): Likewise.
15356 (have-mfma4): Likewise.
15357 (have-as-vis3): Likewise.
15358 (MIG): Likewise.
15359 * configure.in (MIG): Do not AC_SUBST.
15360 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15361 (libc_cv_cc_sse4): Do not AC_SUBST.
15362 (libc_cv_cc_avx): Likewise.
15363 (libc_cv_cc_sse2avx): Likewise.
15364 (libc_cv_cc_novzeroupper): Likewise.
15365 (libc_cv_cc_fma4): Likewise.
15366 (libc_cv_as_i686): Likewise.
15367 (libc_cv_sparc_as_vis3): Likewise.
15368 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15369 LIBC_CONFIG_VAR.
15370 (config-asflags-i686): Likewise.
15371 (config-cflags-avx): Likewise.
15372 (config-cflags-sse2avx): Likewise.
15373 (have-mfma4): Likewise.
15374 (config-cflags-novzeroupper): Likewise.
15375 * sysdeps/mach/configure.in (MIG): Likewise.
15376 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15377 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15378 LIBC_CONFIG_VAR.
15379 (config-cflags-avx): Likewise.
15380 (config-cflags-sse2avx): Likewise.
15381 (have-mfma4): Likewise.
15382 (config-cflags-novzeroupper): Likewise.
15383 * configure: Regenerated.
15384 * sysdeps/i386/configure: Likewise.
15385 * sysdeps/mach/configure: Likewise.
15386 * sysdeps/sparc/configure: Likewise.
15387 * sysdeps/x86_64/configure: Likewise.
15388
912cc4b3
RM
153892013-03-20 Roland McGrath <roland@hack.frob.com>
15390
15391 [BZ #14812]
15392 * locale/programs/localedef.c (options): Put N_ translation marker
15393 on argument names, not just descriptions.
15394
04eed2b0
MS
153952013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15396
15397 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15398
a065ceff
OB
153992013-03-20 Ondřej Bílka <neleai@seznam.cz>
15400
9bb2a810 15401 [BZ #14176]
a065ceff
OB
15402 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15403
a600e5ce
RM
154042013-03-19 Roland McGrath <roland@hack.frob.com>
15405
15406 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15407 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15408 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15409 [!BEFORE_ABORT] (before_abort): New function.
15410 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15411 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15412 (writev_for_fatal): New function.
15413 (WRITEV_FOR_FATAL): New macro; call that.
15414 (backtrace_and_maps): New function.
15415 (BEFORE_ABORT): New macro; call that.
15416 (struct str_list): Type removed.
15417 (__libc_message, __libc_fatal): Functions removed.
15418 Include <sysdeps/posix/libc_fatal.c> instead.
15419
6b18bea6
JM
154202013-03-19 Joseph Myers <joseph@codesourcery.com>
15421
15422 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15423 constants.
15424 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15425 double constants.
15426
aaa8cb4b
AS
154272013-03-19 Andreas Schwab <schwab@suse.de>
15428
44673770
AS
15429 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15430 * sysdeps/gnu/configure: Regenerate.
15431
aaa8cb4b
AS
15432 * configure.in: Substitute libc_cv_rtlddir.
15433 * configure: Regenerate.
15434 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15435 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15436 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15437 * elf/Makefile (install-others, CFLAGS-interp.c)
15438 (ldso_install, common-ldd-rewrite): Likewise.
15439 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15440 $(inst_slibdir)/$(rtld-installed-name).
15441 * scripts/rellns-sh: Add -p option.
15442 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15443 for source.
15444
d3cfc668
SP
154452013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15446
15447 * manual/nptl.texi: Renamed to ...
15448 * manual/threads.texi: ... this.
15449 * manual/Makefile (chapters): Update.
15450
0e2b9cdd
RM
154512013-03-18 Roland McGrath <roland@hack.frob.com>
15452
15453 [BZ #14812]
15454 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15455 on argument names, not just descriptions.
0e2b9cdd
RM
15456 * malloc/memusagestat.c (options): Likewise.
15457 * nss/getent.c (options): Likewise.
63270c24
RM
15458
154592013-03-18 Benno Schulenberg <bensberg@justemail.net>
15460
15461 [BZ #14812]
15462 * iconv/iconv_prog.c (options): Put N_ translation marker
15463 on argument names, not just descriptions.
15464 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15465
b2e1393c
OB
154662013-03-18 Ondrej Bilka <neleai@seznam.cz>
15467
15468 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15469 implementation which is faster on all x86_64 architectures.
15470 Tested on AMD, Intel Nehalem, SNB, IVB.
15471 * sysdeps/x86_64/strnlen.S: Likewise.
15472
15473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15474 Remove all multiarch strlen and strnlen versions.
15475 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15476 Remove strlen and strnlen related parts.
15477
15478 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15479 Inline strlen part.
15480 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15481
15482 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15483 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15484 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15485 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15486 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15488
ec4ff04d
CD
154892013-03-17 Carlos O'Donell <carlos@redhat.com>
15490
15491 * manual/memory.texi (Malloc Tunable Parameters):
15492 Sort parameters alphabetically. Add comments for missing entries.
15493
cd18e90a
DM
154942013-03-17 David S. Miller <davem@davemloft.net>
15495
15496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15497
2a185d32
JM
154982013-03-16 Joseph Myers <joseph@codesourcery.com>
15499
d2f9799e
JM
15500 [BZ #15283]
15501 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15502 for arguments at most half maximum finite value.
15503 * math/libm-test.inc (j0_test): Add more tests.
15504 (j1_test): Likewise.
15505 (y0_test): Likewise.
15506 (y1_test): Likewise.
15507 * sysdeps/i386/fpu/libm-test-ulps: Update.
15508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15509
2a185d32
JM
15510 [BZ #14155]
15511 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15512 1 / x and functions P and Q for arguments above 0x1p256L.
15513 (__ieee754_y0l): Likewise.
15514 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15515 (__ieee754_y1l): Likewise.
15516 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15517 (j1_test): Likewise.
15518 (y0_test): Likewise.
15519 (y1_test): Likewise.
15520
6cbec759
TS
155212013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15522
15523 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15524 variable.
15525
bc16e260
RM
155262013-03-15 Roland McGrath <roland@hack.frob.com>
15527
aefc9b8c
RM
15528 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15529 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15530 zero since it's initialized to EXEC_PAGESIZE.
15531
bc16e260
RM
15532 * sysdeps/unix/sysv/linux/ldsodefs.h
15533 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15534 * sysdeps/generic/ldsodefs.h: ... here.
15535
a57da955
TS
155362013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15537
af00a34d
TS
15538 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15539
495ded2c
TS
15540 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15541 math/test-snan.c.
15542 * math/test-snan.c: Renamed from
15543 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15544 * math/Makefile (tests): Add test-snan.
15545 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15546 test-powerpc-snan.
15547
777b0332
TS
15548 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15549 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15550 functions.
15551 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15552 __builtin_nan family of functions.
15553 * math/libm-test.inc (initialize): Initialize qnan_value with
15554 __builtin_nan family of functions.
15555 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15556 Remove variables.
15557 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15558 Remove functions.
15559 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15560 storage class. Initialize qNaN_var and sNaN_var with
15561 __builtin_nan and __builtin_nans families of functions,
15562 respectively.
15563
64d063b8
TS
15564 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15565 (sqrt_test): Remove duplicate test with qNaN input.
15566 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15567 (round_test, signbit_test, significand_test): Note missing +/-Inf
15568 as well as qNaN tests.
15569
67e971f1
TS
15570 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15571 qNaN_var. Fix a few strings, too.
15572 * math/libm-test.inc (nan_value): Rename to qnan_value.
15573 * math/gen-libm-test.pl (%beautify): Adjust to that.
15574 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15575 * math/test-misc.c (main): Likewise.
15576 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15577 to __qnan_bytes, and __qnan_union, respectively.
15578 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15579 Likewise.
15580 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15581 and lqnanval, respectively.
15582 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15583 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15584 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15585 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15586
64487e12
TS
15587 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15588 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15589 doubles.
15590
e015e27b
TS
15591 * math/test-misc.c (main): Fix copy'n'pastos.
15592 * misc/tst-efgcvt.c (special): Likewise.
15593
a57da955
TS
15594 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15595 Remove declarations.
15596
1e380345
SP
155972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15598
15599 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15600 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15601 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15602 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15603
ef26eece
AZ
156042013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15605
15606 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15607 macro to return vdso values correctly in IFUNC implementations.
15608 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15609 Optimization by using IFUNC.
15610
8cfdb7e0
SP
156112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15612 Richard Henderson <rth@redhat.com>
15613 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15614
15615 * Makefile.in (bench): New target.
15616 * NEWS: Mention the benchmark framework.
15617 * Rules (bench): Likewise.
15618 (binaries-bench): Generate binaries for functions to
15619 benchmark.
15620 * benchtests/Makefile: New makefile for benchmark tests.
15621 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15622 programs.
15623 * benchtests/exp-inputs: New input file for EXP function.
15624 * benchtests/pow-inputs: New input file for POW function.
15625 * scripts/bench.pl: New script to generate source files for
15626 benchmark programs.
15627
bcda9880
SP
156282013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15629
d22ca8cd
SP
15630 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15631 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15632 computations on mantissa. Use macros for rounding and
15633 division.
15634 (denorm): Likewise.
15635 (__dbl_mp): Likewise.
15636 (add_magnitudes): Likewise.
15637 (sub_magnitudes): Likewise.
15638 (__mul): Likewise.
15639 (__sqr): Likewise.
15640 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15641 powers of two in terms of TWOPOW macro.
15642 (mp_no): Make type of mantissa as MANTISSA_T.
15643 [!RADIXI]: Define RADIXI.
15644 [!TWO52]: Define TWO52.
15645 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15646
bcda9880
SP
15647 * manual/nptl.texi (cindex): Modify threads to pthreads.
15648
06d5adfb
JM
156492013-03-15 Joseph Myers <joseph@codesourcery.com>
15650
15651 * sysdeps/x86_64/preconfigure: Regenerated.
15652
41c7328e
JM
156532013-03-14 Joseph Myers <joseph@codesourcery.com>
15654
15655 [BZ #14155]
15656 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15657 0x1p28 and above.
15658 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15659 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15660 0x1p28 and above.
15661 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15662 * math/libm-test.inc (j0_test): Do not allow one spurious
15663 underflow exception.
15664 (y1_test): Likewise.
15665
e25cfa60
SP
156662013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15667
0409959c
SP
15668 * manual/Makefile (chapters): Add nptl.
15669 * manual/debug.texi (Debugging Support): Add link to Threads
15670 chapter.
15671 * manual/nptl.texi: New file.
15672
e25cfa60
SP
15673 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15674
58a1335e
PB
156752013-03-14 Petr Baudis <pasky@ucw.cz>
15676
15677 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15678 for non-NULL pointer before the memory validity test. Pointed
15679 out by Holger Brunck <holger.brunck@keymile.com>.
15680
9dc7c64f
AS
156812013-03-13 Andreas Schwab <schwab@suse.de>
15682
15683 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15684 instead of .os.
15685
54206aa6
JM
156862013-03-13 Joseph Myers <joseph@codesourcery.com>
15687
15688 * timezone/zic.c: Update from tzcode 2013b.
15689
e98cdb38
CD
156902013-03-12 Carlos O'Donell <carlos@redhat.com>
15691
15692 * manual/install.texi (Configuring and compiling):
15693 Mention i686 and i586.
15694 * INSTALL: Regenerate.
15695
9967e003
RM
156962013-03-12 Roland McGrath <roland@hack.frob.com>
15697
15698 * sysdeps/init_array/elf-init.c: New file.
15699 * csu/elf-init.c
15700 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15701 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15702
15703 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15704 __gmon_start__ as global, but as static with a .preinit_array pointer.
15705 * sysdeps/init_array/gmon-start.c: New file. Use that.
15706 * sysdeps/init_array/crti.S: New file, empty except for comments.
15707 * sysdeps/init_array/crtn.S: Likewise.
15708
e6b5a293 157092013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15710
15711 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15712 definining bcopy.
80f844c9
OB
15713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15714 Remove Prefer_SSE_for_memop.
15715 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15716 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15717 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15719 memset-x86-64.
80f844c9 15720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15721 Remove bzero, memset ifunc support.
80f844c9
OB
15722 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15723 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15724 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15725 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15726
fb6b0fcb
AS
157272013-03-11 Andreas Schwab <schwab@suse.de>
15728
15729 [BZ #15234]
15730 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15731 by SHLIB_COMPAT.
15732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15733 (GLIBC_2.16): Remove pthread_atfork.
15734
3e6bd4b1
PP
157352013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15736
15737 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15738 (ptestcases.h): Likewise.
15739
222d7f00
RM
157402013-03-08 Roland McGrath <roland@hack.frob.com>
15741
15742 * Makeconfig ($(common-objpfx)config.status): Depend on
15743 sysdeps/*/preconfigure{,.in} too.
15744
1ba4f030
JM
157452013-03-08 Joseph Myers <joseph@codesourcery.com>
15746
a222d91a
JM
15747 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15748 (__free_hook): Use void * instead of __malloc_ptr_t.
15749 (__malloc_hook): Likewise.
15750 (__realloc_hook): Likewise.
15751 (__memalign_hook): Likewise.
15752 (__after_morecore_hook): Likewise.
15753 * malloc/arena.c (save_malloc_hook): Likewise.
15754 (save_free_hook): Likewise.
15755 * malloc/hooks.c (malloc_hook_ini): Likewise.
15756 (realloc_hook_ini): Likewise.
15757 (memalign_hook_ini): Likewise.
15758 * malloc/malloc.c (malloc_hook_ini): Likewise.
15759 (realloc_hook_ini): Likewise.
15760 (memalign_hook_ini): Likewise.
15761 (__free_hook): Likewise.
15762 (__malloc_hook): Likewise.
15763 (__realloc_hook): Likewise.
15764 (__memalign_hook): Likewise.
15765 (__libc_malloc): Likewise.
15766 (__libc_free): Likewise.
15767 (__libc_realloc): Likewise.
15768 (__libc_memalign): Likewise.
15769 (__libc_valloc): Likewise.
15770 (__libc_pvalloc): Likewise.
15771 (__libc_calloc): Likewise.
15772 (__posix_memalign): Likewise.
15773 * malloc/morecore.c (__sbrk): Likewise.
15774 (__default_morecore): Likewise.
15775
5cc45e10
JM
15776 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15777
dd54b864
JM
15778 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15779 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15780 __malloc_ptrdiff_t.
15781
1ba4f030
JM
15782 * malloc/malloc.h (__malloc_size_t): Remove macro.
15783 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15784 __malloc_size_t.
15785 (old_memalign_hook): Likewise.
15786 (old_realloc_hook): Likewise.
15787 (struct hdr): Likewise.
15788 (flood): Likewise.
15789 (mallochook): Likewise.
15790 (memalignhook): Likewise.
15791 (reallochook): Likewise.
15792 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15793 (tr_old_realloc_hook): Likewise.
15794 (tr_old_memalign_hook): Likewise.
15795 (tr_mallochook): Likewise.
15796 (tr_reallochook): Likewise.
15797 (tr_memalignhook): Likewise.
15798
edf66e57
AZ
157992013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15800
15801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15802 default_ldbl_pack and using as default implementation.
15803 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15804 implementation.
15805 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15806 redundant definition.
15807 (ldbl_insert_mantissa): Likewise.
15808 (ldbl_canonicalize): Likewise.
15809 (ldbl_nearbyint): Likewise.
15810 (ldbl_pack): Rename to ldbl_pack_ppc.
15811 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15812 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15813 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15814
6d9145d8
SP
158152013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15816
15817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15818 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15819 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15820 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15822 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15823 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15824 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15825
4dd4e157
AJ
158262013-03-07 Andreas Jaeger <aj@suse.de>
15827
15828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15829 bits/mman-linux.h.
15830
adbb8027
SP
158312013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15832
ce544b5b
SP
15833 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15834 Include mpa.h and declare __MPEXP.
15835 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15836 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15837 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15838 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15840 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15841 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15842
4cc149fd
SP
15843 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15844 (__slowpow): Use long double EXPL and LOGL functions to
15845 compute POW.
15846 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15847 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15848 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15849 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15850 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15851 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15852
e6ebd4a7
SP
15853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15854 intermediate variable to calculate exponent.
15855 (__sqr): Likewise.
15856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15857 Likewise.
15858 (__sqr): Likewise.
15859
82a9811d
SP
15860 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15861 [!NO__SQR]: Define __sqr.
15862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15863 and NO__SQR. Remove all code except __mul and __sqr. Include
15864 sysdeps/ieee754/dbl-64/mpa.c.
15865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15866
adbb8027
SP
15867 [BZ #12723]
15868 * posix/Makefile (tests): Add tst-pathconf.
15869 * posix/tst-pathconf.c: New test case.
15870 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15871 _PC_PIPE_BUF.
15872 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15873
39120df9
PF
158742013-03-06 Patsy Franklin <pfrankli@redhat.com>
15875
15876 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15877
67525cb8
AJ
158782013-03-06 Andreas Jaeger <aj@suse.de>
15879
664a9ce4
AJ
15880 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15881 definition via __MAP_ANONYMOUS.
15882
8e39047d
AJ
15883 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15884 it's not part of Linux headers.
15885
67525cb8
AJ
15886 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15887 (MAP_HUGE_MASK): Define.
15888
15889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15890 Define.
15891 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15893 Define.
15894 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15895 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15896 Define.
15897 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15899 Define.
15900 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15901
15902 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15903 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15904 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15905 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15906 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15908
15909 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15910 Handle f2fs.
15911
15912 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15913 Handle f2fs and efivarfs.
15914
15915 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15916 f2fs.
15917
15918 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15919 (EFIVARFS_MAGIC): Add.
15920 (F2FS_LINK_MAX): Add.
15921
e1b42695
PP
159222013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15923
15924 * stdio-common/vfprintf.c: Replace __builtin_expect with
15925 __glibc_unlikely.
15926
2d67d91a
JM
159272013-03-06 Joseph Myers <joseph@codesourcery.com>
15928
15929 [BZ #13550]
15930 * sysdeps/generic/bp-sym.h: Remove file.
15931 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15932 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15933 <bp-sym.h> and <bp-asm.h>.
15934 (__longjmp): Don't use BP_SYM.
15935 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15936 and <bp-asm.h>.
15937 (memcpy): Don't use BP_SYM.
15938 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15939 <bp-sym.h> and <bp-asm.h>.
15940 (memcpy): Don't use BP_SYM.
15941 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15942 <bp-asm.h>.
15943 (memcpy): Don't use BP_SYM.
15944 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15945 <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/power4/memcmp.S: Don't include
15953 <bp-sym.h> and <bp-asm.h>.
15954 (memcmp): Don't use BP_SYM. Remove comment about bounded
15955 pointers.
15956 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15957 <bp-sym.h> and <bp-asm.h>.
15958 (memcpy): Don't use BP_SYM.
15959 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15960 <bp-sym.h> and <bp-asm.h>.
15961 (memset): Don't use BP_SYM.
15962 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15963 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15964 (__bzero): Don't use BP_SYM.
15965 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15966 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15967 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15968 <bp-sym.h> and <bp-asm.h>.
15969 (strncmp): Don't use BP_SYM. Remove comment about bounded
15970 pointers.
15971 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15972 <bp-sym.h> and <bp-asm.h>.
15973 (memcpy): Don't use BP_SYM.
15974 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15975 <bp-sym.h> and <bp-asm.h>.
15976 (memset): Don't use BP_SYM.
15977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15979 (__bzero): Don't use BP_SYM.
15980 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15981 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15982 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15983 <bp-sym.h> and <bp-asm.h>.
15984 (__memchr): Don't use BP_SYM.
15985 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15986 <bp-sym.h> and <bp-asm.h>.
15987 (memcmp): Don't use BP_SYM. Remove comment about bounded
15988 pointers.
15989 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15990 <bp-sym.h> and <bp-asm.h>.
15991 (memcpy): Don't use BP_SYM.
15992 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15993 <bp-sym.h> and <bp-asm.h>.
15994 (__mempcpy): Don't use BP_SYM.
15995 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15996 <bp-sym.h> and <bp-asm.h>.
15997 (__memrchr): Don't use BP_SYM.
15998 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15999 <bp-sym.h> and <bp-asm.h>.
16000 (memset): Don't use BP_SYM.
16001 (__bzero): Likewise.
16002 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16003 <bp-sym.h> and <bp-asm.h>.
16004 (__rawmemchr): Don't use BP_SYM.
16005 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16006 <bp-sym.h> and <bp-asm.h>.
16007 (__STRCMP): Don't use BP_SYM.
16008 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16009 <bp-sym.h> and <bp-asm.h>.
16010 (strchr): Don't use BP_SYM.
16011 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16012 <bp-sym.h> and <bp-asm.h>.
16013 (__strchrnul): Don't use BP_SYM.
16014 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16015 <bp-sym.h> and <bp-asm.h>.
16016 (strlen): Don't use BP_SYM.
16017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16018 <bp-sym.h> and <bp-asm.h>.
16019 (strncmp): Don't use BP_SYM. Remove comment about bounded
16020 pointers.
16021 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16022 <bp-sym.h> and <bp-asm.h>.
16023 (__strnlen): Don't use BP_SYM.
16024 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16025 <bp-sym.h> and <bp-asm.h>.
16026 (__GI__setjmp): Don't use BP_SYM.
16027 (_setjmp): Likewise.
16028 (__sigsetjmp): Likewise.
16029 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16030 (L(start_addresses)): Don't use BP_SYM.
16031 (_start): Likewise.
16032 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16033 <bp-asm.h>.
16034 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16035 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16036 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16037 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16038 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16039 <bp-asm.h>.
16040 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16041 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16042 about bounded pointers.
16043 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16044 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16045 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16046 <bp-asm.h>.
16047 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16048 about bounded pointers. Remove GKM FIXME comments.
16049 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16050 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16051 <bp-asm.h>.
16052 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16053 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16054 Remove GKM FIXME comments.
16055 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16056 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16057 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16058 <bp-asm.h>.
16059 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16060 about bounded pointers. Remove GKM FIXME comment.
16061 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16062 and <bp-asm.h>.
16063 (strncmp): Don't use BP_SYM. Remove comment about bounded
16064 pointers.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16066 <bp-sym.h> and <bp-asm.h>.
16067 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16069 <bp-sym.h> and <bp-asm.h>.
16070 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16071 comment.
16072
cdcf361f
PP
160732013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16074
16075 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16076 call free(NULL).
16077
3c4a2b15
DM
160782013-03-05 David S. Miller <davem@davemloft.net>
16079
16080 * po/es.po: Update from translation team.
16081
cdcf361f 160822013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16083
16084 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16085 <bits/mman-linux.h>.
16086 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16087 is fine.
16088 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16089 <bits/mman-linux.h> to end of file.
16090 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16091 is fine.
16092 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16093 <bits/mman-linux.h> to end of file.
16094 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16095 is fine.
16096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16097 <bits/mman-linux.h> to end of file.
16098
16099 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16100 (MCL_CURRENT, MCL_FUTURE): Define here.
16101
5f67c04f
AK
161022013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16103
8a4473cc 16104 [BZ #15232]
5f67c04f
AK
16105 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16106 attribute_hidden.
16107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16108
c3e94a95
AK
161092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16110
16111 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16112 fourth parameter needed for rt_sigprocmask syscall.
16113 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16114 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16115 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16116 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16117 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16118 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16119
cfb6382a
JM
161202013-03-04 Joseph Myers <joseph@codesourcery.com>
16121
16122 [BZ #13550]
16123 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16124 comment about bounded pointers.
16125 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16126 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16127
539d8e01
AJ
161282013-03-04 Andreas Jaeger <aj@suse.de>
16129
16130 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16131 common definitions.
16132
16133 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16134 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16135 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16137 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16139
2e167a70 161402013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16141
16142 [BZ #15055]
16143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16144 __ieee754_sqrl instead of __sqrl.
16145
68508633
JM
161462013-03-01 Joseph Myers <joseph@codesourcery.com>
16147
16148 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16149 * sysdeps/powerpc/fpu_control.h: ... here.
16150 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16151 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16152 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16153 * sysdeps/powerpc/bits/mathinline.h: ... here.
16154
7775448e
RM
161552013-03-01 Roland McGrath <roland@hack.frob.com>
16156
16157 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16158 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16159 to just [NEED_DL_SYSINFO_DSO].
16160 * elf/dl-support.c: Likewise.
16161 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16162 * elf/rtld.c (dl_main): Likewise.
16163 * elf/setup-vdso.h (setup_vdso): Likewise.
16164 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16165 * sysdeps/unix/sysv/linux/dl-sysdep.c
16166 (_dl_discover_osversion): Likewise.
16167
4e9b5995
CD
161682013-03-01 Carlos O'Donell <carlos@redhat.com>
16169
16170 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16171 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16172
e23872c8
SP
161732013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16174
e5c74c63
SP
16175 * NEWS: Mention libm performance improvements and non-x86 PI
16176 futex support.
16177
e23872c8
SP
16178 * csu/libc-start.c (__pthread_initialize_minimal): Change
16179 function arguments.
16180 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16181
b5510883
JM
161822013-02-28 Joseph Myers <joseph@codesourcery.com>
16183
16184 [BZ #13550]
16185 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16186 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16187 <bp-sym.h> and <bp-asm.h>.
16188 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16189 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16190 and <bp-asm.h>.
16191 (memcpy): Don't use BP_SYM.
16192 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16193 <bp-asm.h>.
16194 (__mpn_add_n): Don't use BP_SYM.
16195 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16196 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16197 and <bp-asm.h>.
16198 (__mpn_addmul_1): Don't use BP_SYM.
16199 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16200 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16201 <bp-sym.h>.
16202 (_setjmp): Don't use BP_SYM.
16203 (__novmx_setjmp): Likewise.
16204 (__GI__setjmp): Likewise.
16205 (__vmx_setjmp): Likewise.
16206 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16207 <bp-sym.h>.
16208 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16209 (__bzero): Don't use BP_SYM.
16210 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16211 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16212 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16213 <bp-sym.h> and <bp-asm.h>.
16214 (memcpy): Don't use BP_SYM.
16215 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16216 <bp-sym.h> and <bp-asm.h>.
16217 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16218 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16219 <bp-sym.h> and <bp-asm.h>.
16220 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16221 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16222 <bp-asm.h>.
16223 (__mpn_lshift): Don't use BP_SYM.
16224 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16225 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16226 <bp-asm.h>.
16227 (memset): Don't use BP_SYM.
16228 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16229 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16230 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16231 <bp-asm.h>.
16232 (__mpn_mul_1): Don't use BP_SYM.
16233 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16234 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16235 <bp-sym.h> and <bp-asm.h>.
16236 (memcmp): Don't use BP_SYM.
16237 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16238 <bp-sym.h> and <bp-asm.h>.
16239 (memcpy): Don't use BP_SYM.
16240 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16241 <bp-sym.h> and <bp-asm.h>.
16242 (memset): Don't use BP_SYM.
16243 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16244 <bp-sym.h> and <bp-asm.h>.
16245 (strncmp): Don't use BP_SYM.
16246 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16247 <bp-sym.h> and <bp-asm.h>.
16248 (memcpy): Don't use BP_SYM.
16249 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16250 <bp-sym.h> and <bp-asm.h>.
16251 (memset): Don't use BP_SYM.
16252 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16253 <bp-sym.h> and <bp-asm.h>.
16254 (__memchr): Don't use BP_SYM.
16255 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16256 <bp-sym.h> and <bp-asm.h>.
16257 (memcmp): Don't use BP_SYM.
16258 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16259 <bp-sym.h> and <bp-asm.h>.
16260 (memcpy): Don't use BP_SYM.
16261 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16262 <bp-sym.h> and <bp-asm.h>.
16263 (__mempcpy): Don't use BP_SYM.
16264 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16265 <bp-sym.h> and <bp-asm.h>.
16266 (__memrchr): Don't use BP_SYM.
16267 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16268 <bp-sym.h> and <bp-asm.h>.
16269 (memset): Don't use BP_SYM.
16270 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16271 <bp-sym.h> and <bp-asm.h>.
16272 (__rawmemchr): Don't use BP_SYM.
16273 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16274 <bp-sym.h> and <bp-asm.h>.
16275 (__STRCMP): Don't use BP_SYM.
16276 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16277 <bp-sym.h> and <bp-asm.h>.
16278 (strchr): Don't use BP_SYM.
16279 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16280 <bp-sym.h> and <bp-asm.h>.
16281 (__strchrnul): Don't use BP_SYM.
16282 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16283 <bp-sym.h> and <bp-asm.h>.
16284 (strlen): Don't use BP_SYM.
16285 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16286 <bp-sym.h> and <bp-asm.h>.
16287 (strncmp): Don't use BP_SYM.
16288 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16289 <bp-sym.h> and <bp-asm.h>.
16290 (__strnlen): Don't use BP_SYM.
16291 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16292 <bp-asm.h>.
16293 (__mpn_rshift): Don't use BP_SYM.
16294 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16295 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16296 <bp-sym.h> and <bp-asm.h>.
16297 (__sigsetjmp): Don't use BP_SYM.
16298 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16299 (L(start_addresses)): Don't use BP_SYM.
16300 (_start): Likewise.
16301 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16302 <bp-asm.h>.
16303 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16304 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16305 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16306 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16307 <bp-asm.h>.
16308 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16309 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16310 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16311 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16312 <bp-asm.h>.
16313 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16314 comments.
16315 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16316 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16317 <bp-asm.h>.
16318 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16319 FIXME comments.
16320 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16321 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16322 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16323 <bp-asm.h>.
16324 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16325 comment.
16326 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16327 and <bp-asm.h>.
16328 (strncmp): Don't use BP_SYM,
16329 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16330 <bp-asm.h>.
16331 (__mpn_sub_n): Don't use BP_SYM.
16332 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16333 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16334 and <bp-asm.h>.
16335 (__mpn_submul_1): Don't use BP_SYM.
16336 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16338 <bp-sym.h> and <bp-asm.h>.
16339 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16341 <bp-sym.h> and <bp-asm.h>.
16342 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16343 comment.
16344
8d19fe64
SP
163452013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16346
16347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16348 Use ZK to minimize writes to Z.
16349 (sub_magnitudes): Simplify code a bit.
16350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16351 Use ZK to minimize writes to Z.
16352 (sub_magnitudes): Simplify code a bit.
16353
85bd816a
RM
163542013-02-27 Roland McGrath <roland@hack.frob.com>
16355
16356 * csu/gmon-start.c: Add special exception to license text.
16357
b5977bf2
RH
163582013-02-27 Richard Henderson <rth@redhat.com>
16359
16360 * scripts/config.guess: Update from config.git.
16361 * scripts/config.sub: Likewise.
16362
11d6e2f2
SP
163632013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16364
09c14ed2
SP
16365 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16366
a688864e
SP
16367 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16368
6295157a
SP
16369 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16370
b8de2202
SP
16371 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16372
11d6e2f2
SP
16373 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16374
7e80ddb8
RM
163752013-02-26 Roland McGrath <roland@hack.frob.com>
16376
16377 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16378 [$(build-shared = yes].
7e80ddb8 16379
7da6d9ed
SP
163802013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16381
45f05884
SP
16382 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16383 (__mul): Reduce iterations for calculating mantissa.
16384
2236d359
SP
16385 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16386 MPTWO.
16387 (__mpranred): Likewise.
16388
7da6d9ed
SP
16389 [BZ #15160]
16390 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16391 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16392
b7688c42
PE
163932013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16394
16395 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16396 Define __attribute__.
16397
53a5c423
SP
163982013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16399
16400 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16401 unused.
16402 * posix/regex_internal.h (__attribute): Remove.
16403 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16404 (re_string_context_at): Likewise.
16405 (bitset_not): Use __attribute__ and mark function as possibly
16406 unused.
16407 (bitset_merge): Likewise.
16408 (bitset_mask): Likewise.
16409 (re_string_char_size_at): Likewise.
16410 (re_string_wchar_at): Likewise.
16411 (re_string_elem_size_at): Likewise.
16412
60f5a8b5
SP
164132013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16414
2a983a2e
SP
16415 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16416 code.
16417 (cc32): Likewise.
16418
e69804d1
SP
16419 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16420 (__acr): Likewise.
16421 (__cpy): Likewise.
16422 (norm): Likewise.
16423 (denorm): Likewise.
16424 (__dbl_mp): Likewise.
16425 (add_magnitudes): Likewise.
16426 (sub_magnitudes): Likewise.
16427 (__mul): Likewise.
16428 (__inv): Likewise.
16429
2f22a1e8
SP
16430 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16431 style.
16432
8930ddc7
SP
16433 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16434 style.
16435
dc60cb11
SP
16436 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16437 code.
16438
60f5a8b5
SP
16439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16440 up changes with default code.
16441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16442 Likewise.
16443
b4d1fd33
AM
164442013-02-24 Allan McRae <allan@archlinux.org>
16445
faf6f8bc
AM
16446 * manual/socket.texi (The Internet Namespace): Order menu items
16447 to match that in the file.
16448
b4d1fd33
AM
16449 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16450 node listing of the info page menu.
16451
2366713d
JM
164522013-02-21 Joseph Myers <joseph@codesourcery.com>
16453
16454 [BZ #13550]
16455 * sysdeps/i386/bp-asm.h: Remove file.
16456 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16457 (PARMS): Do not use macros from bp-asm.h.
16458 (S1): Likewise.
16459 (S2): Likewise.
16460 (SIZE): Likewise.
16461 (__mpn_add_n): Do not use BP_SYM
16462 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16463 "bp-asm.h".
16464 (PARMS): Do not use macros from bp-asm.h.
16465 (S1): Likewise.
16466 (SIZE): Likewise.
16467 (__mpn_addmul_1): Do not use BP_SYM
16468 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16469 "bp-asm.h".
16470 (PARMS): Do not use macros from bp-asm.h.
16471 (SIGMSK): Likewise.
16472 (_setjmp): Likewise. Do not use BP_SYM.
16473 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16474 "bp-asm.h".
16475 (PARMS): Do not use macros from bp-asm.h.
16476 (SIGMSK): Likewise.
16477 (setjmp): Likewise. Do not use BP_SYM.
16478 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16479 "bp-asm.h".
16480 (PARMS): Do not use macros from bp-asm.h.
16481 (__frexp): Do not use BP_SYM.
16482 (frexp): Likewise.
16483 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16484 "bp-asm.h".
16485 (PARMS): Do not use macros from bp-asm.h.
16486 (__frexpf): Do not use BP_SYM.
16487 (frexpf): Likewise.
16488 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16489 "bp-asm.h".
16490 (PARMS): Do not use macros from bp-asm.h.
16491 (__frexpl): Do not use BP_SYM.
16492 (frexpl): Likewise.
16493 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16494 "bp-asm.h".
16495 (PARMS): Do not use macros from bp-asm.h.
16496 (__remquo): Do not use BP_SYM.
16497 (remquo): Likewise.
16498 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16499 "bp-asm.h".
16500 (PARMS): Do not use macros from bp-asm.h.
16501 (__remquof): Do not use BP_SYM.
16502 (remquof): Likewise.
16503 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16504 "bp-asm.h".
16505 (PARMS): Do not use macros from bp-asm.h.
16506 (__remquol): Do not use BP_SYM.
16507 (remquol): Likewise.
16508 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16509 "bp-asm.h".
16510 (PARMS): Do not use macros from bp-asm.h.
16511 (DEST): Likewise.
16512 (SRC): Likewise.
16513 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16514 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16515 "bp-asm.h".
16516 (PARMS): Do not use macros from bp-asm.h.
16517 (strlen): Do not use BP_SYM.
16518 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16519 "bp-asm.h".
16520 (PARMS): Do not use macros from bp-asm.h.
16521 (S1): Likewise.
16522 (S2): Likewise.
16523 (SIZE): Likewise.
16524 (__mpn_add_n): Do not use BP_SYM.
16525 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16526 "bp-asm.h".
16527 (PARMS): Do not use macros from bp-asm.h.
16528 (S1): Likewise.
16529 (SIZE): Likewise.
16530 (__mpn_addmul_1): Do not use BP_SYM.
16531 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16532 weak_alias.
16533 (bzero): Likewise.
16534 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16535 "bp-asm.h".
16536 (PARMS): Do not use macros from bp-asm.h.
16537 (S): Likewise.
16538 (SIZE): Likewise.
16539 (__mpn_lshift): Do not use BP_SYM.
16540 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16541 "bp-asm.h".
16542 (PARMS): Do not use macros from bp-asm.h.
16543 (DEST): Likewise.
16544 (SRC): Likewise.
16545 (LEN): Likewise.
16546 (memcpy): Likewise. Do not use BP_SYM.
16547 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16548 libc_hidden_def and weak_alias.
16549 (mempcpy): Do not use BP_SYM in weak_alias.
16550 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16551 "bp-asm.h".
16552 (PARMS): Do not use macros from bp-asm.h.
16553 (DEST): Likewise.
16554 (LEN): Likewise.
16555 [!BZERO_P] (CHR): Likewise.
16556 (memset): Likewise. Do not use BP_SYM.
16557 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16558 "bp-asm.h".
16559 (PARMS): Do not use macros from bp-asm.h.
16560 (S1): Likewise.
16561 (SIZE): Likewise.
16562 (__mpn_mul_1): Do not use BP_SYM.
16563 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16564 "bp-asm.h".
16565 (PARMS): Do not use macros from bp-asm.h.
16566 (S): Likewise.
16567 (SIZE): Likewise.
16568 (__mpn_rshift): Do not use BP_SYM.
16569 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16570 "bp-asm.h".
16571 (PARMS): Do not use macros from bp-asm.h.
16572 (STR): Likewise.
16573 (CHR): Likewise.
16574 (strchr): Likewise. Do not use BP_SYM.
16575 (index): Do not use BP_SYM in weak_alias.
16576 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16577 "bp-asm.h".
16578 (PARMS): Do not use macros from bp-asm.h.
16579 (DEST): Likewise.
16580 (SRC): Likewise.
16581 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16582 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16583 "bp-asm.h".
16584 (PARMS): Do not use macros from bp-asm.h.
16585 (strlen): Do not use BP_SYM.
16586 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16587 "bp-asm.h".
16588 (PARMS): Do not use macros from bp-asm.h.
16589 (S1): Likewise.
16590 (S2): Likewise.
16591 (SIZE): Likewise.
16592 (__mpn_sub_n): Do not use BP_SYM.
16593 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16594 "bp-asm.h".
16595 (PARMS): Do not use macros from bp-asm.h.
16596 (S1): Likewise.
16597 (SIZE): Likewise.
16598 (__mpn_submul_1): Do not use BP_SYM.
16599 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16600 "bp-asm.h".
16601 (PARMS): Do not use macros from bp-asm.h.
16602 (S1): Likewise.
16603 (S2): Likewise.
16604 (SIZE): Likewise.
16605 (__mpn_add_n): Do not use BP_SYM.
16606 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16607 weak_alias.
16608 (bzero): Likewise.
16609 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16610 "bp-asm.h".
16611 (PARMS): Do not use macros from bp-asm.h.
16612 (BLK2): Likewise.
16613 (LEN): Likewise.
16614 (memcmp): Do not use BP_SYM.
16615 (bcmp): Do not use BP_SYM in weak_alias.
16616 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16617 "bp-asm.h".
16618 (PARMS): Do not use macros from bp-asm.h.
16619 (DEST): Likewise.
16620 (SRC): Likewise.
16621 (LEN): Likewise.
16622 (memcpy): Likewise. Do not use BP_SYM.
16623 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16624 "bp-asm.h".
16625 (PARMS): Do not use macros from bp-asm.h.
16626 (DEST): Likewise.
16627 (SRC): Likewise.
16628 (LEN): Likewise.
16629 (memmove): Likewise. Do not use BP_SYM.
16630 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16631 "bp-asm.h".
16632 (PARMS): Do not use macros from bp-asm.h.
16633 (DEST): Likewise.
16634 (SRC): Likewise.
16635 (LEN): Likewise.
16636 (__mempcpy): Likewise. Do not use BP_SYM.
16637 (mempcpy): Do not use BP_SYM in weak_alias.
16638 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16639 "bp-asm.h".
16640 (PARMS): Do not use macros from bp-asm.h.
16641 (DEST): Likewise.
16642 (LEN): Likewise.
16643 [!BZERO_P] (CHR): Likewise.
16644 (memset): Likewise. Do not use BP_SYM.
16645 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16646 "bp-asm.h".
16647 (PARMS): Do not use macros from bp-asm.h.
16648 (STR2): Likewise.
16649 (strcmp): Do not use BP_SYM.
16650 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16651 "bp-asm.h".
16652 (PARMS): Do not use macros from bp-asm.h.
16653 (STR): Likewise.
16654 (DELIM): Likewise.
16655 [USE_AS_STRTOK_R] (SAVE): Likewise.
16656 (FUNCTION): Likewise. Do not use BP_SYM.
16657 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16658 aliases.
16659 (strtok_r): Likewise.
16660 (__GI___strtok_r): Likewise.
16661 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16662 (PARMS): Do not use macros from bp-asm.h.
16663 (S): Likewise.
16664 (SIZE): Likewise.
16665 (__mpn_lshift): Do not use BP_SYM.
16666 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16667 (PARMS): Do not use macros from bp-asm.h.
16668 (STR): Likewise.
16669 (CHR): Likewise.
16670 (__memchr): Do not use BP_SYM.
16671 (memchr): Do not use BP_SYM in weak_alias.
16672 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16673 (PARMS): Do not use macros from bp-asm.h.
16674 (BLK2): Likewise.
16675 (LEN): Likewise.
16676 (memcmp): Do not use BP_SYM.
16677 (bcmp): Do not use BP_SYM in weak_alias.
16678 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16679 (PARMS): Do not use macros from bp-asm.h.
16680 (S1): Likewise.
16681 (SIZE): Likewise.
16682 (__mpn_mul_1): Do not use BP_SYM.
16683 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16684 "bp-asm.h".
16685 (PARMS): Do not use macros from bp-asm.h.
16686 (STR): Likewise.
16687 (CHR): Likewise.
16688 (__rawmemchr): Do not use BP_SYM.
16689 (rawmemchr): Do not use BP_SYM in weak_alias.
16690 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16691 (PARMS): Do not use macros from bp-asm.h.
16692 (S): Likewise.
16693 (SIZE): Likewise.
16694 (__mpn_rshift): Do not use BP_SYM.
16695 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16696 (PARMS): Do not use macros from bp-asm.h.
16697 (SIGMSK): Likewise.
16698 (__sigsetjmp): Likewise. Do not use BP_SYM.
16699 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16700 (_start): Do not use BP_SYM.
16701 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16702 (PARMS): Do not use macros from bp-asm.h.
16703 (DEST): Likewise.
16704 (SRC): Likewise.
16705 (__stpcpy): Likewise. Do not use BP_SYM.
16706 (stpcpy): Do not use BP_SYM in weak_alias.
16707 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16708 "bp-asm.h".
16709 (PARMS): Do not use macros from bp-asm.h.
16710 (DEST): Likewise.
16711 (SRC): Likewise.
16712 (LEN): Likewise.
16713 (__stpncpy): Likewise. Do not use BP_SYM.
16714 (stpncpy): Do not use BP_SYM in weak_alias.
16715 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16716 (PARMS): Do not use macros from bp-asm.h.
16717 (STR): Likewise.
16718 (CHR): Likewise.
16719 (strchr): Likewise. Do not use BP_SYM.
16720 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16721 "bp-asm.h".
16722 (PARMS): Do not use macros from bp-asm.h.
16723 (STR): Likewise.
16724 (CHR): Likewise.
16725 (__strchrnul): Likewise. Do not use BP_SYM.
16726 (strchrnul): Do not use BP_SYM in weak_alias.
16727 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16728 "bp-asm.h".
16729 (PARMS): Do not use macros from bp-asm.h.
16730 (STOP): Likewise.
16731 (strcspn): Do not use BP_SYM.
16732 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16733 "bp-asm.h".
16734 (PARMS): Do not use macros from bp-asm.h.
16735 (STR): Likewise.
16736 (STOP): Likewise.
16737 (strpbrk): Likewise. Do not use BP_SYM.
16738 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16739 "bp-asm.h".
16740 (PARMS): Do not use macros from bp-asm.h.
16741 (STR): Likewise.
16742 (CHR): Likewise.
16743 (strrchr): Likewise. Do not use BP_SYM.
16744 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16745 (PARMS): Do not use macros from bp-asm.h.
16746 (SKIP): Likewise.
16747 (strspn): Do not use BP_SYM.
16748 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16749 (PARMS): Do not use macros from bp-asm.h.
16750 (STR): Likewise.
16751 (DELIM): Likewise.
16752 (SAVE): Likewise.
16753 (FUNCTION): Likewise. Do not use BP_SYM.
16754 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16755 aliases.
16756 (strtok_r): Likewise.
16757 (__GI___strtok_r): Likewise.
16758 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16759 (PARMS): Do not use macros from bp-asm.h.
16760 (S1): Likewise.
16761 (S2): Likewise.
16762 (SIZE): Likewise.
16763 (__mpn_sub_n): Do not use BP_SYM.
16764 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16765 "bp-asm.h".
16766 (PARMS): Do not use macros from bp-asm.h.
16767 (S1): Likewise.
16768 (SIZE): Likewise.
16769 (__mpn_submul_1): Do not use BP_SYM.
16770 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16771 <bp-sym.h>.
16772 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16773 and <bp-asm.h>.
16774 (PARMS): Do not use macros from bp-asm.h.
16775 (FLAGS): Likewise.
16776 (PTID): Likewise.
16777 (TLS): Likewise.
16778 (CTID): Likewise.
16779 (__clone): Do not use BP_SYM.
16780 (clone): Do not use BP_SYM in weak_alias.
16781 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16782 and <bp-asm.h>.
16783 (PARMS): Do not use macros from bp-asm.h.
16784 (LEN): Likewise.
16785 (__mmap64): Do not use BP_SYM.
16786 (mmap64): Do not use BP_SYM in weak_alias.
16787 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16788 <bp-sym.h> and <bp-asm.h>.
16789 (PARMS): Do not use macros from bp-asm.h.
16790 (__posix_fadvise64_l64): Do not use BP_SYM.
16791 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16792 (PARMS): Do not use macros from bp-asm.h.
16793 (NSOPS): Likewise.
16794 (semtimedop): Do not use BP_SYM.
16795 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16796 and <bp-asm.h>.
16797
582a3cff
AM
167982013-02-21 Allan McRae <allan@archlinux.org>
16799
16800 * manual/message.texi (Charset conversion in gettext):
16801 Move @end statement to beginning of line.
16802
bab8a695
SP
168032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16804
80945231
SP
16805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16806 static.
16807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16808 Likewise.
16809
bab8a695
SP
16810 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16811 (denorm): Likewise.
16812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16814
e21d7aa7
AK
168152013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16816
16817 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16818 tail-call to the resolved function if pltexit isn't needed.
16819
4c7a4263
SP
168202013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16821
16822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16823 or Y being zero as being unlikely.
16824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16825 Likewise.
16826
41f49342
CD
168272013-02-20 Carlos O'Donell <carlos@redhat.com>
16828
16829 * manual/nss.texi (System Databases and Name Service Switch):
16830 Remove frobnicate @pxref.
16831
50022a93
TS
168322013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16833
16834 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16835 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16836
08cbd996
PM
168372013-02-20 Petr Machata <pmachata@redhat.com>
16838
16839 * elf/elf.h (R_ARM_TARGET1): New macro.
16840 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16841 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16842 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16843 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16844 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16845 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16846 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16847 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16848 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16849 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16850 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16851 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16852 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16853 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16854 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16855 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16856 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16857 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16858 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16859 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16860 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16861 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16862 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16863 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16864 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16865 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16866 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16867 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16868 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16869 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16870 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16871 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16872 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16873 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16874 (R_ARM_THM_GOT_BREL12): Likewise.
16875 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16876 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16877 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16878 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16879 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16880 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16881 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16882 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16883 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16884
c7b275d6
TS
168852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16886
16887 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16888 __attribute_used__ to __attribute__ ((unused)).
16889
20cd7fb3
SP
168902013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16891
16892 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16893 powerpc mpa.c.
16894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16895 comment formatting.
16896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16897
92945b52
JM
168982013-02-19 Joseph Myers <joseph@codesourcery.com>
16899
16900 [BZ #13550]
16901 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16902 Remove macro.
16903 (ENTER): Remove both macro definitions.
16904 (LEAVE): Likewise.
16905 (CHECK_BOUNDS_LOW): Likewise.
16906 (CHECK_BOUNDS_HIGH): Likewise.
16907 (CHECK_BOUNDS_BOTH): Likewise.
16908 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16909 (RETURN_BOUNDED_POINTER): Likewise.
16910 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16911 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16912 (POP_ERRNO_LOCATION_RETURN): Likewise.
16913 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16914 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16915 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16916 macros.
16917 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16918 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16919 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16920 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16921 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16922 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16923 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16924 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16925 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16926 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16927 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16928 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16929 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16930 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16931 removed macros.
16932 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16933 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16934 macros.
16935 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16936 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16937 * sysdeps/i386/i586/memset.S (memset): Likewise.
16938 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16939 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16940 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16941 macros.
16942 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16943 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16944 Change uses of L(2) to L(out).
16945 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16946 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16947 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16948 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16949 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16950 removed macros.
16951 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16952 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16953 macros.
16954 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16955 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16956 (RETURN): Do not use macro LEAVE.
16957 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16958 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16959 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16960 * sysdeps/i386/i686/memset.S (memset): Likewise.
16961 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16962 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16963 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16964 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16965 Likewise.
16966 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16967 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16968 L(1_2) and L(1_3) into L(1).
16969 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16970 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16971 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16972 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16973 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16974 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16975 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16976 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16977 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16978 macros.
16979 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16980 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16981 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16982 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16983 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16984 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16985 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16986 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16987 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16988 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16989 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16990 * sysdeps/i386/strspn.S (strspn): Likewise.
16991 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16992 conditional code.
16993 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16994 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16995 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16996 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16997 L(1_3) into L(1_1).
16998 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16999 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17000 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17001 macros.
17002 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17003
2389741a
JJ
170042013-02-19 Jakub Jelinek <jakub@redhat.com>
17005
17006 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17007 macro.
17008
2016b3cd
SP
170092013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17010
e4f22324
SP
17011 * math/atest-exp.c (exp_mpn): Remove ROUND.
17012 * math/atest-exp2.c (exp_mpn): Likewise.
17013 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17014
2016b3cd
SP
17015 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17016 * stdlib/tst-tls-atexit-lib.c: Likewise.
17017 * stdlib/tst-tls-atexit.c: Likewise.
17018
4be9b544
MF
170192013-02-18 Mike Frysinger <vapier@gentoo.org>
17020
17021 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17022 and __attribute_alloc_size__.
17023
2f62b9ee
MF
170242013-02-18 Mike Frysinger <vapier@gentoo.org>
17025
17026 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17027 __attribute_alloc_size__.
17028 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17029 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17030
6ff444c4
MF
170312013-02-18 Mike Frysinger <vapier@gentoo.org>
17032
17033 * include/programs/xmalloc.h: New file.
17034 * catgets/gencat.c: Include it.
17035 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17036 * elf/pldd.c: Likewise.
17037 * iconv/iconv_charmap.c: Likewise.
17038 * iconv/iconvconfig.c: Likewise.
17039 * iconv/strtab.c: Likewise.
17040 * locale/programs/locale.c: Likewise.
17041 * locale/programs/localedef.h: Likewise.
17042 * locale/programs/simple-hash.c: Likewise.
17043 * nscd/nscd.h: Likewise.
17044 * nss/makedb.c: Likewise.
17045 * sysdeps/generic/ldconfig.h: Likewise.
17046
be179c8a
SP
170472013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17048
ba384f6e
SP
17049 * Versions.def: Add GLIBC_2.18.
17050 * include/link.h (struct link_map): New member l_tls_dtor_count.
17051 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17052 (__call_tls_dtors): Likewise.
17053 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17054 __cxa_thread_atexit_impl.
17055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17056 Likewise.
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17058 Likewise.
17059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17060 Likewise.
17061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17062 Likewise.
17063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17065 Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17067 Likewise.
17068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17070 Likewise.
17071 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17072 (tests): Add test case tst-tls-atexit.
17073 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17074 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17075 (GLIBC_PRIVATE): Add __call_tls_dtors.
17076 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17077 for libstdc++.
17078 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17079 * stdlib/tst-tls-atexit.c: New test case.
17080 * stdlib/tst-tls-atexit-lib.c: New test case.
17081
ffaa74cf 17082 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17083
be179c8a
SP
17084 * elf/Versions (ld): Add _dl_find_dso_for_object.
17085 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17086 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17087 (dl_open_worker): Use _dl_find_dso_for_object.
17088 * elf/dl-sym.c (do_sym): Likewise.
17089 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17090
f78b5caa
AK
170912013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17092
17093 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17094 Syntactic changes only.
17095 (_dl_runtime_profile): Do a tail-call to the resolved function.
17096
29691210
JM
170972013-02-17 Joseph Myers <joseph@codesourcery.com>
17098
17099 [BZ #13550]
17100 * sysdeps/x86_64/bp-asm.h: Remove file.
17101 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17102 <bp-sym.h> and <bp-asm.h>.
17103 (__clone): Do not use BP_SYM.
17104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17105 <bp-sym.h> and <bp-asm.h>.
17106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17107 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17108 "bp-asm.h".
17109 (_setjmp): Do not use BP_SYM.
17110 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17111 "bp-asm.h".
17112 (setjmp): Do not use BP_SYM.
17113 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17114 libc_hidden_def.
17115 (mempcpy): Do not use BP_SYM in weak_alias.
17116 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17117 "bp-asm.h".
17118 (strchr): Do not use BP_SYM.
17119 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17120 "bp-asm.h".
17121 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17122 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17123 (_start): Do not use BP_SYM.
17124 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17125 "bp-asm.h".
17126 (strcat): Do not use BP_SYM.
17127 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17128 "bp-asm.h".
17129 (STRCMP): Do not use BP_SYM.
17130 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17131 "bp-asm.h".
17132 (STRCPY): Do not use BP_SYM.
17133 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17134 "bp-asm.h".
17135 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17136 "bp-asm.h".
17137 (FUNCTION): Do not use BP_SYM.
17138 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17139 weak_alias.
17140 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17141
f238fd19
AJ
171422013-02-17 Andreas Jaeger <aj@suse.de>
17143
17144 * time/Versions: Sort entries.
17145 * string/Versions: Likewise.
17146 * resolv/Versions: Likewise.
17147 * posix/Versions: Likewise.
17148 * iconv/Versions: Likewise.
17149 * elf/Versions: Likewise.
17150 * wcsmbs/Versions: Likewise.
17151
bd07f23c 171522013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17153
22af19f9
SP
17154 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17155 loop termination condition.
17156
4709fe76
SP
17157 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17158 variable to calculate EZ.
17159 (__sqr): Likewise.
2d0e0f29
SP
17160
17161 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17162 the lower precision input.
17163
daaa7713
JM
171642013-02-15 Joseph Myers <joseph@codesourcery.com>
17165
17166 [BZ #13550]
17167 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17168 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17169 (run-via-rtld-prefix): Do not handle %-bp tests.
17170 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17171 (all-object-suffixes): Remove .ob.
17172 (bppfx): Remove variable.
17173 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17174 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17175 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17176 [$(build-bounded) = yes] (libtype.ob): Likewise.
17177 * Makerules (elide-routines.ob): Remove variable.
17178 (do-tests-clean): Do not handle *-bp.out.
17179 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17180 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17181 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17182 (tests): Do not include $(tests-bp.out).
17183 (xtests): Do not include $(xtests-bp.out).
17184 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17185 [$(build-bounded) = yes] ($(addprefix
17186 $(objpfx),$(binaries-bounded))): Remove rule.
17187 ($(objpfx)%-bp.out): Remove rule.
17188 * config.make.in (build-bounded): Remove variable.
17189 * crypt/Makefile [$(build-bounded) = yes]
17190 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17191 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17192 append to variable.
17193 [$(build-bounded) = yes] (install-lib): Likewise.
17194 [$(build-bounded) = yes] (generated): Likewise.
17195 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17196 Remove rule.
17197 * intl/Makefile [$(build-bounded) = yes]
17198 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17199 * math/Makefile [$(build-bounded) = yes]
17200 ($(tests:%=$(objpfx)%-bp): Likewise.
17201 * misc/Makefile [$(build-bounded) = yes]
17202 ($(objpfx)tst-tsearch-bp): Likewise.
17203 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17204 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17205 Remove dependency.
17206 * string/Makefile (o-objects.ob): Remove variable.
17207 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17208 (CFLAGS-.ob): Remove variable.
17209 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17210 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17211 both definitions of variable.
17212 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17213 (ASFLAGS-.ob): Remove variable.
17214
e97ed6dd
JM
172152013-02-14 Joseph Myers <joseph@codesourcery.com>
17216
2bdd4ca6
JM
17217 [BZ #13550]
17218 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17219 Remove __BOUNDED_POINTERS__ from condition.
17220 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17221 * string/bits/string2.h [!__NO_STRING_INLINES &&
17222 !__BOUNDED_POINTERS__]: Likewise.
17223 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17224 Likewise.
17225 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17226 Remove conditional code.
17227 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17228 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17229 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17230 condition.
17231
e97ed6dd
JM
17232 [BZ #13550]
17233 * csu/libc-start.c: Do not include <bp-sym.h>.
17234 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17235 * elf/dl-open.c: Do not include <bp-sym.h>.
17236 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17237 * math/fegetenv.c: Do not include <bp-sym.h>.
17238 (fegetenv): Do not use BP_SYM in versioned symbols.
17239 * nptl/sysdeps/pthread/bits/libc-lockP.h
17240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17241 <bp-sym.h>.
17242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17243 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17245 (__pthread_mutex_destroy): Likewise.
17246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17247 (__pthread_mutex_lock): Likewise.
17248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17249 (__pthread_mutex_trylock): Likewise.
17250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17251 (__pthread_mutex_unlock): Likewise.
17252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17253 (__pthread_mutexattr_init): Likewise.
17254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17255 (__pthread_mutexattr_destroy): Likewise.
17256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17257 (__pthread_mutexattr_settype): Likewise.
17258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17259 (__pthread_rwlock_init): Likewise.
17260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17261 (__pthread_rwlock_destroy): Likewise.
17262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17263 (__pthread_rwlock_rdlock): Likewise.
17264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17265 (__pthread_rwlock_tryrdlock): Likewise.
17266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17267 (__pthread_rwlock_wrlock): Likewise.
17268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17269 (__pthread_rwlock_trywrlock): Likewise.
17270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17271 (__pthread_rwlock_unlock): Likewise.
17272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17273 (__pthread_key_create): Likewise.
17274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17275 (__pthread_setspecific): Likewise.
17276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17277 (__pthread_getspecific): Likewise.
17278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17279 Likewise.
17280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17281 (_pthread_cleanup_push_defer): Likewise.
17282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17283 (_pthread_cleanup_pop_restore): Likewise.
17284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17285 (pthread_setcancelstate): Likewise.
17286 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17287 <bp-sym.h>.
17288 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17289 (memchr): Do not use BP_SYM in weak_alias.
17290 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17291 (fegetenv): Do not use BP_SYM in versioned symbols.
17292 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17293 (fesetenv): Do not use BP_SYM in versioned symbols.
17294 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17295 (feupdateenv): Do not use BP_SYM in versioned symbols.
17296 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17297 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17298 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17299 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17300 (open64): Do not use BP_SYM in weak_alias.
17301 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17302 (fegetenv): Do not use BP_SYM in versioned symbols.
17303 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17304 (fesetenv): Do not use BP_SYM in versioned symbols.
17305 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17306 (feupdateenv): Do not use BP_SYM in versioned symbols.
17307 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17308 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17309 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17310 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17311 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17312 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17313 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17314 <bp-sym.h>.
17315 (__libc_start_main): Do not use BP_SYM.
17316
d6752ccd
SP
173172013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17318
cb57ce60
SP
17319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17320 redundant return line.
17321 (norm): Likewise.
17322 (denorm): Likewise.
17323 (dbl_mp): Likewise.
17324 (sub_magnitudes): Likewise.
17325 (__add): Likewise.
17326 (__sub): Likewise.
17327 (__mul): Likewise.
17328 (__inv): Likewise.
17329 (__dvd): Likewise.
17330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17331 (norm): Likewise.
17332 (denorm): Likewise.
17333 (dbl_mp): Likewise.
17334 (sub_magnitudes): Likewise.
17335 (__add): Likewise.
17336 (__sub): Likewise.
17337 (__mul): Likewise.
17338 (__inv): Likewise.
17339 (__dvd): Likewise.
17340
f414520d
SP
17341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17342 instead of __mul.
17343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17344 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17345 (cc32): Likewise.
17346
d6752ccd
SP
17347 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17348 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17350 of __mul for squares.
17351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17352 function
17353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17354 Likewise.
17355 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17356 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17357
70d9946a
JM
173582013-02-13 Joseph Myers <joseph@codesourcery.com>
17359
17360 [BZ #13550]
17361 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17362 code.
17363 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17364 prototype or function definition. Rename ubp_* variables and
17365 parameters. Remove argv definitions conditional on
17366 [__BOUNDED_POINTERS__].
17367 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17368 * elf/dl-runtime.c (_dl_fixup): Likewise.
17369 * include/set-hooks.h (RUN_HOOK): Likewise.
17370 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17371 definition.
17372 * string/strcpy.c (strcpy): Do not use __unbounded.
17373 * sysdeps/generic/frame.h (struct layout): Likewise.
17374 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17375 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17376 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17377 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17378 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17379 (__backtrace): Likewise.
17380 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17381 use __ptrvalue.
17382 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17383 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17384 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17385 Likewise.
17386 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17387 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17388 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17389 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17390 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17391 Do not use __unbounded.
17392 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17393 Rename __unboundedrlimits parameter to rlimits in prototype.
17394 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17395 Do not use __unbounded.
17396 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17397 not use __ptrvalue.
17398 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17399 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17400 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17401 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17402 __ptrvalue or __unbounded.
17403 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17404 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17405 use __unbounded.
17406 (__new_msgctl): Do not use __ptrvalue.
17407 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17408 __unbounded.
17409 (__libc_msgrcv): Do not use __ptrvalue.
17410 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17411 startup_info): Do not use __unbounded.
17412 (__libc_start_main): Likewise. Rename ubp_* variables and
17413 parameters. Remove argv definitions conditional on
17414 [__BOUNDED_POINTERS__].
17415 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17416 __ptrvalue.
17417 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17418 use __unbounded.
17419 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17420 or __ptrvalue.
17421 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17422 use __unbounded.
17423 (__new_shmctl): Do not use __ptrvalue.
17424 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17425 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17426 Likewise.
17427 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17428 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17429 (__libc_sigaction): Likewise.
17430 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17432 Likewise.
17433 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17434
cc7834d6
OB
174352013-02-13 Ondřej Bílka <neleai@seznam.cz>
17436
ffb1ec7b 17437 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17438
17439 * string/mempcpy.c: Implement by calling memcpy.
17440
bdf02814
SP
174412013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17442
c2af38aa
SP
17443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17444
4e92d59e
SP
17445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17446 evaluation.
17447
909279a5
SP
17448 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17449 values in the mantissa.
17450
bdf02814
SP
17451 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17452 minimize writes to Z.
17453 (sub_magnitudes): Simplify code a bit.
17454
cd525923
RM
174552013-02-12 Roland McGrath <roland@hack.frob.com>
17456
17457 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17458 from the message. The linker prefixes all warnings with that already.
17459
7e2f0d2d
AS
174602013-02-12 Andreas Schwab <schwab@suse.de>
17461
a445af0b
AS
17462 [BZ #15078]
17463 * posix/regexec.c (extend_buffers): Add parameter min_len.
17464 (check_matching): Pass minimum needed length.
17465 (clean_state_log_if_needed): Likewise.
17466 (get_subexp): Likewise.
17467 * posix/Makefile (tests): Add bug-regex34.
17468 (bug-regex34-ENV): Define.
17469 * posix/bug-regex34.c: New file.
17470
7e2f0d2d
AS
17471 [BZ #11561]
17472 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17473 elements compare against the byte sequence of it, not its name.
17474 * posix/Makefile (tests): Add bug-regex35.
17475 (bug-regex35-ENV): Define.
17476 * posix/bug-regex35.c: New file.
17477
a175b684
TV
174782013-02-11 Tom de Vries <tom@codesourcery.com>
17479
17480 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17481 comment.
17482 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17483 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17484 (CHECK_EOL): Add undef.
17485
310998fe 174862013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17487
17488 * bits/stdlib-bsearch.h: New file.
17489 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17490 * stdlib/stdlib.h: Likewise.
41eda41d 17491
8ded91fb
RM
174922013-02-11 Roland McGrath <roland@hack.frob.com>
17493
17494 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17495 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17496 declaration.
17497 * manual/search.texi (Array Search Function): Add missing const in
17498 lfind prototype.
17499 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17500 declaration to use rlim_t.
17501 (Basic Scheduling Functions): Remove erroneous const from
17502 sched_getparam prototype. Remove erroneous * from
17503 sched_get_priority_max and sched_get_priority_min prototypes.
17504 (Resource Usage): Fix summary @comment on vtimes to refer to
17505 sys/vtimes.h rather than vtimes.h.
17506 Add missing *s in vtimes prototype.
17507 (Limits on Resources): Fix ulimit prototype to return long int.
17508 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17509 prototypes to use long int rather than double.
17510 (BSD Random): Fix initstate and setstate to use char *, not void *.
17511 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17512 prototype to make second argument 'struct aiocb64 *const[]'.
17513 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17514 (Status of AIO Operations): Remove erroneous const in aio_return and
17515 aio_return64 prototypes.
17516 (Synchronizing I/O): Fix sync prototype to return void.
17517 * manual/startup.texi (Suboptions): Remove an erroneous const in
17518 getsubopt prototype.
17519 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17520 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17521 use size_t rather than int.
17522 (Scanning All Users): Likewise for getpwent_r.
17523 (Setting Groups): Add missing const to setgroups prototype.
17524 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17525 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17526 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17527 'const void *' rather than 'const char *'.
17528 (Host Address Functions): Likewise for inet_ntop.
17529 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17530 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17531 ssize_t for return value.
17532 (Sending Data): Likewise for send, sendto, sendmsg.
17533 (Socket Option Functions): Add a missing const in setsockopt prototype.
17534 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17535 use wchar_t for the argument.
17536 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17537 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17538 take no arguments.
17539 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17540 double/float/long double for second argument.
17541 Fix return types of significand, significandf, significandl.
17542 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17543 argument in fchmod prototype.
17544 (File Owner): Use uid_t and gid_t in fchown prototype.
17545 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17546 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17547 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17548 use 'const struct dirent **' as argument types to CMP function pointer
17549 argument.
17550 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17551 (File Times): Fix summary magic @comment for struct utimbuf and utime
17552 to refer to utime.h, not time.h.
17553 * manual/string.texi (Argz Functions): Add missing const in
17554 argz_extract and argz_next prototypes.
17555 (Finding Tokens in a String): Likewise for basename.
17556 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17557 (Copying and Concatenation): Fix typo in wmemmove prototype.
17558 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17559 (Signal Stack): Remove erroneous const in sigstack prototype.
17560 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17561 prototype.
17562 (Simple Calendar Time): Likewise for stime.
17563 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17564 prototype.
17565 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17566 say sys/sysctl.h instead.
17567 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17568 and vsyslog prototypes.
17569
fe77fe6d
TV
175702013-02-11 Tom de Vries <tom@codesourcery.com>
17571
17572 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17573 Remove.
17574
3a09b620
RM
175752013-02-11 Roland McGrath <roland@hack.frob.com>
17576
17577 * misc/sys/mman.h: Fix typo in mremap comment.
17578
550a0b89
RM
175792013-02-08 Roland McGrath <roland@hack.frob.com>
17580
17581 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17582 the '\0' terminator.
17583
a2da1673
JM
175842013-02-08 Joseph Myers <joseph@codesourcery.com>
17585
17586 [BZ #13550]
17587 * debug/segfault.c: Don't include <bp-checks.h>.
17588 * sysdeps/generic/bp-checks.h: Remove file.
17589 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17590 (__GETDENTS): Don't use CHECK_N.
17591 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17592 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17593 (__getgroups): Don't use CHECK_N.
17594 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17595 (setgroups): Don't use CHECK_N.
17596 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17597 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17598 (__libc_msgrcv): Don't use CHECK_N.
17599 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17600 (__libc_msgsnd): Don't use CHECK_N.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17602 <bp-checks.h>.
17603 (__libc_pread): Don't use CHECK_N.
17604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17605 include <bp-checks.h>.
17606 (__libc_pread64): Don't use CHECK_N.
17607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17608 include <bp-checks.h>.
17609 (__libc_pwrite): Don't use CHECK_N.
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17611 include <bp-checks.h>.
17612 (__libc_pwrite64): Don't use CHECK_N.
17613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17614 <bp-checks.h>.
17615 (__libc_pread): Don't use CHECK_N.
17616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17617 include <bp-checks.h>.
17618 (__libc_pread64): Don't use CHECK_N.
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17620 include <bp-checks.h>.
17621 (__libc_pwrite): Don't use CHECK_N.
17622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17623 include <bp-checks.h>.
17624 (__libc_pwrite64): Don't use CHECK_N.
17625 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17626 (do_pread): Don't use CHECK_N.
17627 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17628 (do_pread64): Don't use CHECK_N.
17629 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17630 (do_pwrite): Don't use CHECK_N.
17631 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17632 (do_pwrite64): Don't use CHECK_N.
17633 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17634 (__libc_readv): Don't use CHECK_N.
17635 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17636 (semop): Don't use CHECK_N.
17637 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17638 <bp-checks.h>.
17639 (semtimedop): Don't use CHECK_N.
17640 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17641 (__libc_pread): Don't use CHECK_N.
17642 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17643 <bp-checks.h>.
17644 (__libc_pread64): Don't use CHECK_N.
17645 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17646 <bp-checks.h>.
17647 (__libc_pwrite): Don't use CHECK_N.
17648 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17649 <bp-checks.h>.
17650 (__libc_pwrite64): Don't use CHECK_N.
17651 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17652 <bp-checks.h>.
17653 (__libc_msgrcv): Don't use CHECK_N.
17654 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17655 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17656 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17657 (__libc_writev): Don't use CHECK_N.
17658
b84660a8
RM
176592013-02-08 Roland McGrath <roland@hack.frob.com>
17660
7f3e75f8
RM
17661 * string/strcpy.c: Removed unused variable.
17662
b84660a8
RM
17663 * Makeconfig (+sysdep-includes): Define with := rather than =.
17664 Use an existing include/ subdir of each sysdeps dir before it.
17665
471514d3
CD
176662013-02-08 Carlos O'Donell <carlos@redhat.com>
17667
17668 * nscd/connection.c (register_traced_file): Comment function.
17669 [HAVE_INOTIFY] (union __inev): Define.
17670 [HAVE_INOTIFY] (inotify_check_files): New function.
17671 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17672 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17673 clear_db_cache.
17674 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17675
b2d3c3be
CD
176762013-02-08 Carlos O'Donell <carlos@redhat.com>
17677
17678 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17679 loaded if not already and that a failure is permanent.
17680
b39949d2
CD
176812013-02-08 Carlos O'Donell <carlos@redhat.com>
17682
ddacd1db 17683 [BZ #15006]
b39949d2
CD
17684 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17685 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17686
b2c9eff4
JM
176872013-02-08 Joseph Myers <joseph@codesourcery.com>
17688
f3aae3f3
JM
17689 [BZ #13550]
17690 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17691 (CHECK_1_NULL_OK): Likewise.
17692 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17693 (__fxstat): Do not use CHECK_1.
17694 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17695 <bp-checks.h>.
17696 (___fxstat64): Do not use CHECK_1.
17697 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17698 <bp-checks.h>.
17699 (__fxstatat): Do not use CHECK_1.
17700 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17701 <bp-checks.h>.
17702 (__fxstatat64): Do not use CHECK_1.
17703 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17704 <bp-checks.h>.
17705 (__fxstat): Do not use CHECK_1.
17706 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17707 <bp-checks.h>.
17708 (__fxstatat): Do not use CHECK_1.
17709 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17710 <bp-checks.h>.
17711 (__getresgid): Do not use CHECK_1.
17712 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17713 <bp-checks.h>.
17714 (__getresuid): Do not use CHECK_1.
17715 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17716 <bp-checks.h>.
17717 (__lxstat): Do not use CHECK_1.
17718 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17719 <bp-checks.h>.
17720 (__old_msgctl): Do not use CHECK_1.
17721 (__new_msgctl): Likewise.
17722 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17723 <bp-checks.h>.
17724 (__new_setrlimit): Do not use CHECK_1.
17725 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17726 <bp-checks.h>.
17727 (__old_shmctl): Do not use CHECK_1.
17728 (__new_shmctl): Likewise.
17729 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17730 <bp-checks.h>.
17731 (__xstat): Do not use CHECK_1.
17732 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17733 (__lxstat): Do not use CHECK_1.
17734 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17735 <bp-checks.h>.
17736 (___lxstat64): Do not use CHECK_1.
17737 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17738 (__old_msgctl): Do not use CHECK_1.
17739 (__new_msgctl): Likewise.
17740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17741 <bp-checks.h>.
17742 (__gettimeofday): Do not use CHECK_1.
17743 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17744 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17745 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17746 <bp-checks.h>.
17747 (__gettimeofday): Do not use CHECK_1.
17748 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17749 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17750 (__new_shmctl): Do not use CHECK_1.
17751 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17752 <bp-checks.h>.
17753 (do_sigtimedwait): Do not use CHECK_1.
17754 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17755 <bp-checks.h>.
17756 (do_sigwaitinfo): Do not use CHECK_1.
17757 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17758 <bp-checks.h>.
17759 (msgctl): Do not use CHECK_1.
17760 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17761 <bp-checks.h>.
17762 (shmctl): Do not use CHECK_1.
17763 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17764 (ustat): Do not use CHECK_1.
17765 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17766 <bp-checks.h>.
17767 (__fxstat): Do not use CHECK_1.
17768 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17769 <bp-checks.h>.
17770 (__fxstatat): Do not use CHECK_1.
17771 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17772 <bp-checks.h>.
17773 (__lxstat): Do not use CHECK_1.
17774 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17775 <bp-checks.h>.
17776 (__xstat): Do not use CHECK_1.
17777 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17778 (__xstat): Do not use CHECK_1.
17779 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17780 (___xstat64): Do not use CHECK_1.
17781
b2c9eff4
JM
17782 [BZ #13550]
17783 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17784 definitions.
17785 (CHECK_BOUNDS_HIGH): Likewise.
17786 * string/strcpy.c: Do not include <bp-checks.h>.
17787 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17788
f1d70dad
RM
177892013-02-07 Roland McGrath <roland@hack.frob.com>
17790
17791 * nscd/nscd-client.h (__nscd_drop_map_ref):
17792 Add __attribute__ ((unused)).
17793 * nis/nss-nisplus.h (niserr2nss): Likewise.
17794
17795 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17796 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17797
17798 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17799 Remove inline keyword.
17800 * include/rounding-mode.h (round_away): Likewise.
17801 * libio/wfileops.c (adjust_wide_data): Likewise.
17802 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17803 (__m128i_strloadu_tolower): Likewise.
17804 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17805 (__m128i_strloadu_tolower): Likewise.
17806 * time/mktime.c (ydhms_diff): Likewise.
17807 * locale/elem-hash.h (elem_hash): Likewise.
17808 * locale/setlocale.c (setdata): Likewise.
17809 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17810 (re_string_wchar_at): Likewise.
17811 (bitset_not, bitset_merge, bitset_mask): Likewise.
17812 [!(__GNUC__ > 3)] (inline): Remove macro.
17813 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17814 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17815 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17816 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17817 * string/memcmp.c (memcmp_bytes): Likewise.
17818 * locale/programs/locarchive.c (compute_hashval): Likewise.
17819 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17820 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17821 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17822 * nss/getent.c (print_rpc, print_protocols): Likewise.
17823 (print_passwd, print_group, print_aliases): Likewise.
17824 * nis/nss-nisplus.h (niserr2nss): Likewise.
17825 * nscd/connections.c (restart_p): Likewise.
17826 Change return type to bool.
17827
eab55bfb
RM
178282013-02-05 Roland McGrath <roland@hack.frob.com>
17829
7bd642f5
RM
17830 * Makeconfig (all-Depend-files): Add existing
17831 $(sorted-subdirs:=/Depend) files.
17832 (all-subdirs): Remove nss.
17833 * sysdeps/unix/inet/Subdirs: Add it here instead.
17834 * hesiod/Depend: New file.
17835
573c29b2
RM
17836 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17837 instead of calling alloca.
17838
b2e25af0
RM
17839 * io/lseek.c (__lseek): Rename to __libc_lseek.
17840 Define __lseek as an alias.
17841
eab55bfb
RM
17842 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17843
9a0d1941
CD
178442013-02-04 Carlos O'Donell <carlos@redhat.com>
17845
17846 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17847 else clause and remove check for non-standard endianness.
17848
b83bbec4
DM
178492013-02-04 David S. Miller <davem@davemloft.net>
17850
17851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17852
6277fdab
JM
178532013-02-04 Joseph Myers <joseph@codesourcery.com>
17854
17855 [BZ #13550]
17856 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17857 (__ubp_memchr): Remove prototype.
17858 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17859 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17860 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17861 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17862 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17863 Remove alias.
17864 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17865 (__ubp_memchr): Likewise.
17866 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17867 (__ubp_memchr): Likewise.
17868 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17869 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17870 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17871 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17872 CHECK_STRING.
17873 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17874 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17875 (__getcwd): Do not use CHECK_STRING.
17876 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17877 <bp-checks.h>.
17878 (__real_chown): Do not use CHECK_STRING.
17879 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17880 <bp-checks.h>.
17881 (fchownat): Do not use CHECK_STRING.
17882 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17883 CHECK_STRING.
17884 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17885 <bp-checks.h>.
17886 (__lchown): Do not use CHECK_STRING.
17887 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17888 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17889 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17890 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17892 include <bp-checks.h>.
17893 (truncate64): Do not use CHECK_STRING.
17894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17895 <bp-checks.h>.
17896 (__real_chown): Do not use CHECK_STRING.
17897 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17898 <bp-checks.h>.
17899 (__lchown): Do not use CHECK_STRING.
17900 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17901 <bp-checks.h>.
17902 (__chown): Do not use CHECK_STRING.
17903 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17904 <bp-checks.h>.
17905 (truncate64): Do not use CHECK_STRING.
17906 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17907 Likewise.
17908 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17909 (__xmknod): Do not use CHECK_STRING.
17910 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17911 <bp-checks.h>.
17912 (__xmknodat): Do not use CHECK_STRING.
17913 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17914 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17915
903ae060
AS
179162013-02-04 Andreas Schwab <schwab@suse.de>
17917
17918 [BZ #14142]
17919 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17920 * include/netdb.h: Likewise for h_errno.
17921 * elf/tst-stackguard1.c: Include <tls.h>.
17922
542f9466
JK
179232013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17924
17925 * elf/link.h (struct link_map): Extend the l_addr comment.
17926 * include/link.h (struct link_map): Likewise.
17927
e782a927
JM
179282013-02-01 Joseph Myers <joseph@codesourcery.com>
17929
17930 [BZ #13550]
17931 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17932 (BOUNDED_1): Remove macro.
17933 * debug/backtrace.c: Don't include <bp-checks.h>.
17934 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17935 (__backtrace): Likewise.
17936 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17937 <bp-checks.h>.
17938 (__backtrace): Don't use BOUNDED_1.
17939 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17940 <bp-checks.h>.
17941 (__backtrace): Don't use BOUNDED_1.
17942 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17943 (__backtrace): Don't use BOUNDED_1.
17944 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17945 (shmat): Don't use BOUNDED_N.
17946
8cf28c5e
JM
179472013-01-31 Joseph Myers <joseph@codesourcery.com>
17948
3a7ac8a0
JM
17949 [BZ #13550]
17950 * sysdeps/generic/bp-start.h: Remove file.
17951 * csu/libc-start.c: Don't include <bp-start.h>.
17952 (LIBC_START_MAIN): Set up __environ directly instead of using
17953 INIT_ARGV_and_ENVIRON.
17954 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17955 <bp-start.h>.
17956
f3499f95
JM
17957 [BZ #13550]
17958 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17959 definitions.
17960 (CHECK_FCNTL): Likewise.
17961 (CHECK_N_PAGES): Likewise.
17962
32a45bea
JM
17963 [BZ #13550]
17964 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17965 definitions.
17966 (CHECK_SIGSET_NULL_OK): Likewise.
17967 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17968 <bp-checks.h>.
17969 (sigpending): Don't use CHECK_SIGSET.
17970 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17971 <bp-checks.h>.
17972 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17973 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17974 <bp-checks.h>.
17975 (do_sigsuspend): Don't use CHECK_SIGSET.
17976 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17977 use CHECK_SIGSET.
17978 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17979 (do_sigwait): Don't use CHECK_SIGSET.
17980 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17981 use CHECK_SIGSET.
17982 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17983 include <bp-checks.h>.
17984 (sigpending): Don't use CHECK_SIGSET.
17985 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17986 include <bp-checks.h>.
17987 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17988 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17989 <bp-checks.h>.
17990 (sigpending): Don't use CHECK_SIGSET.
17991 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17992 <bp-checks.h>.
17993 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17994
2e8a5c8c
JM
17995 [BZ #13550]
17996 * sysdeps/generic/bp-semctl.h: Remove file.
17997 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17998 <bp-checks.h> and <bp-semctl.h>.
17999 (__old_semctl): Don't use CHECK_SEMCTL.
18000 (__new_semctl): Likewise.
18001 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18002 and <bp-semctl.h>.
18003 (__old_semctl): Don't use CHECK_SEMCTL.
18004 (__new_semctl): Likewise.
18005 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18006 <bp-checks.h> and <bp-semctl.h>.
18007 (__old_semctl): Don't use CHECK_SEMCTL.
18008 (__new_semctl): Likewise.
18009 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18010 <bp-checks.h> and <bp-semctl.h>.
18011 (semctl): Don't use CHECK_SEMCTL.
18012
c2d54929
JM
18013 [BZ #13550]
18014 * Makerules (elide-bp-thunks): Remove variable.
18015 (elide-routines.oS): Don't use $(elide-bp-thunks).
18016 (elide-routines.os): Likewise.
18017 (elide-routines.o): Likewise.
18018 (elide-routines.op): Likewise.
18019 (elide-routines.og): Likewise.
18020 (objects): Don't use $(bp-thunks).
18021 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18022 include.
18023 (common-generated): Do not add s-proto-bp.d.
18024 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18025 (int): Likewise.
18026 (typ): Likewise.
18027 Do not generate makefile rules for bounded-pointer thunks.
18028 * sysdeps/generic/bp-thunks.h: Remove file.
18029 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18030 * sysdeps/unix/s-proto-bp.S: Likewise.
18031
8cf28c5e
JM
18032 [BZ #15062]
18033 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18034 parts of result separately when argument is not close to line from
18035 -i to i and one part of argument is small.
18036 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18037 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18038 * math/libm-test.inc (cacos_test): Add more tests.
18039 (casin_test): Likewise.
18040 (casinh_test): Likewise.
18041 * sysdeps/i386/fpu/libm-test-ulps: Update.
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18043
c4e33b8d
DM
180442013-01-31 David S. Miller <davem@davemloft.net>
18045
18046 * po/de.po: Update from translation team.
18047
3b60b421
MK
180482013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18049
18050 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18051
bb931195
TS
180522013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18053
b5a5da23
TS
18054 * configure.in (_AC_PROG_CC_C89): New definition.
18055 * configure: Regenerate.
18056
bb931195
TS
18057 * configure.in (AC_PROG_CPP): New definition.
18058 * configure: Regenerate.
18059
8c53a12c
JM
180602013-01-23 Joseph Myers <joseph@codesourcery.com>
18061
18062 * debug/tst-backtrace.h: New file.
18063 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18064 (ret): Remove variable.
18065 (x): Likewise.
18066 (FAIL): Remove macro.
18067 (NO_INLINE): Likewise.
18068 (fn1): Use match function instead of strstr.
18069 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18070 (ret): Remove variable.
18071 (x): Likewise.
18072 (FAIL): Remove macro.
18073 (NO_INLINE): Likewise.
18074 (fn): Use match function instead of strstr.
18075 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18076 (ret): Remove variable.
18077 (x): Likewise.
18078 (FAIL): Remove macro.
18079 (NO_INLINE): Likewise.
18080 (handle_signal): Use match function instead of strstr.
18081 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18082 (ret): Remove variable.
18083 (x): Likewise.
18084 (FAIL): Remove macro.
18085 (NO_INLINE): Likewise.
18086 (handle_signal): Use match function instead of strstr.
18087
4858fa2a
RM
180882013-01-23 Roland McGrath <roland@hack.frob.com>
18089
18090 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18091
bae8e7f5
DM
180922013-01-23 David S. Miller <davem@davemloft.net>
18093
18094 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18095 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18096 argument of CAS if possible.
18097 * sysdeps/sparc/sparc64/bits/atomic.h
18098 (__arch_compare_and_exchange_val_32_acq): Likewise.
18099 (__arch_compare_and_exchange_val_64_acq): Likewise.
18100
9cbbc4ae
PT
181012013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18102
18103 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18104 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18105 Include <limits.h>.
67b3f58c 18106 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18107
5655a0b5
AC
181082013-01-23 Adam Conrad <adconrad@0c3.net>
18109
18110 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18111 (LDFLAGS-tst-array5): Likewise.
18112
052aff95
JM
181132013-01-23 Joseph Myers <joseph@codesourcery.com>
18114
18115 [BZ #15036]
18116 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18117 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18118 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18119 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18120
7c1e01aa
DM
181212013-01-21 David S. Miller <davem@davemloft.net>
18122
18123 * sysdeps/sparc/backtrace.c: New file.
18124 * sysdeps/sparc/sparc32/backtrace.h: New file.
18125 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18126 * sysdeps/sparc/sparc64/backtrace.h: New file.
18127 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18128 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18129 -funwind-tables.
18130
ab087e0a
AS
181312013-01-21 Andreas Schwab <schwab@suse.de>
18132
18133 [BZ #15020]
18134 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18135 closed its stdout.
18136
ed689c2f
AS
181372013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18138
18139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18140 "mpa2.h".
18141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18142
31d470ac
JM
181432013-01-18 Joseph Myers <joseph@codesourcery.com>
18144 Mark Mitchell <mark@codesourcery.com>
18145 Tom de Vries <tom@codesourcery.com>
18146 Paul Pluzhnikov <ppluzhnikov@google.com>
18147
18148 * debug/tst-backtrace2.c: New file.
18149 * debug/tst-backtrace3.c: Likewise.
18150 * debug/tst-backtrace4.c: Likewise.
18151 * debug/tst-backtrace5.c: Likewise.
18152 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18153 (CFLAGS-tst-backtrace3.c): Likewise.
18154 (CFLAGS-tst-backtrace4.c): Likewise.
18155 (CFLAGS-tst-backtrace5.c): Likewise.
18156 (LDFLAGS-tst-backtrace2): Likewise.
18157 (LDFLAGS-tst-backtrace3): Likewise.
18158 (LDFLAGS-tst-backtrace4): Likewise.
18159 (LDFLAGS-tst-backtrace5): Likewise.
18160 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18161 tst-backtrace4 and tst-backtrace5.
18162
90567f30 181632013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18164 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18165
18166 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18167 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18168 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18169 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18171 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18172 "+r" and remove output regs list as redundant. Add explicit inline
18173 asm to specify register of return val to work around compiler codegen
18174 bug. Remove (int) cast on return value. Add return type parameter to
18175 use in macro so that this macro does not truncate return value for
18176 64-bit values.
18177 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18178 pass to INTERNAL_VSYSCALL_NCS.
18179 (INLINE_VSYSCALL): Add 'long int' as return type to
18180 INTERNAL_VSYSCALL_NCS macro invocation.
18181 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18182 INTERNAL_VSYSCALL_NCS macro invocation.
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18184
d3b9ea61
SP
181852013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18186
0b57daeb
SP
18187 [BZ #14496]
18188 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18189 Fix application of SIMD FP exception mask.
18190
caa99d06
SP
18191 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18192 mp_no from a power of two.
18193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18194 __mpexp_twomm1. Use __pow_mp.
18195
d3b9ea61
SP
18196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18197 multiplication.
18198
1dbaee3c
DM
181992013-01-17 David S. Miller <davem@davemloft.net>
18200
18201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18202
728d7b43
JM
182032013-01-17 Joseph Myers <joseph@codesourcery.com>
18204
18205 [BZ #15023]
18206 * include/complex.h: Condition contents on [!_COMPLEX_H].
18207 (__kernel_casinhf): New prototype.
18208 (__kernel_casinh): Likewise.
18209 (__kernel_casinhl): Likewise.
18210 * math/Makefile (libm_calls): Add k_casinh.
18211 * math/k_casinh.c: New file.
18212 * math/k_casinhf.c: Likewise.
18213 * math/k_casinhl.c: Likewise.
18214 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18215 finite nonzero arguments.
18216 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18217 finite nonzero arguments.
18218 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18219 finite nonzero arguments.
18220 * math/s_casinh.c: Do not include <float.h>.
18221 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18222 * math/s_casinhf.c: Do not include <float.h>.
18223 (__casinhf): Move code for finite nonzero arguments to
18224 k_casinhf.c.
18225 * math/s_casinhl.c: Do not include <float.h>.
18226 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18227 redefine.
18228 (__casinhl): Move code for finite nonzero arguments to
18229 k_casinhl.c.
18230 * math/libm-test.inc (cacos_test): Add more tests.
18231 * sysdeps/i386/fpu/libm-test-ulps: Update.
18232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18233
2a26ef3a
PT
182342013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18235
18236 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18237 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18238 [!HAVE_MREMAP]: Remove [defined linux] case.
18239 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18240
a897655d
SP
182412013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18242
18243 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18244
881ebe89 182452013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18246
18247 * elf/elf.h (R_386_SIZE32): New relocation.
18248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18249 R_386_SIZE32.
18250 (elf_machine_rela): Likewise.
18251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18252 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18253
59981e9b
JM
182542013-01-17 Joseph Myers <joseph@codesourcery.com>
18255
18256 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18257 (FP_FAST_FMA): Do not define.
18258 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18259 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18260 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18261 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18262 !_SOFT_FLOAT]: Likewise.
18263 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18264 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18265 value.
18266 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18267 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18268 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18269 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18270 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18271 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18272 file.
18273
cfa8054f
AS
182742013-01-16 Andreas Schwab <schwab@suse.de>
18275
18276 [BZ #14327]
18277 * include/stdlib.h (__mktemp): Add declaration.
18278 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18279 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18280
dd930cc5
SP
182812013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18282
881ebe89
SP
18283 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18284 definitions.
18285 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18286 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18287 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18288 definitions here.
18289 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18290 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18291 definitions.
18292 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18293 and ONE.
18294 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18295 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18296 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18297 definitions.
18298 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18299 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18300 definitions.
18301 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18302
dd930cc5
SP
18303 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18304
c19a9f89
DM
183052013-01-15 David S. Miller <davem@davemloft.net>
18306
1aa61767
DM
18307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18308 trunc{,f} to libm-sysdep_routes.
18309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18311 file.
18312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18314 file.
18315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18316 file.
18317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18319 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18320 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18321 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18322 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18323 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18324 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18325
c42d5e98
DM
18326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18327 nearbyint{,f} to libm-sysdep_routes.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18330 New file.
18331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18332 file.
18333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18334 New file.
18335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18336 file.
18337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18339 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18340 file.
18341 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18342 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18343 file.
18344 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18345 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18346 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18347
c19a9f89
DM
18348 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18349 libc_feholdexcept and libc_fesetenv.
18350
357679d2
MF
183512013-01-15 Mike Frysinger <vapier@gentoo.org>
18352
18353 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18354
65a82e3d
DM
183552013-01-14 David S. Miller <davem@davemloft.net>
18356
8b954ab9
DM
18357 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18358 (SPARC_ASM_VIS2_IFUNC): Likewise.
18359 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18361 use of 'siam' instruction.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18363 Likewise.
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18365 Likewise.
18366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18367 Likewise.
18368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18373 file.
18374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18375 file.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18377 file.
18378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18379 file.
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18385 new VIS2 routines.
18386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18389 Likewise.
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18395 routines to libm-sysdep_routines.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18397
65a82e3d
DM
18398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18399 fdim/fdimf to libm-sysdep_routines.
18400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18401 file.
18402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18404 file.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18408 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18409 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18410 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18411 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18412
e34ab705
SP
184132013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18414
2a91b573
SP
18415 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18416 to optimize copies.
18417
1066a534
SP
18418 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18421
e34ab705
SP
18422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18423 local variable MPTWO.
18424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18425 Likewise.
18426
aba5e596
MF
184272013-01-13 Mike Frysinger <vapier@gentoo.org>
18428
18429 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18430 GLOB_NOESCAPE.
18431
e557e9e5
MF
184322013-01-13 Mike Frysinger <vapier@gentoo.org>
18433
18434 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18435
0428cec9
MF
184362013-01-13 Mike Frysinger <vapier@gentoo.org>
18437
18438 * manual/pattern.texi (glob_t): Document gl_flags.
18439 (glob64_t): Likewise.
18440
8794a964
DM
184412013-01-11 David S. Miller <davem@davemloft.net>
18442
66438c3f
RM
18443 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18444 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18445 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18446 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18447 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18448 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18449 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18450 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18451 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18452 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18453 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18454 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18455 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18456
4ae4244d
DM
18457 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18458 sparc V9 rather than using V8 code.
18459 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18460 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18461
8794a964
DM
18462 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18463 Move to...
18464 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18465 Here.
18466
6270516e
RM
184672013-01-11 Roland McGrath <roland@hack.frob.com>
18468
18469 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18470 not in the main loop.
18471 * configure: Regenerated.
18472
6a57d931
JM
184732013-01-11 Joseph Myers <joseph@codesourcery.com>
18474
18475 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18476 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18477 to just #else.
18478 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18479 [!__GLIBC_HAVE_LONG_LONG] case.
18480 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18481 condition to just #else.
18482 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18483 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18484 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18485 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18486 unconditional.
18487 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18488 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18489 #elif condition to just #else.
18490 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18491 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18492 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18493 #elif condition to just #else.
18494
0e8529e9
SE
184952013-01-11 Steve Ellcey <sellcey@mips.com>
18496
18497 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18498 (EF_MIPS_ARCH_64): Fix value.
18499 (EF_MIPS_ARCH_32R2): New.
18500 (EF_MIPS_ARCH_64R2): New.
18501
740b3dbe
L
185022013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18503
18504 * Makeconfig (+link-pie-before-libc): New.
18505 (+link-pie-after-libc): Likewise.
18506 (+link-pie-tests): Likewise.
18507 (+link-pie): Rewritten.
18508 (link-before-libc): Remove $(config-LDFLAGS).
18509 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18510 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18511 (config-LDFLAGS): Renamed to ...
18512 (rtld-LDFLAGS): This.
18513 (rtld-tests-LDFLAGS): New macro.
18514 (link-libc-rpath-link): Likewise.
18515 (link-libc-tests-rpath-link): Likewise.
18516 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18517 (link-libc): Prepand $(link-libc-rpath-link).
18518 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18519 (test-program-prefix): New macro.
18520 (test-via-rtld-prefix): Likewise.
18521 (test-program-cmd): Likewise.
18522 (host-test-program-cmd): Likewise.
18523 * Makefile ($(common-objpfx)testrun.sh): Replace
18524 $(run-program-prefix) with $(test-program-prefix).
18525 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18526 $(rtld-LDFLAGS).
18527 ($(common-objpfx)shlib.lds): Likewise.
18528 (build-module-helper): Likewise.
18529 ($(common-objpfx)format.lds): Likewise.
18530 * Rules (binaries-pie-tests): New.
18531 (binaries-pie-notests): Likewise.
18532 (binaries-pie): Rewritten.
18533 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18534 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18535 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18536 (make-test-out): Replace $(host-built-program-cmd) with
18537 $(host-test-program-cmd).
18538 * config.make.in (build-hardcoded-path-in-tests): New variable.
18539 * configure.in (--enable-hardcoded-path-in-tests): New configure
18540 option.
18541 (hardcoded_path_in_tests): New AC_SUBST.
18542 * configure: Regenerated.
18543 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18544 $(built-program-cmd) with $(test-program-cmd).
18545 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18546 (test_program_cmd): This.
18547 * elf/Makefile ($(objpfx)order.out): Run test with
18548 $(test-program-prefix).
18549 ($(objpfx)order2.out): Likewise.
18550 ($(objpfx)tst-initorder.out): Likewise.
18551 ($(objpfx)tst-initorder2.out): Likewise.
18552 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18553 $(test-program-cmd).
18554 ($(objpfx)tst-array1-static.out): Likewise.
18555 ($(objpfx)tst-array2.out): Likewise.
18556 ($(objpfx)tst-array3.out): Likewise.
18557 ($(objpfx)tst-array4.out): Likewise.
18558 ($(objpfx)tst-array5.out): Likewise.
18559 ($(objpfx)tst-array5-static.out): Likewise.
18560 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18561 $(test-program-cmd).
18562 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18563 $(run-program-prefix) with $(test-program-prefix).
18564 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18565 (test_program_prefix): This.
18566 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18567 $(run-program-prefix) with $(test-program-prefix).
18568 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18569 (test_program_prefix): This.
18570 * iconvdata/tst-tables.sh: Likewise.
18571 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18572 $(run-program-prefix) with $(test-program-prefix).
18573 ($(objpfx)tst-translit.out): Likewise.
18574 ($(objpfx)tst-gettext2.out): Likewise.
18575 ($(objpfx)tst-gettext4.out): Likewise.
18576 ($(objpfx)tst-gettext6.out): Likewise.
18577 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18578 (test_program_prefix): This.
18579 * intl/tst-gettext2.sh: Likewise.
18580 * intl/tst-gettext4.sh Likewise.
18581 * intl/tst-gettext6.sh: Likewise.
18582 * intl/tst-translit.sh: Likewise.
18583 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18584 with $(test-program-cmd).
18585 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18586 $(run-program-prefix) with $(test-program-prefix).
18587 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18588 (test_program_prefix): This.
18589 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18590 $(run-program-prefix) with $(test-program-prefix).
18591 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18592 (test_program_prefix): This.
18593 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18594 * posix/Makefile ($(objpfx)globtest.out): Replace
18595 $(run-via-rtld-prefix) and $(test-wrapper) with
18596 $(test-program-prefix) and $(test-via-rtld-prefix).
18597 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18598 $(test-program-prefix).
18599 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18600 $(host-test-program-cmd).
18601 (tst-spawn-ARGS): Likewise.
18602 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18603 $(test-program-prefix).
18604 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18605 (test_via_rtld_prefix): This.
18606 (test_wrapper): Renamed to ...
18607 (test_program_prefix): This.
18608 (run_program_prefix): Replaced by test_program_prefix.
18609 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18610 (test_program_prefix): This.
18611 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18612 with $(host-test-program-cmd).
18613 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18614 $(run-program-prefix) with $(test-program-prefix).
18615 ($(objpfx)tst-printf.out): Likewise.
18616 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18617 $(test-program-cmd).
18618 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18619 (test_program_prefix): This.
18620 * stdio-common/tst-unbputc.sh: Likewise.
18621 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18622 $(run-program-prefix) with $(test-program-prefix).
18623 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18624 (test_program_prefix): This.
18625 * string/Makefile ($(objpfx)tst-svc.out): Replace
18626 $(built-program-cmd) with $(test-program-cmd).
18627
c6fe55cf
AJ
186282013-01-11 Andreas Jaeger <aj@suse.de>
18629
18630 [BZ #15003]
18631 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18632 value. Sync with Linux 3.7.
18633
9e6919c8
DM
186342013-01-10 David S. Miller <davem@davemloft.net>
18635
18636 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18637 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18638 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18639
1c9f1a02
RM
186402013-01-10 Roland McGrath <roland@hack.frob.com>
18641
18642 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18643 never set.
18644 * configure: Regenerated.
18645
b9de2dde
DM
186462013-01-10 David S. Miller <davem@davemloft.net>
18647
18648 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18649 sparc V9 rather than using V8 code.
18650 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18651 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18652
e7f68ef4
RM
186532013-01-10 Roland McGrath <roland@hack.frob.com>
18654
18655 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18656 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18657 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18658 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18659 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18660 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18661 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18662 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18663 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18664 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18665 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18666 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18667 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18668 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18669 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18670 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18671 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18672 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18673 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18674 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18675 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18676 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18677 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18678 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18679 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18680 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18681 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18682
5a47cc9c
DM
186832013-01-10 David S. Miller <davem@davemloft.net>
18684
18685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18686
4cf8f209
L
186872013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18688
18689 * posix/Makefile (tests-static): New variable.
18690 (tests): Add $(tests-static).
18691 (tst-exec-static-ARGS): New variable.
18692 (tst-spawn-static-ARGS): Likewise.
18693 * posix/tst-exec-static.c: New file.
18694 * posix/tst-spawn-static.c: Likewise.
18695 * posix/tst-exec.c: Support run directly.
18696 * posix/tst-spawn.c: Likewise.
18697
fed0faa1
JM
186982013-01-10 Joseph Myers <joseph@codesourcery.com>
18699
828beb13
JM
18700 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18701 long.
18702 * math/bits/mathcalls.h (llrint): Likewise.
18703 (llround): Likewise.
18704 * stdlib/stdlib.h (struct drand48_data): Likewise.
18705 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18706 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18707 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18708 Likewise.
18709 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18710 Likewise.
18711 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18712 (elf_greg_t): Likewise.
18713 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18714 (__jmp_buf): Likewise.
18715 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18716 definitions.
18717 (llrint): Likewise, for all definitions.
18718 (llrintl): Likewise.
18719
fed0faa1
JM
18720 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18721 Remove [__GNUC__] condition.
18722 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18723 condition to just [__USE_ISOC99].
18724 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18725
1a20cb20
L
187262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18727
18728 [BZ #14200]
18729 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18730 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18731 defined.
18732 (_POSIX_V6_ILP32_OFF32): Likewise.
18733 (_XBS5_ILP32_OFF32): Likewise.
18734 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18735 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18736
751b85f7
SP
187372013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18738
7490eb81
SP
18739 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18740
751b85f7
SP
18741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18742 doubles __mpexp_twomm1. Adjust usage.
18743 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18744 Remove.
18745
988197f0
AS
187462013-01-10 Andreas Schwab <schwab@suse.de>
18747
18748 [BZ #14964]
18749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18750 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18751
e83d7298
DM
187522013-01-09 David S. Miller <davem@davemloft.net>
18753
034ed64b 18754 [BZ #15003]
e83d7298
DM
18755 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18756 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18757 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18758 TCP_FASTOPEN): Define.
18759 (tcp_repair_opt): New structure.
18760 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18761 enum values.
18762 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18763 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18764 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18765 (tcp_cookie_transactions): New structure.
18766
d5e0b9bd
AB
187672013-01-09 Anton Blanchard <anton@samba.org>
18768
18769 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18770 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18771 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18772 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18773
0c07e3ea
JM
187742013-01-09 Joseph Myers <joseph@codesourcery.com>
18775
18776 * include/features.h (__USE_ANSI): Remove.
18777
232f7002
RM
187782013-01-09 Roland McGrath <roland@hack.frob.com>
18779
ad98e30c
RM
18780 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18781
232f7002
RM
18782 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18783
950c99ca
SP
187842013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18785
b5792741
SP
18786 * sysdeps/s390/fpu/libm-test-ulps: Update.
18787
47cf2278
SP
18788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18789
950c99ca
SP
18790 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18791 (__acr): Likewise.
18792 (__cpy): Likewise.
18793 (norm): Likewise.
18794 (denorm): Likewise.
18795 (__mp_dbl): Likewise.
18796 (__dbl_mp): Likewise.
18797 (add_magnitudes): Likewise.
18798 (sub_magnitudes): Likewise.
18799 (__add): Likewise.
18800 (__sub): Likewise.
18801 (__mul): Likewise.
18802 (__inv): Likewise.
18803 (__dvd): Likewise.
18804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18805 (__acr): Likewise.
18806 (__cpy): Likewise.
18807 (norm): Likewise.
18808 (denorm): Likewise.
18809 (__mp_dbl): Likewise.
18810 (__dbl_mp): Likewise.
18811 (add_magnitudes): Likewise.
18812 (sub_magnitudes): Likewise.
18813 (__add): Likewise.
18814 (__sub): Likewise.
18815 (__mul): Likewise.
18816 (__inv): Likewise.
18817 (__dvd): Likewise.
18818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18819 (__acr): Likewise.
18820 (__cpy): Likewise.
18821 (norm): Likewise.
18822 (denorm): Likewise.
18823 (__mp_dbl): Likewise.
18824 (__dbl_mp): Likewise.
18825 (add_magnitudes): Likewise.
18826 (sub_magnitudes): Likewise.
18827 (__add): Likewise.
18828 (__sub): Likewise.
18829 (__mul): Likewise.
18830 (__inv): Likewise.
18831 (__dvd): Likewise.
18832
eede9df9
JM
188332013-01-08 Joseph Myers <joseph@codesourcery.com>
18834
18835 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18836 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18837 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18838 2 && __USE_EXTERN_INLINES]: Likewise.
18839
c40ea3d9
AJ
188402013-01-08 Andreas Jaeger <aj@suse.de>
18841
18842 [BZ# 14985]
18843 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18844 Remove.
18845 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18846 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18847
2ccdea26
AB
188482013-01-07 Anton Blanchard <anton@samba.org>
18849
18850 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18851 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18852 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18853 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18854 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18855 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18856 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18857 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18859 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18860 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18861 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18862 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18863 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18864 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18865 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18867 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18868 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18869 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18870 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18871 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18873 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18874 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18875 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18876 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18877 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18879 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18880 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18882 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18883 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18884 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18885 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18886 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18888 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18889 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18890 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18892 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18893
a9708fed
JM
188942013-01-07 Joseph Myers <joseph@codesourcery.com>
18895
375607b9
JM
18896 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18897 (__MALLOC_PMT): Likewise.
18898 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18899 [__GNUC__], only on [_LIBC].
18900 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18901 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18902 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18903 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18904 forward declaration.
18905 (realloc_hook_ini): Likewise.
18906 (memalign_hook_ini): Likewise.
18907 (__libc_memalign): Do not use __MALLOC_PMT in variable
18908 declaration.
18909 (__libc_valloc): Likewise.
18910 (__libc_pvalloc): Likewise.
18911 (__libc_calloc): Likewise.
18912 (__posix_memalign): Likewise.
18913
a9708fed
JM
18914 [BZ #14996]
18915 * math/s_casinh.c: Include <float.h>.
18916 (__casinh): Do not do computation with squaring and square root
18917 for large arguments.
18918 * math/s_casinhf.c: Include <float.h>.
18919 (__casinhf): Do not do computation with squaring and square root
18920 for large arguments.
18921 * math/s_casinhl.c: Include <float.h>.
18922 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18923 (__casinhl): Do not do computation with squaring and square root
18924 for large arguments.
18925 * math/libm-test.inc (casin_test): Add more tests.
18926 (casinh_test): Likewise.
18927 * sysdeps/i386/fpu/libm-test-ulps: Update.
18928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18929
afec409a
L
189302013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18933 (__x86_64_raw_data_cache_size): Likewise.
18934 (__x86_64_data_cache_size_half): Likewise.
18935 (__x86_64_raw_data_cache_size_half): Likewise.
18936 (__x86_64_shared_cache_size): Likewise.
18937 (__x86_64_raw_shared_cache_size): Likewise.
18938 (__x86_64_shared_cache_size_half): Likewise.
18939 (__x86_64_raw_shared_cache_size_half): Likewise.
18940 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18941 to ...
18942 (__x86_data_cache_size): This.
18943 (__x86_64_raw_data_cache_size): Renamed to ...
18944 (__x86_raw_data_cache_size): This.
18945 (__x86_64_data_cache_size_half): Renamed to ...
18946 (__x86_data_cache_size_half): This.
18947 (__x86_64_raw_data_cache_size_half): Renamed to ...
18948 (__x86_raw_data_cache_size_half): This.
18949 (__x86_64_shared_cache_size): Renamed to ...
18950 (__x86_shared_cache_size): This.
18951 (__x86_64_raw_shared_cache_size): Renamed to ...
18952 (__x86_raw_shared_cache_size): This.
18953 (__x86_64_shared_cache_size_half): Renamed to ...
18954 (__x86_shared_cache_size_half): This.
18955 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18956 (__x86_raw_shared_cache_size_half): This.
18957 * sysdeps/x86_64/memcpy.S: Updated.
18958 * sysdeps/x86_64/memset.S: Likewise.
18959 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18960 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18961 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18962
0b3986d0
DM
189632013-01-04 David S. Miller <davem@davemloft.net>
18964
18965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18966
e47686e9
AS
189672013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18968
d643bac1
AS
18969 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18970 1 to avoid redefinition warning.
18971 (__USE_GNU): Don't define.
18972 (init_signaling_nan): Protoize.
18973
e47686e9
AS
18974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18975
b18decba
SP
189762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18977
fffb407f
SP
18978 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18980 (__cpymn): Likewise.
18981 (norm): Remove commented code.
18982 (denorm): Likewise.
18983 (__mp_dbl): Likewise.
18984 (__inv): Likewise.
18985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18986 (__cpymn): Likewise.
18987 (norm): Remove commented code.
18988 (denorm): Likewise.
18989 (__mp_dbl): Likewise.
18990 (__inv): Likewise.
18991
b18decba
SP
18992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18993 mp_no value for 1.0 and 2.0.
18994 (norm): Use RADIXI instead of radixi.d.
18995 (denorm): Likewise.
18996 (__mul): Use 0.0 instead of zero.d.
18997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18998 mp_no value for 1.0 and 2.0.
18999 (norm): Use RADIXI instead of radixi.d.
19000 (denorm): Likewise.
19001 (__mul): Use 0.0 instead of zero.d.
19002
cdc1c96f
JM
190032013-01-04 Joseph Myers <joseph@codesourcery.com>
19004
19005 [BZ #14994]
19006 * math/s_casinh.c (__casinh): Reduce finite argument to first
19007 quadrant then set signs of results at the end.
19008 * math/s_casinhf.c (__casinhf): Likewise.
19009 * math/s_casinhl.c (__casinhl): Likewise.
19010 * math/libm-test.inc (casin_test): Add more tests.
19011 (casinh_test): Likewise.
19012 * sysdeps/i386/fpu/libm-test-ulps: Update.
19013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19014
302913e1
SP
190152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19016
6420d207
SP
19017 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19018
a9e48ab4
SP
19019 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19020
b7837264
SP
19021 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19022 declarations.
19023 (denorm): Likewise.
19024 (__mp_dbl): Likewise.
19025 (__inv): Likewise.
19026
f8af25d2
SP
19027 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19028 and adjust the header comment.
19029
302913e1
SP
19030 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19031 variable name from declaration.
19032
5d7dd1ca
L
190332013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19034
19035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19036 Initialize COMMON_CPUID_INDEX_7 element.
19037 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19038 (CPUID_RTM): Likewise.
19039 (HAS_RTM): Likewise.
19040 (COMMON_CPUID_INDEX_7): New enum.
19041
2f5f40f4
AS
190422013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19043
19044 [BZ #14981]
19045 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19046 size is zero, record memory as freed.
19047
4056f4a0
AJ
190482013-01-03 Andreas Jaeger <aj@suse.de>
19049
19050 * po/ia.po: Add new Interlingua translation.
19051
ab15736f 190522012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19053
19054 * locale/programs/localedef.c: Fix description of '--posix' flag.
19055
568035b7
JM
190562013-01-02 Joseph Myers <joseph@codesourcery.com>
19057
e6898b8d
JM
19058 * NEWS: Update dates in second copyright notice.
19059 * README: Update copyright dates in example.
19060 * manual/libc.texinfo: Update copyright dates.
19061 * scripts/test-installation.pl: Update copyright date in --version
19062 output.
19063
0e2f9562
JM
19064 * hurd/ctty-input.c: Fix copyright notice formatting.
19065 * hurd/ctty-output.c: Likewise.
19066 * hurd/dtable.c: Likewise.
19067 * hurd/hurd-raise.c: Likewise.
19068 * hurd/hurdprio.c: Likewise.
19069 * hurd/msgportdemux.c: Likewise.
19070 * misc/sys/file.h: Likewise.
19071 * misc/sys/ioctl.h: Likewise.
19072 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19073 * sysdeps/mach/hurd/chdir.c: Likewise.
19074 * sysdeps/mach/hurd/fchdir.c: Likewise.
19075 * sysdeps/mach/hurd/rename.c: Likewise.
19076 * sysdeps/mach/hurd/rmdir.c: Likewise.
19077 * sysdeps/mach/hurd/seekdir.c: Likewise.
19078 * sysdeps/mach/hurd/setsid.c: Likewise.
19079 * sysdeps/posix/wait3.c: Likewise.
19080
568035b7
JM
19081 * All files with FSF copyright notices: Update copyright dates
19082 using scripts/update-copyrights.
19083 * intl/plural.c: Regenerated.
19084 * locale/programs/charmap-kw.h: Likewise.
19085 * locale/programs/locfile-kw.h: Likewise.
19086
da08f647
SP
190872013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19088
0f5477af
SP
19089 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19090 four values.
19091
44e0d4c2
SP
19092 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19093 calculation loop and add branch prediction.
19094
4d55b4e5
SP
19095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19096 check access beyond bounds of m1np.
19097
da08f647
SP
19098 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19099 MPTWO.
19100 (__inv): Remove local variable MPTWO to use the global
19101 constant.
19102 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19103 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19104 variable MPTWO.
19105 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19106 MP3HALFS static const.
19107
8e051029
DM
191082013-01-01 David S. Miller <davem@davemloft.net>
19109
19110 * po/ca.po: Update from translation team.
19111
f4cf5f2d
JM
191122013-01-01 Joseph Myers <joseph@codesourcery.com>
19113
19114 * scripts/update-copyrights: New file.
19115 * Makeconfig: Reformat copyright notice.
19116 * ctype/ctype.h: Likewise.
19117 * debug/swprintf_chk.c: Likewise.
19118 * elf/dl-cache.c: Likewise.
19119 * elf/dl-debug.c: Likewise.
19120 * elf/dl-object.c: Likewise.
19121 * grp/initgroups.c: Likewise.
19122 * hurd/Makefile: Likewise.
19123 * hurd/hurd/signal.h: Likewise.
19124 * hurd/hurdfault.c: Likewise.
19125 * hurd/hurdioctl.c: Likewise.
19126 * hurd/hurdlookup.c: Likewise.
19127 * hurd/intr-msg.c: Likewise.
19128 * iconv/gconv_open.c: Likewise.
19129 * libio/swprintf.c: Likewise.
19130 * locale/lc-ctype.c: Likewise.
19131 * locale/nl_langinfo.c: Likewise.
19132 * mach/Machrules: Likewise.
19133 * mach/Makefile: Likewise.
19134 * malloc/obstack.h: Likewise.
19135 * manual/Makefile: Likewise.
19136 * manual/tsort.awk: Likewise.
19137 * misc/bits/stab.def: Likewise.
19138 * nis/nis_print_group_entry.c: Likewise.
19139 * nis/nis_table.c: Likewise.
19140 * nis/nss_compat/compat-pwd.c: Likewise.
19141 * nis/nss_compat/compat-spwd.c: Likewise.
19142 * po/Makefile: Likewise.
19143 * posix/fnmatch.c: Likewise.
19144 * posix/regex.h: Likewise.
19145 * resolv/Makefile: Likewise.
19146 * resolv/nss_dns/dns-network.c: Likewise.
19147 * resolv/res_hconf.c: Likewise.
19148 * scripts/gen-sorted.awk: Likewise.
19149 * soft-fp/soft-fp.h: Likewise.
19150 * stdio-common/printf.h: Likewise.
19151 * stdlib/monetary.h: Likewise.
19152 * stdlib/random.c: Likewise.
19153 * stdlib/random_r.c: Likewise.
19154 * sysdeps/generic/Makefile: Likewise.
19155 * sysdeps/gnu/Makefile: Likewise.
19156 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19163 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19166 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19169 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19170 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19171 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19176 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19177 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19179 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19180 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19184 * sysdeps/mach/hurd/errnos.awk: Likewise.
19185 * sysdeps/mach/hurd/fork.c: Likewise.
19186 * sysdeps/mach/hurd/getcwd.c: Likewise.
19187 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19188 * sysdeps/mach/hurd/mmap.c: Likewise.
19189 * sysdeps/mach/hurd/utimes.c: Likewise.
19190 * sysdeps/mach/hurd/xmknod.c: Likewise.
19191 * sysdeps/posix/profil.c: Likewise.
19192 * sysdeps/posix/readdir_r.c: Likewise.
19193 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19194 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19195 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19196 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19198 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19199 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19200 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19202 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19203 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19204 * sysdeps/pthread/lio_listio.c: Likewise.
19205 * sysdeps/sparc/dl-procinfo.h: Likewise.
19206 * sysdeps/unix/i386/sysdep.S: Likewise.
19207 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19208 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19209 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19210 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19212 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19213 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19214 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19215 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19216 * sysdeps/wordsize-32/divdi3.c: Likewise.
19217 * time/sys/time.h: Likewise.
19218 * wcsmbs/Makefile: Likewise.
19219
0549fbba
DM
192202013-01-01 David S. Miller <davem@davemloft.net>
19221
a141f1a7
DM
19222 * po/fr.po: Update from translation team.
19223
0549fbba
DM
19224 * catgets/gencat.c: Update copyright year.
19225 * csu/version.c: Likewise.
19226 * debug/catchsegv.sh: Likewise.
19227 * debug/pcprofiledump.c: Likewise.
19228 * debug/xtrace.sh: Likewise.
19229 * elf/ldconfig.c: Likewise.
19230 * elf/ldd.bash.in: Likewise.
19231 * elf/pldd.c: Likewise.
19232 * elf/sotruss.ksh: Likewise.
19233 * elf/sprof.c: Likewise.
19234 * iconv/iconv_prog.c: Likewise.
19235 * iconv/iconvconfig.c: Likewise.
19236 * locale/programs/locale.c: Likewise.
19237 * locale/programs/localedef.c: Likewise.
19238 * login/programs/pt_chown.c: Likewise.
19239 * malloc/memusage.sh: Likewise.
19240 * malloc/memusagestat.c: Likewise.
19241 * malloc/mtrace.pl: Likewise.
19242 * nscd/nscd.c: Likewise.
19243 * nss/getent.c: Likewise.
19244 * nss/makedb.c: Likewise.
19245 * posix/getconf.c: Likewise.
19246
18ea052c
SP
192472012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19248
19249 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19250 numbers.
19251
9c89fca6
MF
192522012-12-30 Mike Frysinger <vapier@gentoo.org>
19253
19254 * math/bits/mathcalls.h (modf): Use __nonnull.
19255
085ec079
SP
192562012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19257
19258 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19259 (split): Use macro CN instead of the bare value.
19260 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19261 could be used.
19262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19263 instead of the bare value.
19264 (power1): Likewise.
19265
6d9f97e1
SP
192662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19267
d63f73be
SP
19268 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19269 __ATAN_TWOM.
19270 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19271
6d9f97e1
SP
19272 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19273 their values.
19274 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19275 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19276 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19277 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19278
4c4febf5
AJ
192792012-12-28 Andreas Jaeger <aj@suse.de>
19280
af5843ef
AJ
19281 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19282 values are from Linux 3.7.
19283
4c4febf5
AJ
19284 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19285 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19286
99136f82
SP
192872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19288
2f216c3c 19289 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19290 TRUE case.
19291
99136f82
SP
19292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19293 (norm): Likewise.
19294 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19295 variables with preprocessor constants.
19296 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19297 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19298 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19299
7fffbdff
BH
193002012-12-27 Bruno Haible <bruno@clisp.org>
19301
19302 [BZ #14317]
19303 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19304 only if needed.
19305
b76eb5f0
SP
193062012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19307
31a7fe5c
SP
19308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19309 and use variable directly.
19310 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19311
b76eb5f0
SP
19312 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19313 MPONE.
19314 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19315 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19316 variable MPONE.
19317 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19319 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19320 include directive. Remove local variable MPONE.
19321 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19322 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19323 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19324
2c8bfe7d
DM
193252012-12-25 David S. Miller <davem@davemloft.net>
19326
19327 * version.h (RELEASE): Set to "development".
19328 (VERSION): Set to "2.17.90".
19329 * NEWS: Add 2.18 section.
19330
147d03b0
DM
193312012-12-21 David S. Miller <davem@davemloft.net>
19332
19333 * po/hr.po: Update from translation team.
19334
a8ebb2b9
AK
193352012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19336
19337 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19338
95b4f1b6
SE
193392012-12-19 Steve Ellcey <sellcey@mips.com>
19340
b2d94007 19341 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19342
cedb2a90
MS
193432012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19344
19345 * manual/contrib.texi (Contributors): Spelling correction.
19346
bbf527d6
DM
193472012-12-15 David S. Miller <davem@davemloft.net>
19348
19349 * po/ru.po: Update from translation team.
19350
bc38c906
DM
193512012-12-13 David S. Miller <davem@davemloft.net>
19352
85429b1a
DM
19353 * NEWS: Mention IFUNC testsuite enhancements.
19354
d283e353
DM
19355 * po/pl.po: Update from translation team.
19356 * po/bg.po: Likewise.
19357
bc38c906
DM
19358 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19359 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19360
a181b0d7
DM
193612012-12-11 David S. Miller <davem@davemloft.net>
19362
4641d57e
DM
19363 * po/sv.po: Update from translation team.
19364
f7bc6495
DM
19365 * po/vi.po: Update from translation team.
19366
6fc9048f
DM
19367 * po/cs.po: Update from translation team.
19368
a181b0d7
DM
19369 * po/de.po: Update from translation team.
19370 * po/eo.po: Likewise.
19371 * po/nl.po: Likewise.
19372
f70bfe80
SP
193732012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19374
3c8b4190
SP
19375 [BZ #14246]
19376 * manual/argp.texi (Argp Helper Functions): Move node to follow
19377 Argp Parsing State.
19378
f70bfe80
SP
19379 [BZ #14872]
19380 * manual/conf.texi (Limits on File System Capacity): Mention if
19381 terminating null is included in the max size.
19382
188f0adf
AJ
193832012-12-10 Andreas Jaeger <aj@suse.de>
19384
19385 * po/cs.po: Update from translation team.
19386
56e7d3ad
SP
193872012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19388
19389 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19390 void pointer and cast to uintptr_t.
19391 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19392 path.
19393 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19394 * sysdeps/s390/s390-64/memset.S: Likewise.
19395
76f2d2ea 193962012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19397
19398 [BZ #14833]
19399 * menual/message.texi (Message Translation): Fix typos.
19400 (Helper programs for gettext): Likewise.
19401
67cbf9a2
AS
194022012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19403
19404 [BZ #14898]
19405 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19406 Change to -1.
19407
682d0e9a
DM
194082012-12-07 David S. Miller <davem@davemloft.net>
19409
19410 * po/libc.pot: Update.
19411
573cd484
RH
194122012-12-07 Richard Henderson <rth@redhat.com>
19413
7e9da188 19414 [BZ #10114]
573cd484
RH
19415 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19416 normal/normal case to before the switch.
19417 (_FP_DIV): Likewise.
19418
e933a943
MF
194192012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19420 Mike Frysinger <vapier@gentoo.org>
19421
19422 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19423 check for __NR_fadvise64_64.
19424
82123268
CM
194252012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19426
19427 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19428 0, not just to plain "0" as a statement.
19429 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19430 with cw.
19431
d9814526
JM
194322012-12-06 Joseph Myers <joseph@codesourcery.com>
19433
19434 * NEWS: Use sourceware.org in Bugzilla URL.
19435
7728c574
SP
194362012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19437
f16946dd
SP
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19439 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19440
5704bbcb
SP
19441 * stdio-common/tst-put-error.c (do_test): Add newline to the
19442 padded test to ensure flush.
19443
17aa0516
JL
194442012-12-05 Jeff Law <law@redhat.com>
19445
19446 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19447
363313b5
JM
194482012-12-05 Joseph Myers <joseph@codesourcery.com>
19449
effbd42a
JM
19450 * README: Don't refer to ports add-on as distributed separately.
19451 Mention AArch64 in list of systems supported in the ports add-on.
19452
87600365
JM
19453 * LICENSES: Add more non-FSF copyright and license notices.
19454
a0d7066a
JM
19455 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19456 ((unused)).
19457
66ca5a5b
JM
19458 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19459
363313b5
JM
19460 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19461 10000 as width of padded output.
19462
b37984ad
JM
194632012-12-04 Joseph Myers <joseph@codesourcery.com>
19464
9003570a
JM
19465 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19466
b37984ad
JM
19467 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19468 variable LX with __attribute__ ((unused)).
19469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19470 Likewise.
19471 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19474 with __attribute__ ((unused)).
19475
c8df52ec
DM
194762012-12-04 David S. Miller <davem@abraco.davemloft.net>
19477
19478 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19479
b3b099af
JM
194802012-12-04 Joseph Myers <joseph@codesourcery.com>
19481
c33aa6e3
JM
19482 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19483 (CFLAGS-nldbl-acos.c): New variable.
19484 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19485 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19486 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19487 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19488 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19489 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19490 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19491 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19492 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19493 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19494 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19495 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19496 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19497 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19498 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19499 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19500 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19501 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19502 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19503 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19504 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19505 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19506 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19507 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19508 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19509 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19510 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19511 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19512 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19513 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19514 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19515 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19516 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19517 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19518 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19519 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19520 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19521 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19522 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19523 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19524 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19525 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19526 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19527 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19528 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19529 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19530 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19541 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19542 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19543 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19544 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19545 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19546 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19547 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19548 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19549 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19550 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19551 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19552 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19553 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19554 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19555 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19556 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19581
20f0018d
JM
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19583 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19584
b3b099af
JM
19585 [BZ #14914]
19586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19587 whole low double instead of just low 47 bits when splitting values
19588 into two parts.
19589
029264d1
AM
195902012-12-03 Allan McRae <allan@archlinux.org>
19591
19592 * manual/stdio.texi (Predefined Printf Handlers): Remove
19593 @hsep and @vsep usage.
19594
c9d6789e
MF
195952012-12-03 Mike Frysinger <vapier@gentoo.org>
19596
19597 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19598 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19599
4b7634a5
JL
196002012-12-03 Jeff Law <law@redhat.com>
19601
19602 * time/sys/time.h (settimeofday): Do not mark TV argument
19603 as __nonnull.
19604
eb6cbd24
MF
196052012-12-01 Mike Frysinger <vapier@gentoo.org>
19606
19607 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19608 when currently writing and seek to current position when not.
19609 * libio/Makefile (tests): Remove bug-fclose1.
19610 * libio/bug-fclose1.c: Delete.
19611
f638872a
JM
196122012-12-01 Joseph Myers <joseph@codesourcery.com>
19613
19614 * manual/arith.texi (feenableexcept): Fix typo.
19615 (fedisableexcept): Likewise.
19616
48085d14
RM
196172012-11-30 Roland McGrath <roland@hack.frob.com>
19618
19619 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19620 second, differently-typed declaration, rather than a cast.
19621
1a538b9f
SP
196222012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19623
19624 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19625 * include/rpc/svc.h: ... here.
19626
d07f2ff1 196272012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19628
19629 [BZ #13013]
19630 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19631 depending n and resplen2 to catch cases where answer
19632 equals answerp2.
19633
c93ec1f0
CD
196342012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19635
19636 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19637 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19638
37db69de
MF
196392012-11-29 Mike Frysinger <vapier@gentoo.org>
19640
19641 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19642
e10c4e4f
RM
196432012-11-29 Roland McGrath <roland@hack.frob.com>
19644
19645 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19646
2af1b328
JL
196472012-11-28 Jeff Law <law@redhat.com>
19648
19649 [BZ #13761]
19650 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19651 dataset_temporary. Track alloca usage into alloca_used.
19652 If dataset is large allocate and release it via malloc/free.
19653
111db5b1
FW
196542012-06-04 Florian Weimer <fweimer@redhat.com>
19655
f06cc227 19656 [BZ #14197]
111db5b1
FW
19657 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19658
dd694abd
DM
196592012-11-28 David S. Miller <davem@davemloft.net>
19660
19661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19662
9984dd01
JM
196632012-11-28 Joseph Myers <joseph@codesourcery.com>
19664
19665 [BZ #14803]
19666 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19667 of pi/2 rounded to nearest to 64 bits.
19668 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19669 nearest to 64 bits.
19670 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19671 bits.
19672
14bc93a9
JL
196732012-11-28 Jeff Law <law@redhat.com>
19674 Martin Osvald <mosvald@redhat.com>
19675
19676 [BZ #14889]
19677 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19678 * sunrpc/svc.c: Include time.h.
19679 (__svc_accept_failed): New function.
19680 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19681 any reason other than EINTR, call __svc_accept_failed.
19682 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19683 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19684
e3c6aa3a
AS
196852012-11-28 Andreas Schwab <schwab@suse.de>
19686
19687 * scripts/abilist.awk: Also handle indirect functions in .opd
19688 section.
19689
1bead169
JM
196902012-11-28 Joseph Myers <joseph@codesourcery.com>
19691
19692 [BZ #13881]
19693 * sysdeps/x86/fpu/powl_helper.c: New file.
19694 * sysdeps/x86/fpu/Makefile: Likewise.
19695 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19696 (p3): New object.
19697 (__ieee754_powl): Use __powl_helper for finite arguments except
19698 integer exponents below 8.
19699 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19700 (p3): New object.
19701 (__ieee754_powl): Use __powl_helper for finite arguments except
19702 integer exponents below 8.
19703 * math/libm-test.inc (pow_test): Add more tests and enable some
19704 previously disabled tests.
19705 * sysdeps/i386/fpu/libm-test-ulps: Update.
19706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19707
0817d63d
SP
197082012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19709 Carlos O'Donell <carlos_odonell@mentor.com>
19710
19711 * nss/makedb.c (is_prime): Assert that input is odd and greater
19712 than 4. Note that fact in a comment too.
19713 (next_prime): Add 4 to input.
19714
de2fd463
SP
197152012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19716
19717 [BZ #11741]
19718 * libio/Makefile (tests): Add test case tst-fwrite-error.
19719 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19720 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19721 * libio/tst-fwrite-error.c: New test case.
19722
c515fb51
L
197232012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19724
19725 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19726 before casting to void *.
19727 * include/libc-internal.h (__pointer_type): New macro.
19728 (__integer_if_pointer_type_sub): Likewise.
19729 (__integer_if_pointer_type): Likewise.
19730 (cast_to_integer): Likewise.
19731 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19732 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19733 before casting to atomic64_t.
19734 (atomic_exchange_acq): Likewise.
19735 (__arch_exchange_and_add_body): Likewise.
19736 (__arch_add_body): Likewise.
19737 (atomic_add_negative): Likewise.
19738 (atomic_add_zero): Likewise.
19739
4cf77aa9
JM
197402012-11-26 Joseph Myers <joseph@codesourcery.com>
19741
19742 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19743 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19744 (add_fdes): Likewise.
19745 (linear_search_fdes): Likewise.
19746 (binary_search_unencoded_fdes): Likewise.
19747
d260b3b4
AS
197482012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19749
19750 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19751
67060746
AC
197522012-11-24 Adam Conrad <adconrad@0c3.net>
19753
19754 * configure.in: Autodetect C++ header directories.
19755 * configure: Regenerated.
19756
800938a1
MF
197572012-11-23 Mike Frysinger <vapier@gentoo.org>
19758
19759 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19760
4e6e34e6
AS
197612012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19762
19763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19764
7c7feb47
JM
197652012-11-22 Joseph Myers <joseph@codesourcery.com>
19766
7184dcdf
JM
19767 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19768 LDBL_MANT_DIG == 106]: Disable some tests.
19769 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19770 Likewise.
19771 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19772 Likewise.
19773
0a42601f
JM
19774 [BZ #14871]
19775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19776 input for small inputs. Return +/- pi/2 for large inputs.
19777 * math/libm-test.inc (atan_test): Add more tests.
19778
79c9b9fe
JM
19779 * sysdeps/generic/unwind-dw2-fde-glibc.c
19780 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19781 __attribute__ ((unused)).
19782
c60d3bf2
JM
19783 [BZ #14645]
19784 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19785 x * y if x and y are nonzero and z is zero.
19786
ef1e0867
JM
19787 [BZ #14811]
19788 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19789 nonzero exponents with absolute value below 0x1p-117 to +/-
19790 0x1p-117.
19791
1468ded3
JM
19792 [BZ #14869]
19793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19794 up arguments below 2**-450, not just those below 2**-500.
19795 * math/libm-test.inc (hypot_test): Add another test.
19796
8e27e3cc
JM
19797 [BZ #14868]
19798 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19799 Return a+b for ratio over 2**120, not 2**60.
19800 * math/libm-test.inc (hypot_test): Add another test.
19801
c9c0279b
JM
19802 * math/libm-test.inc (clog_test): Use
19803 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19804 (clog10_test): Likewise.
19805
7c7feb47
JM
19806 [BZ #6778]
19807 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19808
fff1530e
AS
198092012-11-22 Andreas Schwab <schwab@suse.de>
19810
19811 * sysdeps/i386/fpu/libm-test-ulps: Update.
19812
94558d30
PT
198132012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19814
19815 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19816 printf output with newline.
19817
7e1be741
L
198182012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19819
6bfea974
L
19820 [BZ #14865]
19821 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19822 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19823 -z nodlopen, -z initfirst and -z execstack support.
19824 * configure: Regenerated.
19825
7e1be741
L
19826 * elf/elf.h (DF_1_NODIRECT): New macro.
19827 (DF_1_IGNMULDEF): Likewise.
19828 (DF_1_NOKSYMS): Likewise.
19829 (DF_1_NOHDR): Likewise.
19830 (DF_1_EDITED): Likewise.
19831 (DF_1_NORELOC): Likewise.
19832 (DF_1_SYMINTPOSE): Likewise.
19833 (DF_1_GLOBAUDIT): Likewise.
19834 (DF_1_SINGLETON): Likewise.
19835 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19836 DT_1_SUPPORTED_MASK bits.
19837 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19838
105ce2ce
CD
198392012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19840
19841 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19842
123be9de
TS
198432012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19844
d072f3f7
TS
19845 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19846 macro.
19847
123be9de
TS
19848 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19849 (sendmmsg): Move declarations...
19850 * socket/sys/socket.h: ... here.
19851 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19852 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19853 include it from...
19854 * socket/recvmmsg.c: ... this new file.
19855 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19856 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19857 definition of __sendmmsg hidden.
19858 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19859 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19860 Move ENOSYS stub into and include it from...
19861 * socket/sendmmsg.c: ... this new file.
19862 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19863 (sysdep_routines): Move recvmmsg and sendmmsg...
19864 * socket/Makefile (routines): ... here.
19865 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19866 (GLIBC_PRIVATE): Add __sendmmsg.
19867 * include/sys/socket.h (__sendmmsg): Add declarations.
19868 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19869 sendmmsg.
19870
cf9a5d18
JM
198712012-11-20 Joseph Myers <joseph@codesourcery.com>
19872
19873 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19874 variable I1 with __attribute__ ((unused)).
19875 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19876
ecd4caf9
JM
198772012-11-19 Joseph Myers <joseph@codesourcery.com>
19878
be14d48f
JM
19879 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19880 DUMMY variables with __attribute__ ((unused)).
19881
ecd4caf9
JM
19882 * bits/byteswap.h: Include <bits/types.h>.
19883 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19884
986cab95
PT
198852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19886
19887 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19888 string_t. Do not manually set errno.
19889 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19890 length with __strnlen. Make sure to both set errno and return it on
19891 failure.
19892
6d33cc9d
DM
198932012-11-19 David S. Miller <davem@davemloft.net>
19894
19895 With help from Joseph Myers.
19896 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19897 very large arguments properly.
19898 * math/libm-test.inc (atan_test): New tests.
19899 (atan2_test): New tests.
19900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19902
ee663277
JM
199032012-11-19 Joseph Myers <joseph@codesourcery.com>
19904
877f2d8e
JM
19905 [BZ #14856]
19906 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19907 Define to 3.
19908
116fc08a
JM
19909 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19910 [POSIX] (EADDRNOTAVAIL): Likewise.
19911 [POSIX] (EAFNOSUPPORT): Likewise.
19912 [POSIX] (EALREADY): Likewise.
19913 [POSIX] (ECONNABORTED): Likewise.
19914 [POSIX] (ECONNREFUSED): Likewise.
19915 [POSIX] (ECONNRESET): Likewise.
19916 [POSIX] (EDESTADDRREQ): Likewise.
19917 [POSIX] (EDQUOT): Likewise.
19918 [POSIX] (EHOSTUNREACH): Likewise.
19919 [POSIX] (EIDRM): Likewise.
19920 [POSIX] (EISCONN): Likewise.
19921 [POSIX] (ELOOP): Likewise.
19922 [POSIX] (EMULTIHOP): Likewise.
19923 [POSIX] (ENETDOWN): Likewise.
19924 [POSIX] (ENETUNREACH): Likewise.
19925 [POSIX] (ENOBUFS): Likewise.
19926 [POSIX] (ENODATA): Likewise.
19927 [POSIX] (ENOLINK): Likewise.
19928 [POSIX] (ENOMSG): Likewise.
19929 [POSIX] (ENOPROTOOPT): Likewise.
19930 [POSIX] (ENOSR): Likewise.
19931 [POSIX] (ENOSTR): Likewise.
19932 [POSIX] (ENOTCONN): Likewise.
19933 [POSIX] (ENOTSOCK): Likewise.
19934 [POSIX] (EOPNOTSUPP): Likewise.
19935 [POSIX] (EOVERFLOW): Likewise.
19936 [POSIX] (EPROTO): Likewise.
19937 [POSIX] (EPROTONOSUPPORT): Likewise.
19938 [POSIX] (EPROTOTYPE): Likewise.
19939 [POSIX] (ESTALE): Likewise.
19940 [POSIX] (ETIME): Likewise.
19941 [POSIX] (ETXTBSY): Likewise.
19942 [POSIX] (EWOULDBLOCK): Likewise.
19943 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19944 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19945 [POSIX] (SEEK_CUR): Likewise.
19946 [POSIX] (SEEK_END): Likewise.
19947 [POSIX || UNIX98] (mode_t): Do not require.
19948 [POSIX] (off_t): Likewise.
19949 [POSIX] (pid_t): Likewise.
19950 [POSIX] (sys/stat.h): Do not allow header.
19951 [POSIX] (unistd.h): Likewise.
19952 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19953 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19954 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19955 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19956 require.
19957 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19958 sigevent): Specify elements.
19959 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19960 entry.
19961 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19962 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19963
a483863f
JM
19964 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19965 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19966 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19967 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19968 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19969 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19970 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19971 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19972 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19973 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19974 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19975 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19976 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19977 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19978 Likewise.
19979 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19980 Likewise.
19981 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19982 Likewise.
19983 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19984 Likewise.
19985 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19986 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19987 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19988 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19989 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19990 Specify lower bound on value.
19991 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19992 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19993 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19994 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19995 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19996 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19997 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19998 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19999 value.
20000 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20001 as optional.
20002 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20003 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20004 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20005 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20006 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20007 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20008 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20009 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20010 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20011 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20012 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20013 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20014 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20016 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20017 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20018 entry.
20019 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20020 optional.
20021 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20022 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20023 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20024 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20025 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20026 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20027 Likewise.
20028 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20029 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20032 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20033 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20034 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20035 as optional.
20036 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20038 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20039 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20040 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20041 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20042 specify as optional.
20043 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20045 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20046 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20047 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20048 [XPG3] (NL_LANGMAX): Likewise.
20049 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20050 [POSIX || XPG3] (NL_NMAX): Likewise.
20051 [POSIX || XPG3] (NL_SETMAX): Likewise.
20052 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20053 [XPG3] (NZERO): Likewise.
20054 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20055 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20056 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20057 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20058 (REG_ERANGE): Expect.
20059 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20060 optional-constant.
20061 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20062 Use (void) in prototype.
20063 [POSIX] (*_t): Allow.
20064 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20065 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20066 (WRDE_BADVAL): Expect.
20067
5ba924e3
JM
20068 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20069 expect.
20070 [XPG3 || XPG4] (O_RSYNC): Likewise.
20071 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20072 Likewise.
20073 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20074 [XPG3 || XPG4] (sigqueue): Likewise.
20075 [XPG3 || XPG4] (sigtimedwait): Likewise.
20076 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20077 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20078 [XPG3 || XPG4] (vsnprintf): Likewise.
20079 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20080 Likewise.
20081 [XPG3 || XPG4] (blksize_t): Likewise.
20082 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20083 Likewise.
20084 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20085 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20086 [XPG3 || XPG4] (struct itimerspec): Likewise.
20087 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20088 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20089 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20090 [XPG3 || XPG4] (clockid_t): Likewise.
20091 [XPG3 || XPG4] (timer_t): Likewise.
20092 [XPG3 || XPG4] (clock_getres): Likewise.
20093 [XPG3 || XPG4] (clock_gettime): Likewise.
20094 [XPG3 || XPG4] (clock_settime): Likewise.
20095 [XPG3 || XPG4] (nanosleep): Likewise.
20096 [XPG3 || XPG4] (timer_create): Likewise.
20097 [XPG3 || XPG4] (timer_delete): Likewise.
20098 [XPG3 || XPG4] (timer_gettime): Likewise.
20099 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20100 [XPG3 || XPG4] (timer_settime): Likewise.
20101 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20102 [XPG3 || XPG4] (getlogin_r): Likewise.
20103 [XPG3 || XPG4] (pread): Likewise.
20104 [XPG3 || XPG4] (pthread_atfork): Likewise.
20105 [XPG3 || XPG4] (pwrite): Likewise.
20106
ee663277
JM
20107 [BZ #14835]
20108 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20109 <bits/siginfo.h>.
20110
942caa16
PT
201112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20112
e19af380
PT
20113 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20114 finalizing MALLSTREAM.
20115
942caa16
PT
20116 * sysdeps/mach/hurd/syncfs.c: New file.
20117
cfde9b46
SP
201182012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20119
20120 [BZ #14719]
20121 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20122 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20123 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20124 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20125 (_nss_dns_gethostbyname4_r): Likewise.
20126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20127 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20128
f6da27e5
PH
201292012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20130
20131 [BZ #13763]
20132 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20133
6665d4a2
SM
201342012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20135
1f51ee92
SM
20136 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20137 * elf/cache.c (print_entry): Print ",AArch64" for
20138 FLAG_AARCH64_LIB64
20139
6665d4a2
SM
20140 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20141 * elf/cache.c (print_entry): Print ",hard-float" for
20142 FLAG_ARM_LIBHF.
20143
05b227bd
DM
201442012-11-18 David S. Miller <davem@davemloft.net>
20145
20146 With help from Joseph Myers.
20147 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20148 cutoff to 2**-13.
20149 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20150 cutoff to 2**-25.
20151 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20152 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20153 small.
20154 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20155 * math/libm-test.inc (y0_test): New tests.
20156 (y1_test): New tests.
20157 * sysdeps/i386/fpu/libm-test-ulps: Update.
20158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20160
786b0b67
AS
201612012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20162
20163 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20164 64-bit targets.
20165 * configure: Regenerated.
20166
8e18b86d
DM
201672012-11-17 David S. Miller <davem@davemloft.net>
20168
20169 [BZ #14811]
20170 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20171 nonzero exponents with absolute value below 0x1p-128 to +/-
20172 0x1p-128.
20173
531f1ae0
JM
201742012-11-17 Joseph Myers <joseph@codesourcery.com>
20175
12df29e2
JM
20176 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20177
150dc1a0
JM
20178 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20179
531f1ae0
JM
20180 * posix/getconf-speclist.c: New file.
20181 * posix/posix-envs.def: Likewise.
20182 * posix/confstr.c (START_ENV_GROUP): New macro.
20183 (END_ENV_GROUP): Likewise.
20184 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20185 (KNOWN_PRESENT_ENV_STRING): Likewise.
20186 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20187 (UNKNOWN_ENVIRONMENT): Likewise.
20188 (confstr): Include posix-envs.def instead of handling
20189 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20190 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20191 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20192 (END_ENV_GROUP): Likewise.
20193 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20194 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20195 (UNKNOWN_ENVIRONMENT): Likewise.
20196 (__sysconf): Include posix-envs.def instead of handling associated
20197 cases directly here.
20198 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20199 preprocessing getconf-speclist.c rather than running getconf or
20200 generating empty file.
20201
a93f9cbc
PT
202022012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20203
20204 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20205
d64d9f87
AL
202062012-11-16 Andrej Lajovic <natrij@gmail.com>
20207
20208 [BZ #14672]
20209 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20210
447885eb
DM
202112012-11-16 David S. Miller <davem@davemloft.net>
20212
20213 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20214 smaller than LDBL_EPSILON/2.0L, just return xm1.
20215
bcbf9830
L
202162012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 * elf/tst-array1.c (init): Set constructor priority to 1000.
20219 (fini): Set destructor priority to 1000.
20220 * elf/tst-array2dep.c: Likewise.
20221
2b766585
SP
202222012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20223
20224 [BZ #11741]
20225 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20226 (_IO_new_file_xsputn): Also return EOF if none of the input
20227 data was written when overflow failed.
20228 * libio/iopadn.c (_IO_padn): Likewise.
20229 * libio/iowpadn.c (_IO_wpadn): Likewise.
20230 * stdio-common/tst-put-error.c: Add copyright notice.
20231 (do_test): Add case for printing padded string.
20232 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20233 _IO_padn returned error.
20234 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20235 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20236 return EOF.
20237
b1848fde
SP
202382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20239
20240 * libio/libioP.h: Add comment note that the references to C++
20241 bits are now obsolete.
20242
2fd89785
MS
202432012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20244
20245 * math/libm-test.inc (check_complex): Use asprintf.
20246
e3ea5409
JM
202472012-11-14 Joseph Myers <joseph@codesourcery.com>
20248
20249 * debug/pcprofiledump.c (print_version): Update copyright year.
20250 * malloc/memusagestat.c (print_version): Likewise.
20251
2e64d265
L
202522012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20253
20254 [BZ #14831]
20255 * elf/Makefile (tests): Add tst-audit8.
20256 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20257 ($(objpfx)tst-audit8.out): New target.
20258 (tst-audit8-ENV): New variable.
20259 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20260 audit if l_reloc_result is NULL.
20261 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20262 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20263 * elf/tst-audit8.c: New file.
20264
c485e4d2
MS
202652012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20266
20267 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20268 * misc/Makefile (CFLAGS-select.c): Define.
20269 * posix/Makefile (CFLAGS-pause.c): Define.
20270
3a0d900a
DM
202712012-11-13 David S. Miller <davem@davemloft.net>
20272
20273 * crypt/Makefile: Move test targets after toplevel Rules
20274 inclusion. Grab any necessary sysdep routines when linking.
20275 * crypt/md5.c (md5_process_block): Remove define, we will always
20276 name it __md5_process_block.
20277 (md5_finish_ctx): Update md5_process_block call.
20278 (md5_stream): Likewise.
20279 (md5_process_bytes): Likewise.
20280 (md5_process_block): Rename to __md5_process_block and move to ...
20281 * crypt/md5-block.c: ... here.
20282 * crypt/sha256.c (sha256_process_block): Move to ...
20283 * crypt/sha256-block.c: ... here.
20284 * crypt/sha512.c (sha512_process_block): Move to ...
20285 * crypt/sha512-block.c: ... here.
20286 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20287 path.
20288 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20289 * sysdeps/sparc/sparc64/multiarch/Makefile
20290 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20291 crypt subdir.
20292 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20294 multiarch changes.
20295 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20296 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20297 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20298 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20299 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20300 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20301 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20302 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20303 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20304 file.
20305 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20306 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20307 file.
20308 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20309
8ca89318
JM
203102012-11-13 Joseph Myers <joseph@codesourcery.com>
20311
e27d476a
JM
20312 * timezone/tzselect.ksh: Update from tzcode git revision
20313 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20314 * timezone/zdump.c: Likewise.
20315 * timezone/zic.c: Likewise.
20316 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20317 in TZVERSION setting, not $(PKGVERSION).
20318 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20319 REPORT_BUGS_TO settings.
20320
8ca89318
JM
20321 [BZ #14838]
20322 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20323 macro.
20324
47594329
MS
203252012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20326
20327 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20328 detection to immediately after _FP_ROUND().
20329 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20330 bits are 0.
20331
640ac3f1
DM
203322012-11-11 David S. Miller <davem@davemloft.net>
20333
20334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20335 inttypes.h
20336 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20337 __close rather than their public counterparts.
20338
3d2577bb
JM
203392012-11-10 Joseph Myers <joseph@codesourcery.com>
20340
20341 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20342 file.
20343 [UNIX98] (sem_timedwait): Do not expect.
20344 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20345 [XPG4 || UNIX98] (sockatmark): Do not expect.
20346 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20347 (clock_getcpuclockid): Do not expect.
20348 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20349 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20350 Do not expect.
20351 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20352 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20353 [UNIX98] (vwscanf): Likewise.
20354 [UNIX98] (vswscanf): Likewise.
20355
fb1ae1ee
JM
203562012-11-09 Joseph Myers <joseph@codesourcery.com>
20357
9ec6f8bd
JM
20358 * timezone/version.h: Remove file.
20359 * timezone/README: Do not refer to version.h.
20360 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20361 $(objpfx)version.h.
20362 ($(objpfx)zdump.o): Likewise.
c3f81911 20363 ($(objpfx)version.h): New target.
9ec6f8bd 20364
0aa8f8a1
JM
20365 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20366 2012i.
20367 * timezone/README: Don't mention modification to tzselect.ksh.
20368 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20369 work on unmodified tzselect.ksh. Substitute version numbers in
20370 tzselect.ksh.
20371
4e87147f
JM
20372 * Makefile (format-me): Remove.
20373 (INSTALL): Adjust indentation. Use commands directly instead of
20374 using $(format-me).
20375
8b748aed
JM
20376 * aclocal.m4 (ACX_PKGVERSION): New macro.
20377 (ACX_BUGURL): Likewise.
20378 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20379 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20380 (REPORT_BUGS_TO): Likewise.
20381 * configure: Regenerated.
20382 * config.h.in (PKGVERSION): New macro.
20383 (REPORT_BUGS_TO): Likewise.
20384 * config.make.in (PKGVERSION): New variable.
20385 (PKGVERSION_TEXI): Likewise.
20386 (REPORT_BUGS_TO): Likewise.
20387 (REPORT_BUGS_TEXI): Likewise.
20388 * Makefile (format-me): Use -I$(common-objpfx)manual.
20389 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20390 ($(common-objpfx)manual/%): New target.
20391 (manual/%): Remove target.
20392 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20393 (print_version): Use PKGVERSION.
20394 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20395 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20396 and REPORT_BUGS_TO.
20397 ($(objpfx)xtrace): Likewise.
20398 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20399 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20400 (print_version): Use PKGVERSION.
20401 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20402 (do_version): Use PKGVERSION.
20403 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20404 REPORT_BUGS_TO.
20405 (common-ldd-rewrite): Likewise.
20406 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20407 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20408 (print_version): Use PKGVERSION.
20409 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20410 * elf/pldd.c (argp_program_bug_address): Remove variable.
20411 (more_help): New function.
20412 (argp): Use more_help.
20413 (print_version): Use PKGVERSION.
20414 * elf/sln.c (main): Use PKGVERSION.
20415 (usage): Use REPORT_BUGS_TO.
20416 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20417 (top level): Use PKGVERSION.
20418 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20419 (print_version): Use PKGVERSION.
20420 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20421 (print_version): Use PKGVERSION.
20422 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20423 (print_version): Use PKGVERSION.
20424 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20425 (print_version): Use PKGVERSION.
20426 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20427 (print_version): Use PKGVERSION.
20428 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20429 (print_version): Use PKGVERSION.
20430 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20431 and BUGURL.
20432 ($(objpfx)memusage): Likewise.
20433 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20434 (do_version): Use PKGVERSION.
20435 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20436 (print_version): Use PKGVERSION.
20437 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20438 ($PKGVERSION): New variable.
20439 ($REPORT_BUGS_TO): Likewise.
20440 (usage): Use $REPORT_BUGS_TO.
20441 (top level): Use $PKGVERSION.
20442 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20443 ($(objpfx)pkgvers.texi): New rule.
20444 ($(objpfx)stamp-pkgvers): Likewise.
20445 * manual/install.texi: Include pkgvers.texi.
20446 (--with-pkgversion): Document new configure option.
20447 (--with-bugurl): Likewise.
20448 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20449 than necessarily for this particular distribution. Use
20450 REPORT_BUGS_TO for where to report bugs.
20451 * INSTALL: Regenerated.
20452 * manual/libc.texinfo: Include pkgvers.texi.
20453 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20454 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20455 (print_version): Use PKGVERSION.
20456 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20457 (print_version): Use PKGVERSION.
20458 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20459 (print_version): Use PKGVERSION.
20460 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20461 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20462 macro.
20463 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20464 (print_version): Use PKGVERSION.
20465 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20466 (print_version): Use PKGVERSION.
20467 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20468 and PKGVERSION.
20469
92e4b6a9
JM
20470 * timezone/checktab.awk: Update from tzcode 2012i.
20471 * timezone/ialloc.c: Likewise.
20472 * timezone/private.h: Likewise.
20473 * timezone/scheck.c: Likewise.
20474 * timezone/tzfile.h: Likewise.
20475 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20476 (TZVERSION): Hardcode tzcode version number.
20477 * timezone/zdump.c: Update from tzcode 2012i.
20478 * timezone/zic.c: Likewise.
20479 * timezone/version.h: New file.
20480 * timezone/README: Describe version.h. Update upstream location.
20481
9bde902c
JM
20482 [BZ #14824]
20483 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20484 (mktemp): Enable declaration.
20485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20489 Likewise.
20490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20491 Likewise.
20492 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20493 Likewise.
20494 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20495 Likewise.
20496 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20497 Likewise.
20498 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20499 Likewise.
20500
fb1ae1ee
JM
20501 [BZ #14821]
20502 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20503 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20504 for copies of such integer values.
20505 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20506 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20507
2c1adbcb
AJ
205082012-11-09 Andreas Jaeger <aj@suse.de>
20509
20510 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20511 definitions and declarations that are provided by
20512 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20513
d0f8457e
AK
205142012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20515
3a235abb 20516 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20517 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20518 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20519 definition.
20520
57241e26
MS
205212012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20522
20523 * elf/elf.h: Update comment before AArch64 relocations.
20524
60e8270d
DM
205252012-11-07 David S. Miller <davem@davemloft.net>
20526
20527 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20528 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20529 (__start_context): Declare.
20530 (__makecontext_ret): Delete.
20531 (__makecontext): Hook up __start_context instead of
20532 __makecontext_ret.
20533 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20534 (sysdep_routines): Add __start_context when in stdlib.
20535
0fbb0fbc
JM
205362012-11-07 Joseph Myers <joseph@codesourcery.com>
20537
20538 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20539 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20540 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20541 hardcoded "nm".
20542 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20543 (READELF): New variable. Use it instead of hardcoded "readelf".
20544
eb48db7e
L
205452012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20546
20547 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20548 * sysdeps/x86/Makefile: Here.
20549 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20550 * sysdeps/x86/tst-xmmymm.sh: This.
20551
05bcf62a
JM
205522012-11-07 Joseph Myers <joseph@codesourcery.com>
20553
c4b6cf53
JM
20554 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20555 expectations.
20556 [UNIX98] (pthread_barrier_t): Do not expect.
20557 [UNIX98] (pthread_barrierattr_t): Likewise.
20558 [UNIX98] (pthread_spinlock_t): Likewise.
20559 [UNIX98] (pthread_barrier_destroy): Likewise.
20560 [UNIX98] (pthread_barrier_init): Likewise.
20561 [UNIX98] (pthread_barrier_wait): Likewise.
20562 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20563 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20564 [UNIX98] (pthread_barrierattr_init): Likewise.
20565 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20566 [UNIX98] (pthread_getcpuclockid): Likewise.
20567 [UNIX98] (pthread_mutex_timedlock): Likewise.
20568 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20569 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20570 [UNIX98] (pthread_sigmask): Likewise.
20571 [UNIX98] (pthread_spin_destroy): Likewise.
20572 [UNIX98] (pthread_spin_init): Likewise.
20573 [UNIX98] (pthread_spin_lock): Likewise.
20574 [UNIX98] (pthread_spin_trylock): Likewise.
20575 [UNIX98] (pthread_spin_unlock): Likewise.
20576 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20577 Do not expect.
20578 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20580 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20581 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20582 [XPG3 || XPG4] (pthread_key_t): Likewise.
20583 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20584 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20585 [XPG3 || XPG4] (pthread_once_t): Likewise.
20586 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20587 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20589 [XPG3 || XPG4] (pthread_t): Likewise.
20590
cbe6e120
JM
20591 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20592 not expect.
20593 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20594
1b126443
JM
20595 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20596 Change function return type to int.
20597
b961a573
JM
20598 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20599 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20600 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20601 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20602 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20603 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20604 [!POSIX] (posix_madvise): Likewise.
20605 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20606 && !UNIX98].
20607 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20608 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20609 (mode_t): Likewise.
20610 (posix_mem_offset): Likewise.
20611 (posix_typed_mem_get_info): Likewise.
20612 (posix_typed_mem_open): Likewise.
20613
9e188909
JM
20614 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20615 Change condition to [XOPEN2K8].
20616
05bcf62a
JM
20617 * conform/conformtest.pl: Preprocess allow-header data with -x c
20618 instead of from stdin.
20619 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20620 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20621 [C99-based standards] (cerfc): Likewise.
20622 [C99-based standards] (cexp2): Likewise.
20623 [C99-based standards] (cexpm1): Likewise.
20624 [C99-based standards] (clog10): Likewise.
20625 [C99-based standards] (clog1p): Likewise.
20626 [C99-based standards] (clog2): Likewise.
20627 [C99-based standards] (clgamma): Likewise.
20628 [C99-based standards] (ctgamma): Likewise.
20629 [C99-based standards] (cerff): Likewise.
20630 [C99-based standards] (cerfcf): Likewise.
20631 [C99-based standards] (cexp2f): Likewise.
20632 [C99-based standards] (cexpm1f): Likewise.
20633 [C99-based standards] (clog10f): Likewise.
20634 [C99-based standards] (clog1pf): Likewise.
20635 [C99-based standards] (clog2f): Likewise.
20636 [C99-based standards] (clgammaf): Likewise.
20637 [C99-based standards] (ctgammaf): Likewise.
20638 [C99-based standards] (cerfl): Likewise.
20639 [C99-based standards] (cerfcl): Likewise.
20640 [C99-based standards] (cexp2l): Likewise.
20641 [C99-based standards] (cexpm1l): Likewise.
20642 [C99-based standards] (clog10l): Likewise.
20643 [C99-based standards] (clog1pl): Likewise.
20644 [C99-based standards] (clog2l): Likewise.
20645 [C99-based standards] (clgammal): Likewise.
20646 [C99-based standards] (ctgammal): Likewise.
20647 * conform/data/inttypes.h-data [C99-based standards]: Include
20648 stdint.h-data. Remove all expectations for stdint.h contents.
20649 [C99-based standards] (PRI*): Do not allow.
20650 [C99-based standards] (SCN*): Likewise.
20651 [C99-based standards] (*_t): Likewise.
20652 [C99-based-standards] (PRId8): Expect macro.
20653 [C99-based-standards] (PRIi8): Likewise.
20654 [C99-based-standards] (PRIo8): Likewise.
20655 [C99-based-standards] (PRIu8): Likewise.
20656 [C99-based-standards] (PRIx8): Likewise.
20657 [C99-based-standards] (PRIX8): Likewise.
20658 [C99-based-standards] (SCNd8): Likewise.
20659 [C99-based-standards] (SCNi8): Likewise.
20660 [C99-based-standards] (SCNo8): Likewise.
20661 [C99-based-standards] (SCNu8): Likewise.
20662 [C99-based-standards] (SCNx8): Likewise.
20663 [C99-based-standards] (PRIdLEAST8): Likewise.
20664 [C99-based-standards] (PRIiLEAST8): Likewise.
20665 [C99-based-standards] (PRIoLEAST8): Likewise.
20666 [C99-based-standards] (PRIuLEAST8): Likewise.
20667 [C99-based-standards] (PRIxLEAST8): Likewise.
20668 [C99-based-standards] (PRIXLEAST8): Likewise.
20669 [C99-based-standards] (SCNdLEAST8): Likewise.
20670 [C99-based-standards] (SCNiLEAST8): Likewise.
20671 [C99-based-standards] (SCNoLEAST8): Likewise.
20672 [C99-based-standards] (SCNuLEAST8): Likewise.
20673 [C99-based-standards] (SCNxLEAST8): Likewise.
20674 [C99-based-standards] (PRIdFAST8): Likewise.
20675 [C99-based-standards] (PRIiFAST8): Likewise.
20676 [C99-based-standards] (PRIoFAST8): Likewise.
20677 [C99-based-standards] (PRIuFAST8): Likewise.
20678 [C99-based-standards] (PRIxFAST8): Likewise.
20679 [C99-based-standards] (PRIXFAST8): Likewise.
20680 [C99-based-standards] (SCNdFAST8): Likewise.
20681 [C99-based-standards] (SCNiFAST8): Likewise.
20682 [C99-based-standards] (SCNoFAST8): Likewise.
20683 [C99-based-standards] (SCNuFAST8): Likewise.
20684 [C99-based-standards] (SCNxFAST8): Likewise.
20685 [C99-based-standards] (PRId16): Likewise.
20686 [C99-based-standards] (PRIi16): Likewise.
20687 [C99-based-standards] (PRIo16): Likewise.
20688 [C99-based-standards] (PRIu16): Likewise.
20689 [C99-based-standards] (PRIx16): Likewise.
20690 [C99-based-standards] (PRIX16): Likewise.
20691 [C99-based-standards] (SCNd16): Likewise.
20692 [C99-based-standards] (SCNi16): Likewise.
20693 [C99-based-standards] (SCNo16): Likewise.
20694 [C99-based-standards] (SCNu16): Likewise.
20695 [C99-based-standards] (SCNx16): Likewise.
20696 [C99-based-standards] (PRIdLEAST16): Likewise.
20697 [C99-based-standards] (PRIiLEAST16): Likewise.
20698 [C99-based-standards] (PRIoLEAST16): Likewise.
20699 [C99-based-standards] (PRIuLEAST16): Likewise.
20700 [C99-based-standards] (PRIxLEAST16): Likewise.
20701 [C99-based-standards] (PRIXLEAST16): Likewise.
20702 [C99-based-standards] (SCNdLEAST16): Likewise.
20703 [C99-based-standards] (SCNiLEAST16): Likewise.
20704 [C99-based-standards] (SCNoLEAST16): Likewise.
20705 [C99-based-standards] (SCNuLEAST16): Likewise.
20706 [C99-based-standards] (SCNxLEAST16): Likewise.
20707 [C99-based-standards] (PRIdFAST16): Likewise.
20708 [C99-based-standards] (PRIiFAST16): Likewise.
20709 [C99-based-standards] (PRIoFAST16): Likewise.
20710 [C99-based-standards] (PRIuFAST16): Likewise.
20711 [C99-based-standards] (PRIxFAST16): Likewise.
20712 [C99-based-standards] (PRIXFAST16): Likewise.
20713 [C99-based-standards] (SCNdFAST16): Likewise.
20714 [C99-based-standards] (SCNiFAST16): Likewise.
20715 [C99-based-standards] (SCNoFAST16): Likewise.
20716 [C99-based-standards] (SCNuFAST16): Likewise.
20717 [C99-based-standards] (SCNxFAST16): Likewise.
20718 [C99-based-standards] (PRId32): Likewise.
20719 [C99-based-standards] (PRIi32): Likewise.
20720 [C99-based-standards] (PRIo32): Likewise.
20721 [C99-based-standards] (PRIu32): Likewise.
20722 [C99-based-standards] (PRIx32): Likewise.
20723 [C99-based-standards] (PRIX32): Likewise.
20724 [C99-based-standards] (SCNd32): Likewise.
20725 [C99-based-standards] (SCNi32): Likewise.
20726 [C99-based-standards] (SCNo32): Likewise.
20727 [C99-based-standards] (SCNu32): Likewise.
20728 [C99-based-standards] (SCNx32): Likewise.
20729 [C99-based-standards] (PRIdLEAST32): Likewise.
20730 [C99-based-standards] (PRIiLEAST32): Likewise.
20731 [C99-based-standards] (PRIoLEAST32): Likewise.
20732 [C99-based-standards] (PRIuLEAST32): Likewise.
20733 [C99-based-standards] (PRIxLEAST32): Likewise.
20734 [C99-based-standards] (PRIXLEAST32): Likewise.
20735 [C99-based-standards] (SCNdLEAST32): Likewise.
20736 [C99-based-standards] (SCNiLEAST32): Likewise.
20737 [C99-based-standards] (SCNoLEAST32): Likewise.
20738 [C99-based-standards] (SCNuLEAST32): Likewise.
20739 [C99-based-standards] (SCNxLEAST32): Likewise.
20740 [C99-based-standards] (PRIdFAST32): Likewise.
20741 [C99-based-standards] (PRIiFAST32): Likewise.
20742 [C99-based-standards] (PRIoFAST32): Likewise.
20743 [C99-based-standards] (PRIuFAST32): Likewise.
20744 [C99-based-standards] (PRIxFAST32): Likewise.
20745 [C99-based-standards] (PRIXFAST32): Likewise.
20746 [C99-based-standards] (SCNdFAST32): Likewise.
20747 [C99-based-standards] (SCNiFAST32): Likewise.
20748 [C99-based-standards] (SCNoFAST32): Likewise.
20749 [C99-based-standards] (SCNuFAST32): Likewise.
20750 [C99-based-standards] (SCNxFAST32): Likewise.
20751 [C99-based-standards] (PRId64): Likewise.
20752 [C99-based-standards] (PRIi64): Likewise.
20753 [C99-based-standards] (PRIo64): Likewise.
20754 [C99-based-standards] (PRIu64): Likewise.
20755 [C99-based-standards] (PRIx64): Likewise.
20756 [C99-based-standards] (PRIX64): Likewise.
20757 [C99-based-standards] (SCNd64): Likewise.
20758 [C99-based-standards] (SCNi64): Likewise.
20759 [C99-based-standards] (SCNo64): Likewise.
20760 [C99-based-standards] (SCNu64): Likewise.
20761 [C99-based-standards] (SCNx64): Likewise.
20762 [C99-based-standards] (PRIdLEAST64): Likewise.
20763 [C99-based-standards] (PRIiLEAST64): Likewise.
20764 [C99-based-standards] (PRIoLEAST64): Likewise.
20765 [C99-based-standards] (PRIuLEAST64): Likewise.
20766 [C99-based-standards] (PRIxLEAST64): Likewise.
20767 [C99-based-standards] (PRIXLEAST64): Likewise.
20768 [C99-based-standards] (SCNdLEAST64): Likewise.
20769 [C99-based-standards] (SCNiLEAST64): Likewise.
20770 [C99-based-standards] (SCNoLEAST64): Likewise.
20771 [C99-based-standards] (SCNuLEAST64): Likewise.
20772 [C99-based-standards] (SCNxLEAST64): Likewise.
20773 [C99-based-standards] (PRIdFAST64): Likewise.
20774 [C99-based-standards] (PRIiFAST64): Likewise.
20775 [C99-based-standards] (PRIoFAST64): Likewise.
20776 [C99-based-standards] (PRIuFAST64): Likewise.
20777 [C99-based-standards] (PRIxFAST64): Likewise.
20778 [C99-based-standards] (PRIXFAST64): Likewise.
20779 [C99-based-standards] (SCNdFAST64): Likewise.
20780 [C99-based-standards] (SCNiFAST64): Likewise.
20781 [C99-based-standards] (SCNoFAST64): Likewise.
20782 [C99-based-standards] (SCNuFAST64): Likewise.
20783 [C99-based-standards] (SCNxFAST64): Likewise.
20784 [C99-based-standards] (PRIdMAX): Likewise.
20785 [C99-based-standards] (PRIiMAX): Likewise.
20786 [C99-based-standards] (PRIoMAX): Likewise.
20787 [C99-based-standards] (PRIuMAX): Likewise.
20788 [C99-based-standards] (PRIxMAX): Likewise.
20789 [C99-based-standards] (PRIXMAX): Likewise.
20790 [C99-based-standards] (SCNdMAX): Likewise.
20791 [C99-based-standards] (SCNiMAX): Likewise.
20792 [C99-based-standards] (SCNoMAX): Likewise.
20793 [C99-based-standards] (SCNuMAX): Likewise.
20794 [C99-based-standards] (SCNxMAX): Likewise.
20795 [C99-based-standards] (PRIdPTR): Likewise.
20796 [C99-based-standards] (PRIiPTR): Likewise.
20797 [C99-based-standards] (PRIoPTR): Likewise.
20798 [C99-based-standards] (PRIuPTR): Likewise.
20799 [C99-based-standards] (PRIxPTR): Likewise.
20800 [C99-based-standards] (PRIXPTR): Likewise.
20801 [C99-based-standards] (SCNdPTR): Likewise.
20802 [C99-based-standards] (SCNiPTR): Likewise.
20803 [C99-based-standards] (SCNoPTR): Likewise.
20804 [C99-based-standards] (SCNuPTR): Likewise.
20805 [C99-based-standards] (SCNxPTR): Likewise.
20806 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20807 allow.
20808 * conform/data/stdint.h-data: Update comments to clarify
20809 requirements.
20810 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20811 type.
20812 [C99-based standards] (INT8_MAX): Likewise.
20813 [C99-based standards] (INT16_MIN): Likewise.
20814 [C99-based standards] (INT16_MAX): Likewise.
20815 [C99-based standards] (INT32_MIN): Likewise.
20816 [C99-based standards] (INT32_MAX): Likewise.
20817 [C99-based standards] (INT64_MIN): Likewise.
20818 [C99-based standards] (INT64_MAX): Likewise.
20819 [C99-based standards] (UINT8_MAX): Likewise.
20820 [C99-based standards] (UINT16_MAX): Likewise.
20821 [C99-based standards] (UINT32_MAX): Likewise.
20822 [C99-based standards] (UINT64_MAX): Likewise.
20823 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20824 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20825 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20826 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20827 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20828 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20829 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20830 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20831 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20832 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20833 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20834 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20835 [C99-based standards] (INT_FAST8_MIN): Likewise.
20836 [C99-based standards] (INT_FAST8_MAX): Likewise.
20837 [C99-based standards] (INT_FAST16_MIN): Likewise.
20838 [C99-based standards] (INT_FAST16_MAX): Likewise.
20839 [C99-based standards] (INT_FAST32_MIN): Likewise.
20840 [C99-based standards] (INT_FAST32_MAX): Likewise.
20841 [C99-based standards] (INT_FAST64_MIN): Likewise.
20842 [C99-based standards] (INT_FAST64_MAX): Likewise.
20843 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20844 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20845 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20846 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20847 [C99-based standards] (INTPTR_MIN): Likewise.
20848 [C99-based standards] (INTPTR_MAX): Likewise.
20849 [C99-based standards] (UINTPTR_MAX): Likewise.
20850 [C99-based standards] (INTMAX_MIN): Likewise.
20851 [C99-based standards] (INTMAX_MAX): Likewise.
20852 [C99-based standards] (UINTMAX_MAX): Likewise.
20853 [C99-based standards] (PTRDIFF_MIN): Likewise.
20854 [C99-based standards] (PTRDIFF_MAX): Likewise.
20855 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20856 [C99-based standards] (SIZE_MAX): Likewise.
20857 [C99-based standards] (WCHAR_MAX): Likewise.
20858 [C99-based standards] (WINT_MAX): Likewise.
20859 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20860 constraint on value.
20861 [C99-based standards] (WCHAR_MIN): Likewise.
20862 [C99-based standards] (WINT_MIN): Likewise.
20863 [C99-based standards] (*_t): Allow.
20864 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20865 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20866 Include math.h-data and complex.h-data. Remove all expectations
20867 of math.h and complex.h contents.
20868 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20869 at end of line.
20870 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20871 (struct tm): Expect tag.
20872 [C99-based-standards] (wcstof): Expect function.
20873 [C99-based-standards] (wcstold): Likewise.
20874 [C99-based-standards] (wcstoll): Likewise.
20875 [C99-based-standards] (wcstoull): Likewise.
20876 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20877 macro-int-constant. Specify type.
20878 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20879 constraint on value.
20880 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20881 Specify type.
20882 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20883 Specify value.
20884 [ISO C standards]: Do not allow headers.
20885 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20886 wcs[abcdefghijklmnopqrstuvwxyz]*.
20887 [ISO C standards] (*_t): Do not allow.
20888 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20889 Expect function.
20890 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20891 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20892 Specify type.
20893 [ISO C standards]: Do not allow headers.
20894 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20895 is[abcdefghijklmnopqrstuvwxyz]*.
20896 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20897 to[abcdefghijklmnopqrstuvwxyz]*.
20898 [ISO C standards] (*_t): Do not allow.
20899 * conform/data/stdalign.h-data: New file.
20900 * conform/data/stdbool.h-data: Likewise.
20901 * conform/data/stdnoreturn.h-data: Likewise.
20902
7514feb8
RM
209032012-11-07 Roland McGrath <roland@hack.frob.com>
20904
20905 [BZ #14815]
20906 * manual/filesys.texi (Directory Entries): Typo fix.
20907 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20908
19b2ecfc
MS
209092012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20910
20911 * elf/elf.h (EM_AARCH64): New macro.
20912 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20913 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20914 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20915 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20916 (R_AARCH64_TLSDESC): Likewise.
20917 (NT_ARM_TLS): Likewise.
20918 (NT_ARM_HW_BREAK): Likewise.
20919 (NT_ARM_HW_WATCH): Likewise.
20920
60e235ee
JM
209212012-11-07 Joseph Myers <joseph@codesourcery.com>
20922
20923 [BZ #14811]
20924 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20925 (__ieee754_powl): Saturate nonzero exponents with absolute value
20926 below 0x1p-79 to +/- 0x1p-79.
20927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20928 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20929 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20930 nonzero exponents with absolute value below 0x1p-32 to +/-
20931 0x1p-32.
20932 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20933 (__ieee754_powl): Saturate nonzero exponents with absolute value
20934 below 0x1p-79 to +/- 0x1p-79.
20935 * math/libm-test.inc (pow_test): Add more tests.
20936
0ab234b7
AK
209372012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20938
20939 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20940 _dl_s390_cap_flags with kernel. Increase string length.
20941 (_dl_s390_platforms): Add z196 and zEC12.
20942
45832f74
JM
209432012-11-07 Joseph Myers <joseph@codesourcery.com>
20944
20945 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20946 Change XOPEN21K to XOPEN2K.
20947
19218757
MK
209482012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20949
20950 * string/memmove.c: Use memcpy when possible.
20951
c5f45721
AJ
209522012-11-06 Andreas Jaeger <aj@suse.de>
20953
20954 * po/eo.po: Update from translation team.
20955
82477c28
JM
209562012-11-06 Joseph Myers <joseph@codesourcery.com>
20957
20958 [BZ #14793]
20959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20960 exponent and small x and y exponents, scale x or y up. Increase
20961 by 2 the exponent used in scaling up.
20962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20964 * math/libm-test.inc (fma_test): Add more tests.
20965 (fma_test_towardzero): Likewise.
20966 (fma_test_downward): Likewise.
20967 (fma_test_upward): Likewise.
20968
99252c8c
JM
209692012-11-05 Joseph Myers <joseph@codesourcery.com>
20970
acfa885f
JM
20971 [BZ #14805]
20972 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20973 fenv_t *.
20974
99252c8c
JM
20975 [BZ #14801]
20976 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20977 namespace for names of struct fields.
20978 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20979 fenv_t fields.
20980 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20981 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20982
d6d98dea
ST
209832012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20984
20985 [BZ #3665]
20986 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20987
e10bb107
TS
209882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20989
20990 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20991 PTR_DEMANGLE.
20992
20993 [BZ #5246]
20994 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20995 PTR_DEMANGLE.
20996
a0c2940d
JM
209972012-11-04 Joseph Myers <joseph@codesourcery.com>
20998
20999 [BZ #14797]
21000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21001 definitely overflow as x * y not x * y + z.
21002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21004 * math/libm-test.inc (fma_test): Add more tests.
21005 (fma_test_towardzero): Likewise.
21006 (fma_test_downward): Likewise.
21007 (fma_test_upward): Likewise.
21008
b830319d
TS
210092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21010
21011 [BZ #157]
21012
21013 * include/stub-tag.h: Remove file.
21014 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21015 '#include' of it.
21016 * manual/maint.texi (Porting): Don't reference it.
21017 * Makerules ($(objpfx)stubs): Likewise.
21018 * dirent/closedir.c: Don't include <stub-tag.h>.
21019 * dirent/dirfd.c: Likewise.
21020 * dirent/fdopendir.c: Likewise.
21021 * dirent/getdents.c: Likewise.
21022 * dirent/getdents64.c: Likewise.
21023 * dirent/opendir.c: Likewise.
21024 * dirent/readdir.c: Likewise.
21025 * dirent/readdir64.c: Likewise.
21026 * dirent/readdir64_r.c: Likewise.
21027 * dirent/readdir_r.c: Likewise.
21028 * dirent/rewinddir.c: Likewise.
21029 * dirent/seekdir.c: Likewise.
21030 * dirent/telldir.c: Likewise.
21031 * gmon/profil.c: Likewise.
21032 * grp/setgroups.c: Likewise.
21033 * inet/if_index.c: Likewise.
21034 * io/access.c: Likewise.
21035 * io/chdir.c: Likewise.
21036 * io/chmod.c: Likewise.
21037 * io/chown.c: Likewise.
21038 * io/close.c: Likewise.
21039 * io/dup.c: Likewise.
21040 * io/dup2.c: Likewise.
21041 * io/dup3.c: Likewise.
21042 * io/euidaccess.c: Likewise.
21043 * io/faccessat.c: Likewise.
21044 * io/fchdir.c: Likewise.
21045 * io/fchmod.c: Likewise.
21046 * io/fchmodat.c: Likewise.
21047 * io/fchown.c: Likewise.
21048 * io/fchownat.c: Likewise.
21049 * io/fcntl.c: Likewise.
21050 * io/flock.c: Likewise.
21051 * io/fstatfs.c: Likewise.
21052 * io/fstatfs64.c: Likewise.
21053 * io/fstatvfs.c: Likewise.
21054 * io/fstatvfs64.c: Likewise.
21055 * io/futimens.c: Likewise.
21056 * io/fxstat.c: Likewise.
21057 * io/fxstat64.c: Likewise.
21058 * io/fxstatat.c: Likewise.
21059 * io/fxstatat64.c: Likewise.
21060 * io/getcwd.c: Likewise.
21061 * io/isatty.c: Likewise.
21062 * io/lchmod.c: Likewise.
21063 * io/lchown.c: Likewise.
21064 * io/link.c: Likewise.
21065 * io/linkat.c: Likewise.
21066 * io/lseek.c: Likewise.
21067 * io/lseek64.c: Likewise.
21068 * io/lxstat64.c: Likewise.
21069 * io/mkdir.c: Likewise.
21070 * io/mkdirat.c: Likewise.
21071 * io/mkfifo.c: Likewise.
21072 * io/mkfifoat.c: Likewise.
21073 * io/open.c: Likewise.
21074 * io/open64.c: Likewise.
21075 * io/openat.c: Likewise.
21076 * io/openat64.c: Likewise.
21077 * io/pipe.c: Likewise.
21078 * io/pipe2.c: Likewise.
21079 * io/poll.c: Likewise.
21080 * io/posix_fadvise.c: Likewise.
21081 * io/posix_fadvise64.c: Likewise.
21082 * io/posix_fallocate.c: Likewise.
21083 * io/posix_fallocate64.c: Likewise.
21084 * io/read.c: Likewise.
21085 * io/readlink.c: Likewise.
21086 * io/readlinkat.c: Likewise.
21087 * io/rmdir.c: Likewise.
21088 * io/sendfile.c: Likewise.
21089 * io/sendfile64.c: Likewise.
21090 * io/statfs.c: Likewise.
21091 * io/statfs64.c: Likewise.
21092 * io/statvfs.c: Likewise.
21093 * io/statvfs64.c: Likewise.
21094 * io/symlink.c: Likewise.
21095 * io/symlinkat.c: Likewise.
21096 * io/ttyname.c: Likewise.
21097 * io/ttyname_r.c: Likewise.
21098 * io/umask.c: Likewise.
21099 * io/unlink.c: Likewise.
21100 * io/unlinkat.c: Likewise.
21101 * io/utime.c: Likewise.
21102 * io/utimensat.c: Likewise.
21103 * io/write.c: Likewise.
21104 * io/xmknod.c: Likewise.
21105 * io/xmknodat.c: Likewise.
21106 * io/xstat.c: Likewise.
21107 * io/xstat64.c: Likewise.
21108 * login/getpt.c: Likewise.
21109 * login/grantpt.c: Likewise.
21110 * login/unlockpt.c: Likewise.
21111 * math/e_acoshl.c: Likewise.
21112 * math/e_acosl.c: Likewise.
21113 * math/e_asinl.c: Likewise.
21114 * math/e_atan2l.c: Likewise.
21115 * math/e_atanhl.c: Likewise.
21116 * math/e_coshl.c: Likewise.
21117 * math/e_expl.c: Likewise.
21118 * math/e_fmodl.c: Likewise.
21119 * math/e_gammal_r.c: Likewise.
21120 * math/e_hypotl.c: Likewise.
21121 * math/e_j0l.c: Likewise.
21122 * math/e_j1l.c: Likewise.
21123 * math/e_jnl.c: Likewise.
21124 * math/e_lgammal_r.c: Likewise.
21125 * math/e_log10l.c: Likewise.
21126 * math/e_log2l.c: Likewise.
21127 * math/e_logl.c: Likewise.
21128 * math/e_powl.c: Likewise.
21129 * math/e_rem_pio2l.c: Likewise.
21130 * math/e_sinhl.c: Likewise.
21131 * math/e_sqrtl.c: Likewise.
21132 * math/fclrexcpt.c: Likewise.
21133 * math/fedisblxcpt.c: Likewise.
21134 * math/feenablxcpt.c: Likewise.
21135 * math/fegetenv.c: Likewise.
21136 * math/fegetexcept.c: Likewise.
21137 * math/fegetround.c: Likewise.
21138 * math/feholdexcpt.c: Likewise.
21139 * math/fesetenv.c: Likewise.
21140 * math/fesetround.c: Likewise.
21141 * math/feupdateenv.c: Likewise.
21142 * math/fgetexcptflg.c: Likewise.
21143 * math/fraiseexcpt.c: Likewise.
21144 * math/fsetexcptflg.c: Likewise.
21145 * math/ftestexcept.c: Likewise.
21146 * math/k_cosl.c: Likewise.
21147 * math/k_rem_pio2l.c: Likewise.
21148 * math/k_sinl.c: Likewise.
21149 * math/k_tanl.c: Likewise.
21150 * math/s_asinhl.c: Likewise.
21151 * math/s_atanl.c: Likewise.
21152 * math/s_cbrtl.c: Likewise.
21153 * math/s_erfl.c: Likewise.
21154 * math/s_expm1l.c: Likewise.
21155 * math/s_log1pl.c: Likewise.
21156 * math/s_tanhl.c: Likewise.
21157 * misc/acct.c: Likewise.
21158 * misc/brk.c: Likewise.
21159 * misc/chflags.c: Likewise.
21160 * misc/chroot.c: Likewise.
21161 * misc/fchflags.c: Likewise.
21162 * misc/fgetxattr.c: Likewise.
21163 * misc/flistxattr.c: Likewise.
21164 * misc/fremovexattr.c: Likewise.
21165 * misc/fsetxattr.c: Likewise.
21166 * misc/fsync.c: Likewise.
21167 * misc/ftruncate.c: Likewise.
21168 * misc/futimes.c: Likewise.
21169 * misc/futimesat.c: Likewise.
21170 * misc/getdomain.c: Likewise.
21171 * misc/getdtsz.c: Likewise.
21172 * misc/gethostid.c: Likewise.
21173 * misc/gethostname.c: Likewise.
21174 * misc/getloadavg.c: Likewise.
21175 * misc/getpagesize.c: Likewise.
21176 * misc/getsysstats.c: Likewise.
21177 * misc/getxattr.c: Likewise.
21178 * misc/gtty.c: Likewise.
21179 * misc/ioctl.c: Likewise.
21180 * misc/lgetxattr.c: Likewise.
21181 * misc/listxattr.c: Likewise.
21182 * misc/llistxattr.c: Likewise.
21183 * misc/lremovexattr.c: Likewise.
21184 * misc/lsetxattr.c: Likewise.
21185 * misc/lutimes.c: Likewise.
21186 * misc/madvise.c: Likewise.
21187 * misc/mincore.c: Likewise.
21188 * misc/mlock.c: Likewise.
21189 * misc/mlockall.c: Likewise.
21190 * misc/mmap.c: Likewise.
21191 * misc/mprotect.c: Likewise.
21192 * misc/msync.c: Likewise.
21193 * misc/munlock.c: Likewise.
21194 * misc/munlockall.c: Likewise.
21195 * misc/munmap.c: Likewise.
21196 * misc/preadv.c: Likewise.
21197 * misc/preadv64.c: Likewise.
21198 * misc/ptrace.c: Likewise.
21199 * misc/pwritev.c: Likewise.
21200 * misc/pwritev64.c: Likewise.
21201 * misc/readv.c: Likewise.
21202 * misc/reboot.c: Likewise.
21203 * misc/remap_file_pages.c: Likewise.
21204 * misc/removexattr.c: Likewise.
21205 * misc/revoke.c: Likewise.
21206 * misc/select.c: Likewise.
21207 * misc/setdomain.c: Likewise.
21208 * misc/setegid.c: Likewise.
21209 * misc/seteuid.c: Likewise.
21210 * misc/sethostid.c: Likewise.
21211 * misc/sethostname.c: Likewise.
21212 * misc/setregid.c: Likewise.
21213 * misc/setreuid.c: Likewise.
21214 * misc/setxattr.c: Likewise.
21215 * misc/sstk.c: Likewise.
21216 * misc/stty.c: Likewise.
21217 * misc/swapoff.c: Likewise.
21218 * misc/swapon.c: Likewise.
21219 * misc/sync.c: Likewise.
21220 * misc/syncfs.c: Likewise.
21221 * misc/syscall.c: Likewise.
21222 * misc/truncate.c: Likewise.
21223 * misc/ualarm.c: Likewise.
21224 * misc/usleep.c: Likewise.
21225 * misc/ustat.c: Likewise.
21226 * misc/utimes.c: Likewise.
21227 * misc/vhangup.c: Likewise.
21228 * misc/writev.c: Likewise.
21229 * posix/_exit.c: Likewise.
21230 * posix/alarm.c: Likewise.
21231 * posix/execve.c: Likewise.
21232 * posix/fexecve.c: Likewise.
21233 * posix/fork.c: Likewise.
21234 * posix/fpathconf.c: Likewise.
21235 * posix/getaddrinfo.c: Likewise.
21236 * posix/getegid.c: Likewise.
21237 * posix/geteuid.c: Likewise.
21238 * posix/getgid.c: Likewise.
21239 * posix/getgroups.c: Likewise.
21240 * posix/getlogin.c: Likewise.
21241 * posix/getlogin_r.c: Likewise.
21242 * posix/getpgid.c: Likewise.
21243 * posix/getpid.c: Likewise.
21244 * posix/getppid.c: Likewise.
21245 * posix/getresgid.c: Likewise.
21246 * posix/getresuid.c: Likewise.
21247 * posix/getsid.c: Likewise.
21248 * posix/getuid.c: Likewise.
21249 * posix/glob64.c: Likewise.
21250 * posix/nanosleep.c: Likewise.
21251 * posix/pathconf.c: Likewise.
21252 * posix/pause.c: Likewise.
21253 * posix/posix_madvise.c: Likewise.
21254 * posix/pread.c: Likewise.
21255 * posix/pread64.c: Likewise.
21256 * posix/pwrite.c: Likewise.
21257 * posix/pwrite64.c: Likewise.
21258 * posix/sched_getaffinity.c: Likewise.
21259 * posix/sched_getp.c: Likewise.
21260 * posix/sched_gets.c: Likewise.
21261 * posix/sched_primax.c: Likewise.
21262 * posix/sched_primin.c: Likewise.
21263 * posix/sched_rr_gi.c: Likewise.
21264 * posix/sched_setaffinity.c: Likewise.
21265 * posix/sched_setp.c: Likewise.
21266 * posix/sched_sets.c: Likewise.
21267 * posix/sched_yield.c: Likewise.
21268 * posix/setgid.c: Likewise.
21269 * posix/setlogin.c: Likewise.
21270 * posix/setpgid.c: Likewise.
21271 * posix/setresgid.c: Likewise.
21272 * posix/setresuid.c: Likewise.
21273 * posix/setsid.c: Likewise.
21274 * posix/setuid.c: Likewise.
21275 * posix/sleep.c: Likewise.
21276 * posix/spawni.c: Likewise.
21277 * posix/sysconf.c: Likewise.
21278 * posix/times.c: Likewise.
21279 * posix/wait.c: Likewise.
21280 * posix/wait3.c: Likewise.
21281 * posix/wait4.c: Likewise.
21282 * posix/waitpid.c: Likewise.
21283 * resolv/gai_sigqueue.c: Likewise.
21284 * resource/getpriority.c: Likewise.
21285 * resource/getrlimit.c: Likewise.
21286 * resource/getrusage.c: Likewise.
21287 * resource/nice.c: Likewise.
21288 * resource/setpriority.c: Likewise.
21289 * resource/setrlimit.c: Likewise.
21290 * resource/ulimit.c: Likewise.
21291 * rt/aio_cancel.c: Likewise.
21292 * rt/aio_fsync.c: Likewise.
21293 * rt/aio_read.c: Likewise.
21294 * rt/aio_sigqueue.c: Likewise.
21295 * rt/aio_suspend.c: Likewise.
21296 * rt/aio_write.c: Likewise.
21297 * rt/clock_getres.c: Likewise.
21298 * rt/clock_gettime.c: Likewise.
21299 * rt/clock_nanosleep.c: Likewise.
21300 * rt/clock_settime.c: Likewise.
21301 * rt/lio_listio.c: Likewise.
21302 * rt/mq_close.c: Likewise.
21303 * rt/mq_getattr.c: Likewise.
21304 * rt/mq_notify.c: Likewise.
21305 * rt/mq_open.c: Likewise.
21306 * rt/mq_receive.c: Likewise.
21307 * rt/mq_send.c: Likewise.
21308 * rt/mq_setattr.c: Likewise.
21309 * rt/mq_timedreceive.c: Likewise.
21310 * rt/mq_timedsend.c: Likewise.
21311 * rt/mq_unlink.c: Likewise.
21312 * rt/shm_open.c: Likewise.
21313 * rt/shm_unlink.c: Likewise.
21314 * rt/timer_create.c: Likewise.
21315 * rt/timer_delete.c: Likewise.
21316 * rt/timer_getoverr.c: Likewise.
21317 * rt/timer_gettime.c: Likewise.
21318 * rt/timer_settime.c: Likewise.
21319 * setjmp/__longjmp.c: Likewise.
21320 * setjmp/setjmp.c: Likewise.
21321 * signal/kill.c: Likewise.
21322 * signal/killpg.c: Likewise.
21323 * signal/raise.c: Likewise.
21324 * signal/sigaction.c: Likewise.
21325 * signal/sigaltstack.c: Likewise.
21326 * signal/sigblock.c: Likewise.
21327 * signal/sigignore.c: Likewise.
21328 * signal/sigintr.c: Likewise.
21329 * signal/signal.c: Likewise.
21330 * signal/sigpause.c: Likewise.
21331 * signal/sigpending.c: Likewise.
21332 * signal/sigqueue.c: Likewise.
21333 * signal/sigreturn.c: Likewise.
21334 * signal/sigset.c: Likewise.
21335 * signal/sigsetmask.c: Likewise.
21336 * signal/sigstack.c: Likewise.
21337 * signal/sigsuspend.c: Likewise.
21338 * signal/sigtimedwait.c: Likewise.
21339 * signal/sigvec.c: Likewise.
21340 * signal/sigwait.c: Likewise.
21341 * signal/sigwaitinfo.c: Likewise.
21342 * signal/sysv_signal.c: Likewise.
21343 * socket/accept.c: Likewise.
21344 * socket/accept4.c: Likewise.
21345 * socket/bind.c: Likewise.
21346 * socket/connect.c: Likewise.
21347 * socket/getpeername.c: Likewise.
21348 * socket/getsockname.c: Likewise.
21349 * socket/getsockopt.c: Likewise.
21350 * socket/isfdtype.c: Likewise.
21351 * socket/listen.c: Likewise.
21352 * socket/recv.c: Likewise.
21353 * socket/recvfrom.c: Likewise.
21354 * socket/recvmsg.c: Likewise.
21355 * socket/send.c: Likewise.
21356 * socket/sendmsg.c: Likewise.
21357 * socket/sendto.c: Likewise.
21358 * socket/setsockopt.c: Likewise.
21359 * socket/shutdown.c: Likewise.
21360 * socket/sockatmark.c: Likewise.
21361 * socket/socket.c: Likewise.
21362 * socket/socketpair.c: Likewise.
21363 * stdio-common/ctermid.c: Likewise.
21364 * stdio-common/cuserid.c: Likewise.
21365 * stdio-common/remove.c: Likewise.
21366 * stdio-common/rename.c: Likewise.
21367 * stdio-common/renameat.c: Likewise.
21368 * stdio-common/tempname.c: Likewise.
21369 * stdlib/getcontext.c: Likewise.
21370 * stdlib/makecontext.c: Likewise.
21371 * stdlib/setcontext.c: Likewise.
21372 * stdlib/swapcontext.c: Likewise.
21373 * stdlib/system.c: Likewise.
21374 * streams/fattach.c: Likewise.
21375 * streams/fdetach.c: Likewise.
21376 * streams/getmsg.c: Likewise.
21377 * streams/getpmsg.c: Likewise.
21378 * streams/putmsg.c: Likewise.
21379 * streams/putpmsg.c: Likewise.
21380 * sysdeps/unix/bsd/getpt.c: Likewise.
21381 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21382 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21383 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21385 Likewise.
21386 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21387 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21388 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21389 * sysvipc/msgctl.c: Likewise.
21390 * sysvipc/msgget.c: Likewise.
21391 * sysvipc/msgrcv.c: Likewise.
21392 * sysvipc/msgsnd.c: Likewise.
21393 * sysvipc/semctl.c: Likewise.
21394 * sysvipc/semget.c: Likewise.
21395 * sysvipc/semop.c: Likewise.
21396 * sysvipc/semtimedop.c: Likewise.
21397 * sysvipc/shmat.c: Likewise.
21398 * sysvipc/shmctl.c: Likewise.
21399 * sysvipc/shmdt.c: Likewise.
21400 * sysvipc/shmget.c: Likewise.
21401 * termios/tcdrain.c: Likewise.
21402 * termios/tcflow.c: Likewise.
21403 * termios/tcflush.c: Likewise.
21404 * termios/tcgetattr.c: Likewise.
21405 * termios/tcgetpgrp.c: Likewise.
21406 * termios/tcsendbrk.c: Likewise.
21407 * termios/tcsetattr.c: Likewise.
21408 * termios/tcsetpgrp.c: Likewise.
21409 * time/adjtime.c: Likewise.
21410 * time/clock.c: Likewise.
21411 * time/getitimer.c: Likewise.
21412 * time/gettimeofday.c: Likewise.
21413 * time/setitimer.c: Likewise.
21414 * time/settimeofday.c: Likewise.
21415 * time/stime.c: Likewise.
21416 * time/time.c: Likewise.
21417
214182012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21419
a20492cf
PT
21420 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21421 /usr/old/bin.
21422
72e182e3
PT
21423 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21424 instead of spaces.
21425 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21426
fbeafede
JM
214272012-11-03 Joseph Myers <joseph@codesourcery.com>
21428
5b5b04d6
JM
21429 [BZ #14796]
21430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21431 FE_TONEAREST before applying Dekker multiplication and Knuth
21432 addition. Clear inexact exceptions and check for exact zero
21433 results afterwards.
21434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21437 * math/libm-test.inc (fma_test): Add more tests.
21438 (fma_test_towardzero): Likewise.
21439 (fma_test_downward): Likewise.
21440 (fma_test_upward): Likewise.
21441 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21442 function.
21443 (libc_fesetround): New macro.
21444 (libc_fesetroundf): Likewise.
21445 (libc_fesetroundl): Likewise.
21446 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21447 function.
21448 (libc_fesetround_387): Likewise.
21449 (libc_fesetroundf): New macro.
21450 (libc_fesetround): Likewise.
21451 (libc_fesetroundl): Likewise.
21452 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21453 function.
21454 (libc_fesetroundf): New macro.
21455 (libc_fesetround): Likewise.
21456 (libc_fesetroundl): Likewise.
21457 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21458 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21459 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21460 libm_hidden_ver.
21461 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21462 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21463 libm_hidden_def.
21464 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21465 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21466 libm_hidden_ver.
21467 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21468 libm_hidden_def.
21469
fbeafede
JM
21470 [BZ #3439]
21471 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21472 integer constant usable in #if and use that to give value to enum
21473 constant.
21474 (FE_DIVBYZERO): Likewise.
21475 (FE_UNDERFLOW): Likewise.
21476 (FE_OVERFLOW): Likewise.
21477 (FE_INVALID): Likewise.
21478 (FE_INVALID_SNAN): Likewise.
21479 (FE_INVALID_ISI): Likewise.
21480 (FE_INVALID_IDI): Likewise.
21481 (FE_INVALID_ZDZ): Likewise.
21482 (FE_INVALID_IMZ): Likewise.
21483 (FE_INVALID_COMPARE): Likewise.
21484 (FE_INVALID_SOFTWARE): Likewise.
21485 (FE_INVALID_SQRT): Likewise.
21486 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21487 (FE_TONEAREST): Likewise.
21488 (FE_TOWARDZERO): Likewise.
21489 (FE_UPWARD): Likewise.
21490 (FE_DOWNWARD): Likewise.
21491 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21492 (FE_DIVBYZERO): Likewise.
21493 (FE_OVERFLOW): Likewise.
21494 (FE_UNDERFLOW): Likewise.
21495 (FE_INEXACT): Likewise.
21496 (FE_TONEAREST): Likewise.
21497 (FE_DOWNWARD): Likewise.
21498 (FE_UPWARD): Likewise.
21499 (FE_TOWARDZERO): Likewise.
21500 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21501 (FE_UNDERFLOW): Likewise.
21502 (FE_OVERFLOW): Likewise.
21503 (FE_DIVBYZERO): Likewise.
21504 (FE_INVALID): Likewise.
21505 (FE_TONEAREST): Likewise.
21506 (FE_TOWARDZERO): Likewise.
21507 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21508 (FE_OVERFLOW): Likewise.
21509 (FE_UNDERFLOW): Likewise.
21510 (FE_DIVBYZERO): Likewise.
21511 (FE_INEXACT): Likewise.
21512 (FE_TONEAREST): Likewise.
21513 (FE_TOWARDZERO): Likewise.
21514 (FE_UPWARD): Likewise.
21515 (FE_DOWNWARD): Likewise.
21516 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21517 (FE_DIVBYZERO): Likewise.
21518 (FE_OVERFLOW): Likewise.
21519 (FE_UNDERFLOW): Likewise.
21520 (FE_INEXACT): Likewise.
21521 (FE_TONEAREST): Likewise.
21522 (FE_DOWNWARD): Likewise.
21523 (FE_UPWARD): Likewise.
21524 (FE_TOWARDZERO): Likewise.
21525
105ca950
CM
215262012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21527
21528 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21529
a542b389
AS
215302012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21531
21532 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21533 commands. Quote $PWD.
21534 (blacklist_exports): Don't use remove_newlines. Replace "declare
21535 -x" by "export".
21536 (remove_newlines): Remove.
21537
f62c8abc
L
215382012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21539
21540 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21541 * stdlib/stdlib.h (atof): Moved to ...
21542 * include/bits/stdlib-float.h: Here. New file.
21543 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21544 * stdlib/bits/stdlib-float.h: New file.
21545 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21546 -mno-sse -mno-mmx.
21547 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21548 <xmmintrin.h>.
21549
0155d5b2
JM
215502012-11-02 Joseph Myers <joseph@codesourcery.com>
21551
a68d0680
JM
21552 * conform/conformtest.pl (@headers): Add fenv.h.
21553 * conform/data/fenv.h-data: New file.
21554 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21555 include of <math/fenv.h>.
21556
caf7f573
JM
21557 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21558 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21559 && !UNIX98]. Enables tests for XOPEN2K8.
21560 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21561 POSIX2008]: Likewise.
21562
6c073ad6
JM
21563 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21564 (struct rusage): Do not expect type or its members.
21565
0155d5b2
JM
21566 [BZ #3439]
21567 * math/math.h (FP_NAN): Define macro to integer constant usable in
21568 #if and use that to give value to enum constant.
21569 (FP_INFINITE): Likewise.
21570 (FP_ZERO): Likewise.
21571 (FP_SUBNORMAL): Likewise.
21572 (FP_NORMAL): Likewise.
21573
b5dcacb4
AS
215742012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21575
21576 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21577 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21578 arguments.
21579
f7934be8
RM
215802012-11-02 Roland McGrath <roland@hack.frob.com>
21581
21582 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21583 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21584 autoconf-time if not.
21585 * configure.in: Remove AC_PREREQ.
21586
d7d08bde
TMQMF
215872012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21588
21589 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21590 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21591 of the internal implementation.
21592
dcdae19a
JM
215932012-11-02 Joseph Myers <joseph@codesourcery.com>
21594
21595 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21596 except include of <misc/sys/syslog.h>.
21597
d6cffd3e
AS
215982012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21599
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21601 function returns with a NULL context exit with zero.
21602
b3563932
TMQMF
216032012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21604
21605 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21606
b288a93d
L
216072012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21608
21609 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21610 (run_program_cmd): This.
21611 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21612 (tst_langinfo): New variable. Use it.
21613
a2421a68
SAS
216142012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21615
21616 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21617 floating point opcodes.
21618
6f796e1b
TS
216192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21620
7402596b
TS
21621 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21622 variable.
21623
d0d4f868
TS
21624 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21625
6f796e1b
TS
21626 * sysdeps/mach/hurd/powerpc: Remove directory.
21627 * sysdeps/mach/powerpc: Likewise.
21628
4da224a2
AS
216292012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21630
21631 * scripts/check-local-headers.sh: Ignore c++ headers.
21632
341dd673
TS
216332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21634
21635 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21636 __libc_cleanup_region_start argument.
21637
473611b2
JM
216382012-11-01 Joseph Myers <joseph@codesourcery.com>
21639
21640 [BZ #14784]
21641 [BZ #14785]
21642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21643 x * y using scaling, not as x * y + z.
21644 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21646 * math/libm-test.inc (fma_test): Add more tests.
21647 (fma_test_towardzero): Likewise.
21648 (fma_test_downward): Likewise.
21649 (fma_test_upward): Likewise.
21650
4078da3d
TS
216512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21652
21653 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21654
903252aa
JM
216552012-10-31 Joseph Myers <joseph@codesourcery.com>
21656
21657 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21658 New variable.
21659
cbc818d0
TS
216602012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21661
21662 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21663
5a03cb1e
AS
216642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21665
21666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21667 Fix sort order.
21668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21669 Likewise.
21670
90aff2ff
TMQMF
216712012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21672
21673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21674 Fix the order of the list for glibc 2.17.
21675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21676 Likewise.
21677
1818fcb7
AS
216782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21679
21680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21681
ef82f4da
JM
216822012-10-31 Joseph Myers <joseph@codesourcery.com>
21683
16a0e2ec
JM
21684 [BZ #14610]
21685 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21686 for low part of x being zero before using __atanl (y).
21687 * math/libm-test.inc (atan2_test): Add another test.
21688
0eb69512
JM
21689 * manual/install.texi (Configuring and compiling): Document
21690 general use of test-wrapper and test-wrapper-env.
21691 * INSTALL: Regenerated.
21692
ef82f4da
JM
21693 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21694 (__fma): Do not extract and scale down low bits on after-rounding
21695 systems when result rounded to normal precision would have normal
21696 exponent.
21697 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21698 (__fmal): Do not extract and scale down low bits on after-rounding
21699 systems when result rounded to normal precision would have normal
21700 exponent.
21701 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21702 (__fmal): Do not extract and scale down low bits on after-rounding
21703 systems when result rounded to normal precision would have normal
21704 exponent.
21705 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21706 macro.
21707 (fma_test): Add more tests.
21708 (fma_test_towardzero): Likewise.
21709 (fma_test_downward): Likewise.
21710 (fma_test_upward): Likewise.
21711
954ef0d9
L
217122012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21713
21714 * sysdeps/i386/tininess.h: Renamed to ...
21715 * sysdeps/x86/tininess.h: This.
21716 * sysdeps/x86_64/tininess.h: Removed.
21717
df61ffb2
JM
217182012-10-30 Joseph Myers <joseph@codesourcery.com>
21719
21720 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21721 input. Use $(build-program-cmd).
21722 ($(objpfx)tst-array1-static.out): Likewise.
21723 ($(objpfx)tst-array2.out): Likewise.
21724 ($(objpfx)tst-array3.out): Likewise.
21725 ($(objpfx)tst-array4.out): Likewise.
21726 ($(objpfx)tst-array5.out): Likewise.
21727 ($(objpfx)tst-array5-static.out): Likewise.
21728
01767843
CM
217292012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21730
47cc1490
CM
21731 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21732 if defined.
21733
01767843
CM
21734 * nss/nsswitch.h (nss_interface_function): Provide new
21735 macro for use with NSS functions.
21736 * grp/initgroups.c: Use new macro.
21737 * nss/getXXbyYY.c: Likewise.
21738 * nss/getXXbyYY_r.c: Likewise.
21739 * nss/getXXent.c: Likewise.
21740 * nss/getXXent_r.c: Likewise.
21741 * sysdeps/posix/getaddrinfo.c: Likewise.
21742
8321aa97
AJ
217432012-10-30 Andreas Jaeger <aj@suse.de>
21744
21745 * po/ru.po: Update Russion translation from translation project.
21746
2a27fd6d
JM
217472012-10-30 Joseph Myers <joseph@codesourcery.com>
21748
8627a232
JM
21749 [BZ #14152]
21750 [BZ #14783]
21751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21752 result and shift together with sticky bit instead of replicating
21753 round-to-nearest rounding.
21754 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21756 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21757 missing underflow exceptions.
21758 (fma_test_towardzero): Add more tests.
21759 (fma_test_downward): Likewise.
21760 (fma_test_upward): Likewise.
21761
2a27fd6d
JM
21762 [BZ #14047]
21763 * sysdeps/generic/tininess.h: New file.
21764 * sysdeps/i386/tininess.h: Likewise.
21765 * sysdeps/sh/tininess.h: Likewise.
21766 * sysdeps/x86_64/tininess.h: Likewise.
21767 * stdlib/tst-strtod-underflow.c: Likewise.
21768 * stdlib/tst-tininess.c: Likewise.
21769 * stdlib/strtod_l.c: Include <tininess.h>.
21770 (round_and_return): Do not set errno for exact underflow cases.
21771 Force an underflow exception when setting errno for underflow.
21772 Determine underflow based on rounding to normal precision if
21773 TININESS_AFTER_ROUNDING.
21774 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21775 ERANGE for exact underflow cases.
21776 * stdlib/Makefile (tests): Add tst-tininess and
21777 tst-strtod-underflow.
21778 ($(objpfx)tst-tininess): Use $(link-libm).
21779 ($(objpfx)tst-strtod-underflow): Likewise.
21780
e7170363
AJ
217812012-10-30 Andreas Jaeger <aj@suse.de>
21782
e5088dc6
AJ
21783 [BZ#14767]
21784 * elf/Makefile (tests): Remove conditional for have-initfini-array
21785 since this is now always required and the variable does not exist
21786 anymore.
21787 (tests-static): Likewise.
21788 (modules-names): Likewise.
21789
e7170363 21790 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21791
21792 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21793 merged with constructor/destructor.
21794 (init_array): Likewise.
21795 * elf/tst-array2dep.c (fini_array): Likewise.
21796 (init_array): Likewise.
21797
60457d8a
MF
217982012-10-29 Mike Frysinger <vapier@gentoo.org>
21799
21800 * manual/message.texi: Delete @cartouche tags.
21801
8bece752
PT
218022012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21803
94ce799f
PT
21804 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21805 EOPNOTSUPP.
21806 * sysdeps/mach/hurd/fsync.c: Likewise.
21807
8bece752
PT
21808 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21809 [_POSIX_REALTIME_SIGNALS]: Change condition to
21810 [_POSIX_REALTIME_SIGNALS > 0].
21811
86ebe6b1
AJ
218122012-10-27 Andreas Jaeger <aj@suse.de>
21813
21814 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21815 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21817 [__WORDSIZE != 64]: Likewise.
21818
54399c08
L
218192012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21820
21821 * iconvdata/tst-table.sh: Remove ${SHELL}.
21822 * iconvdata/tst-tables.sh: Likewise.
21823
e2211bed
DM
218242012-10-25 David S. Miller <davem@davemloft.net>
21825
21826 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21827 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21828 of strtoull.
21829
f303f97c
DM
21830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21831 ifunc-impl-list.c
21832 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21833 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21834 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21835 file.
21836
1e9d84cd
RM
218372012-10-25 Roland McGrath <roland@hack.frob.com>
21838
21839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21840 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21841 __getdirentries.
21842
df381762
JM
218432012-10-25 Joseph Myers <joseph@codesourcery.com>
21844 Jim Blandy <jimb@codesourcery.com>
21845
21846 * scripts/cross-test-ssh.sh: New file.
21847 * manual/install.texi (Configuring and compiling): Document use of
21848 cross-test-ssh.sh.
21849 * INSTALL: Regenerated.
21850
bff64913
PT
218512012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21852
21853 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21854 EOPNOTSUPP.
21855
25fe8932
JM
218562012-10-25 Joseph Myers <joseph@codesourcery.com>
21857
21858 * Makeconfig (run-program-prefix): Fix comment.
21859
cc1290d0
JM
218602012-10-24 Joseph Myers <joseph@codesourcery.com>
21861 Jim Blandy <jimb@codesourcery.com>
21862
21863 * Makeconfig (test-wrapper): New variable,
21864 (test-wrapper-env): Likewise.
21865 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21866 (run-built-tests): Define to yes.
21867 (run-program-prefix): Use $(test-wrapper).
21868 (built-program-cmd): Likewise.
21869 * Rules (make-test-out): Use $(test-wrapper-env) and
21870 $(host-built-program-cmd).
21871 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21872 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21873 tst-pathopt.sh.
21874 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21875 $(test-wrapper-env) to tst-rtld-load-self.sh.
21876 ($(objpfx)order2.out): Use $(test-wrapper).
21877 ($(objpfx)tst-initorder.out): Likewise.
21878 ($(objpfx)tst-initorder2.out): Likewise.
21879 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21880 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21881 (test_wrapper_env): New variable. Use it to run ld.so.
21882 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21883 Use it to run ld.so.
21884 (test_wrapper_env): Likewise.
21885 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21886 $(test-wrapper) to run-iconv-test.sh.
21887 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21888 (ICONV): Use $test_wrapper.
21889 * posix/Makefile ($(objpfx)globtest.out): Pass
21890 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21891 globtest.sh, not $(run-program-prefix).
21892 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21893 (test_wrapper): Likewise.
21894 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21895 set together with run_via_rtld_prefix.
21896 (run_program_prefix): Define in terms of test_wrapper and
21897 run_via_rtld_prefix.
21898
6e6249d0
RM
218992012-10-24 Roland McGrath <roland@hack.frob.com>
21900
21901 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21902 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21903 Targets removed.
21904
21905 [BZ #14743]
21906 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21907 Declare __clock_getres, __clock_gettime, __clock_settime,
21908 __clock_nanosleep, and __clock_getcpuclockid.
21909 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21910 Remove librt_hidden_def (clock_gettime).
21911 * sysdeps/unix/clock_gettime.c: Likewise.
21912 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21913 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21914 * rt/clock_getres.c: Define __clock_getres as an alias.
21915 * sysdeps/posix/clock_getres.c: Likewise.
21916 * rt/clock_settime.c: Define __clock_settime as an alias.
21917 * sysdeps/unix/clock_settime.c: Likewise.
21918 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21919 * sysdeps/unix/clock_nanosleep.c: Likewise.
21920 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21921 * rt/clock-compat.c: New file.
21922 * rt/Makefile (librt-routines): Add clock-compat and move
21923 $(clock-routines) to ...
21924 (routines): ... here, new variable.
21925 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21926 Don't add get_clockfreq here.
21927 * rt/Versions (libc: GLIBC_2.17): New version set.
21928 Add clock_* symbols here.
21929 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21930 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21931 (GLIBC_2.17): Add clock_* symbols.
21932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21936 Likewise.
21937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21938 Likewise.
21939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21943 * NEWS: Mention the move.
21944
21945 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21946 Use __open, __read, __close rather than their public counterparts.
21947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21948 (__get_clockfreq_via_cpuinfo): Likewise.
21949 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21950 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21951
21952 * config.h.in (HAVE_IFUNC): New #undef.
21953 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21954 was successful.
21955 * configure: Regenerated.
21956
0cae3f4b
MF
219572012-10-24 Mike Frysinger <vapier@gentoo.org>
21958
21959 * configure.in: Move READELF check to start of file.
21960 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21961 libc_cv_asm_gnu_indirect_function in the process.
21962 * configure: Regenerated.
21963
8175a253
MF
219642012-10-24 Mike Frysinger <vapier@gentoo.org>
21965
21966 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21967 send the output to /dev/null.
21968 (libc_cv_cc_with_libunwind): Likewise.
21969 (libc_cv_as_noexecstack): Likewise.
21970 * configure: Regenerate.
21971
0708a7d1
JM
219722012-10-24 Joseph Myers <joseph@codesourcery.com>
21973
10b40d85
JM
21974 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21975
0708a7d1
JM
21976 * posix/globtest.sh (TMPDIR): Do not set.
21977 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21978 (testout): Likewise.
21979
9fddec1a
AJ
219802012-10-24 Andreas Jaeger <aj@suse.de>
21981
3a8db22f
AJ
21982 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21983 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21984 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21985 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21986 posix_fadvise64, posix_fallocate64.
21987
9fddec1a
AJ
21988 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21989 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21990 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21991 Likewise.
21992 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21993 Likewise.
21994 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21995
21996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21997 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21998 <bits/fcntl-linux.h>.
21999 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22000
22001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22002 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22003 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22004 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22005 [__WORDSIZE != 64]: Likewise.
22006
ebfd1bbd
JM
220072012-10-23 Joseph Myers <joseph@codesourcery.com>
22008
03ac099f
JM
22009 * Makeconfig (run-built-tests): New variable.
22010 * Rules [$(cross-compiling) = yes]: Change condition to
22011 [$(run-built-tests) = no].
22012 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22013 to [$(run-built-tests) = yes].
22014 * elf/Makefile [$(cross-compiling) = no]: Likewise
22015 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22016 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22017 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22018 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22019 * io/Makefile [$(cross-compiling) = no]: Likewise.
22020 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22021 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22022 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22023 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22024 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22025 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22026 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22027 * string/Makefile [$(cross-compiling) = no]: Likewise.
22028
ebfd1bbd
JM
22029 * posix/Makefile ($(objpfx)globtest.out): Pass
22030 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22031 $(rtld-installed-name).
22032 * posix/globtest.sh (elf_objpfx): Remove variable.
22033 (rtld_installed_name): Likewise.
22034 (library_path): Likewise.
22035 (run_program_prefix): New variable. Use for running globtest
22036 binary.
22037
166bca24
JB
220382012-10-23 Jim Blandy <jimb@codesourcery.com>
22039 Joseph Myers <joseph@codesourcery.com>
22040
22041 * Makeconfig (host-built-program-cmd): New variable.
22042 * elf/Makefile (tst-stackguard1-ARGS): Use
22043 $(host-built-program-cmd).
22044 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22045 (tst-spawn-ARGS): Likewise.
22046 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22047
88866099
JM
220482012-10-23 Joseph Myers <joseph@codesourcery.com>
22049 Jim Blandy <jimb@codesourcery.com>
22050
22051 * Makeconfig (run-via-rtld-prefix): New variable.
22052 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22053 (built-program-cmd): Likewise.
22054
b4b4c296
AJ
220552012-10-22 Andreas Jaeger <aj@suse.de>
22056
22057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22058 __O_RSYNC if it exists, otherwise to O_SYNC.
22059
6fb54a22
JB
220602012-10-22 Jim Blandy <jimb@codesourcery.com>
22061 Joseph Myers <joseph@codesourcery.com>
22062
22063 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22064 /dev/null.
22065 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22066 from /dev/null
22067 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22068 /dev/null.
22069
481b90b9
AJ
220702012-10-22 Andreas Jaeger <aj@suse.de>
22071
2a0e2669
AJ
22072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22073 Define always.
22074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22075
76e38f9a
AJ
22076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22077 bits/fcntl-linux.h.
22078
7cd37b43
AJ
22079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22080 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22081
481b90b9
AJ
22082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22083 to __O_LARGEFILE.
22084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22085 to __O_LARGEFILE.
22086
aba75984
JB
220872012-10-21 Jim Blandy <jimb@codesourcery.com>
22088 Joseph Myers <joseph@codesourcery.com>
22089
22090 * config.make.in (NM): New variable.
22091
88d4247f
AJ
220922012-10-21 Andreas Jaeger <aj@suse.de>
22093
22094 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22095 definitions and declarations that are provided by
22096 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22097
f2eed205
L
220982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22099
22100 [BZ #14683]
22101 * elf/Makefile (tests-static): Add tst-leaks1-static.
22102 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22103 ($(objpfx)tst-leaks1-static): New rule.
22104 ($(objpfx)tst-leaks1-static-mem): Likewise.
22105 (tst-leaks1-static-ENV): New macro.
22106 * elf/dl-open.c (dl_open_worker): Check the main application
22107 only if SHARED is defined.
22108 * elf/tst-leaks1-static.c: New file.
22109
335e6931
AJ
221102012-10-20 Andreas Jaeger <aj@suse.de>
22111
22112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22113 generic values for Linux.
22114 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22115 and declarations that are provided by <bits/fcntl-linux.h> and
22116 include <bits/fcntl-linux.h>.
22117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22119
ac5c94d3
RM
221202012-10-20 Roland McGrath <roland@hack.frob.com>
22121
22122 * io/fcntl.h: Move include of <bits/types.h> to the top and
22123 include it unconditionally.
22124
de54b33a
L
221252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22126
228cfb01
L
22127 * wcsmbs/Makefile (tests-ifunc): New variable.
22128 (tests): Add $(tests-ifunc).
22129 * wcsmbs/test-wcschr-ifunc.c: New file.
22130 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22131 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22132 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22133 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22134 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22135
69f07e5f
L
22136 * string/Makefile (tests-ifunc): New variable.
22137 (tests): Add $(tests-ifunc).
22138 * string/test-memccpy.c (TEST_NAME): New macro.
22139 * string/test-memchr.c (TEST_NAME): Likewise.
22140 * string/test-memcmp.c (TEST_NAME): Likewise.
22141 * string/test-memcpy.c (TEST_NAME): Likewise.
22142 * string/test-memmem.c (TEST_NAME): Likewise.
22143 * string/test-memmove.c (TEST_NAME): Likewise.
22144 * string/test-memset.c (TEST_NAME): Likewise.
22145 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22146 * string/test-stpcpy.c (TEST_NAME): Likewise.
22147 * string/test-stpncpy.c (TEST_NAME): Likewise.
22148 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22149 * string/test-strcasestr.c (TEST_NAME): Likewise.
22150 * string/test-strcat.c (TEST_NAME): Likewise.
22151 * string/test-strchr.c (TEST_NAME): Likewise.
22152 * string/test-strcmp.c(TEST_NAME): Likewise.
22153 * string/test-strcpy.c (TEST_NAME): Likewise.
22154 * string/test-strcspn.c (TEST_NAME): Likewise.
22155 * string/test-strlen.c (TEST_NAME): Likewise.
22156 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22157 * string/test-strncmp.c (TEST_NAME): Likewise.
22158 * string/test-strncpy.c (TEST_NAME): Likewise.
22159 * string/test-strnlen.c (TEST_NAME): Likewise.
22160 * string/test-strpbrk.c (TEST_NAME): Likewise.
22161 * string/test-strrchr.c (TEST_NAME): Likewise.
22162 * string/test-strspn.c (TEST_NAME): Likewise.
22163 * string/test-strstr.c (TEST_NAME): Likewise.
22164 * string/test-bcopy-ifunc.c: New file.
22165 * string/test-bzero-ifunc.c: Likewise.
22166 * string/test-memccpy-ifunc.c: Likewise.
22167 * string/test-memchr-ifunc.c: Likewise.
22168 * string/test-memcmp-ifunc.c: Likewise.
22169 * string/test-memcpy-ifunc.c: Likewise.
22170 * string/test-memmem-ifunc.c: Likewise.
22171 * string/test-memmove-ifunc.c: Likewise.
22172 * string/test-mempcpy-ifunc.c: Likewise.
22173 * string/test-memset-ifunc.c: Likewise.
22174 * string/test-rawmemchr-ifunc.c: Likewise.
22175 * string/test-stpcpy-ifunc.c: Likewise.
22176 * string/test-stpncpy-ifunc.c: Likewise.
22177 * string/test-strcasecmp-ifunc.c: Likewise.
22178 * string/test-strcasestr-ifunc.c: Likewise.
22179 * string/test-strcat-ifunc.c: Likewise.
22180 * string/test-strchr-ifunc.c: Likewise.
22181 * string/test-strchrnul-ifunc.c: Likewise.
22182 * string/test-strcmp-ifunc.c: Likewise.
22183 * string/test-strcpy-ifunc.c: Likewise.
22184 * string/test-strcspn-ifunc.c: Likewise.
22185 * string/test-strlen-ifunc.c: Likewise.
22186 * string/test-strncasecmp-ifunc.c: Likewise.
22187 * string/test-strncat-ifunc.c: Likewise.
22188 * string/test-strncmp-ifunc.c: Likewise.
22189 * string/test-strncpy-ifunc.c: Likewise.
22190 * string/test-strnlen-ifunc.c: Likewise.
22191 * string/test-strpbrk-ifunc.c: Likewise.
22192 * string/test-strrchr-ifunc.c: Likewise.
22193 * string/test-strspn-ifunc.c: Likewise.
22194 * string/test-strstr-ifunc.c: Likewise.
22195
de54b33a
L
22196 * debug/Makefile (tests-ifunc): New variable.
22197 (tests): Add $(tests-ifunc).
22198 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22199 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22200 * debug/test-stpcpy_chk-ifunc.c: New file.
22201 * debug/test-strcpy_chk-ifunc.c: Likewise.
22202
88481c16
SP
222032012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22204
22205 [BZ #13601]
22206 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22207 header is not read in.
22208
135948bd
JM
222092012-10-19 Joseph Myers <joseph@codesourcery.com>
22210
89f1c388
JM
22211 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22212 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22213 directly. Pass built executable to script as
22214 $(built-program-cmd).
22215 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22216 $testprogram without using LD_LIBRARY_PATH and $ldso.
22217
e40a0d21
JM
22218 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22219 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22220 $(rtld-installed-name).
22221 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22222 (rtld_installed_name): Likewise.
22223 (library_path): Likewise.
22224 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22225 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22226 $(run-program-prefix) to tst-tables.sh.
22227 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22228 it to run tst-table-from and tst-table-to.
22229 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22230 Pass it to tst-table.sh.
22231 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22232 $(run-program-prefix) to tst-gettext.sh.
22233 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22234 tst-translit.sh.
22235 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22236 tst-gettext2.sh.
22237 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22238 to run tst-gettext.
22239 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22240 to run tst-gettext2.
22241 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22242 to run tst-translit.
22243 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22244 $(run-program-prefix) to tst-mtrace.sh.
22245 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22246 to run tst-mtrace.
22247 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22248 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22249 $(rtld-installed-name).
22250 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22251 (rtld_installed_name): Likewise.
22252 (run_program_prefix): New variable. Use it to run wordexp-test.
22253
728e272a
JM
22254 * Makeconfig (ARCH): Remove all definitions.
22255 (machine): Likewise.
22256 [ARCH]: Remove conditional code.
22257 [!objdir]: Give error.
22258 [!objdir] (objpfx): Remove.
22259 [!objdir] (common-objpfx): Likewise.
22260 [!objdir] (common-objdir): Likewise.
22261 * configure.in (config_makefile): Remove. Hardcode Makefile in
22262 AC_CONFIG_FILES call.
22263 * configure: Regenerated.
22264
d528cdcf
JM
22265 [BZ #13888]
22266 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22267 or TMPDIR.
22268 (testout): Likewise.
22269
135948bd
JM
22270 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22271 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22272 $(rtld-installed-name).
22273 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22274 (rtld_installed_name): Likwise.
22275 (runit): Remove function.
22276 (run_getconf): New variable, Use it for running getconf binary.
22277
38c78296
L
222782012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22279
22280 [BZ #14716]
22281 * string/test-memmem.c (check_result): New function.
22282 (do_one_test): Use it.
22283 (check1): New function.
22284 (test_main): Use it.
22285
d077f65f
MT
222862012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22287
22288 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22289
ced52c71
JM
222902012-10-18 Joseph Myers <joseph@codesourcery.com>
22291
22292 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22293 (_G_LSEEK64): Likewise.
22294 (_G_MMAP64): Likewise.
22295 (_G_FSTAT64): Likewise.
22296 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22297 (_G_LSEEK64): Likewise.
22298 (_G_MMAP64): Likewise.
22299 (_G_FSTAT64): Likewise.
22300 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22301 unconditional. Call __mmap64 directly.
22302 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22303 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22304 __lseek64 directly.
22305 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22306 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22307 __mmap64 directly.
22308 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22309 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22310 __lseek64 directly.
22311 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22312 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22313 __lseek64 directly.
22314 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22315 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22316 __lseek64 directly.
22317 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22318 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22319 __fxstat64 directly.
22320 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22321 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22322 unconditional.
22323 (freopen64) [!_G_OPEN64]: Remove conditional code.
22324 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22325 unconditional.
22326 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22327 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22328 unconditional.
22329 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22330 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22331 unconditional.
22332 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22333 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22334 unconditional.
22335 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22336 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22337 unconditional.
22338 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22339 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22340 unconditional.
22341 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22342 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22343 unconditional.
22344 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22345
b741de23
SP
223462012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22347
22348 [BZ #12140]
22349 * manual/memory.texi (Malloc Tunable Parameters): Add note
22350 about free list pointers overwriting some perturb bytes.
22351 Wording suggested by Roland McGrath.
22352
f9b9d9c9
JM
223532012-10-17 Joseph Myers <joseph@codesourcery.com>
22354
22355 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22356 (lgamma_test): Likewise.
22357 (tgamma_test): Likewise.
22358
172a631a
FW
223592012-10-16 Florian Weimer <fweimer@redhat.com>
22360
22361 [BZ #14700]
22362 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22363 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22364
e9f37252
MK
223652012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22366
22367 * NEWS: Mention BZ #14716.
22368 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22369 when removing AVAILABLE1_USES_J macro.
22370
d394eb74
L
223712012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22372
22373 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22374 (__bswap_64): __uint64_t for unsigned 64-bit int.
22375
ca38dc17
AS
223762012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22377
22378 * include/string.h (memmem): Declare libc hidden alias.
22379 * string/memmem.c (memmem): Define libc hidden alias.
22380 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22381 __read, __close instead of open, read, close.
22382
9a387d1f
L
223832012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22384
ac49ecaf
L
22385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22386 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22387 global and hidden.
22388 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22389 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22390 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22391 Likewise.
22392 (__rawmemchr_sse2): Likewise.
22393 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22394 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22395 (__strchr_sse2): Likewise.
22396 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22397 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22398 (__strcasecmp_sse2): Likewise.
22399 (__strncasecmp_sse2): Likewise.
22400 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22401 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22402 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22403 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22404 (__strrchr_sse2): Likewise.
22405 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22406 ifunc-impl-list.c.
22407 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22408 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22409 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22410 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22411 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22412 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22413 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22414 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22415 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22416 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22417 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22418 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22419 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22420 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22421 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22422 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22423 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22424 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22425 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22426 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22427 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22428 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22429 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22430 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22431 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22432 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22433 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22434 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22435 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22436 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22437
b090e8ea
L
22438 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22439 global and hidden.
22440 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22441 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22442 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22443 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22444 Likewise.
22445 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22446 Likewise.
22447 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22448 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22449 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22450 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22451 ifunc-impl-list.c.
22452 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22453 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22454 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22455 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22456 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22457 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22458 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22459 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22460 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22461 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22465 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22466 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22467 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22468 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22469 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22470 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22471 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22472 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22473 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22474 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22475 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22477 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22478 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22479 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22480 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22481 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22482 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22483 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22484 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22485 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22486 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22487 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22488 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22489 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22490 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22491 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22492 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22493
11dd4af6
L
22494 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22495 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22496 * include/ifunc-impl-list.h: New file.
22497 * misc/ifunc-impl-list.c: Likewise.
22498 * misc/Makefile (routines): Add ifunc-impl-list.
22499 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22500 * string/test-string.h: Include <ifunc-impl-list.h>.
22501 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22502 impl_array): New variables.
22503 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22504 are defined.
22505 (test_init): Call __libc_ifunc_impl_list to initialize
22506 func_list if TEST_IFUNC and TEST_NAME are defined.
22507
9a387d1f
L
22508 * string/Makefile (strop-tests): Add bcopy and bzero.
22509 * string/test-bcopy.c: New file.
22510 * string/test-bzero.c: Likewise.
22511 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22512 defined.
22513 * string/test-memset.c: Support bzero test if TEST_BZERO is
22514 defined.
22515 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22516 __libc_memmove.
22517 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22518 __libc_memset.
22519 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22520 of memset.
22521
472371b9
JM
225222012-10-10 Joseph Myers <joseph@codesourcery.com>
22523
1e4a9536
JM
22524 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22525 * configure: Regenerated.
22526
d173d12e
JM
22527 * Makeconfig (+link-static-before-libc): Don't include
22528 $(link-static-libc).
22529
472371b9
JM
22530 * libio/libio.h (_IO_pos_t): Remove.
22531
89a3ad0b
AO
225322012-10-10 Alexandre Oliva <aoliva@redhat.com>
22533
22534 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22535 McGrath.
22536
e7451425
AO
225372012-10-10 Alexandre Oliva <aoliva@redhat.com>
22538
22539 * crypt/crypt-entry.c: Include fips-private.h.
22540 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22541 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22542 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22543 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22544
4ba74a35
AO
225452012-10-10 Alexandre Oliva <aoliva@redhat.com>
22546
22547 * crypt/crypt-private.h: Include stdbool.h.
22548 (_ufc_setup_salt_r): Return bool.
22549 * crypt/crypt-entry.c: Include errno.h.
22550 (__crypt_r): Return NULL with EINVAL for bad salt.
22551 * crypt/crypt_util.c (bad_for_salt): New.
22552 (_ufc_setup_salt_r): Check that salt is long enough and within
22553 the specified alphabet.
22554 * crypt/badsalttest.c: New file.
22555 * crypt/Makefile (tests): Add it.
22556 ($(objpfx)badsalttest): New.
22557
f96f1242
MK
225582012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22559
22560 * NEWS: Add entry for BZ #14602.
22561
0e8e0c1c
JM
225622012-10-09 Joseph Myers <joseph@codesourcery.com>
22563
22564 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22565 type-generic.
22566 * math/libm-test.inc: Update comment listing what functions and
22567 macros are tested.
22568 (isgreater_test): New function.
22569 (isgreaterequal_test): Likewise.
22570 (isless_test): Likewise.
22571 (islessequal_test): Likewise.
22572 (islessgreater_test): Likewise.
22573 (isunordered_test): Likewise.
22574 (main): Call the new functions.
22575
273edc5e
RM
225762012-10-09 Roland McGrath <roland@hack.frob.com>
22577
b8493de0
RM
22578 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22579 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22580 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22581 * sysdeps/i386/configure: Regenerated.
22582 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22583 * sysdeps/mach/configure: Regenerated.
22584 * sysdeps/mach/hurd/configure: Regenerated.
22585 * sysdeps/powerpc/configure: Regenerated.
22586 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22587 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22588 * sysdeps/s390/s390-32/configure: Regenerated.
22589 * sysdeps/s390/s390-64/configure: Regenerated.
22590 * sysdeps/sh/configure: Regenerated.
22591 * sysdeps/sparc/configure: Regenerated.
22592 * sysdeps/unix/sysv/linux/configure: Regenerated.
22593 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22594 * sysdeps/x86_64/configure: Regenerated.
22595
273edc5e
RM
22596 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22597 defined. Don't check if MAP is NULL.
22598
c8450f70
JM
225992012-10-09 Joseph Myers <joseph@codesourcery.com>
22600
22601 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22602 (_G_stat64): Likewise.
22603 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22604 (_G_stat64): Likewise.
22605 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22606 instead of struct _G_stat64.
22607 * libio/fileops.c (mmap_remap_check): Likewise.
22608 (decide_maybe_mmap): Likewise.
22609 (_IO_new_file_seekoff): Likewise.
22610 (_IO_file_stat): Likewise.
22611 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22612 _G_off64_t.
22613 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22614 instead of struct _G_stat64.
22615 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22616
57e605ba
MK
226172012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22618
22619 [BZ #14602]
22620 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22621 Replace with ...
22622 (CHECK_EOL): New macro.
22623 (two_way_short_needle): Check beginning of haystack for EOL. Use
22624 CHECK_EOL.
22625 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22626 Replace with CHECK_EOL.
22627 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22628 Replace with CHECK_EOL.
22629
ef1bb361
JM
226302012-10-08 Joseph Myers <joseph@codesourcery.com>
22631
22632 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22633 type-generic.
22634 * math/libm-test.inc: Update comment listing what functions and
22635 macros are tested.
22636 (finite_test): New function.
22637 (isinf_test): Likewise.
22638 (isnan_test): Likewise.
22639 (fpclassify_test): Test subnormal input.
22640 (isfinite_test): Likewise.
22641 (isnormal_test): Likewise.
22642 (main): Call the new functions.
22643
55f11534
JN
226442012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22645
22646 [BZ #14660]
22647 * Makerules (%.dynsym): Force C locale when running
22648 $(OBJDUMP) --dynamic-syms.
22649
1ab29350
AS
226502012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22651
22652 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22653 <stdint.h>.
22654
f1ecb7ef
DM
226552012-10-06 David S. Miller <davem@davemloft.net>
22656
22657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22658 upper 32-bits of the length value in %o2 since we use branch-on-register
22659 tests which consider the entire 64-bit register.
22660
5d41d91a
L
226612012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22662
22663 * string/test-strstr.c (check2): Add a test for page boundary.
22664
3baddb72
DM
226652012-10-05 David S. Miller <davem@davemloft.net>
22666
22667 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22668 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22669 file.
22670 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22671 sysdep_routines.
22672 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22673 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22674 and bzero when HWCAP_SPARC_CRYPTO is present.
22675
9cee5585
L
226762012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22677
d7e0dab9
L
22678 [BZ #14602]
22679 * string/test-strstr.c (check2): New function.
22680 (test_main): Call check2.
22681
03759f47
L
22682 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22683 and bug-strchr1.
22684 * string/bug-strcasestr1.c (do_test): Moved to ...
22685 * string/test-strcasestr.c (check1): Here. New function.
22686 (do_one_test): Break out result checking code into ...
22687 (check_result): This. New function.
22688 (do_one_test): Call check_result.
22689 (test_main): Call check1.
22690 * string/bug-strchr1.c (do_test): Moved to ...
22691 * string/test-strchr.c (check1): Here. New function.
22692 (do_one_test): Break out result checking code into ...
22693 (check_result): This. New function.
22694 (do_one_test): Call check_result.
22695 (test_main): Call check1.
22696 * string/bug-strstr1.c (main): Moved to ...
046f153e 22697 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22698 (do_one_test): Break out result checking code into ...
22699 (check_result): This. New function.
22700 (do_one_test): Call check_result.
22701 (test_main): Call check1.
22702 * string/bug-strcasestr1.c: Removed.
22703 * string/bug-strchr1.c: Likewise.
22704 * string/bug-strstr1.c: Likewise.
22705
53cea63e
L
22706 * elf/Makefile (dl-routines): Add hwcaps.
22707 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22708 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22709 (_dl_important_hwcaps): Moved to ...
22710 * elf/dl-hwcaps.c: Here. New file.
22711 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22712
9cee5585 22713 [BZ #14557]
bb859b06
L
22714 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22715 if IS_IN_rtld isn't defined.
22716
9cee5585
L
22717 * elf/dl-support.c (_dl_sysinfo_map): New.
22718 Include "get-dynamic-info.h" and "setup-vdso.h".
22719 (_dl_non_dynamic_init): Call setup_vdso.
22720 * elf/dynamic-link.h: Don't include <assert.h>.
22721 (elf_get_dynamic_info): Moved to ...
22722 * elf/get-dynamic-info.h: Here. New file.
22723 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22724 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22725 * elf/setup-vdso.h: Here. New file.
22726 * elf/rtld.c: Include "setup-vdso.h".
22727 (dl_main): Call setup_vdso.
22728
23c31b76
JM
227292012-10-05 Joseph Myers <joseph@codesourcery.com>
22730
28234b07
JM
22731 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22732 creal in comment listing functions tested. List finite, isinf,
22733 isnan, isless, islessequal, isgreater, isgreaterequal,
22734 islessgreater, isunordered, lgamma_r and pow10 as functions and
22735 macros not tested. Mention which functions not tested are aliases
22736 for other functions. Fix typo. Note that signs of NaNs are not
22737 tested.
22738
23c31b76
JM
22739 * scripts/config.guess: Update from config.git.
22740 * scripts/config.sub: Likewise.
22741
9043e228
RM
227422012-10-04 Roland McGrath <roland@hack.frob.com>
22743
22744 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22745 * misc/madvise.c (madvise): Renamed to __madvise.
22746 Make madvise a weak alias.
22747 * include/sys/mman.h: Declare __madvise.
22748 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22749 * sysdeps/unix/syscalls.list
22750 (madvise): Make __madvise the strong name, and madvise a weak alias.
22751 * sysdeps/unix/sysv/linux/syscalls.list
22752 (madvise, mmap): Remove redundant entries.
22753 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22754 * malloc/malloc.c (mtrim): Likewise.
22755 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22756
f57f8055
RM
227572012-10-03 Roland McGrath <roland@hack.frob.com>
22758
22759 * sysdeps/mach/hurd/dl-cache.c: File removed.
22760 * config.h.in (USE_LDCONFIG): New #undef.
22761 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22762 * configure: Regenerated.
22763 * elf/Makefile (dl-routines): Add dl-cache only under
22764 [$(use-ldconfig) = yes].
22765 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22766 cache on [USE_LDCONFIG].
22767 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22768 [USE_LDCONFIG].
22769 * elf/rtld.c (dl_main): Likewise.
22770
5bb0c10a
PT
227712012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22772
22773 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22774 _SC_LEVEL4_CACHE_LINESIZE.
22775
010188c6
RM
227762012-10-03 Roland McGrath <roland@hack.frob.com>
22777
22778 * sysdeps/unix/bsd/confstr.h: File removed.
22779
b6c5ec07
AO
227802012-10-02 Alexandre Oliva <aoliva@redhat.com>
22781
22782 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22783 sys/sdt-config.h.
22784
408223d4
RM
227852012-10-02 Roland McGrath <roland@hack.frob.com>
22786
22787 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22788 Make 'mapoff' field ElfW(Off) rather than off_t.
22789
bb9510dc
DL
227902012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22791
fc997c6e
DL
22792 * nscd/Makefile: Remove nscd-cflags and all its users.
22793 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22794 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22795
bb9510dc
DL
22796 [BZ #10631]
22797 * malloc.c (malloc_printerr): Clarify error message.
22798
05699367
L
227992012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22800
22801 [BZ #14648]
22802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22803 Set bit_FMA_Usable if FMA is supported.
22804 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22805 macro.
22806 (bit_FMA4_Usable): Updated.
22807 (index_FMA_Usable): New macro.
22808 (CPUID_FMA): Likewise
22809 (HAS_FMA): Defined with bit_FMA_Usable.
22810
51367701
RM
228112012-10-01 Roland McGrath <roland@hack.frob.com>
22812
22813 * bits/types.h (__swblk_t): Type removed.
22814 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22815 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22816 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22817 (__SWBLK_T_TYPE): Likewise.
22818 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22819 (__SWBLK_T_TYPE): Likewise.
22820 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22821 (__SWBLK_T_TYPE): Likewise.
22822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22823 (__SWBLK_T_TYPE): Likewise.
22824
4d57bf63 228252012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22826 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22827
22828 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22829 (xdr_mapname): Use YPMAXMAP as maxsize.
22830 (xdr_peername): Use YPMAXPEER as maxsize.
22831 (xdr_keydat): Use YPAXRECORD as maxsize.
22832 (xdr_valdat): Use YPMAXRECORD as maxsize.
22833
93c65d43
RM
228342012-10-01 Roland McGrath <roland@hack.frob.com>
22835
497a03d6
RM
22836 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22837
93c65d43
RM
22838 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22839 * csu/init-first.c: ... here.
22840 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22841 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22842 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22843 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22844 * sysdeps/i386/init-first.c: File removed.
22845 * sysdeps/sh/init-first.c: File removed.
22846
bec749fd
JM
228472012-10-01 Joseph Myers <joseph@codesourcery.com>
22848
22849 [BZ #14645]
22850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22851 if x * y might underflow to zero and z is zero.
22852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22853 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22854 * math/libm-test.inc (min_subnorm_value): New variable.
22855 (fma_test): Add more tests.
22856 (fma_test_towardzero): Likewise.
22857 (fma_test_downward): Likewise
22858 (fma_test_upward): Likewise.
22859 (initialize): Set min_subnorm_value.
22860
8ec5b013
JM
228612012-09-29 Joseph Myers <joseph@codesourcery.com>
22862
22863 [BZ #14638]
22864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22865 0 + 0.
22866 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22867 mode for addition resulting in exact zero.
22868 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22870 exact 0 + 0.
22871 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22873 * math/libm-test.inc (fma_test): Add more tests.
22874 (fma_test_towardzero): New function.
22875 (fma_test_downward): Likewise.
22876 (fma_test_upward): Likewise.
22877 (main): Call the new functions.
22878
b1fa802e
DM
228792012-09-28 David S. Miller <davem@davemloft.net>
22880
22881 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22882
d3b9fd9e
RM
228832012-09-28 Roland McGrath <roland@hack.frob.com>
22884
ea4d37b3
RM
22885 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22886 instead of SIGALRM.
22887
ac51c949
RM
22888 * sysdeps/gnu/_G_config.h: Moved to ...
22889 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22890 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22891 * sysdeps/generic/_G_config.h: ... here.
22892
28c195f7
RM
22893 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22894
848917f9
RM
22895 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22896
6bacf05b
RM
22897 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22898 Conditionalize target on [libnss_test1.so-version].
22899
91363dbb
RM
22900 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22901
cc87f7d8
RM
22902 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22903 (elfobjdir): Move out of conditionals.
22904
b1c608fe
RM
22905 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22906 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22907 (__nss_lookup_function): Conditionalize label remove_from_tree on
22908 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22909
1d9a6d96
DM
229102012-09-28 David S. Miller <davem@davemloft.net>
22911
22912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22913 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22914 file.
22915 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22916 sysdep_routines.
22917 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22919 when HWCAP_SPARC_CRYPTO is present.
22920
72581615
PT
229212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22922
22923 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22924
715a900c
JL
229252012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22926
22927 [BZ #6530]
22928 * stdio-common/vfprintf.c (process_string_arg): Revert
22929 2000-07-22 change.
22930
229312011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22932
22933 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22934 for testcase.
22935 * stdio-common/tst-sprintf.c: Include <locale.h>
22936 (main): Test sprintf's handling of incomplete multibyte
22937 characters.
22938
9bac1d86
L
229392012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 * elf/dl-runtime.c (VERSYMIDX): Removed.
22942 * elf/dl-version.c (VERSYMIDX): Likewise.
22943 * elf/do-rel.h (VERSYMIDX): Likewise.
22944 (VALIDX): Likewise.
22945 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22946 * elf/rtld.c (VALIDX): Likewise.
22947 (ADDRIDX): Likewise.
9bac1d86
L
22948 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22949 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22950 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22951 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22952 (VALIDX): Likewise.
22953 (ADDRIDX): Likewise.
9bac1d86 22954
b31606c0
PT
229552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22956
22957 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22958
11541177
JL
229592012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22960
22961 [BZ #11438]
22962 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22963 to global scope.
22964 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22965 addresses are in the same scope as 192.0.2/24.
22966 * posix/gai.conf: Document new scope table defaults.
22967
adb26fae
SP
229682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22969
22970 [BZ #5298]
22971 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22972 for ftell. Compute offsets from write pointers instead.
22973 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22974
4573c6b0
SP
229752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22976
22977 [BZ #14543]
22978 * libio/Makefile (tests): New test case tst-fseek.
22979 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22980 combination works in wide mode.
22981 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22982 state when the external buffer state changes.
22983
aa9bbfe6
DM
229842012-09-27 David S. Miller <davem@davemloft.net>
22985
22986 [BZ #14376]
22987 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22988 pass reloc->r_addend in as the 'high' argument to
22989 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22990
784421e7
DM
22991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22992
c39bc8b8
PT
229932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22994
22995 * rt/tst-aio2.c: Include <pthread.h>.
22996 * rt/tst-aio3.c: Likewise.
22997
1ccc2399
SE
229982012-09-27 Steve Ellcey <sellcey@mips.com>
22999
23000 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23001
31ed4153
L
230022012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23003
25f5f885
L
23004 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23005 contents on [SHARED].
31ed4153 23006
b7bfe116
MP
230072012-09-26 Marek Polacek <polacek@redhat.com>
23008
23009 [BZ #14530]
23010 [BZ #13741]
23011 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23012 for C++ and GCC <4.3 as well as for non GCC compilers.
23013
43c4edba
MT
230142012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23015
23016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23017
6a1bf82f
RM
230182012-09-25 Roland McGrath <roland@hack.frob.com>
23019
23020 * Makefile.in (all, install): Declare with .PHONY.
23021 Reported by Michael Hope <michael.hope@linaro.org>.
23022
8ad11b9a
TMQMF
230232012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23024
23025 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23026 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23027 system header.
23028 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23029 Likewise.
23030 (sydep_routines): Add the new and the internal functions.
23031 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23032 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23034 (GLIBC_2.17): Add the new function.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23036 (GLIBC_2.17): Likewise.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23038 (GLIBC_2.17): Likewise.
23039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23040 (GLIBC_2.17): Likewise.
23041 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23042
7e2fca8d
AM
230432012-09-25 Alan Modra <amodra@gmail.com>
23044
23045 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23046 Add release barrier before setting once_control to say
23047 initialisation is done. Add hints on lwarx. Use macro in
23048 place of isync.
23049 (clear_once_control): Add release barrier.
23050
b87c4b24
JM
230512012-09-25 Joseph Myers <joseph@codesourcery.com>
23052
d032e0d2
JM
23053 [BZ #13629]
23054 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23055 specially.
23056 * math/s_clog10.c (__clog10): Likewise.
23057 * math/s_clog10f.c (__clog10f): Likewise.
23058 * math/s_clog10l.c (__clog10l): Likewise.
23059 * math/s_clogf.c (__clogf): Likewise.
23060 * math/s_clogl.c (__clogl): Likewise.
23061 * math/Makefile (libm-calls): Add x2y2m1.
23062 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23063 (__x2y2m1): Likewise.
23064 (__x2y2m1l): Likewise.
23065 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23066 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23067 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23068 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23069 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23070 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23071 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23072 * sysdeps/i386/fpu/libm-test-ulps: Update.
23073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23074
b87c4b24
JM
23075 [BZ #14621]
23076 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23077 int as type of variable DEPTH.
23078 (glob): Use size_t instead of int as type of variables NEWCOUNT
23079 and OLD_PATHC.
23080
6d3bf199
LD
230812012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23082
22bf5c17
LD
23083 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23084 Add s_sincosf-sse2.
23085 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23086 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23087 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23088 macros for using routine as __sincosf_ia32.
23089 Use macro for function declaration and weak_alias.
23090 * sysdeps/i386/fpu/libm-test-ulps: Update.
23091
23092 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23094
23095 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23096 subnormal argument.
23097 * math/s_cexpf.c (__cexpf): Likewise.
23098 * math/s_csinf.c (__csinf): Likewise.
23099 * math/s_csinhf.c (__csinhf): Likewise.
23100 * math/s_ctanf.c (__ctanf): Likewise.
23101 * math/s_ctanhf.c (__ctanhf): Likewise.
23102 * math/s_ccosh.c (__ccoshf): Likewise.
23103 * math/s_cexp.c (__cexpl): Likewise.
23104 * math/s_csin.c (__csin): Likewise.
23105 * math/s_csinh.c (__csinh): Likewise.
23106 * math/s_ctan.c (__ctan): Likewise.
23107 * math/s_ctanh.c (ctanh): Likewise.
23108 * math/s_ccoshl.c (__ccoshl): Likewise.
23109 * math/s_cexpl.c (__cexpl): Likewise.
23110 * math/s_csinl.c (__csinl): Likewise.
23111 * math/s_csinhl.c (__csinhl): Likewise.
23112 * math/s_ctanl.c (__ctanl): Likewise.
23113 * math/s_ctanhl.c (__ctanhl): Likewise.
23114
203e5603
JM
231152012-09-25 Joseph Myers <joseph@codesourcery.com>
23116
23117 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23118 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23119 (_IO_off_t): Define to __off_t, not _G_off_t.
23120 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23121 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23122 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23123 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23124 type of __dummy and __dummy2 fields.
23125 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23126 (_G_ssize_t): Likewise.
23127 (_G_off_t): Likewise.
23128 (_G_pid_t): Likewise.
23129 (_G_uid_t): Likewise.
23130 (_G_wchar_t): Likewise.
23131 (_G_wint_t): Likewise.
23132 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23133 (_G_ssize_t): Likewise.
23134 (_G_off_t): Likewise.
23135 (_G_pid_t): Likewise.
23136 (_G_uid_t): Likewise.
23137 (_G_wchar_t): Likewise.
23138 (_G_wint_t): Likewise.
23139 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23140 (_G_ssize_t): Likewise.
23141 (_G_off_t): Likewise.
23142 (_G_pid_t): Likewise.
23143 (_G_uid_t): Likewise.
23144 (_G_wchar_t): Likewise.
23145 (_G_wint_t): Likewise.
23146
9fab36eb
SP
231472012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23148
23149 * malloc/arena.c: Include malloc-sysdep.h.
23150 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23151 is sufficient to shrink the heap or an unmap is needed.
23152 * sysdeps/generic/malloc-sysdep.h: New file. Define
23153 new function check_may_shrink_heap.
23154 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23155 new function check_may_shrink_heap.
23156
2b4f00d1
SP
231572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23158
23159 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23160 comments.
23161
9a9028b1
DL
231622012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23163
57c69bef
DL
23164 * catgets/test-gencat.sh: Add "set -e".
23165 * elf/tst-pathopt.sh: Likewise.
23166 * grp/tst_fgetgrent.sh: Likewise.
23167 * iconvdata/run-iconv-test.sh: Likewise.
23168 * intl/tst-gettext.sh: Likewise.
23169 * intl/tst-gettext2.sh: Likewise.
23170 * intl/tst-gettext4.sh: Likewise.
23171 * intl/tst-gettext6.sh: Likewise.
23172 * intl/tst-translit.sh: Likewise.
23173 * io/ftwtest-sh: Likewise.
23174 * libio/test-freopen.sh: Likewise.
23175 * malloc/tst-mtrace.sh: Likewise.
23176 * posix/globtest.sh: Likewise.
23177 * posix/tst-getconf.sh: Likewise.
23178 * posix/wordexp-tst.sh: Likewise.
23179 * stdio-common/tst-printf.sh: Likewise.
23180 * stdio-common/tst-unbputc.sh: Likewise.
23181 * stdlib/tst-fmtmsg.sh: Likewise.
23182 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23183 * catgets/Makefile: Do not specify -e option when running
23184 testsuite shell scripts.
23185 * elf/Makefile: Likewise.
23186 * grp/Makefile: Likewise.
23187 * iconvdata/Makefile: Likewise.
23188 * intl/Makefile: Likewise.
23189 * io/Makefile: Likewise.
23190 * libio/Makefile: Likewise.
23191 * malloc/Makefile: Likewise.
23192 * posix/Makefile: Likewise.
23193 * stdio-common/Makefile: Likewise.
23194 * stdlib/Makefile: Likewise.
23195 * sysdeps/x86_64/Makefile: Likewise.
23196
9a9028b1
DL
23197 * io/ftwtest-sh: Add copyright header.
23198 * posix/globtest.sh: Likewise.
23199 * posix/tst-getconf.sh: Likewise.
23200 * posix/wordexp-tst.sh: Likewise.
23201 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23202
ced6f16e
L
232032012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23204
94b32c39
L
23205 [BZ #13679]
23206 * Makeconfig (+link): Defined as $(+link-static) if
23207 $(build-shared) isn't yes.
23208 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23209 isn't yes.
23210 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23211
189e935b
L
23212 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23213
ced6f16e
L
23214 [BZ #14562]
23215 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23216 new chunk size with MALLOC_ALIGN_MASK.
23217
a9f8e53a
JM
232182012-09-24 Joseph Myers <joseph@codesourcery.com>
23219
23220 [BZ #5044]
23221 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23222 <rounding-mode.h>.
23223 (__printf_fphex): Determine rounding using get_rounding_mode and
23224 round_away.
23225 * stdio-common/tst-printf-round.c (struct hex_test): New
23226 structure.
23227 (hex_tests): New variable.
23228 (test_hex_in_one_mode): New function.
23229 (do_test): Also run tests for hex float output.
23230
43153109
JM
232312012-09-21 Joseph Myers <joseph@codesourcery.com>
23232
23233 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23234 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23235 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23236 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23237 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23238 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23239 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23240 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23241
8a26625d
JM
232422012-09-20 Joseph Myers <joseph@codesourcery.com>
23243
23244 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23245 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23246 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23247 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23248
f3fd569c
DL
232492012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23250
23251 [BZ #14579]
23252 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23253 mode only.
23254 * elf/tst-rtld-load-self.sh: New test.
23255 * elf/Makefile: Run it.
23256
63bbedd4
JM
232572012-09-18 Joseph Myers <joseph@codesourcery.com>
23258
23259 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23260 (tst-writev-ENV): Remove.
23261 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23262
626f8b6a
CM
232632012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23264
23265 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23266
b7aaa4d6
JM
232672012-09-17 Joseph Myers <joseph@codesourcery.com>
23268
23269 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23270 unconditional.
23271 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23272 Likewise.
23273 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23274 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23275 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23276 Likewise.
23277
65513990
L
232782012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23279
23280 [BZ #14587]
23281 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23282 * config.make.in (have-cpp-asm-debuginfo): Removed.
23283 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23284 * configure: Regenerated.
23285
784761be
JM
232862012-09-14 Joseph Myers <joseph@codesourcery.com>
23287
23288 [BZ #5044]
23289 * stdio-common/printf_fp.c: Include <stdbool.h> and
23290 <rounding-mode.h>.
23291 (___printf_fp): Determine rounding using get_rounding_mode and
23292 round_away.
23293 * stdio-common/tst-printf-round.c: New file.
23294 * stdio-common/Makefile (tests): Add tst-printf-round.
23295 (link-libm): New variable.
23296 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23297
9503345f
L
232982012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23299
23300 [BZ #14576]
23301 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23302 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23303 Likewise.
23304 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23305 Likewise.
23306
ad35fc00
JM
233072012-09-13 Joseph Myers <joseph@codesourcery.com>
23308
23309 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23310 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23311 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23313
6c9b0f68
JM
233142012-09-12 Joseph Myers <joseph@codesourcery.com>
23315
23316 [BZ #14518]
23317 * include/rounding-mode.h: New file.
23318 * sysdeps/generic/get-rounding-mode.h: Likewise.
23319 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23320 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23321 (MAX_VALUE): New macro.
23322 (MIN_VALUE): Likewise.
23323 (overflow_value): New function.
23324 (underflow_value): Likewise.
23325 (round_and_return): Use overflow_value and underflow_value to
23326 determine return values in overflow and underflow cases. Use
23327 round_away to determine rounding depending on rounding mode.
23328 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23329 determine return values in overflow and underflow cases.
23330 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23331 (struct test_results): New structure.
23332 (struct test): Use struct test_results to store expected results
23333 for all rounding modes.
23334 (TEST): Include expected results for all rounding modes.
23335 (test_in_one_mode): New function.
23336 (do_test): Use test_in_one_mode to compute and check results.
23337 Check results for all rounding modes.
23338 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23339 $(link-libm).
23340
19fcedd5
AM
233412012-12-09 Allan McRae <allan@archlinux.org>
23342
1e9d84cd 23343 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23344
8bbfd2f1
JM
233452012-09-11 Joseph Myers <joseph@codesourcery.com>
23346
23347 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23348 (_G_int32_t): Likewise.
23349 (_G_uint16_t): Likewise.
23350 (_G_uint32_t): Likewise.
23351 (_G_HAVE_BOOL): Likewise.
23352 (_G_HAVE_ATEXIT): Likewise.
23353 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23354 (_G_HAVE_IO_FILE_OPEN): Likewise.
23355 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23356 (_G_int32_t): Likewise.
23357 (_G_uint16_t): Likewise.
23358 (_G_uint32_t): Likewise.
23359 (_G_HAVE_BOOL): Likewise.
23360 (_G_HAVE_ATEXIT): Likewise.
23361 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23362 (_G_HAVE_IO_FILE_OPEN): Likewise.
23363 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23364 (_G_int32_t): Likewise.
23365 (_G_uint16_t): Likewise.
23366 (_G_uint32_t): Likewise.
23367 (_G_HAVE_BOOL): Likewise.
23368 (_G_HAVE_ATEXIT): Likewise.
23369 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23370 (_G_HAVE_IO_FILE_OPEN): Likewise.
23371
b1dc5912
L
233722012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23373
23374 * csu/libc-tls.c: Update copyright years.
23375
0e886ef9
JM
233762012-09-10 Joseph Myers <joseph@codesourcery.com>
23377
28361c5e
JM
23378 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23379 [!_G_USING_THUNKS]: Remove conditional code.
23380 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23381 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23382
0e886ef9
JM
23383 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23384 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23385 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23386 (_G_VTABLE_LABEL_PREFIX): Likewise.
23387 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23388 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23389 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23390 (_G_VTABLE_LABEL_PREFIX): Likewise.
23391 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23392 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23393 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23394 (_G_VTABLE_LABEL_PREFIX): Likewise.
23395 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23396
bcba7aa2
L
233972012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23398
23399 * libio/Makefile: Include ../Makeconfig before tests.
23400 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23401 only if $(build-shared) is yes.
23402
06585ee8
L
23403 * iconv/gconv_db.c: Update copyright years.
23404
80ccd52c
LD
234052012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23406
23407 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23408 unwind info if defined PIC. Fix special cases description.
23409 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23410
23411 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23412 DP_HI_MASK entry.
23413 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23414
691bc9c1
L
234152012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23416
3d9b46b3
L
23417 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23418
de2139a9
L
23419 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23420 is NULL.
23421
5ca78dd0
L
23422 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23423 (LDLIBS-tst-chk4): This.
23424 (LDFLAGS-tst-chk5): Renamed to ...
23425 (LDLIBS-tst-chk5): This.
23426 (LDFLAGS-tst-chk6): Renamed to ...
23427 (LDLIBS-tst-chk6): This.
23428 (LDFLAGS-tst-lfschk4): Renamed to ...
23429 (LDLIBS-tst-lfschk4): This.
23430 (LDFLAGS-tst-lfschk5): Renamed to ...
23431 (LDLIBS-tst-lfschk5): This.
23432 (LDFLAGS-tst-lfschk6): Renamed to ...
23433 (LDLIBS-tst-lfschk6): This.
23434
691bc9c1
L
23435 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23436 on $(common-objpfx)soversions.mk.
23437
65cafb1c
JM
234382012-09-07 Joseph Myers <joseph@codesourcery.com>
23439
23440 [BZ #10014]
23441 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23442 example host name.
23443
c78ab094
SP
234442012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23445
23446 * malloc/arena.c (arena_get_retry): New function that gets
23447 another arena for the caller to try its request on.
23448 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23449 current arena cannot fulfill the request.
23450 (__libc_memalign): Likewise.
23451 (__libc_memalign): Likewise.
23452 (__libc_pvalloc): Likewise.
23453 (__libc_calloc): Likewise.
23454
01f49f59
JT
234552012-09-05 John Tobey <john.tobey@gmail.com>
23456
23457 [BZ #13542]
23458 * manual/arith.texi (Operations on Complex): Fix description
23459 of carg branch cut.
23460
4c23fed5
JM
234612012-09-06 Joseph Myers <joseph@codesourcery.com>
23462
1d3c8572
JM
23463 [BZ #10014]
23464 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23465 host name.
23466
4c23fed5
JM
23467 [BZ #10038]
23468 * manual/memory.texi (Memory): Make order of menu items match
23469 order of sections.
23470
04570aaa
L
234712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23472
23473 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23474 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23475 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23476
b80af2f4
L
234772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23478
23479 * csu/libc-tls.c (static_dtv): Renamed to ...
23480 (_dl_static_dtv): This. Make it global.
23481 (_dl_initial_dtv): Removed.
23482 (__libc_setup_tls): Updated.
23483 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23484 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23485 DL_INITIAL_DTV.
23486
2abe9f15
PM
234872012-09-06 Petr Machata <pmachata@redhat.com>
23488
23489 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23490 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23491 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23492 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23493
0948c3af
L
234942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23495
23496 [BZ #14545]
23497 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23498 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23499 freeing dtv[-1].
23500
a5055ad1
L
235012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23502
23503 [BZ #14544]
23504 * Makeconfig (link-static-before-libc): Replace $(+prector)
23505 with $(+prectorT).
23506 (link-static-after-libc): Replace $(+postctor) with
23507 $(+postctorT).
23508 (link-bounded): Replace $(+prector)/$(+postctor) with
23509 $(+prectorT)/$(+postctorT).
23510 (+prectorT): New macro.
23511 (+postctorT): Likewise.
23512
ed8c2ecd
JM
235132012-09-06 Joseph Myers <joseph@codesourcery.com>
23514
23515 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23516 (round_str): Handle values above the maximum for IBM long double
23517 as inexact.
23518 * stdlib/tst-strtod-round.c (tests): Regenerated.
23519
14c996c8
AK
235202012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23521
23522 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23523 assembler flag.
23524 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23525 zarch_nohighgprs around the zarch optimized routines.
23526 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23527 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23528 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23529 for zarch.
23530
430d6ce6
DM
235312012-09-05 David S. Miller <davem@davemloft.net>
23532
23533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23534
ff04dda4
DM
23535 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23536 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23537 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23538 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23539 entries.
23540
24d4e01b
AO
235412012-09-05 Alexandre Oliva <aoliva@redhat.com>
23542
23543 * malloc/arena.c: Fold copyright years.
23544 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23545
61d58174
AO
235462012-09-05 Alexandre Oliva <aoliva@redhat.com>
23547
23548 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23549
20196a5e
AO
235502012-09-05 Alexandre Oliva <aoliva@redhat.com>
23551
23552 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23553
5c447383
AO
235542012-09-05 Alexandre Oliva <aoliva@redhat.com>
23555
23556 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23557 change internal state upon failure.
23558
fad64255
AO
235592012-09-05 Alexandre Oliva <aoliva@redhat.com>
23560
23561 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23562 * malloc/memusage.c (mmap): Likewise.
23563 (mmap64, mremap): Likewise. Adjust name in comment.
23564
1ffb8c90
SP
235652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23566
23567 * libio/fileops.c: Fix typos in comments.
23568 * libio/oldfileops.c: Likewise.
23569 * libio/wfileops.c: Likewise.
23570
6ef9cc37
SP
235712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23572
23573 [BZ #1349]
23574 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23575 (tst-malloc-usable-ENV): Set environment for test case.
23576 * malloc/hooks.c (malloc_check_get_size): New function to get
23577 requested size.
23578 * malloc/malloc.c (musable): Use malloc_check_get_size.
23579 * malloc/tst-malloc-usable.c: New test case.
23580
4d038ae3
AS
235812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23582
23583 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23584
c4e85184
AM
235852012-09-05 Allan McRae <allan@archlinux.org>
23586
b9dafc56 23587 [BZ #13966]
c4e85184
AM
23588 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23589 determine header location.
23590 * configure: Regenerated.
23591
e1343020
AS
235922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23593
23594 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23595 float format.
23596 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23597 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23598 format.
e1343020
AS
23599 (test): Regenerate.
23600
0a9f1987
DM
236012012-09-04 David S. Miller <davem@davemloft.net>
23602
23603 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23604 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23605 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23606
29237804
FW
236072012-09-04 Florian Weimer <fweimer@redhat.com>
23608
23609 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23610 failures.
23611
edb3cb88
FW
23612 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23613
60160d83
JM
236142012-09-04 Joseph Myers <joseph@codesourcery.com>
23615
23616 [BZ #9914]
23617 * libio/iogetdelim.c: Include <limits.h>.
23618 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23619 + len + 1 would overflow.
23620
bcd6c8dc
AJ
236212012-09-03 Andreas Jaeger <aj@suse.de>
23622
23623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23624 * sysdeps/i386/fpu/libm-test-ulps: Update.
23625
4ffffbd2
LD
236262012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23627
23628 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23629 Add s_sinf-sse2, s_conf-sse2.
23630
23631 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23632 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23633 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23634 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23635
23636 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23637 for using routine as __sinf_ia32.
23638 Use macro for function declaration and weak_alias.
23639 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23640 for using routine as __cosf_ia32.
23641 Use macro for function declaration and weak_alias.
23642
23643 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23644 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23645
23646 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23647 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23649
23650 * math/libm-test.inc (cos_test): Add more test cases.
23651 (sin_test): Likewise.
23652 (sincos_test): Likewise.
23653
511fa286
AK
236542012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23655
23656 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23657 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23658 hidden.
23659 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23660
5f30cfec
L
236612012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23662
23663 [BZ #14538]
23664 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23665 first element of the GOT.
23666 (elf_machine_load_address): Return the difference between
23667 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23668
0786794f
AM
236692012-09-01 Allan McRae <allan@archlinux.org>
23670
5f30cfec
L
23671 [BZ #13412]
23672 * configure.in (AWK): Require gawk version 3.0 or later.
23673 * configure: Regenerated.
0786794f 23674
26889eac
JM
236752012-09-01 Joseph Myers <joseph@codesourcery.com>
23676
23677 * sysdeps/unix/sysv/linux/kernel-features.h
23678 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23679 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23680 [__NR_clock_getres]: Make code unconditional.
23681 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23682 (clock_getcpuclockid): Remove code left unreachable by removal of
23683 conditionals.
23684 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23685 code unconditional.
23686 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23687 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23688 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23689 Make code unconditional.
23690 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23691 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23692 * sysdeps/unix/sysv/linux/clock_settime.c
23693 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23694 conditional code.
23695 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23696 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23697
d22e28b0
L
236982012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23699
23700 [BZ #14476]
23701 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23702 scripts/test-installation.pl.
23703
23704 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23705 and $ld_so_version if it is set.
23706
050af9c4
SP
237072012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23708
23709 [BZ #14516]
23710 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23711 failure if reading from procfs failed.
23712 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23713
ad845c0b
JM
237142012-08-27 Joseph Myers <joseph@codesourcery.com>
23715
23716 * sysdeps/unix/sysv/linux/kernel-features.h
23717 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23718 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23719 Remove conditional code.
23720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23721 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23722 Remove conditional code.
23723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23724 * sysdeps/unix/sysv/linux/i386/fxstat.c
23725 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23727 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23728 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23730 * sysdeps/unix/sysv/linux/i386/lxstat.c
23731 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23732 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23733 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23734 Remove conditional code.
23735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23736 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23737 Remove conditional code.
23738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23739 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23740 <kernel-features.h>.
23741 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23742 Remove.
23743 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23744 Remove conditional code.
23745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23746 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23747 Remove conditional.
23748
5dbf56af
MF
237492012-08-27 Mike Frysinger <vapier@gentoo.org>
23750
23751 [BZ #5400]
23752 * NEWS: Add fixed bug number.
23753
d6e70f43
JM
237542012-08-27 Joseph Myers <joseph@codesourcery.com>
23755
7efb4737
JM
23756 [BZ #14519]
23757 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23758 underflowing exponent in case of negative sign.
23759 * stdlib/tst-strtod-round-data: Add more tests.
23760 * stdlib/tst-strtod-round.c (tests): Regenerated.
23761
af92131a
JM
23762 [BZ #3479]
23763 * stdlib/strtod_l.c (NDIG): Remove.
23764 (HEXNDIG): Likewise.
23765 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23766 smallest representable value.
23767 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23768 lie within an exact representation of 1/2 ulp of the result.
23769 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23770 unconditionally.
23771 (TENS_P9_IDX): Define unconditionally.
23772 (TENS_P9_SIZE): Likewise.
23773 (TENS_P10_IDX): Likewise.
23774 (TENS_P10_SIZE): Likewise.
23775 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23776 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23777 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23778 entries for 10^2^13 and 10^2^14.
23779 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23780 (TENS_P13_IDX): Define.
23781 (TENS_P13_SIZE): Likewise.
23782 (TENS_P14_IDX): Likewise.
23783 (TENS_P14_SIZE): Likewise.
23784 (_fpioconst_pow10): Change array size to
23785 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23786 unconditional.
23787 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23788 1024]: Add entries for 10^2^13 and 10^2^14.
23789 [LAST_POW10 > _LAST_POW10]: Remove #error.
23790 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23791 (_fpioconst_pow10): Change array size to
23792 FPIOCONST_POW10_ARRAY_SIZE.
23793 * stdlib/gen-fpioconst.c: New file.
23794 * stdlib/gen-tst-strtod-round.c: Likewise.
23795 * stdlib/tst-strtod-round-data: Likewise.
23796 * stdlib/tst-strtod-round.c: Likewise.
23797 * stdlib/Makefile (tests): Add tst-strtod-round.
23798
d6e70f43
JM
23799 [BZ #14459]
23800 * stdlib/strtod_l.c: Include <stdint.h>.
23801 (NDEBUG): Do not define.
23802 (round_and_return): Change EXPONENT parameter to type intmax_t.
23803 Rearrange calculations to avoid internal overflow possibilities.
23804 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23805 Rearrange calculations to avoid internal overflow possibilities.
23806 Assert that number fits inside MPNSIZE limbs.
23807 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23808 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23809 calculations and add assertions to avoid internal overflow
23810 possibilities. Add casts to avoid signed/unsigned operations.
23811 * stdlib/tst-strtod-overflow.c: New file.
23812 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23813
1f529f7d
MP
238142012-08-25 Marek Polacek <polacek@redhat.com>
23815
23816 * time/time.h: Fix some typos in comments.
23817
59a629f1
RM
238182012-08-23 Roland McGrath <roland@hack.frob.com>
23819
23820 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23821 * posix/tst-rfc3484-2.c: Likewise.
23822 * posix/tst-rfc3484-3.c: Likewise.
23823
d3bafbc9
SM
238242012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23825
23826 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23827 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23828
4efcc022
JM
238292012-08-23 Joseph Myers <joseph@codesourcery.com>
23830
23831 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23832 #include of fxstatat64.c.
23833
3cc3ef96
RM
238342012-08-22 Roland McGrath <roland@hack.frob.com>
23835
f04e2132
RM
23836 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23837 * shadow/getspent_r.c: Likewise.
23838 * shadow/getspnam.c: Likewise.
23839 * shadow/getspnam_r.c: Likewise.
23840 * gshadow/getsgent.c: Likewise.
23841 * gshadow/getsgent_r.c: Likewise.
23842 * gshadow/getsgnam.c: Likewise.
23843 * gshadow/getsgnam_r.c: Likewise.
23844 * inet/getnetbyad.c: Likewise.
23845 * inet/getnetbyad_r.c: Likewise.
23846 * inet/getnetbynm.c: Likewise.
23847 * inet/getnetbynm_r.c: Likewise.
23848 * inet/getnetent.c: Likewise.
23849 * inet/getnetent_r.c: Likewise.
23850 * inet/getproto.c: Likewise.
23851 * inet/getproto_r.c: Likewise.
23852 * inet/getprtent.c: Likewise.
23853 * inet/getprtent_r.c: Likewise.
23854 * inet/getprtname.c: Likewise.
23855 * inet/getprtname_r.c: Likewise.
23856 * inet/getrpcbyname.c: Likewise.
23857 * inet/getrpcbyname_r.c: Likewise.
23858 * inet/getrpcbynumber.c: Likewise.
23859 * inet/getrpcbynumber_r.c: Likewise.
23860 * inet/getrpcent.c: Likewise.
23861 * inet/getrpcent_r.c: Likewise.
23862 * inet/getaliasent.c: Likewise.
23863 * inet/getaliasent_r.c: Likewise.
23864 * inet/getaliasname.c: Likewise.
23865 * inet/getaliasname_r.c: Likewise.
23866 * nscd/getgrgid_r.c: Likewise.
23867 * nscd/getgrnam_r.c: Likewise.
23868 * nscd/gethstbyad_r.c: Likewise.
23869 * nscd/gethstbynm3_r.c: Likewise.
23870 * nscd/getpwnam_r.c: Likewise.
23871 * nscd/getpwuid_r.c: Likewise.
23872 * nscd/getsrvbynm_r.c: Likewise.
23873 * nscd/getsrvbypt_r.c: Likewise.
23874 * nscd/gai.c: Likewise.
23875
c53d909c
RM
23876 * configure.in (build_nscd): New substituted variable, set
23877 by --disable-build-nscd and defaults to $use_nscd.
23878 * configure: Regenerated.
23879 * config.make.in (build-nscd): New substituted variable.
23880 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23881 Change conditional to require [$(build-nscd) = yes] as well.
23882 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23883
3cc3ef96
RM
23884 [BZ# 13696]
23885 * configure.in (use_nscd): New substituted variable, set by
23886 --disable-nscd. If enabled, define USE_NSCD.
23887 * configure: Regenerated.
23888 * config.h.in: Add USE_NSCD.
23889 * config.make.in (use-nscd): New substituted variable.
23890 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23891 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23892 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23893 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23894 (CFLAGS-getgrnam_r.c): Likewise.
23895 (CFLAGS-initgroups.c): Likewise.
23896 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23897 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23898 Variables removed.
23899 * inet/getnetgrent_r.c
23900 (nscd_setnetgrent): New function, broken out of ...
23901 (setnetgrent): ... here. Call it.
23902 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23903 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23904 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23905 * nscd/Makefile (routines, aux): Move definitions after include of
23906 Makeconfig. Conditionalize on [$(use-nscd) != no].
23907 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23908 Conditionalize on [USE_NSCD].
23909 (is_nscd, nscd_init_cb): Likewise.
23910 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23911 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23912 * nss/nss_db/db-init.c: Likewise.
23913 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23914 [USE_NSCD].
23915 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23916 (make_request): Use it.
23917 (cache_valid_p): New function.
23918 (__check_pf): Use it.
23919 * NEWS: Add item for --disable-nscd.
23920
07e51550
DL
239212012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23922
23923 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23924 to support sed >= 4.2.1-20-ga9bf076.
23925 * configure: Regenerated.
23926
35a5b08b
RM
239272012-08-22 Roland McGrath <roland@hack.frob.com>
23928
23929 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23930 Conditionalize whole body on [IREL].
23931
8479f23a
JL
239322012-08-22 Jeff Law <law@redhat.com>
23933
23934 [BZ #14505]
23935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23936 if the family is PF_UNSPEC.
23937
48da0b21
MF
239382012-08-22 Mike Frysinger <vapier@gentoo.org>
23939
23940 * Makerules (lib-version): Rename from V.
23941 (install-lib-nosubdir): Change V to lib-version.
23942
15d0da8c
WS
239432012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23944
23945 [BZ #14252]
23946 * powerpc32/power6/wcschr.c: New file.
23947 * powerpc32/power6/wcscpy.c: New file.
23948 * powerpc32/power6/wcsrchr.c: New file.
23949 * powerpc64/power6/wcschr.c: New file.
23950 * powerpc64/power6/wcscpy.c: New file.
23951 * powerpc64/power6/wcsrchr.c: New file.
23952
bcca0895
MK
239532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23954
23955 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23956 (two_way_short_needle): Use it.
5a4aaa33
RM
23957 * string/strstr.c (AVAILABLE1_USES_J): Define.
23958 * string/strcasestr.c: Likewise.
99677e57
MK
23959
23960 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23961 array references.
23962 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23963
400726de
MK
23964 [BZ #11607]
23965 * NEWS: Add an entry.
23966 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23967 define their defaults.
23968 (two_way_short_needle): Detect end-of-string on-the-fly.
23969 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23970 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23971 * string/bug-strcasestr1.c: New test.
23972 * string/Makefile: Run it.
23973
20a71f2c
MK
239742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23975
23976 [BZ #11607]
23977 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23978 the first character.
23979
21ad0558
RM
239802012-08-21 Roland McGrath <roland@hack.frob.com>
23981
23982 * csu/elf-init.c (__libc_csu_irel): Function removed.
23983 * csu/libc-start.c (apply_irel): New function.
23984 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23985
0e1d9911
JM
239862012-08-21 Joseph Myers <joseph@codesourcery.com>
23987
23988 * sysdeps/unix/sysv/linux/kernel-features.h
23989 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23990 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23991 <kernel-features.h>.
23992 [__NR_fadvise64_64]: Make code unconditional.
23993 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23994 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23995 !__NR_fadvise64_64)]: Likewise.
23996 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23997 !__NR_fadvise64_64))]: Likewise.
23998 [__NR_fadvise64]: Make code unconditional.
23999 [!__NR_fadvise64]: Remove conditional code.
24000 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24001 <kernel-features.h>.
24002 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24003 unconditional.
24004 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24005 conditional code.
24006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24007 not include <kernel-features.h>.
24008 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24009 unconditional.
24010 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24011 conditional code.
24012 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24013 include <kernel-features.h>.
24014 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24015 unconditional.
24016 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24017 conditional code.
24018
14a50c9d
WS
240192012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24020
24021 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24022 slight instruction rearrangements per scrollpipe analysis.
24023 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24024
c0f4faf0
RM
240252012-08-20 Roland McGrath <roland@hack.frob.com>
24026
696da859
RM
24027 * manual/syslog.texi (syslog; vsyslog, closelog):
24028 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24029 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24030
c0f4faf0
RM
24031 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24032 DSOCAPS to match condition on defining it.
24033
348363b2
JM
240342012-08-20 Joseph Myers <joseph@codesourcery.com>
24035
a35cbf28
JM
24036 * sysdeps/unix/sysv/linux/kernel-features.h
24037 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24039 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24040 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24042 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24043 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24045 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24046 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24047
445f7ecd
JM
24048 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24049 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24050
348363b2
JM
24051 * sysdeps/unix/sysv/linux/kernel-features.h
24052 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24053 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24054 unconditional.
24055 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24056 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24057 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24058 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24059 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24060 Make code unconditional.
24061 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24062 (__mmap64) [!__NR_mmap2]: Likewise.
24063 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24064 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24065 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24066 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24067 [__NR_mmap2]: Make code unconditional.
24068 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24069 (__mmap64) [!__NR_mmap2]: Likewise.
24070
bc5bc0e5
AK
240712012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24072
24073 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24074
88d506de
AJ
240752012-08-18 Andreas Jaeger <aj@suse.de>
24076
24077 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24078
493387d2
MF
240792012-08-18 Mike Frysinger <vapier@gentoo.org>
24080
24081 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24082 * include/unistd.h (__have_sock_cloexec): Likewise.
24083 (__have_pipe2): Likewise.
24084 (__have_dup3): Likewise.
24085
a277af22
MF
240862012-08-18 Mike Frysinger <vapier@gentoo.org>
24087
24088 [BZ #9685]
24089 * include/unistd.h (__have_pipe2): Change define into an extern int.
24090 (__have_dup3): Likewise.
24091 * socket/have_sock_cloexec.c: Include fcntl.h.
24092 (__have_pipe2): New variable.
24093 (__have_dup3): Likewise.
24094
fdab8fd3
MF
240952012-08-17 Mike Frysinger <vapier@gentoo.org>
24096
24097 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24098
31035e80
MP
240992012-08-17 Marek Polacek <polacek@redhat.com>
24100
24101 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24102 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24103
3bd9e993
RM
241042012-08-17 Roland McGrath <roland@hack.frob.com>
24105
c91c505f
RM
24106 * configure.in: Add AC_SUBST for sysheaders.
24107 * configure: Regenerated.
24108 * config.make.in (sysheaders): New substituted variable.
24109
7c6f9d53
RM
24110 * sysdeps/unix/mkfifo.c: Moved ...
24111 * sysdeps/posix/mkfifo.c: ... here.
24112 * sysdeps/unix/mkfifoat.c: Moved ...
24113 * sysdeps/posix/mkfifoat.c: ... here.
24114
24115 * sysdeps/unix/utime.c: Moved ...
24116 * sysdeps/posix/utime.c: ... here.
24117
24118 * sysdeps/unix/time.c: Moved ...
24119 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24120 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24121 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24122
24123 * sysdeps/unix/nice.c: Moved ...
24124 * sysdeps/posix/nice.c: ... here.
24125
24126 * sysdeps/unix/alarm.c: Moved ...
24127 * sysdeps/posix/alarm.c: ... here.
24128
3bd9e993
RM
24129 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24130
d1f09384
JL
241312012-08-17 Jeff Law <law@redhat.com>
24132
24133 * intl/Makefile (codeset_mo): New variable.
24134 ($(codeset_mo)): New target.
24135 (tst-codeset.out): Depend on that. Remove explicit rule.
24136 (tst-gettext3.out, tst-gettext5.out): Likewise.
24137 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24138 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24139 * intl/tst-codeset.sh: Remove.
24140 * intl/tst-gettext3.sh: Likewise.
24141 * intl/tst-gettext5.sh: Likewise.
24142
2ae1ae5c
RM
241432012-08-17 Roland McGrath <roland@hack.frob.com>
24144
c31fdb83
RM
24145 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24146 * sysdeps/unix/syscalls.list: ... here.
24147
a0844057
RM
24148 * sysdeps/posix/getaddrinfo.c
24149 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24150 (gaiconf_init, gaiconf_reload): Use them.
24151 [!_STATBUF_ST_NSEC]
24152 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24153 Define using time_t rather than struct timespec.
24154
750c1f2a
RM
24155 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24156 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24157 Macros removed.
24158 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24159 [!NO_THREADS].
24160 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24161 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24162 Likewise.
24163
2ae1ae5c
RM
24164 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24165 __libc_cleanup_push argument.
24166
e66a42f5
RM
24167 * bits/param.h: New file.
24168 * misc/sys/param.h: New file.
24169 * include/sys/param.h: New file.
24170 * misc/Makefile (headers): Add bits/param.h.
24171 * sysdeps/generic/sys/param.h: File removed.
24172 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24173 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24174 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24175 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24176
b7c08a66
RM
24177 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24178 last change.
24179
b2e1c562
RM
24180 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24181 [_IO_MTSAFE_IO].
24182 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24183 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24184 New macros.
24185
c75ccd4c
RM
24186 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24187 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24188 rather than -D_IO_MTSAFE_IO conditionally.
24189 * stdio-common/Makefile (CPPFLAGS): Likewise.
24190 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24191 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24192 Use $(libio-mtsafe).
24193 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24194 of -D_IO_MTSAFE_IO.
24195 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24196 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24197 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24198 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24199 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24200 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24201 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24202 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24203 (CFLAGS-fread_u_chk.c): Likewise.
24204 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24205 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24206 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24207 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24208 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24209 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24210 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24211 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24212 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24213
24214 * libio/Makefile: Test [$(libc-reentrant) = yes]
24215 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24216
24217 * Makeconfig
24218 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24219 * sysdeps/pthread/configure: File removed.
24220 * sysdeps/pthread/Makeconfig: New file.
24221 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24222 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24223
d9195db8
GB
242242012-08-16 Gary Benson <gbenson@redhat.com>
24225
24226 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24227 unmapping the first object in a namespace.
24228
86466cd9
RM
242292012-08-16 Roland McGrath <roland@hack.frob.com>
24230
24231 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24232 (__internal_setnetgrent): ... this. Add internal_function to
24233 definition. Add libc_hidden_def.
24234 (setnetgrent): Update caller.
24235 (internal_endnetgrent): Renamed to ...
24236 (__internal_endnetgrent): ... this. Add internal_function to
24237 definition. Add libc_hidden_def.
24238 (endnetgrent): Update caller.
24239 (internal_getnetgrent_r): Renamed to ...
24240 (__internal_getnetgrent_r): ... this. Add internal_function to
24241 definition. Add libc_hidden_def.
24242 (__getnetgrent_r): Update caller.
24243 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24244
c3c8283c
JM
242452012-08-16 Joseph Myers <joseph@codesourcery.com>
24246
24247 * stdlib/longlong.h: Update from GCC.
24248
db1ee0a8
RM
242492012-08-16 Roland McGrath <roland@hack.frob.com>
24250
24251 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24252 on _QL, which is set by umul_ppmm but never used.
24253 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24254 variables, which are set by GMP macros but never used.
24255 * stdio-common/_itowa.c (_itowa): Likewise.
24256 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24257 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24258
30f69637
CD
242592012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24260
24261 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24262 struct La_sh_regs is not constant.
24263 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24264 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24265 and struct La_sparc64_regs are not constant.
24266
93a78ac4
JM
242672012-08-16 Joseph Myers <joseph@codesourcery.com>
24268
24269 * sysdeps/unix/sysv/linux/kernel-features.h
24270 (__ASSUME_POSIX_TIMERS): Remove.
24271 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24273 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24274 Make code unconditional.
24275 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24276 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24277 Make code unconditional.
24278 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24279 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24280 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24281 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24282 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24283 Make code unconditional.
24284 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24285 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24286 (__libc_missing_posix_timers): Remove.
24287
dd924cd7
RM
242882012-08-15 Roland McGrath <roland@hack.frob.com>
24289
4b4f2771
RM
24290 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24291 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24292
601c888b
RM
24293 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24294
176790a7
RM
24295 * elf/dl-sym.c: Include <stdlib.h>.
24296
329bc018
RM
24297 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24298 constants, which avoids warnings in 32-bit builds.
24299
e04e272d
RM
24300 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24301 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24302
952bf94a
RM
24303 * misc/lseek.c: File moved to ...
24304 * io/lseek.c: ... here.
24305
7c99b50a
RM
24306 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24307
dd924cd7
RM
24308 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24309 shifting LEN more than 31 bits at once.
24310
b3f479a8
LD
243112012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24312
24313 [BZ #14195]
8c4ae0d4
RM
24314 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24315 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24316 * string/test-strncasecmp.c (check1): Renamed to...
24317 (bz12205): ...this.
24318 (bz14195): Add new testcase for two empty input strings and N > 0.
24319 (test_main): Call new testcase, adapt for renamed function.
24320
9c55864e
AJ
243212012-08-15 Andreas Jaeger <aj@suse.de>
24322
24323 [BZ #14090]
24324 * crypt/md5test2.c: New test, based on test supplied by Serge
24325 Belyshev <belyshev@depni.sinp.msu.ru>.
24326 * crypt/Makefile (xtests): Add md5test-giant..
24327 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24328
02dcb6c5
PE
243292012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24330
24331 [BZ #14090]
24332 * crypt/md5.c (md5_process_block): Don't assume the buffer
24333 length is less than 2**32.
24334 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24335 length is less than 2**64.
24336
a3f95dcc
RM
243372012-08-15 Roland McGrath <roland@hack.frob.com>
24338
be75d758
RM
24339 * string/str-two-way.h: Include <sys/param.h>.
24340 (MAX): Macro removed.
24341
7312ca90
RM
24342 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24343 Move #define and #undef of memmove to just before and after
24344 including <string.h>.
24345
9a0a5486
RM
24346 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24347 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24348 and after including <string.h>. Move declarations of
24349 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24350 to before #include "string/memmove.c".
24351
67cc348d
RM
24352 * include/dirent.h: Declare __getdirentries.
24353
a3f95dcc
RM
24354 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24355 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24356
ca98e171
MF
243572012-08-14 Mike Frysinger <vapier@gentoo.org>
24358
24359 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24360 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24361 * sysdeps/i386/configure: Regenerated.
24362 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24363 STABS_CURRENT_FILE, and STABS_FUN.
24364 (END): Remove call to STABS_FUN_END.
24365 (STABS_CURRENT_FILE1): Delete.
24366 (STABS_CURRENT_FILE): Likewise.
24367 (STABS_FUN): Likewise.
24368 (STABS_FUN_END): Likewise.
24369 (STABS_FUN2): Likewise.
24370 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24371 * sysdeps/x86_64/configure: Regenerated.
24372
5908bf46
RM
243732012-08-14 Roland McGrath <roland@hack.frob.com>
24374
24375 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24376 * elf/dl-lookup.c: Likewise.
5908bf46 24377
f2c05b9e
JM
243782012-08-14 Joseph Myers <joseph@codesourcery.com>
24379
24380 * sysdeps/unix/sysv/linux/kernel-features.h
24381 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24382 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24383 unconditionally.
24384 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24385 unconditionally.
24386 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24387 condition on __ASSUME_CLONE_THREAD_FLAGS.
24388
e11f5155
AJ
243892012-08-14 Andreas Jaeger <aj@suse.de>
24390
24391 * sysdeps/i386/fpu/libm-test-ulps: Update.
24392
51a9ba86
MK
243932012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24394
2fdd4f78
AJ
24395 * include/atomic.h (atomic_exchange_and_add): Split into ...
24396 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24397 New atomic macros.
51a9ba86 24398
ba6cba9e
MT
243992012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24400
24401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24402
42443a47
JL
244032012-08-13 Jeff Law <law@redhat.com>
24404
24405 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24406 null byte in the output string.
24407
121dce05
JM
244082012-08-10 Joseph Myers <joseph@codesourcery.com>
24409
24410 * sysdeps/unix/sysv/linux/kernel-features.h
24411 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24412 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24413 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24414 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24415 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24416 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24417 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24418
bf51f568
JL
244192012-08-09 Jeff Law <law@redhat.com>
24420
24421 [BZ #13939]
24422 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24423 When avoid_arena is set, don't retry in the that arena. Pick the
24424 next one, whatever it might be.
24425 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24426 (arena_lock): Pass in new parameter to arena_get2.
24427 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24428 arena_get2.
24429 (__libc_malloc): Unify retrying after main arena failure with
24430 __libc_memalign version.
24431 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24432
f85fa270
L
244332012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24434
24435 [BZ #14166]
24436 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24437 to __redirect_strstr.
24438 (__strstr_sse42): Use typeof __redirect_strstr.
24439 (__strstr_ia32): Likewise.
24440 (__libc_strstr): New prototype.
24441 (strstr): Renamed to ...
24442 (__libc_strstr): This.
24443 (strstr): New strong alias of __libc_strstr.
24444 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24445 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24446 __redirect_time.
24447 Include <time.h>.
24448 (__libc_time): New prototype.
24449 (time_ifunc): Replace time with __libc_time.
24450 (time): New strong alias and hidden definition of __libc_time.
24451 (__GI_time): Remove strong alias.
24452 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24453 Include <stddef.h>.
24454 (memmove): Redefined to __redirect_memmove.
24455 (__memmove_sse2): Use typeof __redirect_memmove.
24456 (__memmove_ssse3): Likewise.
24457 (__memmove_ssse3_back): Likewise.
24458 (__libc_memmove): New prototype.
24459 (memmove): Renamed to ...
24460 (__libc_memmove): This.
24461 (memmove): New strong alias of __libc_memmove.
24462
33b4a91e
MS
244632012-08-08 Mark Salter <msalter@redhat.com>
24464
24465 * elf/elf.h
24466 (R_MN10300_TLS_GD): Define.
24467 (R_MN10300_TLS_LD): Likewise.
24468 (R_MN10300_TLS_LDO): Likewise.
24469 (R_MN10300_TLS_GOTIE): Likewise.
24470 (R_MN10300_TLS_IE): Likewise.
24471 (R_MN10300_TLS_LE): Likewise.
24472 (R_MN10300_TLS_DTPMOD): Likewise.
24473 (R_MN10300_TLS_DTPOFF): Likewise.
24474 (R_MN10300_TLS_TPOFF): Likewise.
24475 (R_MN10300_SYM_DIFF): Likewise.
24476 (R_MN10300_ALIGN): Likewise.
24477 (R_MN10300_NUM): Update.
24478
b36137f1
JM
244792012-08-08 Joseph Myers <joseph@codesourcery.com>
24480
24481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24482 Remove.
24483
cdd915fd
RM
244842012-08-08 Roland McGrath <roland@hack.frob.com>
24485
a2433aac
RM
24486 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24487
cdd915fd
RM
24488 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24489 sysdeps/unix -> sysdeps/posix move.
24490 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24491
bf9b740a
AM
244922012-08-07 Allan McRae <allan@archlinux.org>
24493
24494 [BZ #14303]
24495 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24496 (SUNOS_CPP): Likewise.
24497 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24498 not found.
24499 (open_input): Call CPP using execvp.
24500
93df14ee
JM
245012012-08-07 Joseph Myers <joseph@codesourcery.com>
24502
24503 * sysdeps/unix/sysv/linux/kernel-features.h
24504 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24505 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24506 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24507 (__ASSUME_WAITID_SYSCALL): Likewise.
24508 * sysdeps/unix/sysv/linux/dl-execstack.c
24509 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24510 code unconditional.
24511 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24512 conditional code.
24513 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24514 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24515 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24516 code.
24517 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24518 unconditional.
24519 [__ASSUME_WAITID_SYSCALL]: Likewise.
24520 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24521
d34689de
RM
245222012-08-07 Roland McGrath <roland@hack.frob.com>
24523
a281decc
RM
24524 * sysdeps/unix/closedir.c: Renamed to ...
24525 * sysdeps/posix/closedir.c: ... here.
24526 * sysdeps/unix/dirfd.c: Renamed to ...
24527 * sysdeps/posix/dirfd.c: ... here.
24528 * sysdeps/unix/dirstream.h: Renamed to ...
24529 * sysdeps/posix/dirstream.h: ... here.
24530 * sysdeps/unix/fdopendir.c: Renamed to ...
24531 * sysdeps/posix/fdopendir.c: ... here.
24532 * sysdeps/unix/opendir.c: Renamed to ...
24533 * sysdeps/posix/opendir.c: ... here.
24534 * sysdeps/unix/readdir.c: Renamed to ...
24535 * sysdeps/posix/readdir.c: ... here.
24536 * sysdeps/unix/readdir_r.c: Renamed to ...
24537 * sysdeps/posix/readdir_r.c: ... here.
24538 * sysdeps/unix/rewinddir.c: Renamed to ...
24539 * sysdeps/posix/rewinddir.c: ... here.
24540 * sysdeps/unix/seekdir.c: Renamed to ...
24541 * sysdeps/posix/seekdir.c: ... here.
24542 * sysdeps/unix/telldir.c: Renamed to ...
24543 * sysdeps/posix/telldir.c: ... here.
24544 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24545 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24546 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24547 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24548
22895b47
RM
24549 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24550 * bits/fcntl.h: ... here.
24551
707a53b6
RM
24552 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24553 not 0.
24554 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24555 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24556 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24557 (struct flock): Move l_start, l_len to the beginning.
24558 Use __pid_t for l_pid.
24559 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24560 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24561 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24562 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24563 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24564 [__USE_LARGEFILE64] (struct flock64): New type.
24565 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24566
f0bd3e25
RM
24567 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24568 * bits/dirent.h: ... here.
24569
d34689de
RM
24570 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24571 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24572
6dad2c06
JM
245732012-08-07 Joseph Myers <joseph@codesourcery.com>
24574
24575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24576 Change from 2.6.0 to 2.6.16.
24577 * sysdeps/unix/sysv/linux/configure: Regenerated.
24578 * sysdeps/unix/sysv/linux/kernel-features.h
24579 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24580 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24581 version.
24582 (__ASSUME_UTIMES): Likewise.
24583 (__ASSUME_CLONE_STOPPED): Remove.
24584 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24585 architectures, not kernel version.
24586 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24587 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24588 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24589 (__ASSUME_WAITID_SYSCALL): Likewise.
24590 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24591 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24592 * README: State 2.6.16 as minimum Linux kernel version. Do not
24593 refer to older versions.
24594
03af9520
RM
245952012-08-06 Roland McGrath <roland@hack.frob.com>
24596
8e49df1d
RM
24597 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24598 Define alphasort64 as an alias.
24599 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24600 Define versionsort64 as an alias.
24601 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24602 Define scandir64 as an alias.
24603 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24604 Define scandirat64 as an alias.
24605 * dirent/alphasort64.c (alphasort64):
24606 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24607 * dirent/versionsort64.c: Likewise.
24608 * dirent/scandir64.c: Likewise.
24609 * dirent/scandirat64.c: Likewise.
24610 * sysdeps/wordsize-64/alphasort.c: File removed.
24611 * sysdeps/wordsize-64/alphasort64.c: File removed.
24612 * sysdeps/wordsize-64/scandir.c: File removed.
24613 * sysdeps/wordsize-64/scandir64.c: File removed.
24614 * sysdeps/wordsize-64/scandirat.c: File removed.
24615 * sysdeps/wordsize-64/scandirat64.c: File removed.
24616 * sysdeps/wordsize-64/versionsort.c: File removed.
24617 * sysdeps/wordsize-64/versionsort64.c: File removed.
24618 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24619 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24620 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24621 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24622 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24623 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24624 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24625 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24626
24627 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24629 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24631 [defined __arch64__ || defined __sparcv9]
24632 (__INO_T_MATCHES_INO64_T): New macro.
24633 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24634 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24635 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24636 * sysdeps/unix/sysv/linux/bits/dirent.h
24637 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24638 (_DIRENT_MATCHES_DIRENT64): New macro.
24639
03af9520
RM
24640 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24641 Define lockf64 as an alias.
24642 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24643 Define fseeko64 as an alias.
24644 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24645 Define ftello64 as an alias.
24646 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24647 Define _IO_fgetpos64 and fgetpos64 as aliases.
24648 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24649 Define _IO_fsetpos64 and fsetpos64 as aliases.
24650 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24651 Conditionalize body on this.
24652 * libio/fseeko64.c: Likewise.
24653 * libio/ftello64.c: Likewise.
24654 * libio/iofgetpos64.c: Likewise.
24655 * libio/iofsetpos64.c: Likewise.
24656 * sysdeps/wordsize-64/lockf.c: File removed.
24657 * sysdeps/wordsize-64/lockf64.c: File removed.
24658 * sysdeps/wordsize-64/fseeko.c: File removed.
24659 * sysdeps/wordsize-64/fseeko64.c: File removed.
24660 * sysdeps/wordsize-64/ftello.c: File removed.
24661 * sysdeps/wordsize-64/ftello64.c: File removed.
24662 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24663 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24664 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24665 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24666 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24667 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24668 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24669 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24670 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24671 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24672 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24674 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24675 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24676
24677 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24679 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24681 [defined __arch64__ || defined __sparcv9]
24682 (__OFF_T_MATCHES_OFF64_T): New macro.
24683 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24684 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24686 (__OFF_T_MATCHES_OFF64_T): New macro.
24687
c5757acd
L
246882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24689
24690 * stdlib/secure-getenv.c (__secure_getenv): Replace
24691 GLIBC_2_16 with GLIBC_2_17.
24692
3a31811e
L
246932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24694
24695 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24696 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24697
faa2bccb
DM
246982012-08-03 David S. Miller <davem@davemloft.net>
24699
24700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24701
85fe1997
JM
247022012-08-03 Joseph Myers <joseph@codesourcery.com>
24703
24704 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24705 Remove.
24706 (__ASSUME_CORRECT_SI_PID): Likewise.
24707 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24708 (__ASSUME_TMPFS_NAME): Likewise.
24709 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24710 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24711 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24712 (HAVE_AUX_SECURE): Make definition unconditional.
24713 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24714 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24715
4f75b7a0
RM
247162012-08-03 Roland McGrath <roland@hack.frob.com>
24717
24718 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24719 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24720 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24721 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24722 __eloop_threshold instead of SYMLOOP_MAX.
24723
24724 * sysdeps/generic/eloop-threshold.h: New file.
24725 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24726 of MAXSYMLINKS.
24727 * elf/chroot_canon.c (chroot_canon): Likewise.
24728
7aab07e4
JM
247292012-08-03 Joseph Myers <joseph@codesourcery.com>
24730
24731 [BZ #13717]
24732 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24733 Change to 2.6.0 everywhere.
24734 * sysdeps/unix/sysv/linux/configure: Regenerated.
24735 * sysdeps/unix/sysv/linux/kernel-features.h
24736 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24737 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24738 kernel versions.
24739 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24740 (__ASSUME_FUTEX_REQUEUE): Remove.
24741 (__ASSUME_STATFS64): Define unconditionally.
24742 (__ASSUME_AT_SECURE): Likewise.
24743 (__ASSUME_CORRECT_SI_PID): Likewise.
24744 (__ASSUME_TGKILL): Define without depending on kernel version for
24745 i386.
24746 (__ASSUME_UTIMES): Likewise.
24747 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24748 kernel version.
24749 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24750 (__ASSUME_TMPFS_NAME): Likewise.
24751 * README: Update reference to Linux kernel versions.
24752
b67e9372
MP
247532012-08-02 Marek Polacek <polacek@redhat.com>
24754
1f529f7d 24755 [BZ# 14150]
b67e9372
MP
24756 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24757 libc_cv_asm_type_prefix with %.
24758 * configure: Regenerated.
d2441631
RM
24759 * include/libc-symbols.h: Remove comment about
24760 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24761 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24762 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24763 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24764 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24765 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24766 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24767 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24768 * elf/tst-unique2mod1.c: Likewise.
24769 * elf/tst-unique1mod2.c: Likewise.
24770 * elf/tst-unique1mod1.c: Likewise.
24771 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24772 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24773 Replace ASM_TYPE_DIRECTIVE with .type.
24774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24775 * sysdeps/i386/sysdep.h: Likewise.
24776 * sysdeps/x86_64/sysdep.h: Likewise.
24777 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24779 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24780 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24781 * sysdeps/powerpc/powerpc32/sysdep.h:
24782 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24783 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24784 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24785 * sysdeps/i386/fpu/e_powf.S: Likewise.
24786 * sysdeps/i386/fpu/e_expl.S: Likewise.
24787 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24788 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24789 * sysdeps/i386/fpu/e_pow.S: Likewise.
24790 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24791 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24792 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24793 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24794 * sysdeps/i386/fpu/e_log2.S: Likewise.
24795 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24796 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24797 * sysdeps/i386/fpu/e_powl.S: Likewise.
24798 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24799 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24800 * sysdeps/i386/fpu/e_logl.S: Likewise.
24801 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24802 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24803 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24804 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24805 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24806 * sysdeps/i386/fpu/e_log.S: Likewise.
24807 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24808 * sysdeps/i386/fpu/e_logf.S: Likewise.
24809 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24810 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24811 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24812 * sysdeps/i386/fpu/e_log10.S: Likewise.
24813 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24814 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24815 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24816 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24817 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24818 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24819 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24820 * sysdeps/i386/i686/strtok.S: Likewise.
24821 * sysdeps/i386/i386-mcount.S: Likewise.
24822 * sysdeps/i386/strtok.S: Likewise.
24823 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24824 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24825 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24826 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24827 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24828 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24829 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24830 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24831 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24832 * sysdeps/x86_64/_mcount.S: Likewise.
24833 * sysdeps/x86_64/strtok.S: Likewise.
24834 * sysdeps/sh/_mcount.S: Likewise.
24835
2747bf9a
RM
248362012-08-01 Roland McGrath <roland@hack.frob.com>
24837
24838 * libio/iofopen.c: Include <fcntl.h>.
24839 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24840 (_IO_fopen64, fopen64): Define as aliases.
24841 * libio/iofopen64.c: Include <fcntl.h>.
24842 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24843 Conditionalize body on this.
24844 * sysdeps/wordsize-64/iofopen.c: File removed.
24845 * sysdeps/wordsize-64/iofopen64.c: File removed.
24846
3fb791b8
MP
248472012-08-01 Marek Polacek <polacek@redhat.com>
24848
24849 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24850 Use dlfcn directly instead of a variable.
24851 (binfmt-subdir): Do not define.
24852 (dlfcn): Likewise.
24853
a9f1039f
JM
248542012-08-01 Joseph Myers <joseph@codesourcery.com>
24855
23bddc06
JM
24856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24857 Remove all definitions.
24858 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24859 <kernel-features.h>.
24860 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24861 (miss_F_GETOWN_EX): Remove all definitions.
24862 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24863 macro definition.
24864 [!__ASSUME_FCNTL64]: Remove conditional code.
24865 [__ASSUME_FCNTL64]: Make code unconditional.
24866 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24867 <kernel-features.h>.
24868 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24869 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24870 (lockf64) [__NR_fcntl64]: Make code unconditional.
24871 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24872
a9f1039f
JM
24873 * sysdeps/unix/sysv/linux/kernel-features.h
24874 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24875 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24876 Make code unconditional.
24877 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24878 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24880 [__NR_vfork]: Make code unconditional.
24881 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24882 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24884 [__NR_vfork]: Make code unconditional.
24885 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24886 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24887
09c0ee5f
RM
248882012-08-01 Roland McGrath <roland@hack.frob.com>
24889
48aec5b9
RM
24890 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24891 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24892
cd97c966
RM
24893 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24894 Define mkstemp64 as an alias.
3f55550c
RM
24895 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24896 Define mkstemps64 as an alias.
cd97c966
RM
24897 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24898 Define mkostemp64 as an alias.
b8625cfc
RM
24899 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24900 Define mkostemps64 as an alias.
cd97c966
RM
24901 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24902 Conditionalize body on this.
24903 * misc/mkostemp64.c: Likewise.
b8625cfc 24904 * misc/mkostemps64.c: Likewise.
3f55550c 24905 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24906 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24907 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24908 * sysdeps/wordsize-64/mkostemp.c: File removed.
24909 * sysdeps/wordsize-64/mkstemp.c: File removed.
24910 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24911 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24912 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24913 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24914
09c0ee5f
RM
24915 [BZ #14138]
24916 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24917 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24918 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24919 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24920
24921 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24922 compat_symbol macros from <shlib-compat.h> rather than the underlying
24923 default_symbol_version and symbol_version macros, so that DEFAULT
24924 lines in shlib-versions are respected.
24925 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24926
7e66ee51
FW
249272012-08-01 Florian Weimer <fweimer@redhat.com>
24928
24929 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24930 Declare with warn_unused_result.
24931 (setgid, setregid, setegid, setresgid): Likewise.
24932 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24933 Likewise.
24934 * WUR-REPORT: Remove set*id functions.
24935
d2a54255
PT
249362012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24937
24938 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24939
7ecdb005
RM
249402012-07-31 Roland McGrath <roland@hack.frob.com>
24941
b4180a5e 24942 [BZ #10191]
789bd351
RM
24943 * include/sys/socket.h (__libc_accept, __libc_accept4):
24944 Add attribute_hidden.
24945 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24946
40ce302d
RM
24947 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24948 use of PTR_MANGLE.
24949 * inet/getnetgrent_r.c (setup): Likewise.
24950
7ecdb005
RM
24951 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24952
e2eabb2c
DM
249532012-07-31 David S. Miller <davem@davemloft.net>
24954
24955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24956
d0419dbf
JM
249572012-07-31 Joseph Myers <joseph@codesourcery.com>
24958
24959 [BZ #13629]
24960 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24961 value between 1.0 and 2.0 and smaller part has absolute value less
24962 than 1.0.
24963 * math/s_clog10.c (__clog10): Likewise.
24964 * math/s_clog10f.c (__clog10f): Likewise.
24965 * math/s_clog10l.c (__clog10l): Likewise.
24966 * math/s_clogf.c (__clogf): Likewise.
24967 * math/s_clogl.c (__clogl): Likewise.
24968 * math/libm-test.inc (clog_test): Add more tests.
24969 (clog10_test): Likewise.
24970 * sysdeps/i386/fpu/libm-test-ulps: Update.
24971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24972
2bc13872
FW
249732012-07-31 Florian Weimer <fweimer@redhat.com>
24974
24975 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24976 Exit with zero in case no suitable GID is found, and write a
24977 message to standard error.
24978
bea9b193
RM
249792012-07-30 Roland McGrath <roland@hack.frob.com>
24980
24981 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24982 rather than to 1.
24983 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24984 (MAXPATHLEN): Removed.
24985 (NOGROUP, NODEV): New macros.
24986 (setbit, clrbit, isset, isclr): New macros.
24987 (howmany, roundup, powerof2): New macros.
24988 (DEV_BSIZE): New macro.
24989
24990 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24991 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24992
24993 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24994 definition on [!__NO_LONG_DOUBLE_MATH].
24995
24996 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24997 PTR_MANGLE and PTR_DEMANGLE.
24998
24999 * socket/accept4.c (accept4): Rename to __libc_accept4.
25000 Define accept4 as a weak alias.
25001
25002 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25003 on [_DIRENT_HAVE_D_TYPE].
25004 * io/ftw.c (ftw_dir): Likewise.
25005
25006 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25007
25008 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25009
25010 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25011 Use the BSD numbers rather than the arbitrary ones we had.
25012 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25013 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25014 (SIGXCPU, SIGXFSZ): New macros.
25015 (_NSIG): Now 32.
25016
25017 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25018 initializer on [_LIBC_REENTRANT].
25019
25020 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25021 definitions inside [_POSIX_MAPPED_FILES].
25022
25023 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25024
25025 * dirent/opendir.c: Include <fcntl.h>.
25026
25027 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25028 (__libc_getspecific): Likewise.
25029 (__libc_key_create): Likewise.
25030
25031 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25032 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25033 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25034 (tmpfile64): Define as alias.
25035 * sysdeps/wordsize-64/tmpfile.c: File removed.
25036 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25039
25040 * stdio-common/vfscanf.c: Include <stdbool.h>.
25041 * nss/makedb.c: Likewise.
25042 * stdio-common/_i18n_number.h: Likewise.
25043 * argp/argp-help.c: Likewise.
25044 * posix/wordexp.c: Likewise.
25045 * sysdeps/posix/spawni.c: Likewise.
25046 * nss/nss_files/files-initgroups.c: Likewise.
25047 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25048 * nss/nss_files/files-initgroups.c: Likewise.
25049 * nss/nss_db/db-netgrp.c: Likewise.
25050 * nss/nss_db/db-initgroups.c: Likewise.
25051 * io/fchmodat.c: Include <sys/stat.h>.
25052
25053 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25054 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25055
25056 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25057 [HAVE_MMAP].
25058
25059 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25060 Add multiple inclusion protection.
25061
e5abc686
DM
250622012-07-27 David S. Miller <davem@davemloft.net>
25063
25064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25065
815e6fa3
GB
250662012-07-27 Gary Benson <gbenson@redhat.com>
25067
25068 [BZ #14298]
25069 * elf/rtld.c: Include <stap-probe.h>.
25070 (dl_main): Added static probes "init_start" and "init_complete".
25071 * elf/dl-load.c: Include <stap-probe.h>.
25072 (lose): Take new parameter "nsid".
25073 Added static probe "map_failed".
25074 (_dl_map_object_from_fd): Pass namespace id to lose.
25075 Added static probe "map_start".
25076 (open_verify): Pass namespace id to lose.
25077 * elf/dl-open.c: Include <stap-probe.h>.
25078 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25079 and "reloc_complete".
25080 * elf/dl-close.c: Include <stap-probe.h>.
25081 (_dl_close_worker): Added static probes "unmap_start" and
25082 "unmap_complete".
25083 * elf/rtld-debugger-interface.txt: New file documenting the above.
25084
9f98c16c
RM
250852012-07-26 Roland McGrath <roland@hack.frob.com>
25086
25087 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25088 rather than a string variable.
25089 * sunrpc/rpc_main.c (h_output): Likewise.
25090 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25091
f3c22df3
PT
250922012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25093
25094 * inet/check_native.c: New file.
25095
3129cfc6
JM
250962012-07-26 Joseph Myers <joseph@codesourcery.com>
25097
da865e95
JM
25098 [BZ #13629]
25099 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25100 if larger part has absolute value 1.0.
25101 * math/s_clog10.c (__clog10): Likewise.
25102 * math/s_clog10f.c (__clog10f): Likewise.
25103 * math/s_clog10l.c (__clog10l): Likewise.
25104 * math/s_clogf.c (__clogf): Likewise.
25105 * math/s_clogl.c (__clogl): Likewise.
25106 * math/libm-test.inc (clog_test): Add more tests.
25107 (clog10_test): Likewise.
25108 * sysdeps/i386/fpu/libm-test-ulps: Update.
25109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25110
3129cfc6
JM
25111 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25112 (pltexit): Likewise.
25113 (La_regs): Likewise.
25114 (La_retval): Likewise.
25115 (int_retval): Likewise.
25116 Update #error for removed macros to refer only to definitions in
25117 tst-audit.h.
25118 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25119 macro.
25120 (pltexit): Likewise.
25121 (La_regs): Likewise.
25122 (La_retval): Likewise.
25123 (int_retval): Likewise.
25124 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25125 macro.
25126 (pltexit): Likewise.
25127 (La_regs): Likewise.
25128 (La_retval): Likewise.
25129 (int_retval): Likewise.
25130 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25131 macro.
25132 (pltexit): Likewise.
25133 (La_regs): Likewise.
25134 (La_retval): Likewise.
25135 (int_retval): Likewise.
25136 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25137 macro.
25138 (pltexit): Likewise.
25139 (La_regs): Likewise.
25140 (La_retval): Likewise.
25141 (int_retval): Likewise.
25142 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25143 macro.
25144 (pltexit): Likewise.
25145 (La_regs): Likewise.
25146 (La_retval): Likewise.
25147 (int_retval): Likewise.
25148 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25149 macro.
25150 (pltexit): Likewise.
25151 (La_regs): Likewise.
25152 (La_retval): Likewise.
25153 (int_retval): Likewise.
25154 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25155 macro definitions in tst-audit.h.
25156 * sysdeps/i386/tst-audit.h: New file.
25157 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25158 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25159 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25160 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25161 * sysdeps/sh/tst-audit.h: Likewise.
25162 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25163 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25164 * sysdeps/x86_64/tst-audit.h: Likewise.
25165
bfc07087
AJ
251662012-07-26 Andreas Jaeger <aj@suse.de>
25167
b1b2aaf8
AJ
25168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25169 ptrace.
25170
25171 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25172 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25173 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25174 PTRACE_O_MASK.
25175 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25176 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25177 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25178
bfc07087
AJ
25179 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25180 value.
25181
25182 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25183 _sigsys.
25184 (si_call_addr, si_syscall, si_arch): Define new macro.
25185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25186 _sigsys.
25187 (si_call_addr, si_syscall, si_arch): Define new marcro.
25188 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25189 _sigsys.
25190 (si_call_addr, si_syscall, si_arch): Define new macro.
25191 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25192 _sigsys.
25193 (si_call_addr, si_syscall, si_arch): Define new macro.
25194
89b4b02f
JM
251952012-07-25 Joseph Myers <joseph@codesourcery.com>
25196
25197 [BZ #13717]
25198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25199 Change to 2.4.21 where previously 2.4.1.
25200 * sysdeps/unix/sysv/linux/configure: Regenerated.
25201 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25202 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25203 Linux kernel version.
25204 (__ASSUME_STD_AUXV): Remove.
25205 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25206 kernel version.
25207 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25208 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25209 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25210 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25211 (__ASSUME_NETLINK_SUPPORT): Likewise.
25212 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25213 (__no_netlink_support): Remove conditional definition.
25214 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25215 Remove.
25216 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25217 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25218 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25219 (if_nameindex_ioctl): Remove.
25220 (if_nameindex_netlink): Do not handle __no_netlink_support.
25221 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25222 code.
25223 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25224 Remove conditional code.
25225 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25226 code.
25227 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25228 unconditional.
25229 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25230 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25231 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25232 Remove.
25233 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25234 [!__ASSUME_STD_AUXV]: Remove conditional code.
25235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25236 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25237 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25239 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25240 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25241 code.
25242 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25244 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25245 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25246 conditional code.
25247 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25249 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25250 code.
25251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25252 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25253 conditional code.
25254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25255 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25256 code unconditional.
25257 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25258 conditional code.
25259 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25260 unconditional.
25261 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25262 conditional code.
25263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25264 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25265 unconditional.
25266 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25267 conditional code.
25268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25269 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25270 code unconditional.
25271 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25272 conditional code.
25273 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25274 unconditional.
25275 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25276 conditional code.
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25278 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25279 code unconditional.
25280 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25281 conditional code.
25282 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25283 unconditional.
25284 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25285 conditional code.
25286
842a39cd
AS
252872012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25288
25289 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25290 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25291 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25292 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25293 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25294 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25295 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25296 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25297 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25298 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25299 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25300 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25301 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25302 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25303 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25304 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25305 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25306 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25307 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25309 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25311 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25312
84b3fd84
FW
253132012-07-25 Florian Weimer <fweimer@redhat.com>
25314
25315 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25316 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25317 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25318 Introduce __libc_secure_getenv.
0c7936d5
FW
25319 * stdlib/Versions (2.17): Add secure_getenv
25320 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25321 * stdlib/secure-getenv.c: Rename __secure_getenv to
25322 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25323 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25324 * stdlib/tst-secure-getenv.c: New.
25325 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25326 * manual/startup.texi (Environment Access): Document
25327 secure_getenv.
84b3fd84
FW
25328 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25329 __libc_secure_getenv.
25330 * inet/ruserpass.c (ruserpass): Likewise.
25331 * malloc/mtrace.c (mtrace): Likewise.
25332 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25333 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25334 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25335 * sysdeps/posix/tempname.c: Likewise. Evaluate
25336 HAVE_SECURE_GETENV.
25337 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25338 __secure_getenv to __libc_secure_getenv.
84b3fd84 25339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25341 Likewise.
25342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25343 Likewise.
25344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25351
56e49b71
JM
253522012-07-25 Joseph Myers <joseph@codesourcery.com>
25353
25354 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25355 (struct La_i86_retval): Likewise.
25356 (struct La_x86_64_regs): Likewise.
25357 (struct La_x86_64_retval): Likewise.
25358 (struct La_x32_regs): Likewise.
25359 (struct La_x32_retval): Likewise.
25360 (struct La_ppc32_regs): Likewise.
25361 (struct La_ppc32_retval): Likewise.
25362 (struct La_ppc64_regs): Likewise.
25363 (struct La_ppc64_retval): Likewise.
25364 (struct La_sh_regs): Likewise.
25365 (struct La_sh_retval): Likewise.
25366 (struct La_s390_32_regs): Likewise.
25367 (struct La_s390_32_retval): Likewise.
25368 (struct La_s390_64_regs): Likewise.
25369 (struct La_s390_64_retval): Likewise.
25370 (struct La_sparc32_regs): Likewise.
25371 (struct La_sparc32_retval): Likewise.
25372 (struct La_sparc64_regs): Likewise.
25373 (struct La_sparc64_retval): Likewise.
25374 (struct audit_ifaces): Remove architecture-specific pltenter and
25375 pltexit members.
25376 * sysdeps/i386/ldsodefs.h: New file.
25377 * sysdeps/powerpc/ldsodefs.h: Likewise.
25378 * sysdeps/s390/ldsodefs.h: Likewise.
25379 * sysdeps/sh/ldsodefs.h: Likewise.
25380 * sysdeps/sparc/ldsodefs.h: Likewise.
25381 * sysdeps/x86_64/ldsodefs.h: Likewise.
25382
354691b7
MP
253832012-07-25 Marek Polacek <polacek@redhat.com>
25384
25385 [BZ #6808]
25386 * math/libm-test.inc (yn_test): Add another test.
25387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25388 to ERANGE when the result is +-Inf.
25389 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25390 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25391 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25392 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25393
bf9e2071
JM
253942012-07-24 Joseph Myers <joseph@codesourcery.com>
25395
25396 * conform/data/time.h-data (NULL): Use macro-constant. Require
25397 equal to 0.
25398 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25399 clock_t.
25400 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25401
57633811
TS
254022012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25403
25404 * configure.in <sysdeps resolving>: Correct printing
25405 Implies_before.
25406 * configure: Regenerate.
25407
c23c33b0
TS
254082012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25409
25410 * math/w_ilogb.c: Include <limits.h>.
25411 * math/w_ilogbl.c: Likewise.
25412
b5982523
JM
254132012-07-20 Joseph Myers <joseph@codesourcery.com>
25414
25415 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25416 va_copy. Document allowing for unavailable va_copy only as
25417 pre-C99 compatibility.
25418 * manual/string.texi (Copying and Concatenation): Use va_copy
25419 instead of __va_copy in concat example.
25420
ac4ea442
PT
254212012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25422
25423 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25424 (__sendto): Use create_address_port. Initialize APORT and deallocate
25425 it if not null.
25426
f98eafbd
PT
25427 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25428 with O_NOLINK passed to __file_name_lookup.
25429
898c7aab
PT
25430 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25431 with O_NOLINK passed to __file_name_lookup.
25432
0ced335a
PT
25433 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25434 negative N or less than NGIDS.
25435
b3404dbd
PT
25436 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25437 type to string_t. Set ERANGE as errno and return it if NAME is not big
25438 enough. Use memcpy instead of strncpy.
25439
0f48659e
JM
254402012-07-20 Joseph Myers <joseph@codesourcery.com>
25441
25442 * elf/Makefile (check-data): Remove.
25443 (localplt.data): New vpath directive.
25444 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25445 instead of $(check-data).
25446 * scripts/data/localplt-generic.data: Move to ...
25447 * sysdeps/generic/localplt.data: ... here.
25448 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25449 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25450 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25452 ... here.
25453 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25455 ... here.
25456 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25458 ... here.
25459 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25461 ... here.
25462 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25464 ... here.
25465 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25467 ... here.
25468
d37cbdaa
AZ
254692012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25470
25471 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25472 PPC32 and PPC64 files.
25473 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25474 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25475
46f85fc2
AK
254762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25477
25478 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25479 __makecontext_ret to ...
25480 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25481 ... here and call exit if uc_link is NULL. New file.
25482 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25483 __makecontext_ret.S.
25484 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25485 __makecontext_ret to ...
25486 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25487 ... here and call exit if uc_link is NULL. New file.
25488 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25489 __makecontext_ret.S.
25490
08f43f9b
AK
254912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25492
25493 * elf/elf.h (R_390_IRELATIVE): New definition.
25494 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25495 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25496 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25497 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25498 (elf_machine_lazy_rel): Likewise.
25499 * sysdeps/s390/dl-irel.h: New file.
25500 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25501 * sysdeps/s390/s390-64/memset.S: New asm code.
25502 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25503 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25504 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25505 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25506 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25507 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25509 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25510 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25511 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25512 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25513 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25514 * sysdeps/s390/s390-32/memset.S: New asm code.
25515 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25516
3b05db33
MP
255172012-07-17 Marek Polacek <polacek@redhat.com>
25518
25519 [BZ #14349]
25520 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25521 * sysdeps/s390/s390-64/configure.in: Likewise.
25522 * sysdeps/sparc/configure.in: Likewise.
25523 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25524 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25525 * sysdeps/i386/configure.in: Likewise.
25526 * sysdeps/x86_64/configure.in: Likewise.
25527 * sysdeps/sh/configure.in: Likewise.
25528 * sysdeps/s390/s390-32/configure: Regenerated.
25529 * sysdeps/s390/s390-64/configure: Likewise.
25530 * sysdeps/x86_64/configure: Likewise.
25531 * sysdeps/sh/configure: Likewise.
25532 * sysdeps/powerpc/powerpc64/configure: Likewise.
25533 * sysdeps/powerpc/powerpc32/configure: Likewise.
25534 * sysdeps/sparc/configure: Likwise.
25535 * sysdeps/i386/configure: Likewise.
25536
a66877c6
MP
25537 * elf/dl-open.c: Comment fixes.
25538
cfc82fd8
JM
255392012-07-17 Joseph Myers <joseph@codesourcery.com>
25540
bd29910a
JM
25541 * Makefile [CXX] (check-data): Remove.
25542 [CXX] (c++-types.data): New vpath directive.
25543 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25544 vpath. Do not allow for C++ type data being missing.
25545 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25546 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25547 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25548 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25549 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25550 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25551 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25553 ... here.
25554 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25556 ... here.
25557 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25559 ... here.
25560 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25562 ... here.
25563 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25565 ... here.
25566 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25568 ... here.
25569 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25571 ... here.
25572 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25574
cfc82fd8
JM
25575 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25576 definitions to architecture-specific files.
25577 (TLS_IE): Likewise.
25578 (TLS_LD): Likewise.
25579 (TLS_GD): Likewise.
25580 * sysdeps/i386/tls-macros.h: New file.
25581 * sysdeps/powerpc/tls-macros.h: Likewise.
25582 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25583 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25584 * sysdeps/sh/tls-macros.h: Likewise.
25585 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25586 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25587 * sysdeps/x86_64/tls-macros.h: Likewise.
25588
f7db3170
TS
255892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25590
07cbfc23
TS
25591 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25592 zero value for regular exit case.
25593
f7db3170
TS
25594 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25595 (__start_context): Preserve zero value for regular exit case.
25596
dc97c227
TS
255972012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25598 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25599
25600 * manual/setjmp.texi (setcontext): Clarify normal process
25601 termination when uc_link is the null pointer.
25602 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25603 exit call.
25604
d0cd7d02
AS
256052012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25606
25607 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25608 preprocessor. Test for each exception mask separately.
25609
dd318934
AJ
256102012-07-16 Andreas Jaeger <aj@suse.de>
25611
25612 * po/ru.po: Update from translation team.
25613
8048311a
JM
256142012-07-15 Joseph Myers <joseph@codesourcery.com>
25615
25616 * conform/data/string.h-data (NULL): Use macro-constant. Require
25617 equal to 0.
25618 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25619 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25620 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25621 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25623
b637d46e
AJ
256242012-07-13 Andreas Jaeger <aj@suse.de>
25625
25626 * po/fr.po: Update from translation team.
25627
541428fe
MP
256282012-07-12 Marek Polacek <polacek@redhat.com>
25629
25630 [BZ #14173]
25631 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25632 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25633 loop condition.
25634
ec332e94
JM
256352012-07-12 Joseph Myers <joseph@codesourcery.com>
25636
25637 [BZ #13717]
25638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25639 Change to 2.4.1 where previously 2.4.0.
25640 * sysdeps/unix/sysv/linux/configure: Regenerated.
25641 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25642 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25643 version.
25644 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25645 (__ASSUME_AT_CLKTCK): Remove.
25646 (__ASSUME_AT_PAGESIZE): Likewise.
25647 (__ASSUME_AT_XID): Likewise.
25648 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25649 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25650 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25651 unconditionally.
25652 (HAVE_AUX_PAGESIZE): Likewise.
25653 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25654 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25655 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25656
7b6e99be
JB
256572012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25658
25659 [BZ #14307]
25660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25661 the temporary buffer used to invoke __gethostbyname2_r,
25662 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25663 host_data / struct gaih_addrtuple.
25664 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25665 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25666 header file nss/nsswitch.h.
25667 * nss/nsswitch.h (global scope): Add definition of implementation
25668 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25669 resolv/nss_dns/dns-host.c).
25670
608404eb
AJ
256712012-07-11 Andreas Jaeger <aj@suse.de>
25672
25673 * po/fr.po: Update from translation team.
25674
71220aca
AJ
25675 * po/sv.po: Update from translation team
25676 * po/fr.po: Another update from translation team.
25677
28cfe843
AZ
256782012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25679
25680 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25681 for subnormals or multiply small sinh result by itself.
25682 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25684
6b90f981
DM
256852012-07-11 David S. Miller <davem@davemloft.net>
25686
25687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25688
c6825772
AS
256892012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25690
25691 [BZ #14347]
25692 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25693 (INTERNAL_MARK): Shift it here.
25694
7b8e0d49
MP
256952012-07-10 Marek Polacek <polacek@redhat.com>
25696
25697 [BZ #14151]
25698 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25699 libc_cv_asm_global_directive with .globl.
25700 * configure: Regenerated.
25701 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25702 with .globl.
25703 * sysdeps/i386/configure: Regenerated.
25704 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25705 with .globl.
25706 * sysdeps/x86_64/configure: Regenerated.
25707 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25708 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25709 * elf/tst-unique2mod2.c: Likewise.
25710 * elf/tst-unique2mod1.c: Likewise.
25711 * elf/tst-unique1mod2.c: Likewise.
25712 * elf/tst-unique1mod1.c: Likewise.
25713 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25714 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25715 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25716 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25717 * sysdeps/mach/sysdep.h: Likewise.
25718 * sysdeps/i386/sysdep.h: Likewise.
25719 * sysdeps/i386/i386-mcount.S: Likewise.
25720 * sysdeps/x86_64/_mcount.S: Likewise.
25721 * sysdeps/x86_64/sysdep.h: Likewise.
25722 * sysdeps/sh/_mcount.S: Likewise.
25723 * sysdeps/sh/sysdep.h: Likewise.
25724 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25725 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25726 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25727 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25728 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25729 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25730 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25731 * locale/localeinfo.h: Likewise.
25732 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25733 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25734
6c55cda3
RM
257352012-07-09 Roland McGrath <roland@hack.frob.com>
25736
25737 [BZ #14336]
25738 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25739 system".
25740 * manual/message.texi (The Uniforum approach): Likewise.
25741 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25742 (glibc iconv Implementation): Likewise.
25743
638a572e
JM
257442012-07-09 Joseph Myers <joseph@codesourcery.com>
25745
25746 [BZ #14337]
25747 * math/s_clog.c (__clog): Avoid scaling a value down where that
25748 could result in underflow.
25749 * math/s_clog10.c (__clog10): Likewise.
25750 * math/s_clog10f.c (__clog10f): Likewise.
25751 * math/s_clog10l.c (__clog10l): Likewise.
25752 * math/s_clogf.c (__clogf): Likewise.
25753 * math/s_clogl.c (__clogl): Likewise.
25754 * math/libm-test.inc (clog_test): Add more tests.
25755 (clog10_test): Likewise.
25756 * sysdeps/i386/fpu/libm-test-ulps: Update.
25757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25758
261f4859
AS
257592012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25760
0abaf3e4
AS
25761 [BZ #14283]
25762 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25763 by 7 not 8 to examine high bit of fractional part.
25764
261f4859
AS
25765 [BZ #14042]
25766 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25767 for call to __mcount_internal.
25768 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25769 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25770 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25771
f17ac40d
JM
257722012-07-06 Joseph Myers <joseph@codesourcery.com>
25773
9ad63c23
JM
25774 [BZ #14154]
25775 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25776 approximation for values within 0x1p-13f of an odd multiple of
25777 pi/4.
25778 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25779 exception. Add more tests.
25780 * sysdeps/i386/fpu/libm-test-ulps: Update.
25781
f17ac40d
JM
25782 [BZ #6778]
25783 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25784 inputs and return -1 for them. Do not check for +Inf in case not
25785 reachable for +Inf.
25786 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25787 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25788 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25789 and return -1 for them. Do not check for +Inf in case not
25790 reachable for +Inf.
25791 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25792 define.
25793 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25794 and return -1 for them. Do not check for +Inf in case not
25795 reachable for +Inf.
25796 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25797 spurious underflow.
25798 * sysdeps/i386/fpu/libm-test-ulps: Update.
25799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25800
fb21f89b
MF
258012012-07-06 Mike Frysinger <vapier@gentoo.org>
25802
25803 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25804
cdfe2c5e
JM
258052012-07-05 Joseph Myers <joseph@codesourcery.com>
25806
25807 [BZ #14157]
25808 [BZ #14331]
25809 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25810 could result in spurious underflow. Scale down values above
25811 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25812 * math/s_csqrtf.c (__csqrtf): Likewise.
25813 * math/s_csqrtl.c (__csqrtl): Likewise.
25814 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25815 spurious underflow.
25816 * sysdeps/i386/fpu/libm-test-ulps: Update.
25817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25818
70d35b67
AS
258192012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25820
704bc459
AS
25821 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25822 xopen-msg.sed.
25823 * catgets/xopen-msg.awk: New file.
25824 * catgets/xopen-msg.sed: Removed.
25825
70d35b67
AS
25826 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25827 po2text.sed.
25828 * intl/po2test.awk: New file.
25829 * intl/po2test.sed: Removed.
25830
ca61cf32
JM
258312012-07-04 Joseph Myers <joseph@codesourcery.com>
25832
25833 [BZ #14328]
25834 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25835 or multiply small sinh result by itself.
25836 * math/s_ctanf.c (__ctanf): Likewise.
25837 * math/s_ctanh.c (__ctanh): Likewise.
25838 * math/s_ctanhf.c (__ctanhf): Likewise.
25839 * math/s_ctanhl.c (__ctanhl): Likewise.
25840 * math/s_ctanl.c (__ctanl): Likewise.
25841 * math/libm-test.inc (ctan_test_tonearest): New function.
25842 (ctan_test_towardzero): Likewise.
25843 (ctan_test_downward): Likewise.
25844 (ctan_test_upward): Likewise.
25845 (ctanh_test_tonearest): Likewise.
25846 (ctanh_test_towardzero): Likewise.
25847 (ctanh_test_downward): Likewise.
25848 (ctanh_test_upward): Likewise.
25849 (main): Call these new functions.
25850 * sysdeps/i386/fpu/libm-test-ulps: Update.
25851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25852
ca48a46a
MF
258532012-07-03 Mike Frysinger <vapier@gentoo.org>
25854
25855 * .gitignore: Delete /ports entry.
25856
9d63d37d
AJ
258572012-07-03 Andreas Jaeger <aj@suse.de>
25858
25859 * po/bg.po: Update from translation team.
25860 * po/cs.po: Likewise.
25861 * po/de.po: Likewise.
25862 * po/hr.po: Likewise.
25863 * po/nl.pl: Likewise.
25864 * po/pl.po: Likewise.
25865 * po/vi.po: Likewise.
25866
370ca3d2
JM
258672012-07-03 Joseph Myers <joseph@codesourcery.com>
25868
95f5a9a8
JM
25869 * Makeconfig [!+link] (+link-before-libc): New variable.
25870 [!+link] (+link-after-libc): Likewise.
25871 [!+link] (+link-tests): Likewise.
25872 [!+link] (+link): Define in terms of $(+link-before-libc) and
25873 $(+link-after-libc).
25874 [!+link-static] (+link-static-before-libc): New variable.
25875 [!+link-static] (+link-static-after-libc): Likewise.
25876 [!+link-static] (+link-static-tests): Likewise.
25877 [!+link-static] (+link-static): Define in terms of
25878 $(+link-static-before-libc) and $(+link-static-after-libc).
25879 [build-shared] (link-libc-before-gnulib): New variable.
25880 [build-shared] (link-libc-tests): Likewise.
25881 [build-shared] (link-libc): Define in terms of
25882 $(link-libc-before-gnulib).
25883 [!build-shared] (link-libc-tests): New variable.
25884 (link-libc-static-tests): New variable.
25885 [!gnulib] (gnulib-arch): New variable.
25886 [!gnulib] (gnulib-tests): Likewise.
25887 [!gnulib] (static-gnulib-arch): Likewise.
25888 [!gnulib] (static-gnulib-tests): Likewise.
25889 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25890 Define with "=" instead of ":=".
25891 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25892 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25893 * Rules (binaries-all-notests): New variable.
25894 (binaries-all-tests): Likewise.
25895 (binaries-static-notests): Likewise.
25896 (binaries-static-tests): Likewise.
25897 (binaries-all): Define using $(binaries-all-notests) and
25898 $(binaries-all-tests).
25899 (binaries-static): Define using $(binaries-static-notests) and
25900 $(binaries-static-tests).
25901 (binaries-shared-tests): New variable.
25902 (binaries-shared-notests): Likewise.
25903 (binaries-shared): Remove variable.
25904 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25905 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25906 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25907 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25908 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25909 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25910 * elf/Makefile (sln-modules): New variable.
25911 (extra-objs): Add $(sln-modules:=.o).
25912 (ldconfig-modules): Add static-stubs.
25913 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25914 * elf/static-stubs.c: New file.
25915
7a845b2c
JM
25916 [BZ #14283]
25917 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25918 by 7 not 8 to examine high bit of fractional part. Use volatile
25919 variables when splitting into final array of floats if
25920 __FLT_EVAL_METHOD__ != 0.
25921 * math/libm-test.inc (cos_test): Add another test.
25922 (sin_test): Likewise.
25923 * sysdeps/i386/fpu/libm-test-ulps: Update.
25924
e2283f38
JM
25925 [BZ #14273]
25926 * math/libm-test.inc (cosh_test): Add more tests.
25927
370ca3d2
JM
25928 * version.h (RELEASE): Set to "development".
25929 (VERSION): Set to "2.16.90".
25930
ee9247c3
CD
259312012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25932
25933 * NEWS: Update copyright. Remove last-updated date.
25934 Mention math library bug fixes and timezone data changes.
25935 * README: Mention GNU/Hurd, x32, and HPPA support status.
25936
4648c381
TS
259372012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25938
25939 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25940
aac78a43
AJ
259412012-06-27 Andreas Jaeger <aj@suse.de>
25942
25943 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25944
ed3dbfad
AJ
259452012-06-25 Andreas Jaeger <aj@suse.de>
25946
25947 * sysdeps/s390/fpu/libm-test-ulps: Update.
25948
4d0ee855
AS
259492012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25950 Thomas Schwinge <thomas@codesourcery.com>
25951
25952 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25953 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25955 fanotify_mark.
25956
af1bce34
TS
259572012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25958
a9fa33ba
TS
25959 * sysdeps/mach/start.c: Remove file.
25960 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25961 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25962 * sysdeps/sh/init-first.c: Likewise.
25963
58f902b8
TS
25964 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25965 registers for frame unwinding purposes, add CFI directives.
25966 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25967 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25968 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25969 Likewise.
25970
1518f58b
TS
25971 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25972 __fortify_fail returning.
25973 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25974
db9b5059
TS
25975 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25976 sysdeps/sh/____longjmp_chk.S.
25977 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25978 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25979 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25980 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25981
967705fe
TS
25982 * sysdeps/sh/abort-instr.h: New file.
25983 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25984 process in case exit returns.
25985
a9def8c4
TS
25986 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25987 initialize the GOT register before use.
25988
2a649725
TS
25989 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25990 calculation of ARGC > 4.
25991
af1bce34
TS
25992 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25993 meaningful names to some local labels.
25994
d230f50a
KK
259952012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25996 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25997
25998 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25999 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26000 (__arch_compare_and_exchange_val_16_acq): Likewise.
26001 (__arch_compare_and_exchange_val_32_acq): Likewise.
26002 (atomic_exchange_and_add): Fix gUSA sequence.
26003 (atomic_add): Likewise.
26004 (atomic_add_negative): Likewise.
26005 (atomic_add_zero): Likewise.
26006 (atomic_bit_test_set): Likewise.
26007
0479b305
AS
260082012-06-22 Andreas Schwab <schwab@redhat.com>
26009
26010 [BZ #13579]
26011 * include/link.h (struct link_map): Add l_free_initfini.
26012 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26013 l_initfini.
26014 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26015 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26016 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26017 set.
26018
0e3933b9
CD
260192012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26020
26021 * configure.in: Use AC_LANG_SOURCE.
26022 * configure: Regenerate.
26023
4248b1b1
RM
260242012-06-22 Roland McGrath <roland@hack.frob.com>
26025
26026 * configure.in (libc_cv_localstatedir): New substituted variable.
26027 * configure: Regenerated.
26028 * config.make.in (localstatedir): New variable, substituted from
26029 libc_cv_localstatedir.
26030 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26031 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26032 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26033 * sysdeps/gnu/configure: Regenerated.
26034
006dd861
JL
260352012-06-21 Jeff Law <law@redhat.com>
26036
26037 [BZ #14277]
26038 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26039 free. Simplify list management for _LIBC case.
26040
79662d42
JM
260412012-06-21 Joseph Myers <joseph@codesourcery.com>
26042
b7abb4bf
JM
26043 [BZ #14273]
26044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26045 Clear sign bit of 64-bit integer value before comparing against
26046 overflow value.
26047
79662d42
JM
26048 * sysdeps/mach/configure: Regenerated.
26049
1f150908
L
260502012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26051
26052 [BZ #14278]
26053 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26054
28363bbf
JL
260552012-06-21 Jeff Law <law@redhat.com>
26056
26057 [BZ #13882]
26058 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26059 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26060 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26061 * elf/dl-open.c (dl_open_worker): Likewise.
26062
09615db4
CD
260632012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26064
26065 * scripts/list-sources.sh: Scan PORTS for translations.
26066 * po/libc.pot: Regenerated.
26067
2174c6dd
AJ
260682012-06-21 Andreas Jaeger <aj@suse.de>
26069
26070 [BZ #12194]
26071 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26072 warning.
26073 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26074 * bits/byteswap-16.h (__bswap_16): Likewise.
26075 * bits/byteswap.h (__bswap_constant_16): Likewise.
26076
3ee947b1
L
260772012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26078
26079 [BZ #14117]
a2f34833
L
26080 * sysdeps/i386/fpu_control.h: Removed.
26081 * sysdeps/x86_64/fpu_control.h: Moved to ...
26082 * sysdeps/x86/fpu_control.h: Here.
26083
3ee947b1
L
26084 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26085 (_FPU_SETCW): Likewise.
26086
ed1825f8
L
260872012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26088
25f1282a
L
26089 [BZ #14117]
26090 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26091 * sysdeps/x86/fpu/bits/mathinline.h: This.
26092 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26093
ed1825f8
L
26094 [BZ #14050]
26095 [BZ #14117]
26096 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26097 functions if __x86_64__ is defined.
26098
36d54b74
CLT
260992012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26100
26101 * string/endian.h: Add !__ASSEMBLER__ condition for including
26102 conversion interfaces.
26103
10285c21
JM
261042012-06-15 Joseph Myers <joseph@codesourcery.com>
26105
26106 [BZ #14241]
26107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26108 of ABS(x) in calculating zero to negative powers other than odd
26109 integers.
26110 * math/libm-test.inc (pow_test): Add more tests.
26111
06c5abbd
AJ
261122012-06-15 Andreas Jaeger <aj@suse.de>
26113
26114 * manual/contrib.texi (Contributors): Update entry of Liubov
26115 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26116 Machado Filho.
26117
a3aeac40
CH
261182012-06-15 Cyril Hrubis <metan@ucw.cz>
26119
26120 * string/string.h: Add __wur to GNU version of strerror_r.
26121
49bdf4c1
L
261222012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 [BZ #14229]
26125 * string/Makefile (tests): Add tst-strtok_r.
26126 * string/tst-strtok_r.c: New file.
26127 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26128 RAX_LP/RDX_LP on SAVE_PTR.
26129
834f9b8d
RM
261302012-06-14 Roland McGrath <roland@hack.frob.com>
26131
26132 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26133
75fa1921
JM
261342012-06-14 Joseph Myers <joseph@codesourcery.com>
26135
26136 * libm_test.inc (csqrt_test): Allow more spurious underflow
26137 exceptions.
26138 (j0_test): Likewise.
26139 (j1_test): Likewise.
26140 (y0_test): Likewise.
26141 (y1_test): Likewise.
26142
771766df
CD
261432012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26144
26145 * po/Makefile (libc.pot): Use UTF-8 charset.
26146
ceb9e56b
PP
261472012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26148
26149 [BZ #14210]
26150 Suppress sign-conversion warning from FD_SET.
26151 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26152 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26153 not unsigned long int.
26154 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26155
ddb28975
L
261562012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26157
26158 [BZ #14050]
26159 [BZ #14117]
26160 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26161 __extern_always_inline instead of __extern_inline.
26162 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26163 (__signbit): Likewise.
26164 (__signbitl): Support C++ namespace.
26165 (lrintf): New inline function.
26166 (lrint): Likewise.
26167 (llrintf): Likewise.
26168 (llrint): Likewise.
26169 (fmaxf): Likewise.
26170 (fmax): Likewise.
26171 (fminf): Likewise.
26172 (fmin): Likewise.
26173 (rint): Likewise.
26174 (rintf): Likewise.
26175 (ceil): Likewise.
26176 (ceilf): Likewise.
26177 (floor): Likewise.
26178 (floorf): Likewise.
26179 (nearbyint): Likewise.
26180 (nearbyintf): Likewise.
26181
d7b4fb26
TS
261822012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26183
26184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26185 non-default versions.
26186
eb55f5c2
RM
261872012-06-11 Roland McGrath <roland@hack.frob.com>
26188
26189 [BZ #14218]
26190 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26191
366af02c
TS
261922012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26193
99ff6e5c
TS
26194 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26195 (FE_UPWARD, FE_DOWNWARD): Don't define.
26196 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26198
366af02c
TS
26199 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26200 reading it.
26201 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26202 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26203
793ea851
KK
262042012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26205
26206 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26207 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26208 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26209 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26210
a728a38f
L
262112012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26212
26213 [BZ #14117]
c08010c7
L
26214 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26215 * sysdeps/i386/fpu/Implies: New file.
26216 * sysdeps/x86_64/fpu/Implies: Likewise.
26217 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26218 * sysdeps/x86/fpu/bits/fenv.h: This.
26219
a728a38f
L
26220 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26221 __SSE_MATH__.
26222
6e230d11
SP
262232012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26224
26225 [BZ #14134]
26226 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26227 character 0xffff that matches the last element of the
26228 conversion table.
26229
1b671feb
AZ
262302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26231
26232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26233 fmodl commit.
26234
6043738b
AZ
262352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26236
26237 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26238 values higher than 25.6283.
26239
34ae0b32
AZ
262402012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26241
26242 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26243 subnormal exponent extraction and add some __builtin_expect.
26244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26245 Fix for subnormal mantissa calculation.
26246
1214ec8f
MF
262472012-06-04 Mike Frysinger <vapier@gentoo.org>
26248
26249 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26250 cpu2 is -1 and errno is not ENOSYS.
26251
f3d1f93c
L
262522012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26253
26254 [BZ #14117]
0e4a3cd7
L
26255 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26256 * sysdeps/x86/bits/string.h: This.
26257 * sysdeps/x86_64/bits/string.h: Removed.
26258
6704c645
L
26259 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26260 if not compiling for x86-64, but compiling for >= i486.
26261
48495318
L
26262 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26263 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26264
14adcbfc
L
26265 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26266 New macro from Linux kernel 3.4.0.
26267 (FP_XSTATE_MAGIC2): Likewise.
26268 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26269 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26270 (struct _fpx_sw_bytes): New struct.
26271 (struct _xsave_hdr): Likewise.
26272 (struct _ymmh_state): Likewise.
26273 (struct _xstate): Likewise.
26274
68e408ab
L
26275 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26276 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26277 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26278 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26279 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26280 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26281
f3d1f93c
L
26282 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26283 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26284 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26285 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26286 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26287 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26288
d9dc34cd
TMQMF
262892012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26290
26291 [BZ #13743]
26292 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26293 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26294 (sysdep_headers): Include sys/platform/ppc.h.
26295 * sysdeps/powerpc/test-gettimebase.c: Test for
26296 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26297 * manual/Makefile (appendices): Include platform.texi.
26298 * manual/contrib.texi (Contributors): Update @node pointers.
26299 * manual/maint.texi (Maintenance): Likewise.
26300 (Platform): New node.
26301 * manual/platform.texi: New file. Document the new features.
26302
4af3879c
SP
263032012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26304 Jakub Jelinek <jakub@redhat.com>
26305
26306 [BZ #14188]
26307 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26308 where __builtin_expect is unavailable.
26309
2fd6ff13
DM
263102012-06-03 David S. Miller <davem@davemloft.net>
26311
26312 * stdlib/longlong.h: Updated from GCC.
26313
173f7220
AS
263142012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26315
26316 [BZ #14042]
26317 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26318 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26319 __mcount_internal.
26320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26321 (GLIBC_2.16): Likewise.
26322
f34a1c6f
L
263232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26324
26325 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26326
88a4576f
JM
263272012-06-01 Joseph Myers <joseph@codesourcery.com>
26328
ea32bcdd
JM
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26330 (default-abi): New variable.
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26332 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26333 variable.
26334 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26335 Likewise.
26336 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26337 Likewise.
26338 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26339 Likewise.
26340
88a4576f
JM
26341 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26342 definition. Document in comment.
26343
402fe938
DM
263442012-06-01 David S. Miller <davem@davemloft.net>
26345
26346 * stdlib/longlong.h: Updated from GCC.
26347
3553723f
L
263482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26349
26350 [BZ #14117]
3bd872c4
L
26351 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26352 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26353 sys/debugreg.h sys/io.h here.
26354 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26355 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26356 sys/io.h.
26357 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26358 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26359 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26360 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26361 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26362 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26363
3553723f
L
26364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26365 Define only if __x86_64__ is defined.
26366
4842e4fe
JM
263672012-06-01 Joseph Myers <joseph@codesourcery.com>
26368
c5bfe3d5
JM
26369 [BZ #14048]
26370 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26371 Use int64_t for variable i.
26372 * math/libm-test.inc (fmod_test): Add more tests.
26373
4842e4fe
JM
26374 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26375 z computation is not scheduled after fetestexcept.
26376 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26377 Use math_force_eval instead of asm to ensure calculation scheduled
26378 before exception test.
26379 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26380 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26381
efb73488
AJ
263822012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26383
26384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26385 computation is not scheduled after fetestexcept.
26386
29bcce7c
L
263872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26388
26389 [BZ #14117]
26390 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26391 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26392
73a68f94
AZ
263932012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26394
26395 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26396 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26397
67b6df78
L
263982012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26399
edf2933a 26400 [BZ #14117]
ebc64a18
L
26401 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26402 <bits/wordsize.h>.
26403 (__WCHAR_MIN): Support __WORDSIZE == 64.
26404 (__WCHAR_MAX): Likewise.
26405
edf2933a
L
26406 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26407 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26408
57c6cf40
L
26409 [BZ #14183]
26410 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26411 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26412
67b6df78 26413 [BZ #14117]
8eb6281e
L
26414 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26415 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26416
aac639f4
L
26417 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26418 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26419
67b6df78
L
26420 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26421 Defined to 1 if __x86_64__ isn't defined.
26422 (_STAT_VER_LINUX_OLD): New.
26423 (st_atime): Remove duplicate.
26424 (st_mtime): Likewise.
26425 (st_ctime): Likewise.
26426
1c2cfe81
DM
264272012-05-31 David S. Miller <davem@davemloft.net>
26428
26429 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26430 entries.
26431
5be8418c
AS
264322012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26433
e7725326
AS
26434 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26435 gen-libm-test.pl.
26436
5be8418c
AS
26437 [BZ #14132]
26438 * elf/dl-reloc.c: Include <_itoa.h>.
26439 (_dl_reloc_bad_type): Remove use of INTUSE.
26440 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26441 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26442 * stdio-common/psiginfo.c (psiginfo): Likewise.
26443 * stdio-common/psignal.c (psignal): Likewise.
26444 * string/strsignal.c (strsignal): Likewise.
26445 * include/signal.h (_sys_siglist): Declare hidden proto.
26446 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26447 INTVARDEF with libc_hidden_data_def.
26448 * stdio-common/itoa-udigits.c: Likewise.
26449 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26450 (_itoa_lower_digits_internal): Remove declaration.
26451 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26452 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26453 (_sys_sigabbrev_internal): Remove aliases.
26454 (_sys_siglist): Define hidden alias.
26455
507352f1
MT
264562012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26457
26458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26459 bits/sysctl.h.
26460
42bbb1c3
L
264612012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26462
26463 [BZ #14117]
6bd784b6
L
26464 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26465 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26466
8bca20f0
L
26467 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26468 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26469 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26470 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26472 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26473
f9e890a9
L
26474 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26475 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26476 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26477
471101a1
L
26478 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26479 with __addr.
26480 (insw): Likewise.
26481 (insl): Likewise.
26482 (outsb): Likewise.
26483 (outsw): Likewise.
26484 (outsl): Likewise.
26485
6451c862
L
26486 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26487 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26488 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26489
a254b8c9
L
26490 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26491 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26493 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26494 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26495 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26496
b8dfdd92
L
26497 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26498 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26499
578cd270
L
26500 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26501 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26502
de662f5f
L
26503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26506
25653439
L
26507 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26508 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26509 to ...
26510 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26511
6bad24a0
L
26512 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26513 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26514 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26515
42bbb1c3
L
26516 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26517 for x86-64.
26518 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26519
2d10d547
JM
265202012-05-31 Joseph Myers <joseph@codesourcery.com>
26521
26522 * math/math.h (M_El): Use two more decimal places.
26523 (M_LOG2El): Likewise.
26524 (M_LOG10El): Likewise.
26525 (M_LN2l): Likewise.
26526 (M_LN10l): Likewise.
26527 (M_PIl): Likewise.
26528 (M_PI_2l): Likewise.
26529 (M_PI_4l): Likewise.
26530 (M_1_PIl): Likewise.
26531 (M_2_PIl): Likewise.
26532 (M_2_SQRTPIl): Likewise.
26533 (M_SQRT2l): Likewise.
26534 (M_SQRT1_2l): Likewise.
26535
f230c29b
DM
265362012-05-31 David S. Miller <davem@davemloft.net>
26537
26538 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26539 values between float registers.
26540 * sysdeps/sparc/sparc64/memset.S: Likewise.
26541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26542
fed806c3
MF
265432012-05-31 Mike Frysinger <vapier@gentoo.org>
26544
26545 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26546 -D_FORTIFY_SOURCE=1.
26547 (CPPFLAGS-tst-longjmp_chk.c): Define.
26548 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26549 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26550 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26551 CFLAGS-tst-wchar-h.c.
26552
30917259
MP
265532012-05-31 Marek Polacek <polacek@redhat.com>
26554
26555 [BZ #14132]
26556 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26557 __endmntent_internal): Remove declaration.
26558 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26559 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26560 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26561
1c58d5dc
DM
265622012-05-30 David S. Miller <davem@davemloft.net>
26563
26564 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26565 (___Q_simulate_exceptions): Use real FP ops rather than writing
26566 into the %fsr.
26567 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26568 Likewise.
26569
7dc00e0d
L
265702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26571
26572 [BZ #14117]
0bd53985
L
26573 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26574 * sysdeps/x86/bits/xtitypes.h: This.
26575
3a257e66
L
26576 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26577 * sysdeps/x86/bits/wordsize.h: This.
26578
62f62904
L
26579 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26580 * sysdeps/x86/bits/huge_vall.h: This.
26581
404fe9d9
L
26582 * sysdeps/i386/bits/select.h: Removed.
26583 * sysdeps/x86_64/bits/select.h: Renamed to ...
26584 * sysdeps/x86/bits/select.h: This.
26585
d48d0446
L
26586 * sysdeps/i386/bits/setjmp.h: Removed.
26587 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26588 * sysdeps/x86/bits/setjmp.h: This.
26589
7dc00e0d
L
26590 * sysdeps/i386/bits/mathdef.h: Removed.
26591 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26592 * sysdeps/x86/bits/mathdef.h: This.
26593
03277f8f
AS
265942012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26595
26596 [BZ #14132]
26597 * include/sys/socket.h (__connect_internal)
26598 (__libc_sa_len_internal): Remove declaration.
26599 (__connect, __libc_sa_len): Declare hidden_proto.
26600 (SA_LEN): Remove use of INTUSE.
26601 * socket/connect.c: Add libc_hidden_def.
26602 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26603 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26604 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26605 alias.
26606 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26607 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26608 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26609 of adding _internal alias.
26610
13764867
L
266112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26612
26613 [BZ #14117]
6bd97696
L
26614 * sysdeps/i386/bits/link.h: Removed.
26615 * sysdeps/i386/bits/linkmap.h: Likewise.
26616 * sysdeps/x86_64/bits/link.h: Renamed to ...
26617 * sysdeps/x86/bits/link.h: This.
26618 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26619 * sysdeps/x86/bits/linkmap.h: This.
26620
f726f0bb
L
26621 * sysdeps/i386/bits/endian.h: Removed.
26622 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26623 * sysdeps/x86/bits/endian.h: This.
26624
13764867
L
26625 * sysdeps/i386/bits/byteswap.h: Removed.
26626 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26627 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26628 * sysdeps/x86/bits/byteswap.h: This.
26629 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26630 * sysdeps/x86/bits/byteswap-16.h: This.
26631 * sysdeps/i386/Implies: Add x86.
26632 * sysdeps/x86_64/Implies: Likewise.
26633
ae251b0b
DM
266342012-05-30 David S. Miller <davem@davemloft.net>
26635
26636 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26637 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26638 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26639 (FP_TRAPPING_EXCEPTIONS): Define.
26640 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26641 (FP_TRAPPING_EXCEPTIONS): Define.
26642 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26643 subnormals only when inexact has been signalled or underflow
26644 exceptions are enabled.
26645 (_FP_PACK_CANONICAL): Likewise.
26646
d5c90867
L
266472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26648
26649 [BZ #14183]
26650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26651 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26652
63f1549e
RH
266532012-05-30 Richard Henderson <rth@twiddle.net>
26654
8d8f2279
RH
26655 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26656 with #ifndef NOT_IN_libc.
26657
63f1549e
RH
26658 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26659 marked to avoid plt entry.
26660
0ab0291b
L
266612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26662
26663 [BZ #14112]
26664 * Makeconfig (default-abi): New macro.
26665 (abi-includes): Likewise.
26666 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26667 $(abi-$(default-abi)-lib-soname) for soname if defined.
26668 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26669 abi-variants.
26670 * Makefile (installed-stubs): Likewise.
26671 * include/stubs-biarch.h: Removed.
26672 * scripts/lib-names.awk: Only handle one library at a time.
26673 * scripts/soversions.awk: Remove WORDSIZE support.
26674 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26675 entries.
26676 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26677 Removed.
26678 (syscall-list-default-condition): Likewise.
26679 (syscall-list-default-condition): Likewise.
26680 (syscall-list-includes): Likewise.
26681 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26682 syscall-list-* with abi-*. Handle undefined abi-variants.
26683 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26684 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26685 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26686 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26687 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26688 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26689 Removed.
26690 (syscall-list-32-options): Likewise.
26691 (syscall-list-32-condition): Likewise.
26692 (syscall-list-64-options): Likewise.
26693 (syscall-list-64-condition): Likewise.
26694 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26695 macro.
26696 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26697 Renamed to ...
26698 (abi-*): This.
26699 (abi-64-ld-soname): New macro.
26700 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26701 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26702 Renamed to ...
26703 (abi-*): This.
26704 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26705 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26706
4da0431d
JM
267072012-05-30 Joseph Myers <joseph@codesourcery.com>
26708
3a85279c
JM
26709 * sysdeps/unix/sysv/linux/kernel-features.h
26710 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26711 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26712 include <kernel-features.h>.
26713 [!__NR_ftruncate64]: Remove conditional code.
26714 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26715 [__NR_ftruncate64]: Make code unconditional.
26716 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26717 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26718 include <kernel-features.h>.
26719 [!__NR_ftruncate64]: Remove conditional code.
26720 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26721 [__NR_ftruncate64]: Make code unconditional.
26722 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26724 include <kernel-features.h>.
26725 [!__NR_ftruncate64]: Remove conditional code.
26726 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26727 [__NR_ftruncate64]: Make code unconditional.
26728 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26730 include <kernel-features.h>.
26731 [!__NR_ftruncate64]: Remove conditional code.
26732 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26733 [__NR_ftruncate64]: Make code unconditional.
26734 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26735
4da0431d
JM
26736 * configure.in (libc_cv_fpie): Weaken to a compile test using
26737 LIBC_TRY_CC_OPTION.
26738 * configure: Regenerated.
26739
11ef492c
AK
267402012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26741
26742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26746 Refreshed.
26747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26753 Refreshed.
26754
d66ef399
DM
267552012-05-27 David S. Miller <davem@davemloft.net>
26756
26757 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26758 (___Q_zero): New.
26759 (__Q_simulate_exceptions): Return void. Change to simulate
26760 exceptions by writing into the %fsr.
26761 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26762 (__Qp_handle_exceptions): Likewise.
26763 (numbers): Delete.
26764 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26765 __Qp_handle_exceptions.
26766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26767 __Qp_handle_exceptions.
26768 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26769 as unused and give dummy FP_RND_NEAREST initializer.
26770 (FP_INHIBIT_RESULTS): Define.
26771 (___Q_simulate_exceptions): Update declaration.
26772 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26773 formatting.
26774 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26775 as unused and give dummy FP_RND_NEAREST initializer.
26776 (__Qp_handle_exceptions): Update declaration.
26777 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26778 formatting.
26779
04fb54b5
TS
267802012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26781
26782 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26783 the temporary FPU control word.
26784 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26785 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26786 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26787 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26789 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26790 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26791 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26792 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26793 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26795
3f99608f
KK
267962012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26797
26798 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26799 fields.
26800
65a4de4e
CLT
268012012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26802
26803 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26804 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26805 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26806 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26807 Likewise.
26808 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26809 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26810 Likewise.
26811
15749d40
UD
268122012-05-27 Ulrich Drepper <drepper@gmail.com>
26813
26814 * po/h.po: Update from translation team.
26815
25dbcb27
AS
268162012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26817
3d3f8e55
AS
26818 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26819
25dbcb27
AS
26820 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26821 handling of denormals.
26822 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26823 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26824 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26825 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26826 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26829 Likewise.
26830
7ad47a80 268312012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26832
26833 [BZ #14152]
26834 * math/libm-test.inc (fma_test): Don't always expect underflow
26835 exception.
26836
9c6ea9fa
SP
268372012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26838
26839 [BZ #12416]
26840 * elf/tst-execstack.c: Include stackinfo.h.
26841 (do_test): Adjust test case to ensure that pthread_getattr_np
26842 behaviour remains the same after marking stack executable.
26843
a8239222
JM
268442012-05-25 Joseph Myers <joseph@codesourcery.com>
26845
26846 * sysdeps/unix/sysv/linux/kernel-features.h
26847 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26848 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26849 kernel-features.h.
26850 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26851 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26852 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26853 kernel-features.h.
26854 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26855 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26856
918b5606
L
268572012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26858
26859 * configure.in: Define the default includes to being none.
26860 * configure: Regenerated.
26861
3a097cc7
RM
268622012-05-25 Roland McGrath <roland@hack.frob.com>
26863
8422c9a5
RM
26864 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26865 * sysdeps/x86_64/setjmp.S: Likewise.
26866 * sysdeps/i386/bsd-setjmp.S: Likewise.
26867 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26868 * sysdeps/i386/setjmp.S: Likewise.
26869 * sysdeps/i386/__longjmp.S: Likewise.
26870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26871 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26872
3a097cc7
RM
26873 * include/stap-probe.h: New file.
26874 * configure.in: Handle --enable-systemtap.
26875 * configure: Regenerated.
26876 * config.h.in (USE_STAP_PROBE): New #undef.
26877 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26878 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26879 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26880
21708942
JM
268812012-05-25 Joseph Myers <joseph@codesourcery.com>
26882
26883 [BZ #13717]
26884 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26885 to 2.4.0 where earlier.
26886 * sysdeps/unix/sysv/linux/configure: Regenerated.
26887 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26888 <kernel-features.h>.
26889 [__ASSUME_32BITUIDS]: Make code unconditional.
26890 [!__ASSUME_32BITUIDS]: Remove conditional code.
26891 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26892 <kernel-features.h>.
26893 [__ASSUME_32BITUIDS]: Make code unconditional.
26894 [!__ASSUME_32BITUIDS]: Remove conditional code.
26895 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26896 [__ASSUME_32BITUIDS]: Make code unconditional.
26897 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26898 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26899 <kernel-features.h>.
26900 [__ASSUME_32BITUIDS]: Make code unconditional.
26901 [!__ASSUME_32BITUIDS]: Remove conditional code.
26902 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26903 <kernel-features.h>.
26904 [__ASSUME_32BITUIDS]: Make code unconditional.
26905 [!__ASSUME_32BITUIDS]: Remove conditional code.
26906 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26907 <kernel-features.h>.
26908 [__ASSUME_32BITUIDS]: Make code unconditional.
26909 [!__ASSUME_32BITUIDS]: Remove conditional code.
26910 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26911 <kernel-features.h>.
26912 [__ASSUME_32BITUIDS]: Make code unconditional.
26913 [!__ASSUME_32BITUIDS]: Remove conditional code.
26914 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26915 <kernel-features.h>.
26916 [__ASSUME_32BITUIDS]: Make code unconditional.
26917 [!__ASSUME_32BITUIDS]: Remove conditional code.
26918 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
26939 <kernel-features.h>.
26940 [__NR_setresgid] (__setresgid): Do not declare.
26941 [__ASSUME_32BITUIDS]: Make code unconditional.
26942 [!__ASSUME_32BITUIDS]: Remove conditional code.
26943 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26944 <kernel-features.h>.
26945 [__NR_setresuid] (__setresuid): Do not declare.
26946 [__ASSUME_32BITUIDS]: Make code unconditional.
26947 [!__ASSUME_32BITUIDS]: Remove conditional code.
26948 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26949 <kernel-features.h>.
26950 [__ASSUME_32BITUIDS]: Make code unconditional.
26951 [!__ASSUME_32BITUIDS]: Remove conditional code.
26952 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26953 <kernel-features.h>.
26954 [__ASSUME_32BITUIDS]: Make code unconditional.
26955 [!__ASSUME_32BITUIDS]: Remove conditional code.
26956 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26957 <kernel-features.h>.
26958 [__ASSUME_32BITUIDS]: Make code unconditional.
26959 [!__ASSUME_32BITUIDS]: Remove conditional code.
26960 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26961 <kernel-features.h>.
26962 [__ASSUME_32BITUIDS]: Make code unconditional.
26963 [!__ASSUME_32BITUIDS]: Remove conditional code.
26964 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26965 <kernel-features.h>.
26966 [__ASSUME_32BITUIDS]: Make code unconditional.
26967 [!__ASSUME_32BITUIDS]: Remove conditional code.
26968 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26969 <kernel-features.h>.
26970 [__ASSUME_32BITUIDS]: Make code unconditional.
26971 [!__ASSUME_32BITUIDS]: Remove conditional code.
26972 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26973 <kernel-features.h>.
26974 [__ASSUME_32BITUIDS]: Make code unconditional.
26975 [!__ASSUME_32BITUIDS]: Remove conditional code.
26976 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26977 <kernel-features.h>.
26978 [__ASSUME_32BITUIDS]: Make code unconditional.
26979 [!__ASSUME_32BITUIDS]: Remove conditional code.
26980 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.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/kernel-features.h
26989 (__ASSUME_SETRESUID_SYSCALL): Remove.
26990 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26991 (__ASSUME_32BITUIDS): Likewise.
26992 (__ASSUME_LDT_WORKS): Likewise.
26993 (__ASSUME_O_DIRECTORY): Likewise.
26994 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26995 architecture but not kernel version.
26996 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26997 (__ASSUME_MMAP2_SYSCALL): Likewise.
26998 (__ASSUME_STAT64_SYSCALL): Likewise.
26999 (__ASSUME_IPC64): Likewise.
27000 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27001 <kernel-features.h>.
27002 [__ASSUME_32BITUIDS]: Make code unconditional.
27003 [!__ASSUME_32BITUIDS]: Remove conditional code.
27004 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27005 <kernel-features.h>.
27006 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27007 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27008 132096]: Remove conditional code.
27009 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27010 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27011 <kernel-features.h>.
27012 [__ASSUME_32BITUIDS]: Make code unconditional.
27013 [!__ASSUME_32BITUIDS]: Remove conditional code.
27014 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27015 <kernel-features.h>.
27016 [__ASSUME_32BITUIDS]: Make code unconditional.
27017 [!__ASSUME_32BITUIDS]: Remove conditional code.
27018 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27019 <kernel-features.h>.
27020 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27021 unconditional.
27022 (__setresgid): Do not declare.
27023 [__ASSUME_32BITUIDS]: Make code unconditional.
27024 [!__ASSUME_32BITUIDS]: Remove conditional code.
27025 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27026 <kernel-features.h>.
27027 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27028 unconditional.
27029 (__setresuid): Do not declare.
27030 [__ASSUME_32BITUIDS]: Make code unconditional.
27031 [!__ASSUME_32BITUIDS]: Remove conditional code.
27032 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27033 <kernel-features.h>.
27034 [__ASSUME_32BITUIDS]: Make code unconditional.
27035 [!__ASSUME_32BITUIDS]: Remove conditional code.
27036 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27037 <kernel-features.h>.
27038 [__ASSUME_32BITUIDS]: Make code unconditional.
27039 [!__ASSUME_32BITUIDS]: Remove conditional code.
27040
a386f1cc
RH
270412012-05-25 Richard Henderson <rth@twiddle.net>
27042
27043 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27044 dl_hwcap to ifunc resolver.
27045 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27046 elf_ifunc_invoke.
27047 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27048 dl_hwcap to ifunc resolver.
27049 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27050
b6550497
JM
270512012-05-24 Joseph Myers <joseph@codesourcery.com>
27052
27053 [BZ #14153]
27054 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27055 for |x| <= 2**-26, not 2**-57.
27056 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27057 exception.
27058
b0bc23a1
JL
270592012-05-24 Jeff Law <law@redhat.com>
27060
27061 * stdio-common/Makefile (tests): Add bug25.
27062 * stdio-common/bug25.c: New test.
27063
347c92e9
L
270642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27065
27066 [BZ #13576]
27067 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27068 multiple of MALLOC_ALIGNMENT in size.
27069 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27070
6bcc8b3f
JM
270712012-05-24 Joseph Myers <joseph@codesourcery.com>
27072
27073 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27074 Require >= 256.
27075 (FILENAME_MAX): Use macro-int-constant.
27076 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27077 (_IOFBF): Use macro-int-constant.
27078 (_IOLBF): Likewise.
27079 (_IONBF): Likewise.
27080 (SEEK_CUR): Likewise.
27081 (SEEK_END): Likewise.
27082 (SEEK_SET): Likewise.
27083 (TMP_MAX): Likewise.
27084 (EOF): Use macro-int-constant. Require < 0.
27085 (NULL): Use macro-constant. Require == 0.
27086 (stdin): Require type to be FILE *.
27087 (stdout): Likewise.
27088 (stderr): Likewise.
27089 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27090 macro-int-constant.
27091 (EXIT_SUCCESS): Likewise.
27092 (NULL): Use macro-constant. Require == 0.
27093 (RAND_MAX): Use macro-int-constant.
27094 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27095 [C99-based standards] (strtof): Require function.
27096 [C99-based standards] (strtold): Likewise.
27097 [C99-based standards] (strtoll): Likewise.
27098 [C99-based standards] (strtoull): Likewise.
27099 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27100 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27101 [ISO || ISO99 || ISO11] (math.h): Likewise.
27102 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27103 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27105
d18ea0c5
AS
271062012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27107
27108 [BZ #14132]
56d25bb8
AS
27109 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27110 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27111 * intl/dgettext.c (DCGETTEXT): Likewise.
27112 * intl/gettext.c (DCGETTEXT): Likewise.
27113 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27114 * posix/regex_internal.h (gettext): Likewise.
27115 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27116 Remove declaration.
27117 * include/argz.h (__argz_count_internal)
27118 (__argz_stringify_internal): Remove declaration.
27119 (__argz_count, __argz_stringify): Declare hidden proto.
27120 * intl/dcgettext.c: Remove use of INTDEF.
27121 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27122 * string/argz-stringify.c: Likewise.
27123 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27124 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27125 Declare hidden proto.
d18ea0c5
AS
27126 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27127 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27128 Declare hidden proto.
27129 * include/stdio.h (__asprintf_internal): Don't declare.
27130 (__asprintf): Don't define as macro. Declare hidden proto.
27131 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27132 (__fsetlocking): Declare hidden proto.
27133 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27134 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27135 hidden proto.
27136 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27137 (_IO_setlinebuf): Remove use of INTUSE.
27138 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27139 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27140 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27141 Remove declaration.
27142 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27143 (_IO_do_flush): Remove use of INTUSE.
27144 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27145 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27146 (_IO_adjust_column, _IO_least_wmarker)
27147 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27148 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27149 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27150 (_IO_default_doallocate, _IO_wdefault_doallocate)
27151 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27152 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27153 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27154 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27155 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27156 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27157 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27158 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27159 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27160 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27161 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27162 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27163 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27164 proto.
27165 (_IO_flush_all_internal, _IO_adjust_column_internal)
27166 (_IO_default_uflow_internal, _IO_default_finish_internal)
27167 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27168 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27169 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27170 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27171 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27172 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27173 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27174 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27175 (_IO_file_close_internal, _IO_file_close_it_internal)
27176 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27177 (_IO_file_init_internal, _IO_file_attach_internal)
27178 (_IO_file_fopen_internal, _IO_file_read_internal)
27179 (_IO_file_sync_internal, _IO_file_seek_internal)
27180 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27181 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27182 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27183 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27184 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27185 (_IO_list_all_internal, _IO_link_in_internal)
27186 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27187 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27188 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27189 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27190 (_IO_do_write_internal, _IO_padn_internal)
27191 (_IO_getline_info_internal, _IO_getline_internal)
27192 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27193 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27194 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27195 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27196 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27197 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27198 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27199 with libc_hidden_ver, remove use of INTUSE.
27200 * libio/genops.c: Likewise.
27201 * libio/freopen.c: Likewise.
27202 * libio/freopen64.c: Likewise.
27203 * libio/iofclose.c: Likewise.
27204 * libio/iofdopen.c: Likewise.
27205 * libio/iofflush.c: Likewise.
27206 * libio/iofflush_u.c: Likewise.
27207 * libio/iofgets.c: Likewise.
27208 * libio/iofgets_u.c: Likewise.
27209 * libio/iofopen.c: Likewise.
27210 * libio/iofopncook.c: Likewise.
27211 * libio/iofread.c: Likewise.
27212 * libio/iofread_u.c: Likewise.
27213 * libio/ioftell.c: Likewise.
27214 * libio/iofwrite.c: Likewise.
27215 * libio/iogetline.c: Likewise.
27216 * libio/iogets.c: Likewise.
27217 * libio/iogetwline.c: Likewise.
27218 * libio/iopadn.c: Likewise.
27219 * libio/iopopen.c: Likewise.
27220 * libio/ioseekoff.c: Likewise.
27221 * libio/ioseekpos.c: Likewise.
27222 * libio/iosetbuffer.c: Likewise.
27223 * libio/iosetvbuf.c: Likewise.
27224 * libio/ioungetc.c: Likewise.
27225 * libio/ioungetwc.c: Likewise.
27226 * libio/iovdprintf.c: Likewise.
27227 * libio/iovsprintf.c: Likewise.
27228 * libio/iovsscanf.c: Likewise.
27229 * libio/memstream.c: Likewise.
27230 * libio/obprintf.c: Likewise.
27231 * libio/oldfileops.c: Likewise.
27232 * libio/oldiofclose.c: Likewise.
27233 * libio/oldiofdopen.c: Likewise.
27234 * libio/oldiofopen.c: Likewise.
27235 * libio/oldiopopen.c: Likewise.
27236 * libio/oldstdfiles.c: Likewise.
27237 * libio/putc.c: Likewise.
27238 * libio/setbuf.c: Likewise.
27239 * libio/setlinebuf.c: Likewise.
27240 * libio/stdfiles.c: Likewise.
27241 * libio/strops.c: Likewise.
27242 * libio/vasprintf.c: Likewise.
27243 * libio/vscanf.c: Likewise.
27244 * libio/vsnprintf.c: Likewise.
27245 * libio/vswprintf.c: Likewise.
27246 * libio/wfiledoalloc.c: Likewise.
27247 * libio/wfileops.c: Likewise.
27248 * libio/wgenops.c: Likewise.
27249 * libio/wmemstream.c: Likewise.
27250 * libio/wstrops.c: Likewise.
27251 * libio/__fpurge.c: Likewise.
27252 * libio/__fsetlocking.c: Likewise.
27253 * assert/assert.c: Likewise.
27254 * debug/fgets_chk.c: Likewise.
27255 * debug/fgets_u_chk.c: Likewise.
27256 * debug/fread_chk.c: Likewise.
27257 * debug/fread_u_chk.c: Likewise.
27258 * debug/gets_chk.c: Likewise.
27259 * debug/obprintf_chk.c: Likewise.
27260 * debug/vasprintf_chk.c: Likewise.
27261 * debug/vdprintf_chk.c: Likewise.
27262 * debug/vsnprintf_chk.c: Likewise.
27263 * debug/vsprintf_chk.c: Likewise.
27264 * malloc/mtrace.c: Likewise.
27265 * misc/error.c: Likewise.
27266 * misc/syslog.c: Likewise.
27267 * stdio-common/asprintf.c: Likewise.
27268 * stdio-common/fxprintf.c: Likewise.
27269 * stdio-common/getw.c: Likewise.
27270 * stdio-common/isoc99_fscanf.c: Likewise.
27271 * stdio-common/isoc99_scanf.c: Likewise.
27272 * stdio-common/isoc99_vfscanf.c: Likewise.
27273 * stdio-common/isoc99_vscanf.c: Likewise.
27274 * stdio-common/isoc99_vsscanf.c: Likewise.
27275 * stdio-common/printf-prs.c: Likewise.
27276 * stdio-common/printf_fp.c: Likewise.
27277 * stdio-common/printf_fphex.c: Likewise.
27278 * stdio-common/printf_size.c: Likewise.
27279 * stdio-common/putw.c: Likewise.
27280 * stdio-common/scanf.c: Likewise.
27281 * stdio-common/sprintf.c: Likewise.
27282 * stdio-common/tmpfile.c: Likewise.
27283 * stdio-common/vfprintf.c: Likewise.
27284 * stdio-common/vfscanf.c: Likewise.
27285 * stdlib/strfmon_l.c: Likewise.
27286 * sunrpc/openchild.c: Likewise.
27287 * sunrpc/xdr_stdio.c: Likewise.
27288 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27289 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27290
d6c33fda
RM
272912012-05-24 Roland McGrath <roland@hack.frob.com>
27292
c1487492
RM
27293 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27294
27295 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27296 in the third column, to generate for the shared library an IFUNC
27297 that uses _dl_vdso_vsym.
27298 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27299 * Makeconfig (object-suffixes-noshared): New variable.
27300
27301 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27302 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27303 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27304 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27305
d6c33fda
RM
27306 [BZ #14132]
27307 * include/sys/time.h (__gettimeofday): Remove macro.
27308 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27309 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27310 Remove INTDEF.
27311 (__gettimeofday): Add libc_hidden_def.
27312 (gettimeofday): Add libc_hidden_weak.
27313 * sysdeps/mach/gettimeofday.c: Likewise.
27314 * sysdeps/posix/gettimeofday.c: Likewise.
27315 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27316 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27318 (__gettimeofday_internal): Remove strong_alias.
27319 (__gettimeofday): Add libc_hidden_def.
27320 (gettimeofday): Add libc_hidden_weak.
27321 * sysdeps/unix/syscalls.list (gettimeofday):
27322 Remove __gettimeofday_internal alias.
27323
b5a2bbe6
L
273242012-05-24 Daniel Jacobowitz <drow@false.org>
27325 H.J. Lu <hongjiu.lu@intel.com>
27326
27327 [BZ #12495]
27328 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27329 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27330 (largebin_index_32_big): New.
27331 (largebin_index): Use it for 16-byte alignment.
27332 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27333 correction with front_misalign.
27334
cfba4fda
L
273352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27336
7f907421
L
27337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27339 Likewise.
27340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27341 Likewise.
27342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27343 Likewise.
27344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27345 Likewise.
27346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27347 Likewise.
27348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27349 Likewise.
27350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27351 Likewise.
27352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27353 Likewise.
27354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27355 Likewise.
27356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27357 Likewise.
27358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27359 Likewise.
27360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27361 Likewise.
27362
cfba4fda
L
27363 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27364 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27365
80bad0cc
JM
273662012-05-24 Joseph Myers <joseph@codesourcery.com>
27367
7a25eb06
JM
27368 [BZ #10846]
27369 [BZ #14036]
27370 * math/libm-test.inc (exp_test): Add test from bug 14036.
27371 (pow_test): Add test from bug 10846.
27372
795405f9
JM
27373 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27374 and other flags.
27375 (special_function): Do not include flags in test name.
27376 (parse_args): Likewise.
27377 * sysdeps/i386/fpu/libm-test-ulps: Update.
27378 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27379 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27380 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27382
80bad0cc
JM
27383 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27384 exceptions.
27385 * math/libm-test.inc ("Philosophy"): Update comment about
27386 exception testing.
27387 (UNDERFLOW_EXCEPTION): New macro.
27388 (UNDERFLOW_EXCEPTION_OK): Likewise.
27389 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27390 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27391 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27392 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27393 (INVALID_EXCEPTION_OK): Update value.
27394 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27395 (OVERFLOW_EXCEPTION_OK): Likewise.
27396 (IGNORE_ZERO_INF_SIGN): Likewise.
27397 (test_exceptions): Handle underflow exceptions.
27398 (acos_test): Update for underflow exception expectations.
27399 (cexp_test): Likewise.
27400 (clog_test): Likewise.
27401 (clog10_test): Likewise.
27402 (csqrt_test): Likewise.
27403 (ctan_test): Likewise.
27404 (ctanh_test): Likewise.
27405 (exp_test): Likewise.
27406 (exp10_test): Likewise.
27407 (exp2_test): Likewise.
27408 (expm1_test): Likewise.
27409 (fma_test): Likewise.
27410 (j0_test): Likewise.
27411 (jn_test): Likewise.
27412 (nexttoward_test): Likewise.
27413 (pow_test): Likewise.
27414 (scalbn_test): Likewise.
27415 (scalbln_test): Likewise.
27416 (tan_test): Likewise.
27417 (y1_test): Likewise.
27418 * sysdeps/i386/fpu/libm-test-ulps: Update.
27419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27420
9e0e3d0b
DM
274212012-05-23 David S. Miller <davem@davemloft.net>
27422
27423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27424 (__libc_sigaction): Remove unused local variables.
27425
ccd0a08f
L
274262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27427
27428 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27429
62bdf9a6
PE
274302012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27431
f8591f80
PE
27432 mktime: avoid signed integer overflow
27433 * time/mktime.c (__mktime_internal): Do not mishandle the case
27434 where diff == INT_MIN.
27435
94c7d826
PE
27436 mktime: simplify computation of average
27437 * time/mktime.c (ranged_convert): Use new time_t_avg function
27438 instead of rolling our own (probably-slower) code.
27439
ce73d683
PE
27440 mktime: do not assume signed right shift propagates sign bit
27441 * time/mktime.c (isdst_differ): New static function.
27442 (__mktime_internal): No need to normalize tm_isdst now.
27443 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27444 tm_isdst values.
27445
72a22e59
PE
27446 mktime: merge another wrapv change from gnulib
27447 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27448 from some compilers.
27449
68605433
PE
27450 mktime: remove incorrect attempt at unusual arithmetics
27451 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27452 The code didn't really work on such machines anyway.
27453 (TYPE_MINIMUM): Assume two's complement.
27454 (twos_complement_arithmetic): Verify that long_int and time_t
27455 are two's complement (or unsigned, in the latter case).
27456
03cf7fe3
PE
27457 mktime: check signed shifts on long_int and time_t, too
27458 * time/mktime.c (SHR): Check that shifts work as desired
27459 on the types long_int and time_t too, as SHR is used on
27460 such types.
27461
f04dfbc2
PE
27462 mktime: do not assume 'long' is wide enough
27463 * time/mktime.c (verify): Move decl up.
27464 (long_int): New type.
27465 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27466 to remove assumption in the code that 'long' is wide enough to
27467 store year values. This assumption is not true on x32 and on
27468 some non-glibc platforms.
27469
62bdf9a6
PE
27470 mktime: merge wrapv change from gnulib
27471 * time/mktime.c (WRAPV): New macro.
27472 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27473 (guess_time_tm, __mktime_internal): Do not assume that signed
27474 integer overflow wraps around; modern compilers generate code
27475 where this assumption is no longer valid.
27476
5e292e4f
L
274772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27478
27479 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27480 Replace "jmp L(pseudo_end)" with "ret".
27481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27482 Likewise.
27483
8caf8c87
AJ
274842012-05-23 Andreas Jaeger <aj@suse.de>
27485
27486 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27487 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27488
1a09dc56
AJ
274892012-05-23 Andreas Jaeger <aj@suse.de>
27490 Maximilian Attems <max@stro.at>
27491
27492 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27493 New macros.
27494
1c87aba0
L
274952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27496
27497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27498 code so that pseudo_end is just ret and the stack pointer is
27499 correct also for static library in error case.
27500
40e45bd5
JM
275012012-05-23 Joseph Myers <joseph@codesourcery.com>
27502
c2670533
JM
27503 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27504 move to syscalls.list.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27509
40e45bd5
JM
27510 * manual/install.texi (Running make install): Do not mention Linux
27511 kernel version for which pt_chown is not needed.
27512 (Linux): Do not mention problems with nscd with 2.0 kernels.
27513 * INSTALL: Regenerated.
27514
be08eda5
AJ
275152012-05-23 Andreas Jaeger <aj@suse.de>
27516
27517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27518 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27519 macro.
27520 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27522 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27523 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27524 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27525 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27526 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27527 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27528 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27529 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27530 * sysdeps/unix/sysv/linux/bits/in.h
27531 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27532
a6a056bb
RM
275332012-05-22 Roland McGrath <roland@hack.frob.com>
27534
27535 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27536 (PREPARE_VERSION): Just use assert instead, it will be elided
27537 under [NDEBUG] anyway.
27538
c9009328
L
275392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27540
27541 * sysdeps/unix/sysv/linux/Makefile: Include
27542 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27543 (sysdep_routines): Remove sysctl.
c9009328
L
27544 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27545 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27546 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27547 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27548 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27549
73338355
AJ
275502012-05-22 Andreas Jaeger <aj@suse.de>
27551
27552 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27553 that pseudo_end is just ret and the stack pointer is correct also
27554 for static library in error case.
27555
d44638b0
PP
275562012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27557
27558 [BZ #14122]
27559 * nss/nsswitch.c (defconfig_entries): New variable.
27560 (__nss_database_lookup): Don't leak defconfig entries.
27561 (nss_parse_service_list): Don't leak on error paths.
27562 (free_database_entries): New function.
27563 (free_defconfig): New function.
27564 (free_mem): Move common code to free_database_entries.
27565
31a39bd8
L
275662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27567
da0331a8
L
27568 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27569 Add arch_prctl.
27570 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27571
31a39bd8
L
27572 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27573 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27575 New macro.
27576 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27577 (INTERNAL_SYSCALL_TYPES): Likewise.
27578 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27579 (LOAD_REGS_TYPES_[1-6]): Likewise.
27580 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27581 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27582
45470df3
AZ
275832012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27584
27585 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27586 copysignl for GLIBC_2_0.
27587 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27588 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27590 logbl for GLIBC_2_0.
27591 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27592 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27593
98a61bcb
L
275942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27595
a4f6e481
L
27596 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27597 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27598
f63d5db6
L
27599 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27600 Use "neg %eax".
27601
98a61bcb
L
27602 * time/mktime.c: Update copyright years.
27603
95770f14
PE
276042012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27605
6226efbd
PE
27606 mktime: merge comment-quoting-style change from gnulib
27607 * time/mktime.c: Quote 'like this' in comments.
27608 The GNU coding standards suggest that we no longer quote `like this',
27609 as "`" and "'" are typically rendered asymmetrically nowadays.
27610 The typical gnulib style is to quote 'like this' when quoting
27611 code, and "like this" when quoting English.
27612
b99e4f78
PE
27613 * time/mktime.c (compile-command): Add "-I.".
27614
643e01e6
PE
27615 mktime: merge mktime-internal.h change from gnulib
27616 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27617
2554247d
PE
27618 mktime: merge time_r change from gnulib
27619 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27620
826dd0ab
PE
27621 mktime: merge DEBUG change from gnulib
27622 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27623 case system <time.h> has a #define.
27624
bd83aabe
PE
27625 mktime: merge <sys/types.h> change from gnulib
27626 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27627 since <time.t> is now guaranteed to define time_t.
27628
95770f14
PE
27629 mktime: merge HAVE_CONFIG_H change from gnulib
27630 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27631
5e1a27a9
L
276322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27633
0e44a77e
L
27634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27635 Use "neg %eax".
27636
5e1a27a9
L
27637 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27638 __rlim_t cast.
27639 (struct rusage): Use anonymous union to pad each field to
27640 __syscall_slong_t.
27641
46259bec
DM
276422012-05-21 David S. Miller <davem@davemloft.net>
27643
27644 * Makefules (o-iterator): Remove .s cases.
27645 (compile-command.s): Delete.
27646 (COMPILE.s): Delete.
27647 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27648
59f0c22e
JM
276492012-05-21 Joseph Myers <joseph@codesourcery.com>
27650
27651 * configure.in (libc_cv_predef_stack_protector): Only consider
27652 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27653 * configure: Regenerated.
27654
20c07380
L
276552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27656
bbb3154b
L
27657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27658 New macro. Use R*LP on int and pointer.
27659 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27660 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27661 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27662 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27663
20c07380
L
27664 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27665 [__WORDSIZE_TIME64_COMPAT32] instead of
27666 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27667 (struct utmp): Likewise.
27668 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27669 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27670 Renamed to ...
27671 (__WORDSIZE_TIME64_COMPAT32): This.
27672 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27673 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27674 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27675 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27676 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27677 (__WORDSIZE_TIME64_COMPAT32): New macro.
27678
d8d1017e
AJ
276792012-05-21 Andreas Jaeger <aj@suse.de>
27680
27681 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27682 only if [SHARED]. Add prototype for __wcschr_ia32.
27683
6c7fb145
RM
276842012-05-21 Roland McGrath <roland@hack.frob.com>
27685
27686 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27687 of %rbp unmolested in the jmp_buf while mangling the low bits.
27688 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27689 unmolested high bits of %rbp while demangling the low bits.
27690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27691
66274218
AJ
276922012-05-21 Andreas Jaeger <aj@suse.de>
27693
07c58f8f
AJ
27694 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27695 * sunrpc/svc_simple.c: Use it for registerrpc.
27696 * sunrpc/xcrypt.c: Use it for passwd2des.
27697
66274218
AJ
27698 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27699
61f65140
L
277002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27701
27702 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27703 Don't define if [__SYSCALL_WORDSIZE != 32].
27704 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27705 New macro.
27706
5fefb436
AJ
277072012-05-21 Bruno Haible <bruno@clisp.org>
27708 Andreas Jaeger <aj@suse.de>
27709
27710 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27711 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27712 inptr and inend for must_buffer_ch.
27713 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27714 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27715 * stdio-common/Makefile (tests): Remove bug15.
27716 (bug15-ENV): Remove macro.
27717 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27718 anymore.
27719
d8e272ab
AJ
277202012-05-19 Andreas Jaeger <aj@suse.de>
27721 Roland McGrath <roland@hack.frob.com>
27722
27723 * manual/contrib.texi: Completely rewritten. It contains now an
27724 alphabetical list of contributors and their contributions.
27725
4a56a162
RH
277262012-05-21 Richard Henderson <rth@twiddle.net>
27727
27728 * misc/getauxval.c (__getauxval): Use unsigned long int.
27729 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27730 (getauxval): Use unsigned long int.
27731
d024d23c
L
277322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27733
27734 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27735
cbc00a03
RM
277362012-05-21 Roland McGrath <roland@hack.frob.com>
27737
27738 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27739 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27740 __alignof__ (long double).
27741
478143fa
AZ
277422012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27743
27744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27745
c7683a6d
RH
277462012-05-20 Richard Henderson <rth@twiddle.net>
27747
27748 * misc/getauxval.c: New file.
27749 * misc/sys/auxv.h: New file.
27750 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27751 (routines): Add getauxval.
27752 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27753 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27754 * elf/dl-sysdep.c (_dl_auxv): Remove.
27755 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27756 * elf/dl-support.c (_dl_auxv): New variable.
27757 (_dl_aux_init): Initialize it.
27758 * manual/startup.texi (Auxiliary Vector): New node.
27759 * sysdeps/generic/bits/hwcap.h: New file.
27760 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27761 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27762 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27763 * sysdeps/sparc/sysdep.h: ... here. Include it.
27764 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27765 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27767 Update.
c7683a6d
RH
27768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27776
a6f1845d
AZ
277772012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27778
27779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27780
cbcbe830
DM
277812012-05-19 David S. Miller <davem@davemloft.net>
27782
27783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27784
e0b16cc2
JM
277852012-05-19 Joseph Myers <joseph@codesourcery.com>
27786
27787 [BZ #14123]
27788 * math/s_ccosh.c: Include <float.h>
27789 (__ccosh): Avoid internal overflow calculating sinh and cosh
27790 values before multiplying by sin and cos values.
27791 * math/s_ccoshf.c: Likewise.
27792 * math/s_ccoshl.c: Likewise.
27793 * math/s_csin.c: Likewise.
27794 * math/s_csinf.c: Likewise.
27795 * math/s_csinl.c: Likewise.
27796 * math/s_csinh.c: Likewise.
27797 * math/s_csinhf.c: Likewise.
27798 * math/s_csinhl.c: Likewise.
27799 * math/libm-test.inc (ccos_test): Add more tests.
27800 (ccosh_test): Likewise.
27801 (csin_test): Likewise.
27802 (csinh_test): Likewise.
27803 * sysdeps/i386/fpu/libm-test-ulps: Update.
27804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27805
6ad13e08
L
278062012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27807
f66f0ce8
L
27808 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27809 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27810
6ad13e08
L
27811 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27812
b1d072a7
JM
278132012-05-19 Joseph Myers <joseph@codesourcery.com>
27814
27815 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27816 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27817 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27818 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27819 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27820 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27821 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27822 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27823 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27824 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27825 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27826 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27827 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27828 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27829 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27830 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27831 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27832 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27833 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27834 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27835 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27836 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27837 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27838 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27839 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27840 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27841 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27842 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27843 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27844 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27845 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27846
9eae47cb
AJ
278472012-05-18 Andreas Jaeger <aj@suse.de>
27848
27849 * csu/.gitignore: Delete.
27850
bb07f69f
L
278512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27852
27853 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27854 (timex): Use __syscall_slong_t.
27855
e6bdb741
AJ
278562012-05-18 Andreas Jaeger <aj@suse.de>
27857 Carlos O'Donell <carlos_odonell@mentor.com>
27858
27859 * manual/install.texi (Configuring and compiling): Update
27860 description about files modified in the source directory.
d6c33fda 27861 * INSTALL: Regenerated.
e6bdb741 27862
1b74487e
L
278632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27864
27865 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27866 value. Use "or" to set return value to -1.
27867 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27868 negate return value.
27869
a88b64b9
TMQMF
278702012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27871
27872 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27873 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27874 failure if the compiler has Graphite support disabled.
27875 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27876 Likewise.
27877 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27878 CFLAGS-memmove.c): Likewise.
27879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27880 Likewise.
27881
3707636e
L
278822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27883
610b8622
L
27884 * sysdeps/x86_64/x32/_itoa.h: New file.
27885
7cd195df
L
27886 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27887 getdents system call only if kernel and user dirents have the
27888 same d_ino and d_off.
27889
94b07d20
L
27890 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27891 LLONG_MAX != LONG_MAX.
27892 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27893 (_fitoa_word): Likewise.
27894
18298070
L
27895 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27896 years.
27897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27898 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27899 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27900
553c7ea4
L
27901 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27902 include <bits/wordsize.h>. Check __x86_64__ instead of
27903 __WORDSIZE.
27904 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27905 if __x86_64__ is defined. Use anonymous union on fpstate.
27906
3707636e
L
27907 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27908 anonymous union.
27909
b53ef01a
AS
279102012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27911
37fb1dc0
AS
27912 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27913 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27914 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27915 Refer to _rtld_local_ro instead of _rtld_global_ro.
27916 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27917 Likewise.
27918 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27919 Likewise.
27920 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27921 Likewise.
27922 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27923 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27924 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27925
b53ef01a
AS
27926 * sysdeps/powerpc/powerpc32/dl-machine.c
27927 (__elf_machine_runtime_setup) [PROF]: Don't reference
27928 _dl_prof_resolve.
27929
7a185db2
AJ
279302012-05-18 Andreas Jaeger <aj@suse.de>
27931
27932 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27933 function only available for GCCs before 3.4 since GCC 3.4
27934 introduced a builtin.
27935 (lrint): Likewise.
27936 (llrintf): Likewise.
27937 (llrint): Likewise.
27938 (fmaxf): Likewise.
27939 (fmax): Likewise.
27940 (fminf): Likewise.
27941 (fmin): Likewise.
27942 (rint): Likewise.
27943 (rintf): Likewise.
27944 (nearbyint): Likewise.
27945 (nearbyintf): Likewise.
27946 (ceil): Likewise.
27947 (ceilf): Likewise.
27948 (floor): Likewise.
27949 (floorf): Likewise.
27950
3e5aef87
L
279512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27952
428bd707
L
27953 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27954 on both fields and cast pointer to __syscall_ulong_t.
27955
3e5aef87
L
27956 * bits/types.h (__fsword_t): New type.
27957 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27958 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27959 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27960 (__FSWORD_T_TYPE): Likewise.
27961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27962 (__FSWORD_T_TYPE): Likewise.
27963 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27964 (__FSWORD_T_TYPE): Likewise.
27965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27966 (__FSWORD_T_TYPE): Likewise.
27967 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27968 __SWORD_TYPE with __fsword_t.
27969 (statfs64): Likewise.
27970
1ba7c3dc
DM
279712012-05-17 David S. Miller <davem@davemloft.net>
27972
27973 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27974
59910343
AJ
279752012-05-17 Andreas Jaeger <aj@suse.de>
27976
27977 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27978 warning.
27979
2e4c1e9e
L
279802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27981
27982 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27983
de7f5ce7
AJ
279842012-05-17 Andreas Jaeger <aj@suse.de>
27985
27986 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27987 when it is used.
27988
286abc3d
CM
279892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27990
27991 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27992
477cc68e
L
279932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27994
27995 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27996 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27997
1a0994f5
CD
279982012-05-17 Andreas Jaeger <aj@suse.de>
27999 Carlos O'Donell <carlos_odonell@mentor.com>
28000
28001 [BZ #14059]
28002 * sysdeps/x86_64/multiarch/init-arch.h
28003 (bit_YMM_Usable): Rename to...
28004 (bit_AVX_Usable): ... this.
28005 (bit_FMA4_Usable): New macro.
28006 (bit_XMM_state): New macro.
28007 (bit_YMM_state): New macro.
28008 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28009 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28010 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28011 (CPUID_OSXSAVE): New macro.
28012 (CPUID_AVX): New macro.
28013 (CPUID_FMA4): New macro.
28014 (index_YMM_Usable): Rename to...
28015 (index_AVX_Usable): ... this.
28016 (HAS_AVX): Use HAS_ARCH_FEATURE.
28017 (HAS_FMA4): Likewise.
28018 (HAS_YMM_USABLE): Remove.
28019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28020 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28021 are present.
28022 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28023 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28024 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28025 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28026 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28027
0af797de
CM
280282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28029
28030 * math/libm-test.c: Support platforms without multiple rounding modes.
28031 * math/bug-nextafter.c: Support platforms without FP exceptions.
28032 * math/bug-nexttoward.c: Likewise.
28033 * math/test-fenv.c: Likewise.
28034 * math/test-misc.c: Likewise.
28035 * stdlib/bug-getcontext.c: Likewise.
28036
e39745ff
AJ
280372012-05-17 Andreas Jaeger <aj@suse.de>
28038
28039 * manual/examples/search.c (critter_cmp): Change signature to
28040 avoid warnings.
28041 * manual/string.texi (Collation Functions): Likewise.
28042
48970aba
L
280432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28044
28045 * bits/types.h: Fold copyright years.
28046 * bits/typesizes.h: Likewise.
28047 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28051 * time/time.h: Likewise.
28052
bedee953
PP
280532012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28054
28055 [BZ #208]
28056 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28057 in instead of returning them. Return void.
28058 (__libc_mallinfo): Accumulate over all arenas.
28059 (__malloc_stats): Adjust for change in int_mallinfo interface.
28060
61653dfb
RM
280612012-05-16 Roland McGrath <roland@hack.frob.com>
28062
30b99d79
RM
28063 [BZ #10375]
28064 * configure.in (NM): Add AC_CHECK_TOOL for it.
28065 (libc_extra_cflags): New substituted variable.
28066 Check for -fstack-protector being used implicitly.
28067 * configure: Regenerated.
28068 * config.make.in (config-extra-cflags): New variable,
28069 gets @libc_extra_cflags@.
28070 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28071
61653dfb
RM
28072 [BZ #10375]
28073 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28074 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28075 * configure: Regenerated.
28076 * config.make.in (CPPUNDEFS): New substituted variable.
28077 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28078 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28079 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28080
661768bb
L
280812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28082
28083 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28084 (mq_attr): Use __syscall_slong_t.
28085
d4261567
L
280862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28087
28088 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28089 Check __x86_64__ instead of __WORDSIZE.
28090 (_STAT_VER_LINUX): Likewise.
28091 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28092 __syscall_ulong_t and __syscall_slong_t.
28093 (stat64): Likewise.
28094
cf3ff365
L
280952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28096
28097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28098
76cf3e4d
L
280992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28100
28101 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28102
a637753a
L
281032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28104
28105 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28106 __syscall_ulong_t.
28107
d5e05119
L
28108 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28109 include <bits/wordsize.h>. Check __x86_64__ instead of
28110 __WORDSIZE.
28111 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28112 defined.
28113 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28114
f62ee380
L
28115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28116 include <bits/wordsize.h>. Check __x86_64__ instead of
28117 __WORDSIZE.
28118 (user_regs_struct): Use "__extension__ unsigned long long"
28119 instead of "unsigned long" if __x86_64__ is defined.
28120 (user): Likewise. Pad after pointer field if __ILP32__ is
28121 defined.
28122
4e124ced
JM
281232012-05-16 Joseph Myers <joseph@codesourcery.com>
28124
6a3951a0
JM
28125 * configure.in (makeinfo): Require version 4.5 or later. Allow
28126 versions 5 to 9.
28127 * configure: Regenerated.
28128 * manual/install.texi (texinfo): Increase version requirement to
28129 4.5 or later.
28130 * INSTALL: Regenerated.
28131
4e124ced
JM
28132 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28133
953ca31a
L
281342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28135
28136 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28137
617aca05
L
28138 * sysdeps/x86_64/x32/ffs.c: New file.
28139
5762f7ae
L
28140 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28141 __syscall_ulong_t.
28142 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28143 defined. Use __syscall_ulong_t.
28144 (shminfo): Use __syscall_ulong_t.
28145 (shm_info): Likewise.
28146
a26b6856
L
28147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28148 __syscall_ulong_t.
28149
cb2b9ef7
L
28150 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28151 <bits/wordsize.h>.
28152 (msgqnum_t): Use __syscall_ulong_t.
28153 (msglen_t): Likewise.
28154 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28155 __syscall_ulong_t.
28156
34683bb0
L
28157 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28158 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28159
84a68786
L
28160 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28161
48baa5f1
L
28162 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28163 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28164
180be88b
L
28165 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28166 __syscall_slong_t.
28167
5e90c8ad
L
28168 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28169 include <bits/wordsize.h>. Check __x86_64__ instead of
28170 __WORDSIZE.
28171
23dfb58b
L
28172 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28173 "unsigned long long int" if __x86_64__ is defined.
28174 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28175
ce5d54b0
L
28176 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28177 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28178 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28179
13dc9eac
L
28180 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28181 <stdint.h>.
28182 (GET_PC): Cast to uintptr_t first.
28183 (GET_FRAME): Likewise.
28184 (GET_STACK): Likewise.
28185
a7895d15
L
28186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28187 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28188 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28189 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28190 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28191 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28192 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28193 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28194 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28195 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28196 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28197 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28198 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28200 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28201 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28202 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28203 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28204 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28205 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28206 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28207 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28208 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28209 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28210 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28212 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28213 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28214 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28215
656416c9
AS
282162012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28217
5bd66283
AS
28218 * Makerules (+depfiles): Also collect depfiles from .oS in
28219 $(extra-objs).
28220 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28221 .oS, $(libnldbl-routines)).
28222
656416c9
AS
28223 * Makerules (native-compile-mkdep-flags): Define.
28224 * sunrpc/Makefile (extra-objs): Add $(addprefix
28225 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28226 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28227 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28228 calling $(make-target-directory).
28229
a46f2169
L
282302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28231
28232 * bits/types.h (__snseconds_t): Removed.
28233 * time/time.h (struct timespec): Replace __snseconds_t with
28234 __syscall_slong_t.
28235 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28236 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28237 Likewise.
28238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28239 (__SNSECONDS_T_TYPE): Likewise.
28240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28241 (__SNSECONDS_T_TYPE): Likewise.
28242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28243 (__SNSECONDS_T_TYPE): Likewise.
28244
6af6528b
L
282452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28246
28247 * sysdeps/mach/hurd/bits/typesizes.h
28248 (__SYSCALL_SLONG_TYPE): New macro.
28249 (__SYSCALL_ULONG_TYPE): Likewise.
28250
de986b56
L
282512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28252
28253 * bits/types.h (__syscall_slong_t): New type.
28254 (__syscall_ulong_t): Likewise.
28255
28256 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28257 (__SYSCALL_ULONG_TYPE): Likewise.
28258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28259 (__SYSCALL_SLONG_TYPE): Likewise.
28260 (__SYSCALL_ULONG_TYPE): Likewise.
28261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28262 (__SYSCALL_SLONG_TYPE): Likewise.
28263 (__SYSCALL_ULONG_TYPE): Likewise.
28264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28265 (__SYSCALL_SLONG_TYPE): Likewise.
28266 (__SYSCALL_ULONG_TYPE): Likewise.
28267
85736dc7
L
282682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28269
28270 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28271 Add sigaltstack-offsets.sym.
28272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28273 <sigaltstack-offsets.h>.
28274 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28275 longjmp_msg pointer.
28276 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28277 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28278 signal stack.
28279 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28280
cc03b296
JM
282812012-05-15 Joseph Myers <joseph@codesourcery.com>
28282
a9538892
JM
28283 * elf/stackguard-macros.h: Remove file.
28284 * sysdeps/generic/stackguard-macros.h: New file.
28285 * sysdeps/i386/stackguard-macros.h: Likewise.
28286 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28287 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28288 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28289 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28290 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28291 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28292 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28293 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28294 <elf/stackguard-macros.h>.
28295
cc03b296
JM
28296 [BZ #14109]
28297 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28298 __aligned__ in attribute.
28299 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28300 (gregset_t): Likewise.
28301
93171016
L
283022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28303
28304 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28305 * sysdeps/x86_64/64/Implies-after: Here. New file.
28306 * sysdeps/x86_64/x32/Implies-after: New file.
28307
d86813a0
L
283082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28309
28310 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28311 and access return value for _dl_profile_fixup. Use R10_LP to
28312 load frame size.
28313
2953ec75
L
283142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28315
28316 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28317
3b550e9e
L
283182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28319
28320 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28321 * sysdeps/x86_64/x32/sysdep.h: New file.
28322
eda41706
L
283232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28324
28325 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28326 * sysdeps/x86_64/setjmp.S: Likewise.
28327
9ea01d93
AZ
283282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28329
28330 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28331 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28332 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28333 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28334 remove unused global constant.
28335
02a91938
CM
283362012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28337
28338 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28339 include of <not-cancel.h>.
28340
6540185f
RM
283412012-05-15 Roland McGrath <roland@hack.frob.com>
28342
28343 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28344
509072a0
AJ
283452012-05-15 Jeff Law <law@redhat.com>
28346 Andreas Jaeger <aj@suse.de>
28347
28348 [BZ #13594]
28349 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28350 out from...
28351 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28352 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28353 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28354 code changing __hst_map_handle.map.
28355
ba75122d
RM
283562012-05-15 Roland McGrath <roland@hack.frob.com>
28357
28358 * configure.in (sysnames): Look for Implies-before and Implies-after
28359 files.
28360 * configure: Regenerated.
28361
890d8bd8
L
283622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28363
28364 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28365 8-byte data alignment with LP_SIZE alignment.
28366
f6ee6623
L
283672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28368
28369 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28370 into R10_LP.
28371
ea2626f6
L
283722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28373
28374 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28375
085f715e
L
283762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28377
28378 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28379 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28380 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28381 Likewise.
28382 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28383
be8498fc
L
283842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28385
28386 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28387 (stackinfo_sub_sp): Likewise.
28388
70bc83b9
L
283892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28392 RAX_LP.
28393
9bc0b730
L
283942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28397 into R*_LP.
28398
6d2850e7
L
283992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28400
28401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28402 sizes into R*_LP.
28403
3cb84561
L
284042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28405
28406 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28407
54e2ed81
L
284082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28411 into R11_LP and load __x86_64_shared_cache_size_half into
28412 R8_LP.
28413
8a17f349
L
284142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28415
28416 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28417 R8_LP.
28418
777b1eea
AZ
284192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28420
28421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28422 logb for POWER7.
28423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28424 logbf for POWER7.
28425 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28426 logbl for POWER7.
28427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28428 powerpc32/power7/fpu/s_logb.c via #include.
28429 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28430 powerpc32/power7/fpu/s_logbf.c via #include.
28431 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28432 powerpc32/power7/fpu/s_logbl.c via #include.
28433
d20d4ac2
JM
284342012-05-15 Joseph Myers <joseph@codesourcery.com>
28435
28436 * README.libm: Remove file.
28437
6cdef1ab
L
284382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28441 count for x32. Use R*_LP and omit operand-size suffix.
28442
0b254d8f
L
284432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28446 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28447 * sysdeps/x86_64/x32/shlib-versions: New file.
28448
ceb809dc
RM
284492012-05-14 Roland McGrath <roland@hack.frob.com>
28450
28451 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28452 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28453 Use _dl_fatal_printf instead.
28454
37f1abd4
JM
284552012-05-14 Joseph Myers <joseph@codesourcery.com>
28456
28457 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28458 set if not set by the user. Do not allow for being unset.
28459 * sysdeps/unix/sysv/linux/configure: Regenerated.
28460
11de3a33
L
284612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28462
28463 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28464 the `q' suffix from lea and replace .quad with ASM_ADDR.
28465
e02f153a
L
284662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28467
28468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28469 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28470 instead of $17.
28471 (PTR_DEMANGLE): Likewise.
28472
520ae0fd
L
284732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28474
28475 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28476 (LP_OP): Likewise.
28477 (ASM_ADDR): Likewise.
28478 (RAX_LP): Likewise.
28479 (RBP_LP): Likewise.
28480 (RBX_LP): Likewise.
28481 (RCX_LP): Likewise.
28482 (RDI_LP): Likewise.
28483 (RSI_LP): Likewise.
28484 (RSP_LP): Likewise.
28485 (R8_LP): Likewise.
28486 (R9_LP): Likewise.
28487 (R10_LP): Likewise.
28488 (R10_LP): Likewise.
28489 (R11_LP): Likewise.
28490 (R12_LP): Likewise.
28491 (R13_LP): Likewise.
28492 (R14_LP): Likewise.
28493 (R15_LP): Likewise.
28494
b985be81
L
284952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28496
28497 * sysdeps/x86_64/x32/dl-machine.h: New file.
28498
6a4888ff
AJ
284992012-05-14 Andreas Jaeger <aj@suse.de>
28500
28501 * manual/Makefile (subdir): Remove export of subdir.
28502 (all): Remove target.
28503 (.PHONY): Remove all from list.
28504 (mkinstalldirs): Remove.
28505 (.PHONY): Remove installdirs from list.
28506 ($(inst_infodir)/libc.info): Use make-target-directory.
28507 (installdirs): Remove.
28508 (subdir_%): Remove.
28509 (glibc-targets): Remove.
28510 (lib): Remove.
28511 (stubs): Remove.
28512 ($(objpfx)stubs ../po/manual.pot): Remove.
28513 ($(objpfx)stamp%): Remove.
28514 (make-target-directory): Remove.
28515 (subdir_install): Remove.
28516 (routines): Remove.
28517 (aux): Remove.
28518 (sources): Remove.
28519 (objects): Remove.
28520 (headers): Remove.
28521
28522 [BZ #13750]
28523 * manual/.gitignore: Remove, it's not needed anymore.
28524 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28525 all files in it.
28526 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28527 directory.
28528 (texis): Renamed to $(objpfx)texis.
28529 (texis-path): New, contains path to generated files.
28530 (chapters.%): Use texis-path for complete path, add extra argument
28531 libc-texinfo.sh.
28532 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28533 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28534 (summary,texi, stamp-summary): Use complete path of
28535 files. Generate files in build dir.
28536 (dir-add.texi): Build in build dir.
28537 (libm-err.texi,stamp-libm-err): Likewise.
28538 (version.texi, stamp-version): Likewise.
28539 (.%c.texi): Likewise.
28540 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28541 (mostlyclean): Remove target.
28542 (realclean): Remove target.
28543 (generated): Add new variable with contents from mostlyclean and
28544 realclean, remove entries duplicated in common-mostlyclean, add
28545 stamp-libm-err and stamp-version.
28546 (generated-dirs): Add libc directory.
28547 ($(inst_infodir)/libc.info): Install files from build dir.
28548
28549 * manual/install.texi (Configuring and compiling): Adjust since
28550 the info files are not part of the tar ball anymore.
28551
7ac77294
AJ
285522012-05-14 Andreas Jaeger <aj@suse.de>
28553
28554 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28555 variable.
28556
ffb7875d
JM
285572012-05-14 Joseph Myers <joseph@codesourcery.com>
28558
28559 [BZ #13717]
28560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28561 to 2.2.0 where earlier.
28562 * sysdeps/unix/sysv/linux/configure: Regenerated.
28563 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28564 Remove conditional code.
28565 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28566 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28567 Remove conditional code.
28568 [!__NR_lchown]: Likewise.
28569 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28570 [__NR_lchown]: Likewise.
28571 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28572 comment referencing __ASSUME_LCHOWN_SYSCALL.
28573 * sysdeps/unix/sysv/linux/i386/sigaction.c
28574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28576 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28577 Remove conditional code.
28578 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28579 (__protocol_available): Remove #if 0 code.
28580 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28581 conditional code.
28582 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28583 * sysdeps/unix/sysv/linux/kernel-features.h
28584 (__ASSUME_GETCWD_SYSCALL): Don't define.
28585 (__ASSUME_REALTIME_SIGNALS): Likewise.
28586 (__ASSUME_PREAD_SYSCALL): Likewise.
28587 (__ASSUME_PWRITE_SYSCALL): Likewise.
28588 (__ASSUME_POLL_SYSCALL): Likewise.
28589 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28590 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28591 non-SPARC.
28592 (__ASSUME_SIOCGIFNAME): Don't define.
28593 (__ASSUME_MSG_NOSIGNAL): Likewise.
28594 (__ASSUME_SENDFILE): Define unconditionally.
28595 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28596 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28597 conditional code.
28598 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28599 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28600 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28601 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28602 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28603 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28604 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28606 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28612 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28618 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28619 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28624 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28625 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28629 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28630 Remove conditional code.
28631 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28632 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28633 Remove conditional code.
28634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28635 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28636 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28637 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28638 Remove conditional code.
28639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28640 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28641 Remove conditional code.
28642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28643 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28644 Remove conditional code.
28645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28646 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28647 Remove conditional code.
28648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28649 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28650 Remove conditional code.
28651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28652 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28655 * sysdeps/unix/sysv/linux/sigaction.c
28656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28658 * sysdeps/unix/sysv/linux/sigpending.c
28659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28661 * sysdeps/unix/sysv/linux/sigprocmask.c
28662 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28663 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28664 * sysdeps/unix/sysv/linux/sigsuspend.c
28665 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28666 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28667 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28668 (__libc_missing_rt_sigs): Remove.
28669 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28670 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28671 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28672 Remove conditional code.
28673 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28674 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28675 return 1.
28676 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28677 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28678 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28679 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28680
1bfb7291
AJ
286812012-05-14 Andreas Jaeger <aj@suse.de>
28682
caae5a81
AJ
28683 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28684 it's not used in glibc.
28685 (__coshm1): Likewise.
28686 (__acosh1p): Likewise.
28687 (__sgn): Likewise.
28688
1bfb7291
AJ
28689 * manual/string.texi (Copying and Concatenation): Add missing
28690 variable in concat example.
28691 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28692
c044d724
L
286932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28694
144c5467 28695 [BZ #14103]
c044d724
L
28696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28697 __builtin_clzl with __builtin_clzll.
28698
2523c62b
L
286992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28700
28701 [BZ #14104]
28702 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28703 libc_freeres_ptr.
28704
d7bb4c42
LD
287052012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28706
28707 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28708 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28709 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28711
9dc4e1fb
MF
287122012-05-14 Mike Frysinger <vapier@gentoo.org>
28713
28714 * NEWS: Update ia64 info.
28715
c7df0112
AS
287162012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28717
28718 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28719 used as bcopy.
28720
dc70356c
TS
287212012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28722
28723 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28724 * sysdeps/unix/syscalls.list (dup3): Likewise.
28725 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28726 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28727
9fb1a21f
L
287282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28729
28730 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28731 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28732
4822a2a5
L
287332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28736 thread pointer.
28737 (TLS_IE): Use mov/add instead of movq/addq to load thread
28738 pointer.
28739 (TLS_GD_PREFIX): New.
28740 (TLS_GD): Use it.
28741
842b81d6
DM
287422012-05-11 David S. Miller <davem@davemloft.net>
28743
28744 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28745 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28746 (_FPU_SETCW): Likewise.
28747
1cf463cd
L
287482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28749
28750 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28751 is 32-byte aligned.
28752
60cc4a18
AS
287532012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28754
28755 [BZ #11837]
28756 * iconvdata/gb18030.c: Update tables.
28757 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28758 characters specially.
28759 (BODY for TO_LOOP): Add encoding of missing ranges.
28760
febb44a4
TS
287612012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28762
28763 [BZ #13673]
28764 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28765 * sysdeps/mach/hurd/dup3.c: Likewise.
28766 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28767 * sysdeps/powerpc/memmove.c:: Likewise.
28768
0a10fb9e
L
287692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28770
28771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28772 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28773
df8a552f
L
287742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28775
28776 * elf/elf.h (R_X86_64_RELATIVE64): New.
28777 (R_X86_64_NUM): Updated.
28778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28779 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28780 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28781 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28782 tst-quad1pie tst-quad2pie
28783 (modules-names): Add tst-quadmod1 tst-quadmod2.
28784 ($(objpfx)tst-quad1): New dependency.
28785 ($(objpfx)tst-quad2): Likewise.
28786 ($(objpfx)tst-quad1pie): Likewise.
28787 ($(objpfx)tst-quad2pie): Likewise.
28788 * sysdeps/x86_64/tst-quad1.c: New file.
28789 * sysdeps/x86_64/tst-quad1pie.c: New file.
28790 * sysdeps/x86_64/tst-quad2.c: Likewise.
28791 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28792 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28793 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28794 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28795 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28796
f34d6f84
ST
287972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28798
f42d41d1
ST
28799 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28800 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28801 * streams/stropts.h (t_scalar_t): Define type.
28802
3c3571fc
ST
28803 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28804 (_PATH_PRESERVE): Set to "/var/lib".
28805 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28806
61f06bd3
ST
28807 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28808 instead of int.
28809
918d4d71
ST
28810 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28811 if __dir_mkfile succeeded.
28812
f34d6f84
ST
28813 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28814 checking for _hurd_dtablesize. Unlock it right after having
28815 finished _hurd_dtable allocation.
28816
10589b4a
TS
288172012-05-10 Thomas Schwinge <thomas@schwinge.name>
28818
674cdbc7
TS
28819 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28820 * sysdeps/mach/hurd/configure: Regenerated.
28821 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28822 special-casing to...
28823 * sysdeps/gnu/configure.in: ... this new file.
28824 * sysdeps/unix/sysv/linux/configure: Regenerated.
28825 * sysdeps/gnu/configure: New generated file.
28826
8e41b99f
TS
28827 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28828 for Linux: use nsec instead of usec, as well as:
28829 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28830 members of type struct timespec.
28831 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28832 New macros.
28833 (struct stat64): Likewise.
28834 (_STATBUF_ST_NSEC): New macro.
28835 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28836
10589b4a
TS
28837 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28838 __strtoul_internal rather than strtoul.
28839
63643c85
PT
288402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28841
28842 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28843 and reject them.
28844
3faebe6a
ST
288452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28846
28847 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28848 which preserves existing values.
28849 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28850
c6474b07
PT
288512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28852
28853 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28854 TIMEOUT values. Return EINVAL for NFDS values either negative or
28855 greater than FD_SETSIZE.
28856
1043890b
ST
288572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28858
28859 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28860 allocated, call __vm_protect to finish enabling the existing space, and
28861 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28862 allocate the remainder.
28863
37ed8b9b
PT
288642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28865
28866 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28867 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28868
db653660
ST
288692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28870
37ed8b9b
PT
28871 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28872 sysdeps/mach/hurd/readlink.c.
b29d4053 28873
db653660
ST
28874 * posix/tst-sysconf.c (posix_options): Only use
28875 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28876 _POSIX_SYNCHRONIZED_IO when they are defined
28877 * sysdeps/mach/hurd/bits/posix_opt.h:
28878 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28879 (_XOPEN_REALTIME): Undefine macro.
28880 (_XOPEN_REALTIME_THREADS): Undefine macro.
28881 (_XOPEN_SHM): Undefine macro.
28882 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28883 macro to -1.
28884 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28885 macro to -1.
28886 (_POSIX_ASYNC_IO): Undefine macro.
28887 (_POSIX_PRIORITIZED_IO): Undefine macro.
28888 (_POSIX_SPIN_LOCKS): Define macro to -1.
28889
ee16e894
ST
28890 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28891 SA_NODEFER, SA_RESETHAND.
28892 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28893 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28894 F_DUPFD_CLOEXEC.
28895
6103ae3b
TS
288962012-05-10 Thomas Schwinge <thomas@schwinge.name>
28897
28898 * elf/Makefile (pldd-modules): Define unconditionally.
28899
80b4e5f3
TS
289002012-05-10 Thomas Schwinge <thomas@schwinge.name>
28901
28902 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28903
edadcbd6
ST
289042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28905
28906 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28907 Return ENOENT when name is empty.
28908 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28909
80694780
TS
289102012-05-10 Thomas Schwinge <thomas@schwinge.name>
28911
1792c087
TS
28912 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28913
80694780
TS
28914 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28915
6b645f0d
ST
289162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28917
80694780
TS
28918 Fix mlock in all cases except non-readable pages.
28919 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28920 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28921
6b645f0d
ST
28922 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28923 (__mkdir): When path is `/', just fail with EEXIST.
28924 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28925
e468f8a3
TS
289262012-05-10 Thomas Schwinge <thomas@schwinge.name>
28927
28928 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28929 <sys/uio.h> (for writev).
28930 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28931 and <sys/param.h> (for MIN).
28932
a4186cff
PT
289332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28934
28935 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28936 REQUESTED_TIME. Properly set the remaining time and return EINTR
28937 if interrupted.
28938
510bbf14
TS
289392012-05-10 Thomas Schwinge <thomas@schwinge.name>
28940
28941 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28942 Depend on against $(link-rpcuserlibs).
28943
5d5722e8
ST
289442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28945
a4186cff
PT
28946 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28947 (__libc_stack_end): Do not use attribute_relro.
28948 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28949 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28950 to libthread-provided value.
a4186cff
PT
28951 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28952 attribute_relro.
5d5722e8 28953
37233df9
TS
289542012-05-10 Thomas Schwinge <thomas@schwinge.name>
28955
be971a2b
TS
28956 [BZ #3748]
28957 * bits/libc-lock.h (__libc_once_get): New macro.
28958 * sysdeps/mach/bits/libc-lock.h: Likewise.
28959 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28961 instead of using implementation details.
28962
37233df9
TS
28963 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28964 * libio/freopen.c: Likewise.
28965 * libio/freopen64.c: Likewise.
28966 * misc/syslog.c: Likewise.
28967 * nscd/connections.c: Likewise.
28968 * nscd/netgroupcache.c: Likewise.
28969 * sysdeps/posix/getcwd.c: Likewise.
28970
38de94a5
RM
289712012-05-10 Roland McGrath <roland@hack.frob.com>
28972
28973 * math/w_ilogbf.c: Add #include <limits.h>.
28974
67530489
ST
289752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28976
a4186cff 28977 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28978 path instead of returning without unlocking.
28979
67530489
ST
28980 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28981 immediate-write ioctls.
28982 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28983
5aa3a74a
TS
289842012-05-10 Thomas Schwinge <thomas@schwinge.name>
28985
18bad2ae
TS
28986 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28987 __builtin_frame_address instead of making assumptions about the
28988 location of the return address relative to DATA. Force early load of
28989 the return address.
28990 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28991 __builtin_frame_address.
28992
5aa3a74a
TS
28993 dup3 for GNU Hurd.
28994 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28995 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28996 implement dup3 and do some further code clean-ups.
28997 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28998 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28999
ecd0de9a
ST
290002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29001
cd9fa985
ST
29002 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29003
a4186cff
PT
29004 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29005 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29006 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29007 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29008 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29009 d->port.lock.
802ca5a5 29010
a4186cff
PT
29011 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29012 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29013 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29014
bcf55240
TS
290152012-05-10 Thomas Schwinge <thomas@schwinge.name>
29016
6960eb42
TS
29017 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29018 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29019 definitions.
29020
eb43375f
TS
29021 accept4 for GNU Hurd.
29022 * include/sys/socket.h (__libc_accept4): New prototype.
29023 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29024 to implement __libc_accept4.
29025 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29026 __libc_accept4.
29027 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29028
bcf55240
TS
29029 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29030 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29031 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29032 signal-defines.sym.
29033
6178c55b
ST
290342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29035
a4186cff 29036 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29037
6f080c2f
TS
290382012-05-10 Thomas Schwinge <thomas@schwinge.name>
29039
29040 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29041 assertion on O_CLOEXEC flag.
29042 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29043 * hurd/intern-fd.c: Likewise.
29044 * hurd/port2fd.c: Likewise.
29045
bcfe3a54
ST
290462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29047
29048 [BZ #3906]
29049 * bits/in.h (IPV6_PKTINFO): Define new macro.
29050 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29051
89c9aa49
AZ
290522012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29053
29054 [BZ #13954]
29055 [BZ #13955]
29056 [BZ #13956]
29057 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29059 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29060 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29061 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29062 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29063 * math/libm-test.inc (logb_test) : Additional logb tests.
29064
021db4be
AJ
290652012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29066 Andreas Jaeger <aj@suse.de>
29067
29068 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29069 * configure: Regenerated.
29070 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29071 * config.make.in (link-obsolete-rpc): New substituted variable.
29072 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29073 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29074 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29075 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29076 so that libc.a contains the symbols.
29077 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29078 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29079 * sunrpc/auth_none.c: Likewise.
29080 * sunrpc/auth_unix.c: Likewise.
29081 * sunrpc/authdes_prot.c: Likewise.
29082 * sunrpc/authuxprot.c: Likewise.
29083 * sunrpc/clnt_gen.c: Likewise.
29084 * sunrpc/clnt_perr.c: Likewise.
29085 * sunrpc/clnt_raw.c: Likewise.
29086 * sunrpc/clnt_simp.c: Likewise.
29087 * sunrpc/clnt_tcp.c: Likewise.
29088 * sunrpc/clnt_udp.c: Likewise.
29089 * sunrpc/clnt_unix.c: Likewise.
29090 * sunrpc/des_crypt.c: Likewise.
29091 * sunrpc/des_soft.c: Likewise.
29092 * sunrpc/get_myaddr.c: Likewise.
29093 * sunrpc/key_call.c: Likewise.
29094 * sunrpc/key_prot.c: Likewise.
29095 * sunrpc/netname.c: Likewise.
29096 * sunrpc/pm_getmaps.c: Likewise.
29097 * sunrpc/pm_getport.c: Likewise.
29098 * sunrpc/pmap_clnt.c: Likewise.
29099 * sunrpc/pmap_prot.c: Likewise.
29100 * sunrpc/pmap_prot2.c: Likewise.
29101 * sunrpc/pmap_rmt.c: Likewise.
29102 * sunrpc/publickey.c: Likewise.
29103 * sunrpc/rpc_cmsg.c: Likewise.
29104 * sunrpc/rpc_common.c: Likewise.
29105 * sunrpc/rpc_dtable.c: Likewise.
29106 * sunrpc/rpc_prot.c: Likewise.
29107 * sunrpc/rpc_thread.c: Likewise.
29108 * sunrpc/rtime.c: Likewise.
29109 * sunrpc/svc.c: Likewise.
29110 * sunrpc/svc_auth.c: Likewise.
29111 * sunrpc/svc_raw.c: Likewise.
29112 * sunrpc/svc_run.c: Likewise.
29113 * sunrpc/svc_tcp.c: Likewise.
29114 * sunrpc/svc_udp.c: Likewise.
29115 * sunrpc/svc_unix.c: Likewise.
29116 * sunrpc/svcauth_des.c: Likewise.
29117 * sunrpc/xcrypt.c: Likewise.
29118 * sunrpc/xdr.c: Likewise.
29119 * sunrpc/xdr_array.c: Likewise.
29120 * sunrpc/xdr_float.c: Likewise.
29121 * sunrpc/xdr_intXX_t.c: Likewise.
29122 * sunrpc/xdr_mem.c: Likewise.
29123 * sunrpc/xdr_rec.c: Likewise.
29124 * sunrpc/xdr_ref.c: Likewise.
29125 * sunrpc/xdr_sizeof.c: Likewise.
29126 * sunrpc/xdr_stdio.c: Likewise.
29127
b5c086a2
RM
291282012-05-10 Roland McGrath <roland@hack.frob.com>
29129
29130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29131 change. Update copyright years.
29132
6d74dd09
JM
291332012-05-10 Joseph Myers <joseph@codesourcery.com>
29134
29135 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29136
28e72501
MK
291372012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29138 Joseph Myers <joseph@codesourcery.com>
29139 Paul Pluzhnikov <ppluzhnikov@google.com>
29140
29141 [BZ #14012]
29142 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29143 requiring rpcgen.
29144 [cross-compiling] (extra-libs): Likewise.
29145 [cross-compiling] (extra-libs-others): Likewise.
29146 [cross-compiling] (librpcsvc-routines): Likewise.
29147 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29148 [cross-compiling] (omit-deps): Likewise.
29149 (sunrpc-CPPFLAGS): New variable.
29150 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29151 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29152 (cross-rpcgen-objs): New variable.
29153 (extra-objs): Append $(cross-rpcgen-objs).
29154 ($(cross-rpcgen-objs)): New rule.
29155 ($(objpfx)cross-rpcgen): Likewise.
29156 (rpcgen-cmd): Define to use $(built-program-file). Expand
29157 comment.
29158 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29159 ($(objpfx)x%.stmp): Likewise.
29160 * sunrpc/proto.h [IS_IN_build] (_): Define.
29161 [IS_IN_build] (_libc_intl_domainname): Likewise.
29162
c8c59454
L
291632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29164
29165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29166 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29167 and R_X86_64_TPOFF64.
29168
6f27cd16
JM
291692012-05-10 Joseph Myers <joseph@codesourcery.com>
29170
29171 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29172 sysdeps/unix/sysv/syscalls.list.
29173 (stime): Likewise.
29174 (utime): Likewise.
29175 * sysdeps/unix/sysv/syscalls.list: Remove file.
29176
02467e1c
PE
291772012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29178
29179 [BZ #3440]
29180 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29181 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29182 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29183 (__LC_IDENTIFICATION): Make these macros useful in #if
29184 expressions, as required by C99.
29185
da392631
AS
291862012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29187
29188 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29189 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29190 after this.
29191
8115f29b
L
291922012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29193
29194 * stdlib/longlong.h: Updated from GCC.
29195
bdd74070
AJ
291962012-05-09 Andreas Jaeger <aj@suse.de>
29197
edfe0dbe
AJ
29198 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29199 default is first entry.
29200 (run_mode): Set type.
29201 (main): Remove informal message about syslog.
29202 (options): Fix typo.
29203
bcfe3a54
ST
29204 [BZ #14053]
29205 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29206 to asm.
bcfe3a54
ST
29207 (lrint): Likewise.
29208 (llrintf): Likewise.
29209 (llrint): Likewise.
29210 (rint): Likewise.
29211 (rintf): Likewise.
29212 (nearbyint): Likewise.
29213 (nearbyintf): Likewise.
bdd74070 29214
91d8d69e
AJ
292152012-05-09 Andreas Jaeger <aj@suse.de>
29216 Pedro Alves <palves@redhat.com>
29217
29218 * nscd/nscd.c (run_mode): Use enum.
29219 (main): Cleanup coding style issue.
29220
bb90b80b
AJ
292212012-05-09 Alexandre Oliva <aoliva@redhat.com>
29222 Andreas Jaeger <aj@suse.de>
29223
bcfe3a54
ST
29224 * nscd/nscd.c (go_background): Replaced with...
29225 (run_mode): ... this.
bb90b80b 29226 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29227 (options): Add -F --foreground.
29228 (main): Implement it.
29229 (parse_opt): Parse it.
bb90b80b 29230
1a4b75a1
AJ
292312012-05-09 Andreas Jaeger <aj@suse.de>
29232
29233 [BZ #14083]
29234 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29235 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29236 -Wconversion warning.
29237 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29238 Likewise.
29239
b1cc2472
JM
292402012-05-09 Joseph Myers <joseph@codesourcery.com>
29241
29242 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29243 == 0.
29244 (LC_ALL): Use macro-int-constant.
29245 (LC_COLLATE): Likewise.
29246 (LC_CTYPE): Likewise.
29247 (LC_MESSAGES): Likewise.
29248 (LC_MONETARY): Likewise.
29249 (LC_NUMERIC): Likewise.
29250 (LC_TIME): Likewise.
29251 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29252 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29253 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29254 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29255 Specify type.
29256 [C99-based standards] (float_t): Expect type.
29257 [C99-based standards] (double_t): Expect type.
29258 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29259 type.
29260 [C99-based standards] (HUGE_VALL): Likewise.
29261 [C99-based standards] (INFINITY): Likewise.
29262 [C99-based standards] (NAN): Likewise.
29263 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29264 [C99-based standards] (FP_NAN): Likewise.
29265 [C99-based standards] (FP_NORMAL): Likewise.
29266 [C99-based standards] (FP_SUBNORMAL): Likewise.
29267 [C99-based standards] (FP_ZERO): Likewise.
29268 [C99-based standards] (FP_FAST_FMA): Use
29269 optional-macro-int-constant. Specify type. Require == 1.
29270 [C99-based standards] (FP_FAST_FMAF): Likewise.
29271 [C99-based standards] (FP_FAST_FMAL): Likewise.
29272 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29273 [C99-based standards] (FP_ILOGBNAN): Likewise.
29274 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29275 Specify type.
29276 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29277 [C99-based standards] (math_errhandling): Specify type.
29278 [ISO99 || ISO11] (signgam): Do not allow.
29279 [non-C99-based standards] (copysignf): Do not allow.
29280 [non-C99-based standards] (exp2f): Likewise.
29281 [non-C99-based standards] (log2f): Likewise.
29282 [non-C99-based standards] (modff): Allow.
29283 [non-C99-based standards] (erff): Do not allow.
29284 [non-C99-based standards] (erfcf): Likewise.
29285 [non-C99-based standards] (gammaf): Likewise.
29286 [non-C99-based standards] (hypotf): Likewise.
29287 [non-C99-based standards] (j0f): Likewise.
29288 [non-C99-based standards] (j1f): Likewise.
29289 [non-C99-based standards] (jnf): Likewise.
29290 [non-C99-based standards] (lgammaf): Likewise.
29291 [non-C99-based standards] (tgammaf): Likewise.
29292 [non-C99-based standards] (y0f): Likewise.
29293 [non-C99-based standards] (y1f): Likewise.
29294 [non-C99-based standards] (ynf): Likewise.
29295 [non-C99-based standards] (isnanf): Likewise.
29296 [non-C99-based standards] (acoshf): Likewise.
29297 [non-C99-based standards] (asinhf): Likewise.
29298 [non-C99-based standards] (atanhf): Likewise.
29299 [non-C99-based standards] (cbrtf): Likewise.
29300 [non-C99-based standards] (expm1f): Likewise.
29301 [non-C99-based standards] (ilogbf): Likewise.
29302 [non-C99-based standards] (log1pf): Likewise.
29303 [non-C99-based standards] (logbf): Likewise.
29304 [non-C99-based standards] (nextafterf): Likewise.
29305 [non-C99-based standards] (remainderf): Likewise.
29306 [non-C99-based standards] (rintf): Likewise.
29307 [non-C99-based standards] (scalbf): Likewise.
29308 [non-C99-based standards] (copysignl): Likewise.
29309 [non-C99-based standards] (exp2l): Likewise.
29310 [non-C99-based standards] (log2l): Likewise.
29311 [non-C99-based standards] (modfl): Allow.
29312 [non-C99-based standards] (erfl): Do not allow.
29313 [non-C99-based standards] (erfcl): Likewise.
29314 [non-C99-based standards] (gammal): Likewise.
29315 [non-C99-based standards] (hypotl): Likewise.
29316 [non-C99-based standards] (j0l): Likewise.
29317 [non-C99-based standards] (j1l): Likewise.
29318 [non-C99-based standards] (jnl): Likewise.
29319 [non-C99-based standards] (lgammal): Likewise.
29320 [non-C99-based standards] (tgammal): Likewise.
29321 [non-C99-based standards] (y0l): Likewise.
29322 [non-C99-based standards] (y1l): Likewise.
29323 [non-C99-based standards] (ynl): Likewise.
29324 [non-C99-based standards] (isnanl): Likewise.
29325 [non-C99-based standards] (acoshl): Likewise.
29326 [non-C99-based standards] (asinhl): Likewise.
29327 [non-C99-based standards] (atanhl): Likewise.
29328 [non-C99-based standards] (cbrtl): Likewise.
29329 [non-C99-based standards] (expm1l): Likewise.
29330 [non-C99-based standards] (ilogbl): Likewise.
29331 [non-C99-based standards] (log1pl): Likewise.
29332 [non-C99-based standards] (logbl): Likewise.
29333 [non-C99-based standards] (nextafterl): Likewise.
29334 [non-C99-based standards] (remainderl): Likewise.
29335 [non-C99-based standards] (rintl): Likewise.
29336 [non-C99-based standards] (scalbl): Likewise.
29337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29338 [non-C99-based standards] (FP_*): Do not allow.
29339 [C99-based standards] (FP_*): Change to
29340 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29341 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29342 allow.
29343 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29344 (SIG_ERR): Likewise.
29345 [X/Open-based standards] (SIG_HOLD): Likewise.
29346 (SIG_IGN): Likewise.
29347 (SIGABRT): Use macro-int-constant. Specify type. Require
29348 positive value.
29349 (SIGFPE): Likewise.
29350 (SIGILL): Likewise.
29351 (SIGINT): Likewise.
29352 (SIGSEGV): Likewise.
29353 (SIGTER): Likewise.
29354 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29355 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29356 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29357 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29358 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29359 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29360 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29361 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29362 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29363 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29364 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29365 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29366 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29367 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29368 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29369 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29370 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29371 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29372 [X/Open-based standards] (SIGTRAP): Likewise.
29373 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29374 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29375 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29377 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29378 allow.
29379
b9f1922d
IW
293802012-05-08 Ian Wienand <ianw@vmware.com>
29381
29382 [BZ #14080]
29383 * time/tzset.c (__tzset_parse_tz): Update default rules for
29384 daylight time changes in the Energy Policy Act of 2005.
29385
1db86e88
AJ
293862012-05-09 Andreas Jaeger <aj@suse.de>
29387
29388 [BZ #13983]
29389 * elf/ldconfig.c (parse_conf): Change string to make clear that
29390 ldconfig only issued a warning if ld.so.conf does not exist.
29391
dee4a4e3
DM
293922012-05-08 David S. Miller <davem@davemloft.net>
29393
ee0db190
DM
29394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29395 movxtod instead of popping the value on the stack.
29396
dee4a4e3
DM
29397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29398
6a43ec98
CD
293992012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29400
29401 * config.h.in: Add HAVE_ARM_PCS_VFP.
29402
05c2c961
RMG
294032012-05-08 Roland Mc Grath <roland@hack.frob.com>
29404
bcfe3a54
ST
29405 [BZ #13979]
29406 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29407 checking but the checks are disabled for any reason.
05c2c961 29408
4b30f61a
L
294092012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29410
29411 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29412 and ELF64_R_TYPE with ELFW(R_TYPE).
29413
eee2bc67
JM
294142012-05-08 Joseph Myers <joseph@codesourcery.com>
29415
7ea5391a
JM
29416 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29417 (ulimit): Likewise.
29418
eee2bc67
JM
29419 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29420 (settimeofday): Likewise.
29421
abb66a67
MF
294222012-05-08 Mike Frysinger <vapier@gentoo.org>
29423
29424 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29425 a struct th_u2 inside the union, and move tu_block/tu_code into
29426 a new th_u3 union of tu_block/tu_code inside of that. Move
29427 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29428 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29429 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29430 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29431 (th_stuff): Change to th_u1.tu_stuff.
29432 (th_data): Define.
29433 (th_msg): Change to th_u1.th_u2.tu_data.
29434
7f18b530
DM
294352012-05-07 David S. Miller <davem@davemloft.net>
29436
05760585
DM
29437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29438
7f18b530
DM
29439 [BZ #14074]
29440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29441 (SETUP_PIC_REG): Use it.
29442 (SETUP_PIC_REG_LEAF): Use it.
29443
495fd99f
JM
294442012-05-07 Joseph Myers <joseph@codesourcery.com>
29445
29446 [BZ #13885]
29447 [BZ #13923]
29448 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29449 USE_AS_EXPM1L.
29450 (EXPL_FINITE): Likewise.
29451 (FLDLOG): Likewise.
29452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29453 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29454 e_expl.S.
29455 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29456 USE_AS_EXPM1L.
29457 (EXPL_FINITE): Likewise.
29458 (FLDLOG): Likewise.
29459 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29460 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29461 e_expl.S.
29462 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29463 test of -max_value argument for long double.
29464 * sysdeps/i386/fpu/libm-test-ulps: Update.
29465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29466
6693d694
DM
294672012-05-06 David S. Miller <davem@davemloft.net>
29468
29469 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29470 quad soft-float symbols whose references which are compiler
29471 generated.
29472 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29473
6c23e11c
JM
294742012-05-06 Joseph Myers <joseph@codesourcery.com>
29475
d8b82cad
JM
29476 [BZ #13884]
29477 [BZ #13914]
29478 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29479 USE_AS_EXP10L.
29480 (EXPL_FINITE): Likewise.
29481 (FLDLOG): Likewise.
29482 (c0): Likewise.
29483 (c1): Likewise.
29484 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29485 Adjust comments for base varying.
29486 (__expl_finite): Change alias to EXPL_FINITE.
29487 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29488 e_expl.S.
29489 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29490 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29491 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29492 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29493 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29494 USE_AS_EXP10L.
29495 (EXPL_FINITE): Likewise.
29496 (FLDLOG): Likewise.
29497 (c0): Likewise.
29498 (c1): Likewise.
29499 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29500 Adjust comments for base varying.
29501 (__expl_finite): Change alias to EXPL_FINITE.
29502 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29503 tests for bugs.
29504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29505
6c23e11c
JM
29506 [BZ #14064]
29507 * math/libm-test.inc (check_float_internal): Correct ulp
29508 calculation for subnormal expected results.
29509
29ba805c
AJ
295102012-05-06 Andreas Jaeger <aj@suse.de>
29511
29512 * Makeconfig (+math-flags): New, set to -frounding-math.
29513 (+cflags): Add +math-flags so that all of glibc gets compiled with
29514 it.
29515
29516 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29517
7b17aeda
JM
295182012-05-05 Joseph Myers <joseph@codesourcery.com>
29519
5779f134
JM
29520 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29521 Disable one test.
29522
41498f4d
JM
29523 [BZ #13787]
29524 [BZ #13922]
29525 [BZ #14036]
29526 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29527 (__ieee754_expl): Allow for and saturate large arguments.
29528 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29529 (u_threshold): Likewise.
29530 (__exp): Call __ieee754_exp before checking for overflow and
29531 underflow.
29532 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29533 (u_threshold): Likewise.
29534 (__expf): Call __ieee754_expf before checking for overflow and
29535 underflow.
29536 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29537 (u_threshold): Likewise.
29538 (__expl): Call __ieee754_expl before checking for overflow and
29539 underflow.
29540 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29541 (__ieee754_expl): Allow for and saturate large arguments.
29542 * math/libm-test.inc (exp_test): Add another test. Do not allow
29543 missing overflow exception on overflow.
29544 (expm1_test): Do not allow missing overflow exception on overflow.
29545
6698b8bf
JM
29546 * sysdeps/i386/fpu/e_expl.c: Move to ...
29547 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29548 rather than using inline asm.
29549 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29550 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29551 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29552
7b17aeda
JM
29553 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29554 (nice): Likewise.
29555 (poll): Likewise.
29556 (signal): Likewise.
29557 (time): Likewise.
29558 (times): Likewise.
29559
f7c85819
JM
295602012-05-04 Joseph Myers <joseph@codesourcery.com>
29561
29562 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29563 sysdeps/unix/common/syscalls.list.
29564 (fchmod): Likewise.
29565 (fchown): Likewise.
29566 (ftruncate): Likewise.
29567 (getrusage): Likewise.
29568 (gettimeofday): Likewise.
29569 (setpgid): Likewise.
29570 (setregid): Likewise.
29571 (setreuid): Likewise.
29572 (sigaction): Likewise.
29573 (truncate): Likewise.
29574 (vhangup): Likewise.
29575 * sysdeps/unix/common/syscalls.list: Remove file.
29576 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29577 * sysdeps/unix/sysv/linux/Implies: Likewise.
29578
336270d0
L
295792012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29580
29581 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29583 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29584 Moved to ...
29585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29586 Here.
29587 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29588 to ...
29589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29590 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29591 to ...
29592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29593 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29594 to ...
29595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29596 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29597 to ...
29598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29599 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29600 to ...
29601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29602 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29603 to ...
29604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29605 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29606 to ...
29607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29608 Here.
29609 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29610 to ...
29611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29612 Here.
29613 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29614 to ...
29615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29616 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29617 Moved to ...
29618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29619 Here.
29620 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29621 to ...
29622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29623
d128e450
JM
296242012-05-04 Joseph Myers <joseph@codesourcery.com>
29625
fa8ee516
JM
29626 * sysdeps/unix/common/bits/dirent.h: Remove file.
29627 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29628
d128e450
JM
29629 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29630 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29631 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29632 * sysdeps/unix/bsd/isatty.c: Likewise.
29633 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29634 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29635 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29636
ff8faaf0 296372012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29638
62881be4 29639 [BZ #13563]
31dc8730
AZ
29640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29641 long double comparison inaccuracies.
29642 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29644
6fef930c
AS
296452012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29646
29647 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29649
8f203e6c
JM
296502012-05-04 Joseph Myers <joseph@codesourcery.com>
29651
29652 [BZ #14049]
29653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29654 nonzero digits before rounding a hex value.
29655 * stdlib/tst-strtod.c (tests): Add another test.
29656
5197d9c2
AK
296572012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29658
29659 * sysdeps/s390/fpu/libm-test-ulps: Update.
29660
f0c1dedf
AJ
296612012-05-03 Andreas Jaeger <aj@suse.de>
29662
29663 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29664 does not get optimized out.
29665 (malloc_opt_barrier): New.
29666
a65ef2ae 296672012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29668 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29669
2b942cb7 29670 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29671 intermediate file deletion.
2b942cb7 29672 (generated): Add .symlist files.
a65ef2ae 29673
54b71e02
JM
296742012-05-03 Joseph Myers <joseph@codesourcery.com>
29675
29676 [BZ #13775]
29677 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29678 Redirect under this condition.
29679 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29680 [__USE_GNU] (__dprintf_chk): Not under this condition.
29681 [__USE_GNU] (__vdprintf_chk): Likewise.
29682 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29683 under this condition.
29684 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29685 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29686 [__USE_XOPEN2K8] (vdprintf): Likewise.
29687 [__USE_GNU] (__dprintf_chk): Not under this condition.
29688 [__USE_GNU] (__vdprintf_chk): Likewise.
29689 [__USE_GNU] (dprintf): Likewise.
29690 [__USE_GNU] (vdprintf): Likewise.
29691
d3dfcc41
RM
296922012-05-03 Roland McGrath <roland@hack.frob.com>
29693
29694 * elf/Makefile (common-generated): Set this instead of generated for
29695 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29696 $(all-built-dso)-derived lists.
29697
7ac30cc5
AJ
296982012-05-03 Andreas Jaeger <aj@suse.de>
29699
0c51e550
AJ
29700 * sysdeps/i386/fpu/libm-test-ulps: Update.
29701
7ac30cc5
AJ
29702 * FAQ: Removed.
29703 * FAQ.in: Likewise.
29704 * scripts/gen-FAQ.pl: Likewise.
29705 * manual/install.texi (Installation): Point to online location of
29706 FAQ.
29707 * Makefile (files-for-dist): Remove FAQ.
29708 (FAQ): Remove.
29709
d4c2917f
AM
297102012-05-02 Allan McRae <allan@archlinux.org>
29711
29712 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29713 (LDFLAGS-reldepmod5.so): Likewise.
29714 (LDFLAGS-reldep6mod1.so): Likewise.
29715 (LDFLAGS-reldep6mod4.so): Likewise.
29716 (LDFLAGS-reldep8mod3.so): Likewise.
29717 (LDFLAGS-unload4mod1.so): Likewise.
29718 (LDFLAGS-unload4mod2.so): Likewise.
29719 (LDFLAGS-tst-initorder): Likewise.
29720 (LDFLAGS-tst-initordera2.so): Likewise.
29721 (LDFLAGS-tst-initordera3.so): Likewise.
29722 (LDFLAGS-tst-initordera4.so): Likewise.
29723 (LDFLAGS-tst-initorderb2.so): Likewise.
29724 (LDFLAGS-noload): Likewise.
29725 (LDFLAGS-next): Likewise.
29726 (LDFLAGS-order2mod1.so): Likewise.
29727 (LDFLAGS-order2mod2.so): Likewise.
29728 (LDFLAGS-tst-initorder2): Likewise.
29729 (LDFLAGS-tst-initorder2a.so): Likewise.
29730 (LDFLAGS-tst-initorder2b.so): Likewise.
29731 (LDFLAGS-tst-initorder2c.so): Likewise.
29732 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29733
d77f993f
DM
297342012-05-02 David S. Miller <davem@davemloft.net>
29735
29736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29737
171a70b4
PP
297382012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29739
29740 [BZ #14055]
29741 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29742
0be196ad
AJ
297432012-05-02 Andreas Jaeger <aj@suse.de>
29744
29745 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29746 since we manipulate rounding mode.
29747 (CPPFLAGS-test-idouble.c): Likewise.
29748 (CPPFLAGS-test-ifloat.c): Likewise.
29749 (CFLAGS-test-ldouble.c): Likewise.
29750 (CFLAGS-test-double.c): Likewise.
29751 (CFLAGS-test-float.c): Likewise.
29752 (CFLAGS-test-misc.c): Likewise.
29753 (CFLAGS-test-test-fenv.c): Likewise.
29754
4f9d04aa
AZ
297552012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29756
2b942cb7
RM
29757 [BZ #2550]
29758 [BZ #2570]
29759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29760 comparisons to determine direction to adjust input.
4f9d04aa 29761
82a79e7d
RM
297622012-05-01 Roland McGrath <roland@hack.frob.com>
29763
f5a01ca9
RM
29764 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29765 output to the target.
29766
90fe4186
RM
29767 * scripts/localplt.awk: New file.
29768 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29769 (check-localplt-CFLAGS): Variable removed.
29770 ($(all-built-dso:=.jmprel)): New static pattern rule.
29771 (generated): Add those targets.
29772 (localplt-built-dso): New variable.
29773 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29774
29775 * elf/check-localplt.c: File removed.
29776
82397ed6
RM
29777 * scripts/check-execstack.awk: New file.
29778 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29779 (check-execstack-CFLAGS): Variable removed.
29780 ($(objpfx)check-execstack.h): Target removed.
29781 ($(objpfx)execstack-default): New target.
29782 (generated): Add that instead of check-execstack.h.
29783 ($(all-built-dso:=.phdr)): New static pattern rule.
29784 (generated): Add those targets.
29785 * elf/check-execstack.c: File removed.
29786
82a79e7d
RM
29787 * scripts/check-textrel.awk: New file.
29788 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29789 (check-textrel-CFLAGS): Variable removed.
29790 (all-built-dso): Use := to define.o
29791 ($(all-built-dso:=.dyn)): New static pattern rule.
29792 (generated): Add those targets.
29793 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29794 * config.make.in (READELF): New substituted variable.
29795 * elf/check-textrel.c: File removed.
29796
62fde54f 297972012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29798
615605c9
JM
29799 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29800 allow.
29801 * conform/data/ctype.h-data [C99-based standards] (isblank):
29802 Expect function.
29803 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29804 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29806 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29807 Specify type. Require positive value.
29808 (EILSEQ): Likewise.
29809 (ERANGE): Likewise.
29810 [ISO || POSIX] (EILSEQ): Do not expect.
29811 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29812 Specify type. Require positive value.
29813 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29814 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29815 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29816 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29817 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29818 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29819 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29820 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29821 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29822 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29823 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29824 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29825 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29826 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29827 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29828 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29829 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29830 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29831 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29832 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29833 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29834 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29835 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29836 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29837 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29838 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29839 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29840 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29841 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29842 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29843 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29844 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29845 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29846 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29847 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29848 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29849 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29850 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29851 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29852 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29859 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29874 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29877 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29880 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29881 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29887 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29888 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29889 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29890 Require >= 2.
29891 (FLT_ROUNDS): Expect as macro, not constant.
29892 (FLT_MANT_DIG): Use macro-int-constant.
29893 (DBL_MANT_DIG): Likewise.
29894 (LDBL_MANT_DIG): Likewise.
29895 (FLT_DIG): Likewise.
29896 (DBL_DIG): Likewise.
29897 (LDBL_DIG): Likewise.
29898 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29899 (DBL_MIN_EXP): Likewise.
29900 (LDBL_MIN_EXP): Likewise.
29901 (FLT_MAX_EXP): Use macro-int-constant.
29902 (DBL_MAX_EXP): Likewise.
29903 (LDBL_MAX_EXP): Likewise.
29904 (FLT_MAX_10_EXP): Likewise.
29905 (DBL_MAX_10_EXP): Likewise.
29906 (LDBL_MAX_10_EXP): Likewise.
29907 (FLT_MAX): Use macro-constant.
29908 (DBL_MAX): Likewise.
29909 (LDBL_MAX): Likewise.
29910 (FLT_EPSILON): Use macro-constant. Give upper bound.
29911 (DBL_EPSILON): Likewise.
29912 (LDBL_EPSILON): Likewise.
29913 (FLT_MIN): Likewise.
29914 (DBL_MIN): Likewise.
29915 (LDBL_MIN): Likewise.
29916 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29917 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29918 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29919 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29920 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29921 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29922 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29923 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29924 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29925 [ISO11] (FLT_TRUE_MIN): Likewise.
29926 [ISO11] (LDBL_TRUE_MIN): Likewise.
29927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29928 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29929 (SCHAR_MIN): Use macro-int-constant. Specify type.
29930 (SCHAR_MAX): Likewise.
29931 (UCHAR_MAX): Likewise.
29932 (CHAR_MIN): Likewise.
29933 (CHAR_MAX): Likewise.
29934 (MB_LEN_MAX): Use macro-int-constant.
29935 (SHRT_MIN): Use macro-int-constant. Specify type.
29936 (SHRT_MAX): Likewise.
29937 (USHRT_MAX): Likewise.
29938 (INT_MAX): Likewise.
29939 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29940 bound negative.
29941 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29942 bound with "U".
29943 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29944 bound with "L".
29945 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29946 bound negative. Suffix upper bound with "L".
29947 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29948 bound with "UL".
29949 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29950 Specify type.
29951 [C99-based standards] (LLONG_MAX): Likewise.
29952 [C99-based standards] (ULLONG_MAX): Likewise.
29953 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29954 == 0.
29955 [ISO11] (max_align_t): Require type.
29956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29957
c9140a62
JM
29958 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29959 from $CFLAGS, without defining away __attribute__ calls.
29960 (checknamespace): Use $CFLAGS_namespace.
29961
9af0bf29
JM
29962 * conform/conformtest.pl (@keywords): Only include C99 keywords
29963 for standards based on C99 or C11.
29964
343222a2
JM
29965 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29966 Disable tests.
29967 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29968 UNIX98]: Likewise.
29969
661f8cf0
JM
29970 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29971 usability of symbols in #if.
29972
ee74b9cb
JM
29973 * conform/conformtest.pl: If macro or constant types start
29974 "promoted:", expect the symbol to be of the following type
29975 promoted by the integer promotions.
62fde54f 29976
aafc49b3
JM
29977 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29978 in one place. Also handle "macro-constant".
29979
fefdf574
JM
29980 * conform/conformtest.pl: Only accept expected macro values with
29981 "==". Parse all "macro" lines in one place.
29982 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29983
f2d922fe
JM
29984 * conform/conformtest.pl: Handle braced types on "constant" lines
29985 instead of handling "typed-constant".
29986 * conform/data/signal.h-data: Use "constant" instead of
29987 "typed-constant".
29988
d22956c9
JM
29989 * conform/conformtest.pl: Handle "optional-" at start of lines in
29990 one place rather than duplicating several cases. Handle each
29991 format of "macro" line with initial "optional-".
29992
028e2e38
JM
29993 * conform/conformtest.pl: Only accept expected constant or
29994 optional-constant values with "==". Parse all "constant" lines in
29995 one place. Parse all "optional-constant" lines in one place.
29996 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29997 * conform/data/fmtmsg.h-data: Likewise.
29998 * conform/data/netinet/in.h-data: Likewise.
29999 * conform/data/tar.h-data: Likewise.
30000 * conform/data/limits.h-data: Use "==" form on "constant" and
30001 "optional-constant" lines.
30002
1b8f2850
JM
30003 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30004 Use -std=c99 for XOPEN2K.
30005 (@knownproblems): Remove.
30006 (newtoken): Don't check %isknown.
30007
a05a144b
JM
30008 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30009 Do not expect macro.
30010 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30011 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30012 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30013 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30014 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30015 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30016 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30017 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30018 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30019 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30020 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30021 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30022 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30023 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30024 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30025 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30026 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30027 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30028 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30029 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30030 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30031 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30032 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30033 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30034 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30035 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30036 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30037 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30038 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30039 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30040 [XPG3] (acosh): Likewise.
30041 [XPG3] (asinh): Likewise.
30042 [XPG3] (atanh): Likewise.
30043 [XPG3] (cbrt): Likewise.
30044 [XPG3] (expm1): Likewise.
30045 [XPG3] (ilogb): Likewise.
30046 [XPG3] (log1p): Likewise.
30047 [XPG3] (logb): Likewise.
30048 [XPG3] (nextafter): Likewise.
30049 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30050 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30051 [XPG3] (remainder): Likewise.
30052 [XPG3] (rint): Likewise.
30053 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30056 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30057 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30060 [UNIX98 || XOPEN2K] (scalb): Expect.
30061 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30062 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30063 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30064 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30065 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30066 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30067 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30068 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30069 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30070 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30073 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30074 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30078 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30082 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30087 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30088 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30198
73c5ebe3
JM
30199 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30200 _XOPEN_SOURCE_EXTENDED for XPG4.
30201
39c33b6c
JM
30202 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30203
62fde54f
JM
30204 * Makeconfig (localtime): Remove variable.
30205 (inst_localtime-file): Likewise.
30206
0741d64c
AS
302072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30208
30209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30210 Update.
30211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30212 Update.
30213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30214 Update.
30215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30216 Update.
30217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30218 Update.
30219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30220 Update.
30221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30222 Update.
30223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30224 Update.
30225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30226 Update.
30227
7cb029ee
JM
302282012-05-01 Joseph Myers <joseph@codesourcery.com>
30229
30230 [BZ #2550]
30231 [BZ #2570]
30232 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30233 comparisons to determine direction to adjust input.
30234 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30235 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30237 Likewise.
30238 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30239 Likewise.
30240 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30241 Likewise.
30242 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30243 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30244 Likewise.
30245 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30246 Likewise.
30247 * math/libm-test.inc (nexttoward_test): Add more tests.
30248
412bd966
AS
302492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30250
30251 [BZ #14040]
30252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30253 in version GLIBC_2.1, not GLIBC_2.0.
30254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30255 Likewise.
30256
9568c0c2
JM
302572012-04-30 Joseph Myers <joseph@codesourcery.com>
30258
adfbc8ac
JM
30259 [BZ #13942]
30260 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30261 (1 - x) * (1 + x).
30262 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30263 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30264 * math/libm-test.inc (acos_test): Add more tests.
30265 (asin_test): Likewise.
30266 * sysdeps/i386/fpu/libm-test-ulps: Update.
30267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30268
5ba3cc69
JM
30269 [BZ #14034]
30270 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30271 of square root.
30272 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30273 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30274 * math/libm-test.inc (acos_test_tonearest): New function.
30275 (acos_test_towardzero): Likewise.
30276 (acos_test_downward): Likewise.
30277 (acos_test_upward): Likewise.
30278 (asin_test_tonearest): Likewise.
30279 (asin_test_towardzero): Likewise.
30280 (asin_test_downward): Likewise.
30281 (asin_test_upward): Likewise.
30282 (main): Call the new functions.
30283 * sysdeps/i386/fpu/libm-test-ulps: Update.
30284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30285
9568c0c2
JM
30286 [BZ #13884]
30287 [BZ #13924]
30288 * math/e_exp10.c: Include <float.h>.
30289 (__ieee754_exp10): Handle underflow here rather than multiplying
30290 large negative argument by M_LN10.
30291 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30292 of __ieee754_expf.
30293 * math/e_exp10l.c: Include <float.h>.
30294 (__ieee754_exp10l): Handle underflow here rather than multiplying
30295 large negative argument by M_LN10l.
30296 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30297 spurious overflow exception on underflow.
30298
5ac3ea17
MP
302992012-04-29 Marek Polacek <polacek@redhat.com>
30300
30301 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30302 (__fortify_function): New macro.
30303 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30304 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30305 __extern_always_inline.
30306 * libio/bits/stdio2.h: Likewise.
30307 * libio/bits/stdio.h: Likewise.
30308 * string/string.h: Likewise.
30309 * string/bits/string3.h: Likewise.
30310 * include/stdio.h: Likewise.
30311 * stdlib/bits/stdlib.h: Likewise.
30312 * stdlib/stdlib.h: Likewise.
30313 * rt/bits/mqueue2.h: Likewise.
30314 * rt/mqueue.h: Likewise.
30315 * posix/bits/unistd.h: Likewise.
30316 * posix/unistd.h: Likewise.
30317 * io/bits/poll2.h: Likewise.
30318 * io/bits/fcntl2.h: Likewise.
30319 * io/fcntl.h: Likewise.
30320 * io/sys/poll.h: Likewise.
30321 * misc/bits/syslog.h: Likewise.
30322 * misc/bits/syslog-ldbl.h: Likewise.
30323 * misc/sys/syslog.h: Likewise.
30324 * socket/bits/socket2.h: Likewise.
30325 * socket/sys/socket.h: Likewise.
30326 * debug/tst-chk1.c: Likewise.
30327 * wcsmbs/bits/wchar2.h: Likewise.
30328 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30329 * wcsmbs/wchar.h: Likewise.
30330
ecf0ebfb
AJ
303312012-04-29 Andreas Jaeger <aj@suse.de>
30332
30333 * Makerules (tests): Remove enable-check-abi protection.
30334 (check-abi-warn): Remove.
30335 (check-abi-%): Remove check-abi-warn usage.
30336
30337 * configure.in: Remove check-abi configure option.
30338 * configure: Regenerated.
30339 * config.make.in (enable-check-abi): Remove.
30340
6d5c57fa
AS
303412012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30342
24c5d07e 30343 [BZ #14033]
ded5180a
AS
30344 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30345 double functions to double *_finite functions.
30346
7e0d315d
AS
30347 [BZ #13941]
30348 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30349 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30350 LDBL_MIN_EXP.
30351 * stdio-common/Makefile (tests): Add tst-sprintf3.
30352 * stdio-common/tst-sprintf3.c: New file.
30353
6d5c57fa
AS
30354 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30355 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30356
0749ff8b
JM
303572012-04-28 Joseph Myers <joseph@codesourcery.com>
30358
30359 * conform/conformtest.pl: Remove duplicate typed-constant
30360 handling.
30361
8dbd5d7b
DM
303622012-04-28 David S. Miller <davem@davemloft.net>
30363
30364 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30365 (check-abi-%): Remove AWK script prerequisite and explicit
30366 abilist directory.
30367 (check-abi): Rewrite to just diff the symlist with the abilist.
30368 (config-tls, config-abi-config): Delete, no longer used.
30369 (update-abi-%): Remove AWK script and explicit abilist directory.
30370 (update-abi): Rewrite to simply compare and conditionally copy the
30371 symlist and the sysdep abilist file. Remove update-abi-config
30372 checks.
30373 * abilist/ld.abilist: Remove.
30374 * abilist/libBrokenLocale.abilist: Remove.
30375 * abilist/libanl.abilist: Remove.
30376 * abilist/libcrypt.abilist: Remove.
30377 * abilist/libdl.abilist: Remove.
30378 * abilist/librt.abilist: Remove.
30379 * abilist/libthread_db.abilist: Remove.
30380 * abilist/libutil.abilist: Remove.
30381 * scripts/extract-abilist.awk: Remove.
30382 * scripts/merge-abilist.awk: Remove.
30383 * sysdeps/generic/libcidn.abilist: New file.
30384 * sysdeps/generic/libnss_compat.abilist: New file.
30385 * sysdeps/generic/libnss_db.abilist: New file.
30386 * sysdeps/generic/libnss_dns.abilist: New file.
30387 * sysdeps/generic/libnss_files.abilist: New file.
30388 * sysdeps/generic/libnss_hesiod.abilist: New file.
30389 * sysdeps/generic/libnss_nis.abilist: New file.
30390 * sysdeps/generic/libnss_nisplus.abilist: New file.
30391 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30392 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30393 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30394 file.
30395 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30396 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30397 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30398 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30399 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30400 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30401 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30402 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30403 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30404 file.
30405 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30406 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30407 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30408 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30409 file.
30410 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30411 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30412 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30413 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30414 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30415 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30416 file.
30417 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30418 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30419 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30420 file.
30421 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30423 New file.
30424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30425 New file.
30426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30427 New file.
30428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30429 New file.
30430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30431 New file.
30432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30433 New file.
30434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30435 New file.
30436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30437 New file.
30438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30439 New file.
30440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30441 New file.
30442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30443 New file.
30444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30445 New file.
30446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30447 New file.
30448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30449 file.
30450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30451 New file.
30452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30453 New file.
30454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30455 file.
30456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30457 New file.
30458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30459 New file.
30460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30461 file.
30462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30463 New file.
30464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30465 New file.
30466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30467 New file.
30468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30469 New file.
30470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30471 New file.
30472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30473 New file.
30474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30476 file.
30477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30478 New file.
30479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30480 file.
30481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30482 file.
30483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30484 file.
30485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30486 file.
30487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30488 file.
30489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30490 New file.
30491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30492 file.
30493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30494 file.
30495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30496 New file.
30497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30498 file.
30499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30501 file.
30502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30503 New file.
30504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30505 file.
30506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30507 file.
30508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30509 file.
30510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30511 file.
30512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30513 file.
30514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30515 New file.
30516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30517 file.
30518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30519 file.
30520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30521 New file.
30522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30523 file.
30524 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30525 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30526 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30527 file.
30528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30529 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30530 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30531 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30532 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30533 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30534 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30535 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30536 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30537 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30540 file.
30541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30542 New file.
30543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30544 file.
30545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30546 file.
30547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30548 file.
30549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30550 file.
30551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30552 file.
30553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30554 New file.
30555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30556 New file.
30557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30558 file.
30559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30560 New file.
30561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30562 file.
30563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30565 file.
30566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30567 New file.
30568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30569 file.
30570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30571 file.
30572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30573 file.
30574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30575 file.
30576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30577 file.
30578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30579 New file.
30580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30581 New file.
30582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30583 file.
30584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30585 New file.
30586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30587 file.
30588
41d73a1b
JM
305892012-04-28 Joseph Myers <joseph@codesourcery.com>
30590
30591 * conform/conformtest.pl: Fix typo in handling typed-constant from
30592 allow-header.
30593
28aeeda4
JM
305942012-04-27 Joseph Myers <joseph@codesourcery.com>
30595
adae8f5e
JM
30596 * README: Cut down references to pre-2.6 Linux kernels and
30597 Linuxthreads. Update lists of configurations in libc and ports
30598 and sort alphabetically. Say "or newer" with Linux kernel version
30599 requirements.
30600
28aeeda4
JM
30601 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30602
a462cb63
RA
306032012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30604
30605 [BZ #887]
30606 * math/libm-test.inc (logb_test_downward): New test to expose
30607 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30608 rounding mode.
30609
6ad3493e
JM
306102012-04-27 Joseph Myers <joseph@codesourcery.com>
30611
30612 [BZ #14027]
30613 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30614 to be done.
30615 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30616 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30617
2ce4f015
JM
306182012-04-26 Joseph Myers <joseph@codesourcery.com>
30619
5aeb141a
JM
30620 * sysdeps/unix/i386/brk.S: Remove file.
30621 * sysdeps/unix/i386/dl-brk.S: Likewise.
30622 * sysdeps/unix/i386/pipe.S: Likewise.
30623 * sysdeps/unix/i386/sigreturn.S: Likewise.
30624 * sysdeps/unix/i386/syscall.S: Likewise.
30625 * sysdeps/unix/i386/vfork.S: Likewise.
30626 * sysdeps/unix/i386/wait.S: Likewise.
30627
7143acae
JM
30628 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30629 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30630
2ce4f015
JM
30631 * configure.in (arm*-none*): Do not allow without
30632 --enable-hacker-mode.
30633 (netbsd*): Remove case setting base_os.
30634 (386bsd*): Likewise.
30635 (freebsd*): Likewise.
30636 (bsdi*): Likewise.
30637 (osf*): Likewise.
30638 (sunos*): Likewise.
30639 (ultrix*): Likewise.
30640 (newsos*): Likewise.
30641 (dynix*): Likewise.
30642 (*bsd*): Likewise.
30643 (sysv*): Likewise.
30644 (isc*): Likewise.
30645 (esix*): Likewise.
30646 (sco*): Likewise.
30647 (minix*): Likewise.
30648 (irix4*): Likewise.
30649 (irix6*): Likewise.
30650 (solaris[2-9]*): Likewise.
30651 (none): Likewise.
30652 * configure: Regenerated.
30653
0ac229c8
AZ
306542012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30655
30656 [BZ #11521]
30657 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30658 overflow or cancellation in calculating denominator.
30659 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30660 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30661 down expression to avoid unexpected rounding in newer GCCs.
30662 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30663
33f244f4
DM
306642012-04-26 David S. Miller <davem@davemloft.net>
30665
30666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30667 long-double compat symbols.
30668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30681
cfa1f3e8
DM
306822012-04-25 David S. Miller <davem@davemloft.net>
30683
30684 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30685 HWCAP_* values only after the memory barriers have been defined.
30686 (atomic_full_barrier): Define.
30687 (atomic_read_barrier): Define.
30688 (atomic_write_barrier): Define.
30689
6e236b92
SP
306902012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30691
30692 * shlib-versions: Add libgcc_s version information.
30693 * sysdeps/generic/libgcc_s.h: Remove.
30694 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30695 libgcc_s.h.
30696 * sysdeps/gnu/unwind-resume.c: Likewise.
30697 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30698
aab39a09
DM
306992012-04-25 David S. Miller <davem@davemloft.net>
30700
30701 * sysdeps/unix/sparc/brk.S: Delete.
30702 * sysdeps/unix/sparc/dl-brk.S: Delete.
30703 * sysdeps/unix/sparc/pipe.S: Delete.
30704 * sysdeps/unix/sparc/sysdep.S: Delete.
30705 * sysdeps/unix/sparc/sysdep.h: Delete.
30706 * sysdeps/unix/sparc/vfork.S: Delete.
30707 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30708 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30710 ret_ERRVAL, r0, r1, MOVE): Define.
30711 (JUMPTARGET): Remove.
30712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30713 sysdeps/unix/sparc/sysdep.h
30714 (ENTRY, END): Remove.
30715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30716
a3cc4f48
JM
307172012-04-25 Joseph Myers <joseph@codesourcery.com>
30718
2ed8cda2
JM
30719 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30720 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30721 -DIS_IN_build.
30722
35d76d59
JM
30723 * timezone/README: Update upstream location and email address for
30724 tzcode and tzdata.
30725 * timezone/zdump.c: Update from tzcode 2012b.
30726 * timezone/zic.c: Likewise.
30727
a3cc4f48
JM
30728 * configure.in (libc_cv_as_needed): Remove test.
30729 * configure: Regenerated.
30730 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30731 conditional definition.
30732 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30733 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30734 * config.make.in (have-as-needed): Remove variable.
30735
ceab42c3
SP
307362012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30737 Paul Pluzhnikov <ppluzhnikov@google.com>
30738
30739 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30740 strings correctly.
30741
3ce2865f
CLT
307422012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30743
30744 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30745 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30746 * sysdeps/sh/strlen.S: Likewise.
30747
f37e0d68
JM
307482012-04-24 Joseph Myers <joseph@codesourcery.com>
30749
ae186e9a
JM
30750 * sysdeps/unix/fork.S: Remove file.
30751 * sysdeps/unix/i386/fork.S: Likewise.
30752 * sysdeps/unix/sparc/fork.S: Likewise.
30753
b96914af
JM
30754 * sysdeps/unix/system.c: Remove file.
30755 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30756
f37e0d68
JM
30757 * sysdeps/unix/getegid.S: Remove file.
30758 * sysdeps/unix/geteuid.S: Likewise.
30759
87ef29ca
RM
307602012-04-24 Roland McGrath <roland@hack.frob.com>
30761
83bcd236
RM
30762 * scripts/check-localplt.awk: New file.
30763 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30764 of diff.
30765 * scripts/data/localplt-generic.data: Add a comment.
30766
87ef29ca
RM
30767 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30768 NODE when __dir_mkfile failed.
30769 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30770 Reported by Ludovic Courtès <ludo@gnu.org>.
30771
e5a6e567
AJ
307722012-04-24 Andreas Jaeger <aj@suse.de>
30773
30774 * Makerules (common-clean): Also remove gen-as-const-headers
30775 files.
30776
c1820385
JM
307772012-04-24 Joseph Myers <joseph@codesourcery.com>
30778
30779 * Makerules (native-compile): Do not change working directory for
30780 build. Use $(OUTPUT_OPTION) in command.
30781 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30782
94e02fc4
AZ
307832012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30784
30785 [BZ #13886]
30786 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30787 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30788 * math/libm-test.inc (floor_test): Add more tests.
30789 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30790
3a533ca3
JM
307912012-04-24 Joseph Myers <joseph@codesourcery.com>
30792
940ab4b3
JM
30793 * sysdeps/unix/getdents.c: Remove file.
30794 * sysdeps/unix/sysv/getdents.c: Likewise.
30795 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30796
90e037bd
JM
30797 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30798 sysdeps/unix/mman/syscalls.list.
30799 (mmap): Likewise.
30800 (mprotect): Likewise.
30801 (msync): Likewise.
30802 (munmap): Likewise.
30803 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30804 * sysdeps/unix/mman/syscalls.list: Remove.
30805 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30806
3a533ca3
JM
30807 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30808 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30809 * configure: Regenerated.
30810 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30811 $(libgcc_s_suffix).
30812 * config.make.in (libgcc_s_suffix): Remove variable.
30813
1ad743de
JM
308142012-04-23 Joseph Myers <joseph@codesourcery.com>
30815
4ad451e2
JM
30816 * sysdeps/unix/sysv/gethostname.c: Move to ...
30817 * sysdeps/posix/gethostname.c: ... here.
30818
5e37ce39
JM
30819 * sysdeps/unix/execve.S: Remove file.
30820
1ad743de
JM
30821 * sysdeps/unix/_exit.S: Remove file.
30822
4e681b5b
AJ
308232012-04-23 Andreas Jaeger <aj@suse.de>
30824
30825 [BZ #13739]
30826 * manual/Makefile: Remove make dist support, there's no
30827 need for a stand-alone documentation tar ball.
30828 (TEXI2DVI): Define always, it's not in Makeconfig.
30829 (dist): Removed.
30830 (tar-it): Removed.
30831 (edition): Removed.
30832 (glibc-doc-$(edition).tar): Removed
30833 (%.Z): Removed.
30834 (%.gz): Removed.
30835 (%.uu): Removed.
30836 (ETAGS): Remove, it's in Makeconfig.
30837 (move-if-change): Remove, it's in Makeconfig.
30838
38686a03 308392012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30840
30841 [BZ #13970]
30842 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30843 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30844 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30845 (strtod_l, strtof_l, strtold_l): Remove __wur.
30846 It is not necessarily an error to ignore strtol's return value.
30847 One can reliably look at the stored endptr to decide whether
30848 the number had valid syntax.
30849
7c0616fa
AJ
308502012-04-21 Andreas Jaeger <aj@suse.de>
30851
803cb6b7 30852 [BZ #13739]
7c0616fa
AJ
30853 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30854
b0fe253f
JM
308552012-04-21 Joseph Myers <joseph@codesourcery.com>
30856
30857 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30858 * sysdeps/unix/sysv/Versions: Remove file.
30859
8280f22d
MT
308602012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30861
30862 [BZ #13927]
30863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30864
75ce411f 308652012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30866
30867 [BZ #7064]
30868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30869 version from __vm86.
30870
097d59fa
JM
308712012-04-20 Joseph Myers <joseph@codesourcery.com>
30872
a90f3bcb
JM
30873 * sysdeps/unix/common/lxstat.c: Remove file.
30874 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30875
edc7ea78
JM
30876 * sysdeps/unix/sysv/Makefile: Remove file.
30877
cb78c221
JM
30878 * sysdeps/unix/sysv/direct.h: Remove file.
30879
efa6a45f
JM
30880 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30881 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30882 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30883 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30884 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30885 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30886 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30887
9c9f2d0c
JM
30888 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30889
4541c83b
JM
30890 * sysdeps/unix/xmknod.c: Remove file.
30891 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30892
f5d153a0
JM
30893 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30894
aa746595
JM
30895 * sysdeps/unix/sysv/i386/time.S: Remove file.
30896
cce5905e
JM
30897 * sysdeps/unix/fxstat.c: Remove file.
30898 * sysdeps/unix/xstat.c: Likewise.
30899 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30900
37fa3841
JM
30901 * sysdeps/unix/sysv/sigaction.c: Remove file.
30902
ff1962a3
JM
30903 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30904 (sysdep_headers): Remove variable.
30905 [termio.h not in sysdep_headers] (generated): Likewise.
30906 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30907 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30908 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30909 * sysdeps/unix/sysv/tcflow.c: Likewise.
30910 * sysdeps/unix/sysv/tcflush.c: Likewise.
30911 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30912 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30913 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30914 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30915 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30916
e7740d31
JM
30917 * sysdeps/unix/siglist.c: Remove file.
30918
ee06f18b
JM
30919 * sysdeps/unix/getppid.S: Remove file.
30920
097d59fa
JM
30921 * sysdeps/unix/mkdir.c: Remove file.
30922 * sysdeps/unix/rmdir.c: Likewise.
30923
ff3d51ec
AS
309242012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30925
30926 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30927 ERR_MAX value.
30928 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30929 errlist-compat value.
30930
50f81fd7
DM
309312012-04-18 David S. Miller <davem@davemloft.net>
30932
30933 * sysdeps/generic/memcopy.h (reg_char): Delete.
30934 * debug/strcat_chk.c: Use char, not reg_char.
30935 * debug/strcpy_chk.c: Likewise.
30936 * debug/strncat_chk.c: Likewise.
30937 * debug/strncpy_chk.c: Likewise.
30938 * string/memchr.c: Likewise.
30939 * string/memrchr.c: Likewise.
30940 * string/rawmemchr.c: Likewise.
30941 * string/strcat.c: Likewise.
30942 * string/strchr.c: Likewise.
30943 * string/strchrnul.c: Likewise.
30944 * string/strcmp.c: Likewise.
30945 * string/strcpy.c: Likewise.
30946 * string/strncat.c: Likewise.
30947 * string/strncmp.c: Likewise.
30948 * string/strncpy.c: Likewise.
30949
8ff41c46
WS
309502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30951
30952 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30953 __builtin_memcopy is called when src and dest ranges are known to not
30954 overlap.
30955
6b652f46
WS
309562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30957
30958 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30959 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30960 fwd_align_merge macro call.
30961 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30962 bwd_align_merge macro call.
30963 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30964
b282631e
WS
309652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30966
30967 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30968 bwd_align_merge macros.
30969 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30970 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30971 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30972
95aa737c
DM
309732012-04-18 David S. Miller <davem@davemloft.net>
30974
30975 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30976
7a99a614
AJ
309772012-04-18 Andreas Jaeger <aj@suse.de>
30978
30979 [BZ# 6794]
30980 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30981 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30982 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30983
30984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30985 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30986 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30987
30988 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30989 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30990 Adjust for changed ldbl-128 files.
30991
30992 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30993 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30994 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30995
e5270c23
DM
309962012-04-17 David S. Miller <davem@davemloft.net>
30997
30998 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30999
fb5e92c9
AS
310002012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31001
31002 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31003 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31004 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31005 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31006 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31007 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31008
76da7265
AZ
310092012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31010
31011 [BZ #6794]
31012 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31013 * math/libm-test.inc: Add ilogb errno and exception tests.
31014 * math/w_ilogb.c: New file: ilogb wrapper.
31015 * math/w_ilogbf.c: New file: ilogbf wrapper.
31016 * math/w_ilogbl.c: New file: ilogbl wrapper.
31017 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31018 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31019 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31020 exception being thrown with 0.0 as argument.
31021 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31022 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31023 exception being thrown with 0.0 as argument.
31024 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31025 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31026 exception being thrown with 0.0 as argument.
31027 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31028 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31029 exception being thrown with 0.0 as argument.
31030 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31031 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31032 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31033 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31034 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31035 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31036 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31037 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31038 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31039
0396e69d
PB
310402012-04-17 Petr Baudis <pasky@ucw.cz>
31041
31042 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31043 with altivec.
31044
750b5926
MP
310452012-04-16 Marek Polacek <polacek@redhat.com>
31046
31047 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31048
751728a1
MP
310492012-04-16 Marek Polacek <polacek@redhat.com>
31050
31051 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31052 operands of fdivp instruction.
31053
34a27407
L
310542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31055
31056 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31057 * elf/tst-auditmod3b.c: Likewise.
31058 * elf/tst-auditmod4b.c: Likewise.
31059 * elf/tst-auditmod5b.c: Likewise.
31060 * elf/tst-auditmod6b.c: Likewise.
31061 * elf/tst-auditmod6c.c: Likewise.
31062 * elf/tst-auditmod7b.c: Likewise.
31063 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31064 * sysdeps/x86_64/preconfigure.in: Likewise.
31065 * sysdeps/x86_64/preconfigure: Regenerated.
31066
7e73e17d
L
310672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31068
31069 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31070 __ILP32__.
31071
c7a6ab72
AB
310722012-04-13 Antoine Balestrat <merkil33@gmail.com>
31073
31074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31075 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31076
a9e8e0e0
CL
310772012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31078
31079 [BZ #13973]
31080 * locale/iso-639.def: Fix gl language name. Spotted by
31081 Yaron Shahrabani.
31082
ec98af7d
RM
310832012-04-12 Roland McGrath <roland@hack.frob.com>
31084
31085 [BZ #2074]
31086 * libio/libio.h (__io_write_fn): Update comment.
31087
247c3ede
PB
310882012-04-12 Petr Baudis <pasky@ucw.cz>
31089
31090 [BZ #2074]
31091 * stdio.texi (Hook Functions): The user provided writer function
31092 is not allowed to return -1.
31093
55939d6d
DM
310942012-04-11 David S. Miller <davem@davemloft.net>
31095
31096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31097
90020f5a
MF
310982012-04-11 Mike Frysinger <vapier@gentoo.org>
31099
31100 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31101 Add a leading slash to rtkaio.
31102
288f9098
JM
311032012-04-11 Jim Meyering <meyering@redhat.com>
31104
90020f5a
MF
31105 [BZ #11959]
31106 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31107 It is not necessarily an error to ignore fwrite's return
31108 value. One can reliably use ferror to test for errors after
31109 the fact.
288f9098 31110
4be2b570
L
311112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31112
31113 * bits/types.h (__snseconds_t): New type.
31114 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31115
31116 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31118 (__SNSECONDS_T_TYPE): Likewise.
31119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31120 (__SNSECONDS_T_TYPE): Likewise.
31121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31122 (__SNSECONDS_T_TYPE): Likewise.
31123
288f9098 311242012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31125
31126 [BZ #2636]
31127 * manual/time.texi (Processor Time): Return type of times is
31128 elapsed real time since an arbitrary point in the past.
31129 (CPU Time): Move CLK_TCK from here...
31130 (Processor Time): ...to here. Correct description.
31131 * manual/conf.texi (Constants for Sysconf): Correct description of
31132 _SC_CLK_TCK.
31133
d7dd4413
DM
311342012-04-10 David S. Miller <davem@davemloft.net>
31135
31136 [BZ #13967]
31137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31138 where the is a gap between DT_REL(A) and DT_JMPREL.
31139
b46068fc
L
311402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31141
31142 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31143 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31144 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31145
73d65cc3
SP
311462012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31147
31148 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31149 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31150 (dl_main): Handle --inhibit-cache.
31151 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31152 _dl_inhibit_cache.
31153 * elf/dl-load.c (_dl_map_object): Use it.
31154 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31155
bcc8d661
JM
311562012-04-09 Joseph Myers <joseph@codesourcery.com>
31157
8f9a2fae
JM
31158 [BZ #13872]
31159 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31160 (__ieee754_powl): Saturate large exponents rather than testing for
31161 overflow of y*log2(x).
31162 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31163 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31164 exceptions.
31165
bcc8d661
JM
31166 [BZ #11521]
31167 * math/s_ctan.c: Include <float.h>.
31168 (__ctan): Avoid internal overflow or cancellation in calculating
31169 denominator.
31170 * math/s_ctanf.c: Likewise.
31171 * math/s_ctanl.c: Likewise.
31172 * math/s_ctanh.c: Likewise.
31173 * math/s_ctanhf.c: Likewise.
31174 * math/s_ctanhl.c: Likewise.
31175 * math/libm-test.inc (ctan_test): Add more tests.
31176 (ctanh_test): Likewise.
31177 * sysdeps/i386/fpu/libm-test-ulps: Update.
31178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31179
823fbbb4
AJ
311802012-04-09 Andreas Jaeger <aj@suse.de>
31181
03879793
AJ
31182 [BZ #6894]
31183 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31184 is an optional BSD extension.
31185
823fbbb4
AJ
31186 [BZ #10254]
31187 * manual/stdio.texi (Opening Streams): Document additional fopen
31188 parameters.
31189
8de131cb
RM
311902012-04-09 Roland McGrath <roland@hack.frob.com>
31191
31192 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31193 %eax without telling the compiler.
31194
c0ed9d7d
CD
311952012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31196
31197 [BZ # 13963]
31198 * manual/install.texi: Use sourceware.org.
31199
c483f6b4
JM
312002012-04-09 Joseph Myers <joseph@codesourcery.com>
31201
d7dd9453
JM
31202 [BZ #13873]
31203 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31204 (__ieee754_pow): Generate overflow and underflow using huge*huge
31205 and tiny*tiny rather than just returning constant infinity or zero
31206 for large exponents.
31207 * math/libm-test.inc (pow_test): Require overflow exceptions for
31208 applicable cases of large exponents.
31209
c483f6b4
JM
31210 [BZ #706]
31211 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31212 (__ieee754_pow): Use iterative multiplication algorithm only for
31213 integer exponents with absolute value below 1024. Check for odd
31214 integer exponents when using algorithm for real exponents.
31215 * math/libm-test.inc (pow_test): Add more tests.
31216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31217
d2de7579
JM
312182012-04-08 Joseph Myers <joseph@codesourcery.com>
31219
31220 [BZ #13705]
31221 * math/libm-test.inc (exp_test): Do not allow overflow exception
31222 on underflow test.
31223
f77f1232
AJ
312242012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31225
31226 [BZ #13705]
31227 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31228 instead of __kernel_standard_f.
31229
3884932b
MF
312302012-04-08 Mike Frysinger <vapier@gentoo.org>
31231
31232 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31233 * sysdeps/x86_64/memset_chk.S: Likewise.
31234
54472e9c
AJ
312352012-04-08 Andreas Jaeger <aj@suse.de>
31236
6ab0fbfc
AJ
31237 [BZ #10153]
31238 * manual/startup.texi (Environment Access): Describe return value
31239 for putenv and setenv.
31240
61efba8c
AJ
31241 [BZ #6895]
31242 * manual/filesys.texi (Directory Entries): Add description for
31243 DT_LNK.
31244
95c3f29a
AJ
31245 [BZ #6890]
31246 * manual/filesys.texi (Directory Entries): Clarify that it's file
31247 system not operating system in the description of DT_UNKNOWN.
31248
54472e9c
AJ
31249 [BZ #6578]
31250 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31251
624254b1
SC
312522012-04-08 Stephen Compall <s11@member.fsf.org>
31253
31254 [BZ #6649]
31255 * manual/llio.texi (Opening and Closing Files): Add cross
31256 reference to explain mode argument.
31257
1e4920e0
MF
312582012-04-07 Mike Frysinger <vapier@gentoo.org>
31259
31260 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31261 * sysdeps/x86_64/memset_chk.S: Likewise.
31262
5ed848f3
DM
312632012-04-07 David S. Miller <davem@davemloft.net>
31264
31265 * elf/elf.h (R_SPARC_WDISP10): Define.
31266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31267 R_SPARC_SIZE32.
31268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31269 R_SPARC_SIZE64 and R_SPARC_H34.
31270
96154cd8
CD
312712012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31272
31273 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31274 conditions and remove no longer applicable assertion.
31275
9904dc47
L
312762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31277
31278 * bits/byteswap.h: Include <features.h>.
31279 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31280 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31281
f8887d0a
L
312822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31283
31284 * bits/byteswap.h (__bswap_16): Removed.
31285 Include <bits/byteswap-16.h> to get __bswap_16.
31286 * sysdeps/i386/bits/byteswap.h: Likewise.
31287 * sysdeps/s390/bits/byteswap.h: Likewise.
31288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31289 * bits/byteswap-16.h: New file.
31290 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31291 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31292 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31293 * string/Makefile (headers): Add bits/byteswap-16.h.
31294
62470f60
PP
312952012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31296
31297 [BZ #13895]
31298 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31299 extra indirection.
31300 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31301 * nss/tst-nss-static.c: New.
31302
4dad7bab
RM
313032012-04-06 Robert Millan <rmh@gnu.org>
31304
31305 [BZ #6486]
31306 * manual/llio.texi (File Position Primitive): lseek
31307 refers to WHENCE when it really means OFFSET.
31308
e9142a17
AJ
313092012-04-06 Andreas Jaeger <aj@suse.de>
31310
2c040eff
AJ
31311 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31312 strncmp declarations.
31313
e9142a17
AJ
31314 * abilist/libc.abilist: Add __poll and __ppoll.
31315
ff9f1c5f
DM
313162012-04-05 David S. Miller <davem@davemloft.net>
31317
dcd2ae90
DM
31318 * scripts/check-local-headers.sh: Accept a host triplet in the
31319 path matched by the exclude regexp.
31320
993eb054
DM
31321 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31322 definition.
31323 * sysdeps/powerpc/powerpc32/dl-machine.h
31324 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31325 * sysdeps/s390/s390-32/dl-machine.h
31326 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31327 * sysdeps/sparc/sparc32/dl-machine.h
31328 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31329 * sysdeps/sparc/sparc64/dl-machine.h
31330 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31331
ff9f1c5f
DM
31332 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31333 lazy binding.
48e2e132 31334 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31335 undefined symbol errors.
31336
48e2e132 31337 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31338 DT_NEEDED entries.
31339
e80d6f94
MM
313402012-04-05 Michael Matz <matz@suse.de>
31341
31342 [BZ #13592]
31343 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31344
349fa79f
AJ
313452012-04-05 Andreas Jaeger <aj@suse.de>
31346
31347 [BZ #13908]
31348 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31349 comment.
31350
f402708f
KK
313512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31352
31353 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31354 which ROUND is no valid rounding mode.
31355
2ecccfc9
KK
313562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31357
31358 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31359 read again.
31360 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31361
8a53f50f
KK
313622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31363
31364 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31365 an exception using FPU order intentionally.
31366
313672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31368
31369 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31370 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31371 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31372 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31373
d653abb7
SJ
313742012-04-05 Simon Josefsson <simon@josefsson.org>
31375
31376 [BZ #12340]
31377 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31378 EINVAL when BUFLEN is too smal.
31379
c3b1bf7d
TS
313802012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31381
31382 [BZ #13553]
31383 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31384 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31385
b1aa60f3
AJ
313862012-04-03 Andreas Jaeger <aj@suse.de>
31387
c3b1bf7d 31388 [BZ #13938]
67f60a26
AJ
31389 * manual/setjmp.texi (System V contexts): Fix sentence.
31390
b1aa60f3
AJ
31391 [BZ #13926]
31392 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31393 New macro for this case.
31394 [!__GNUC__] (__bswap_64): New inline function for this case.
31395 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31396 * bits/byteswap.h: Likewise.
31397 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31398 ull, guard with __GLIBC_HAVE_LONG_LONG.
31399
31400 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31401 __GLIBC_HAVE_LONG_LONG.
31402
31403 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31404 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31405
39c59c35
TMQMF
314062012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31407
31408 [BZ #13691]
31409 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31410 inptr and inend, rather than using last_ch.
31411
135ffda8
DM
314122012-04-02 David S. Miller <davem@davemloft.net>
31413
31414 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31415 * stdio-common/printf-parse.h (read_int): Change return type to
31416 'int', return -1 on INT_MAX overflow.
31417 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31418 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31419 overflows INT_MAX. Check for overflow of in-format-string precision
31420 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31421 SIZE_MAX not INT_MAX for integer overflow test.
31422 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31423 skip the construct in the format string but do not record anything.
31424 * stdio-common/bug22.c: Adjust to test both width/prevision
31425 INT_MAX overflow as well as total length INT_MAX overflow. Check
31426 explicitly for proper errno values.
31427
228c019e
TS
314282012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31429
302cadd3
TS
31430 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31431 CHAR_MAX.
31432 * string/test-strcmp.c [! WIDE]: Likewise.
31433 * time/tst-mktime2.c: Likewise for INT_MAX.
31434 * string/test-string.h: #include <sys/param.h> for MIN.
31435
228c019e
TS
31436 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31437 * sysdeps/i386/init-first.c (init): Likewise.
31438 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31439 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31440 * sysdeps/sh/init-first.c (init): Likewise.
31441
cfa633f5
UD
314422012-04-01 Ulrich Drepper <drepper@gmail.com>
31443
31444 * po/ru.po: Update from translation team.
d1635ef8 31445 * po/vi.po: Likewise.
cfa633f5 31446
6cd0a5ea
SP
314472012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31448
31449 * resolv/nss_dns/dns-host.c: Merge copyright years.
31450
4b43400f
LD
314512012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31452
31453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31454 Optimize memcpy with prefetch if
31455 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31456 src, dst pointers have unequal 16 byte alignments.
31457
48c41d04
SP
314582012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31459
31460 [BZ #13928]
31461 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31462 from a CNAME entry and return the minimum ttl for the query.
31463 (gaih_getanswer_slice): Likewise.
31464
b8dc394d
JL
314652012-03-30 Jeff Law <law@redhat.com>
31466
31467 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31468 due to long keys.
31469 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31470 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31471
2f5a5ed0
JL
31472 * resolv/nss_dns/dns-host.c: Update copyright year.
31473
1d39e359
UD
314742012-03-30 Ulrich Drepper <drepper@gmail.com>
31475
c030f70c 31476 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31477 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31478
1d39e359
UD
31479 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31480 comments for sendmmsg.
31481
314822012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31483
31484 [BZ #13691]
31485 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31486 with only 1 character between 0x0041 and 0x01b0.
31487 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31488 * wcsmbs/tst-mbsnrtowcs.c: New file.
31489
20fde227
DM
314902012-03-29 David S. Miller <davem@davemloft.net>
31491
31492 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31493 small copies by hand.
31494
984a4237
JL
314952012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31496
31497 [BZ #13761]
31498 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31499 _nss_compat_initgroups_dyn): Fall back to malloc/free
31500 for large group memberships.
31501
18c9d62b
DM
315022012-03-28 David S. Miller <davem@davemloft.net>
31503
88d85d4f
DM
31504 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31505 that branches into memcpy.
31506 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31509 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31511 bits.
31512 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31513 implementation too.
31514 * sysdeps/sparc/mempcpy.S: New file.
31515
e5aa83e1
DM
31516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31517 the IFUNC routine in the libc case.
31518 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31519
88570753
DM
31520 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31521 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31522 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31523 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31524 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31525 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31526 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31527 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31528
249d7567
DM
31529 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31530 loop to 256 bytes instead of 64 bytes and fix test signedness.
31531
18c9d62b
DM
31532 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31533 * sysdeps/sparc/sparc32/Makefile: rather than here...
31534 * sysdeps/sparc/sparc64/Makefile: and here.
31535
05f3d1f6
UD
315362012-03-28 Ulrich Drepper <drepper@gmail.com>
31537
31538 * malloc/mallocbug.c: Avoid warnings about unused variables.
31539
86ae07a8
JL
315402012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31541
31542 [BZ #13760]
31543 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31544 in the right place. Discard and retry query if response is
31545 larger than input buffer size.
31546
41bf21a1
JM
315472012-03-28 Joseph Myers <joseph@codesourcery.com>
31548
d6270972
JM
31549 [BZ #369]
31550 [BZ #2678]
31551 [BZ #3866]
31552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31553 x for large integer exponent.
31554 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31555 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31556 sign of result as needed afterwards.
31557 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31558 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31559 result for underflowing pow the same as for overflow.
31560 (__kernel_standard_l): Handle powl overflow and underflow here
31561 rather than calling __kernel_standard.
31562 * math/libm-test.inc (pow_test): Add more tests.
31563
414fca03 31564 [BZ #3868]
41bf21a1
JM
31565 [BZ #13879]
31566 [BZ #13910]
31567 [BZ #13911]
31568 [BZ #13912]
31569 [BZ #13913]
31570 [BZ #13915]
31571 [BZ #13916]
31572 [BZ #13917]
31573 [BZ #13918]
31574 [BZ #13919]
31575 [BZ #13920]
31576 [BZ #13921]
31577 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31578 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31579 (__kernel_standard_l): New function.
31580 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31581 __kernel_standard.
31582 * math/w_acosl.c (__acosl): Likewise.
31583 * math/w_asinl.c (__asinl): Likewise.
31584 * math/w_atan2l.c (__atan2l): Likewise.
31585 * math/w_atanhl.c (__atanhl): Likewise.
31586 * math/w_coshl.c (__coshl): Likewise.
31587 * math/w_exp10l.c (__exp10l): Likewise.
31588 * math/w_exp2l.c (__exp2l): Likewise.
31589 * math/w_fmodl.c (__fmodl): Likewise.
31590 * math/w_hypotl.c (__hypotl): Likewise.
31591 * math/w_j0l.c (__j0l, __y0l): Likewise.
31592 * math/w_j1l.c (__j1l, __y1l): Likewise.
31593 * math/w_jnl.c (__jnl, __ynl): Likewise.
31594 * math/w_lgammal.c (__lgammal): Likewise.
31595 * math/w_log10l.c (__log10l): Likewise.
31596 * math/w_log2l.c (__log2l): Likewise.
31597 * math/w_logl.c (__logl): Likewise.
31598 * math/w_powl.c (__powl): Likewise.
31599 * math/w_remainderl.c (__remainderl): Likewise.
31600 * math/w_scalbl.c (sysv_scalbl): Likewise.
31601 * math/w_sinhl.c (__sinhl): Likewise.
31602 * math/w_sqrtl.c (__sqrtl): Likewise.
31603 * math/w_tgammal.c (__tgammal): Likewise.
31604 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31605 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31606 * math/libm-test.inc (acos_test): Add more tests.
31607 (acosh_test): Likewise.
31608 (asin_test): Likewise.
31609 (atanh_test): Likewise.
31610 (exp_test): Likewise.
31611 (exp10_test): Likewise.
31612 (exp2_test): Likewise.
31613 (expm1_test): Likewise.
31614 (lgamma_test): Likewise.
31615 (log_test): Likewise.
31616 (log10_test): Likewise.
31617 (log1p_test): Likewise.
31618 (log2_test): Likewise.
31619 (pow_test): Do not allow some spurious overflow exceptions.
31620 (sqrt_test): Add more tests.
31621 (tgamma_test): Likewise.
31622 (y0_test): Likewise.
31623 (y1_test): Likewise.
31624 (yn_test): Likewise.
31625
dd62fda6
AB
316262012-03-27 Anton Blanchard <anton@samba.org>
31627
31628 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31629 MAP_HUGETLB.
31630 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31631 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31633
1e3cdfda
AJ
316342012-03-27 David S. Miller <davem@davemloft.net>
31635
b855ab85
DM
31636 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31637
1e3cdfda
AJ
31638 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31639 have-as-vis3 check.
31640
316412012-03-27 Andreas Jaeger <aj@suse.de>
31642
31643 * sysdeps/x86_64/elf/configure.in: Moved to ...
31644 * sysdeps/x86_64/configure.in: ... here.
31645 * sysdeps/x86_64/elf/start.S: Moved to ...
31646 * sysdeps/x86_64/start.S: ... here.
31647 * sysdeps/x86_64/elf/configure: Delete.
31648
31649 * sysdeps/x86_64/configure.in: Merge contents from
31650 sysdeps/i386/configure.in (without i686 check).
31651
31652 * sysdeps/i386/elf/Versions: Merge into ...
31653 * sysdeps/i386/Versions: ... this.
31654 * sysdeps/i386/elf/Versions: Delete file.
31655 * sysdeps/i386/elf/start.S: Moved to ...
31656 * sysdeps/i386/start.S: ...here.
31657 * sysdeps/i386/elf/configure.in: Merge into...
31658 * sysdeps/i386/configure.in: ...here.
31659 * sysdeps/i386/elf/configure.in: Delete file.
31660 * sysdeps/i386/elf/configure: Delete file.
31661
31662 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31663 * debug/backtracesyms.c: ... here.
31664 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31665 * debug/backtracesymsfd.c: ... here.
31666 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31667 * sysdeps/generic/ifunc-sel.h: ... here.
31668
31669 * sysdeps/unix/i386/start.c: Delete file.
31670 * sysdeps/unix/sparc/start.c: Delete file.
31671 * sysdeps/unix/start.c: Delete file.
31672
31673 * sysdeps/sh/elf/configure.in: Moved to ...
31674 * sysdeps/sh/configure.in: ... here.
31675 * sysdeps/sh/elf/start.S: Moved to ...
31676 * sysdeps/sh/start.S: ... here.
31677 * sysdeps/sh/elf/configure: Delete file.
31678
31679 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31680 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31681 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31682 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31683 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31684 * sysdeps/powerpc/powerpc64/start.S: here.
31685 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31686 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31687 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31688 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31689 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31690
31691 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31692 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31693 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31694 * sysdeps/powerpc/powerpc32/start.S: ... here.
31695 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31696 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31697 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31698
31699 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31700 * sysdeps/powerpc/ifunc-sel.h: ... here.
31701 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31702 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31703
31704 * sysdeps/sparc/elf/configure.in: Moved to ...
31705 * sysdeps/sparc/configure.in: ... here.
31706 * sysdeps/sparc/elf/configure: Delete file.
31707 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31708 * sysdeps/sparc/sparc32/start.S: ... here.
31709 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31710 * sysdeps/sparc/sparc64/start.S: ... here.
31711 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31712 * sysdeps/sparc/sparc32/Makefile: ... this.
31713 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31714 * sysdeps/sparc/sparc64/Makefile: ... this.
31715
31716 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31717 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31718 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31719 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31720 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31721 * sysdeps/s390/s390-32/setjmp.S: ... here.
31722 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31723 * sysdeps/s390/s390-32/configure.in: ... here.
31724 * sysdeps/s390/s390-32/elf/configure: Delete file.
31725 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31726 * sysdeps/s390/s390-32/start.S: ... here.
31727
31728 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31729 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31730 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31731 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31732 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31733 * sysdeps/s390/s390-64/setjmp.S: ... here.
31734 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31735 * sysdeps/s390/s390-64/configure.in: ... here
31736 * sysdeps/s390/s390-64/elf/configure: Delete file.
31737 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31738 * sysdeps/s390/s390-64/start.S: ... here.
31739 * sysdeps/s390/s390-64/elf/configure: Delete.
31740
31741 * configure.in: Remove support for elf directories in sysdeps.
31742
31743 * configure: Regenerated.
31744 * sysdeps/i386/configure: Regenerated.
31745 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31746 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31747 * sysdeps/s390/s390-32/configure: Regenerated.
31748 * sysdeps/s390/s390-64/configure: Regenerated.
31749 * sysdeps/sh/configure: Regenerated.
31750 * sysdeps/sparc/configure: Regenerated.
31751 * sysdeps/x86_64/configure: Regenerated.
31752
a3f61311
AS
317532012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31754
c876e002
AS
31755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31756
a3f61311
AS
31757 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31758 denormal result into account.
31759
ac4c54f0
RM
317602012-03-25 Roland McGrath <roland@hack.frob.com>
31761
31762 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31763 Reported by Allan McRae <allan@archlinux.org>.
31764
6a9b9c02
JL
317652012-03-23 Jeff Law <law@redhat.com>
31766
31767 * nss/getnssent.c (__nss_getent): Fix typo.
31768
4c42a0c1
DM
317692012-03-23 David S. Miller <davem@davemloft.net>
31770
31771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31772
1532c7ac
L
317732012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31774
31775 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31776 to pad to uint64_t for each field.
31777 (dl_tls_index): Replace unsigned long with uint64_t.
31778
3ff42526
PP
317792012-03-23 Daniel Jacobowitz <dmj@google.com>
31780 Paul Pluzhnikov <ppluzhnikov@google.com>
31781
31782 [BZ #6528]
31783 * grp/Makefile (otherlibs): Don't set it.
31784 * inet/Makefile (otherlibs): Likewise.
31785 * login/Makefile (otherlibs): Likewise.
31786 * nscd/Makefile (otherlibs): Likewise.
31787 * posix/Makefile (otherlibs): Likewise.
31788 * pwd/Makefile (otherlibs): Likewise.
31789 * rt/Makefile (otherlibs): Likewise.
31790 * sunrpc/Makefile (otherlibs): Likewise.
31791 * nss/Makefile (otherlibs): Likewise.
31792 Add libnss_files to routines and static-only-routines.
31793 ($(objpfx)getent): Remove rule.
31794 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31795 static-only-routines.
31796
7c69cd14
JM
317972012-03-22 Joseph Myers <joseph@codesourcery.com>
31798
31799 [BZ #13892]
31800 * math/s_cexp.c: Include <float.h>.
31801 (__cexp): Handle exp result overflowing not necessarily
31802 overflowing both real and imaginary parts of result.
31803 * math/s_cexpf.c: Likewise.
31804 * math/s_cexpl.c: Likewise.
31805 * math/libm-test.inc (cexp_test): Add more tests.
31806 * sysdeps/i386/fpu/libm-test-ulps: Update.
31807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31808
81b035fe
L
318092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31810
31811 * include/link.h (ELFW): New macro.
31812 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31813 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31814
1da7940c
L
318152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31816
31817 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31818 with uint64_t.
31819
b749dbb9
L
318202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31821
31822 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31823 declaration.
31824 (struct La_x32_retval): Likewise.
31825
2ff87f3f
L
318262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31827
31828 * sysdeps/x86_64/preconfigure.in: New file.
31829 * sysdeps/x86_64/preconfigure: New generated file.
31830
c0df8e69
JM
318312012-03-22 Joseph Myers <joseph@codesourcery.com>
31832
48e44791
JM
31833 [BZ #13824]
31834 * math/e_exp2l.c: Include <float.h>.
31835 (__ieee754_exp2l): Handle overflow and underflow cases
31836 separately. Only pass fractional part of argument to
31837 __ieee754_expl.
31838 * math/libm-test.inc (exp2_test): Add more tests.
31839
c0df8e69
JM
31840 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31841 negating x to take absolute value.
31842 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31843 Likewise.
31844 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31845 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31846 Likewise.
31847 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31848 computing low part if x was negated.
31849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31850
c8e43ba7
L
318512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31854 la_x32_gnu_pltexit.
31855 (pltexit): Cast int_retval to ptrdiff_t.
31856 * elf/tst-auditmod3b.c: Likewise.
31857 * elf/tst-auditmod4b.c: Likewise.
31858 * elf/tst-auditmod5b.c: Likewise.
31859 * elf/tst-auditmod6b.c: Likewise.
31860 * elf/tst-auditmod6c.c: Likewise.
31861 * elf/tst-auditmod7b.c: Likewise.
31862
31863 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31864 and x32_gnu_pltexit.
31865
31866 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31867 __ELF_NATIVE_CLASS.
31868 (La_x32_regs): New macro.
31869 (La_x32_retval): Likewise.
31870 (la_x32_gnu_pltenter): New function prototype.
31871 (la_x32_gnu_pltexit): Likewise.
31872
7998fa78
AS
318732012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31874
dcb33988
AS
31875 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31876 exponent.
31877
233fc563
AS
31878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31879
7998fa78
AS
31880 * configure.in (libc_cv_cc_nofma): Check for option to disable
31881 generation of FMA instructions.
31882 * configure: Regenerate.
31883 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31884 * sysdeps/ieee754/dbl-64/Makefile: New file.
31885 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31886 Remove brandred-fma4.
31887 (CFLAGS-brandred-fma4.c): Remove.
31888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31890 define.
31891 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31892 define.
31893
8e95c99a
L
318942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31895
31896 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31897 LLONG_MAX != LONG_MAX.
31898 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31899 (_fitoa_word): Likewise.
31900 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31901 LLONG_MAX != LONG_MAX.
31902 * stdio-common/_itowa.h: Include <_itoa.h>.
31903 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31904 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31905 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31906 only if not defined.
31907 (_ITOA_WORD_TYPE): Likewise.
31908 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31909 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31910
6f4db457
DM
319112012-03-21 David S. Miller <davem@davemloft.net>
31912
31913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31914
7785fe5a
L
319152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31916
31917 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31918 of x86_64 when setting libc_cv_slibdir, libdir and
31919 libc_cv_localedir.
31920 * sysdeps/unix/sysv/linux/configure: Regenerated.
31921
4535cd55
JM
319222012-03-21 Joseph Myers <joseph@codesourcery.com>
31923
31924 * manual/lang.texi (Old Varargs): Remove section.
31925 (How Variadic): Update menu.
31926 (va_start): Do not mention varargs.h.
31927
17228132
TS
319282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31929 Joseph Myers <joseph@codesourcery.com>
31930
31931 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31932 link test.
31933 * configure: Regenerated.
31934
8149f976
TS
319352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31936
05f3d1f6
UD
31937 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31938 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31939 conformtest.pl
8149f976 31940
1a4ac776
JM
319412012-03-21 Joseph Myers <joseph@codesourcery.com>
31942
be22ce65
JM
31943 * NOTES: Remove.
31944 * Makefile (files-for-dist): Remove NOTES.
31945 (NOTES): Remove rule.
31946 * README: Don't refer to NOTES.
31947 * manual/creature.texi: Don't include macros.texi.
31948 * manual/intro.texi (creature.texi): Remove comment referring to
31949 NOTES.
31950
40b601fb
JM
31951 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31952 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31953 * configure: Regenerated.
31954 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31955 LIBC_TRY_CC_OPTION.
31956 (libc_cv_as_i686): Likewise.
31957 (libc_cv_cc_avx): Likewise.
31958 (libc_cv_cc_sse2avx): Likewise.
31959 (libc_cv_cc_fma4): Likewise.
31960 (libc_cv_cc_novzeroupper): Likewise.
31961 * sysdeps/i386/configure: Regenerated.
31962
1a4ac776
JM
31963 [BZ #13883]
31964 * sysdeps/i386/fpu/s_cexp.S: Remove.
31965 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31966 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31967 * math/libm-test.inc (cexp_test): Add more tests.
31968 * sysdeps/i386/fpu/libm-test-ulps: Update.
31969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31970
a458e7fe
AM
319712012-03-21 Allan McRae <allan@archlinux.org>
31972
31973 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31974
0cb7efc5
JM
319752012-03-21 Joseph Myers <joseph@codesourcery.com>
31976
31977 [BZ #13871]
31978 * math/w_exp2.c: Do not include <float.h>.
31979 (o_threshold, u_threshold): Remove.
31980 (__exp2): Calculate result before checking finiteness and calling
31981 __kernel_standard.
31982 * math/w_exp2f.c: Likewise.
31983 * math/w_exp2l.c: Likewise.
31984 * math/libm-test.inc (exp2_test): Require overflow exception for
31985 1e6 input.
2460d3aa
JM
31986
31987 [BZ #3866]
31988 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31989 range of signed 64-bit integers before using fistpll. Remove
31990 checks for whether integers fit in mantissa bits.
31991 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31992 the range of signed 32-bit integers before using fistpl. Remove
31993 checks for whether integers fit in mantissa bits.
31994 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31995 (__ieee754_powl): Test for y outside the range of signed 64-bit
31996 integers before using fistpll. Reduce 64-bit values to 63-bit
31997 ones as needed.
31998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31999 divide-by-zero is raised for zero to large negative powers.
32000 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32001 (__ieee754_powl): Test for y outside the range of signed 64-bit
32002 integers before using fistpll. Reduce 64-bit values to 63-bit
32003 ones as needed.
32004 * math/libm-test.inc (pow_test): Add more tests.
32005
eb96ffb0
L
320062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32007
32008 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32009 <stdio-common/_itoa.h>.
32010 * debug/segfault.c: Likewise.
32011 * elf/dl-cache.c: Likewise.
32012 * elf/dl-minimal.c: Likewise.
32013 * elf/dl-misc.c: Likewise.
32014 * elf/dl-sysdep.c: Likewise.
32015 * elf/dl-version.c: Likewise.
32016 * elf/rtld.c: Likewise.
32017 * hurd/hurdsock.c: Likewise.
32018 * hurd/lookup-retry.c: Likewise.
32019 * malloc/malloc.c: Likewise.
32020 * malloc/mtrace.c: Likewise.
32021 * nscd/nscd_getgr_r.c: Likewise.
32022 * nscd/nscd_getpw_r.c: Likewise.
32023 * nscd/nscd_getserv_r.c: Likewise.
32024 * posix/getopt_init.c: Likewise.
32025 * posix/wordexp.c: Likewise.
32026 * stdio-common/_itoa.c: Likewise.
32027 * stdio-common/printf_fphex.c: Likewise.
32028 * stdio-common/vfprintf.c: Likewise.
32029 * string/_strerror.c: Likewise.
32030 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32031 * sysdeps/i386/i686/hp-timing.h: Likewise.
32032 * sysdeps/mach/_strerror.c: Likewise.
32033 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32034 * sysdeps/mach/hurd/sethostid.c: Likewise.
32035 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32036 * sysdeps/mach/xpg-strerror.c: Likewise.
32037 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32038 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32039 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32040 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32041 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32042 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32043 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32044 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32045 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32046 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32047 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32048 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32049 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32050 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32051 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32052 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32053 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32054 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32055 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32056 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32057 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32058
32059 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32060
32061 * stdio-common/_itoa.h: Moved to ...
32062 * sysdeps/generic/_itoa.h: Here.
32063
32064 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32065
32066 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32067 instead of "_itoa.h" and "_itowa.h".
32068 * stdio-common/vfprintf.: Likewise.
32069
d1af992d
L
320702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32071
32072 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32073 <bits/wordsize.h>.
32074 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32075 (__signbit): Likwise.
32076 (llrintf): Likwise.
32077 (llrint): Likwise.
32078
114883e0
L
320792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32080
32081 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32082 __WORDSIZE != 64.
32083
c135cc1b
JM
320842012-03-20 Joseph Myers <joseph@codesourcery.com>
32085
32086 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32087 OVERFLOW_EXCEPTION_OK.
32088 * math/libm-test.inc ("Philosophy"): Update comment about
32089 exception testing.
32090 (OVERFLOW_EXCEPTION): Define.
32091 (OVERFLOW_EXCEPTION_OK): Likewise.
32092 (INVALID_EXCEPTION_OK): Renumber.
32093 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32094 (IGNORE_ZERO_INF_SIGN): Likewise.
32095 (test_exceptions): Handle FE_OVERFLOW.
32096 (exp10_test): Expect overflow exceptions.
32097 (exp2_test): Likewise.
32098 (expm1_test): Likewise.
32099 (nextafter_test): Likewise.
32100 (pow_test): Likewise.
32101 (scalbn_test): Likewise.
32102 (scalbln_test): Likewise.
32103
95443d88
L
321042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32105
32106 * sysdeps/x86_64/bits/atomic.h
32107 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32108 64bit integer.
32109 (atomic_exchange_acq): Likewise.
32110 (__arch_exchange_and_add_body): Likewise.
32111 (__arch_add_body): Likewise.
32112 (atomic_add_negative): Likewise.
32113 (atomic_add_zero): Likewise.
32114
490df6c4
L
321152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32116
c2722551 32117 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32118 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32119
5e52b189
L
321202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32121
32122 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32123 Check __x86_64__ instead of __WORDSIZE.
32124
a9879d4c
L
321252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32126
32127 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32128
5df98260
DM
321292012-03-19 David S. Miller <davem@davemloft.net>
32130
e1497744
DM
32131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32132
5df98260
DM
32133 * sysdeps/sparc/fpu/fenv_private.h: New file.
32134 * sysdeps/sparc/fpu/math_private.h: Use it.
32135 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32136 Remove.
32137 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32138 (libc_feholdexcept_setroundl): Remove.
32139 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32140 Remove.
32141 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32142 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32143
b4c35121
L
321442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32145
32146 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32147 int64_t instead of long int.
32148 (INSERT_WORDS64): Likwise.
32149
56965fd7
L
321502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32151
32152 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32153 _Unwind_GetCFA return to _Unwind_Ptr first.
32154
83d1aec8
JM
321552012-03-19 Joseph Myers <joseph@codesourcery.com>
32156
1897ad44
JM
32157 [BZ #13629]
32158 * math/s_clog.c: Include <float.h>.
32159 (__clog): Scale large or subnormal inputs.
32160 * math/s_clogf.c: Likewise.
32161 * math/s_clogl.c: Likewise.
32162 * math/s_clog10.c: Include <float.h>.
32163 (M_LOG10_2): Define.
32164 (__clog10): Scale large or subnormal inputs.
32165 * math/s_clog10f.c: Likewise.
32166 * math/s_clog10l.c: Likewise.
32167 * math/libm-test.inc (clog_test): Add more tests.
32168 (clog10_test): Likewise.
32169 * sysdeps/i386/fpu/libm-test-ulps: Update.
32170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32171
7726d6a9
JM
32172 [BZ #11451]
32173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32174 x and y.
32175 * math/libm-test.inc (atan2_test): Add another test.
32176
83d1aec8
JM
32177 * Makerules (common-objdir-compile): Remove.
32178 * sysdeps/unix/Makefile (config-generated): Do not add
32179 $(unix-generated) to variable.
32180 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32181 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32182 Remove rule.
32183 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32184 Likewise.
32185 [generic bits/local_lim.h] (before-compile): Do not append to
32186 variable.
32187 [generic bits/local_lim.h] (common-generated): Likewise.
32188 [generic sys/param.h] (before-compile): Do not append to variable.
32189 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32190 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32191 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32192 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32193 include.
32194 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32195 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32196 [generic sys/param.h] ($(addprefix
32197 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32198 [generic sys/param.h] (common-generated): Do not append to
32199 variable.
32200 [generic sys/param.h] (sysdep_headers): Likewise.
32201 [generic bits/errno.h] (before-compile): Do not append to
32202 variable.
32203 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32204 rule.
32205 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32206 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32207 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32208 [generic bits/errno.h] (common-generated): Do not append to
32209 variable.
32210 [generic bits/ioctls.h] (before-compile): Do not append to
32211 variable.
32212 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32213 rule.
32214 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32215 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32216 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32217 rule.
32218 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32219 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32220 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32221 [generic bits/ioctls.h] (common-generated): Do not append to
32222 variable.
32223 [generic sys/syscall.h] (syscall.h): Remove variable.
32224 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32225 rule.
32226 [generic sys/syscall.h] (before-compile): Do not append to
32227 variable.
32228 [generic sys/syscall.h] (common-generated): Likewise.
32229 * sysdeps/unix/errnos-tmpl.c: Remove file.
32230 * sysdeps/unix/errnos.awk: Likewise.
32231 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32232 * sysdeps/unix/ioctls.awk: Likewise.
32233 * sysdeps/unix/mk-local_lim.c: Likewise.
32234 * sysdeps/unix/snarf-ioctls: Likewise.
32235
4851a949
RH
322362012-03-19 Richard Henderson <rth@twiddle.net>
32237
bd37f2ee
RH
32238 * sysdeps/i386/fpu/fenv_private.h: New file.
32239 * sysdeps/i386/fpu/math_private.h: Use it.
32240 (math_opt_barrier, math_force_eval): Remove.
32241 (libc_feholdexcept_setround_53bit): Remove.
32242 (libc_feupdateenv_53bit): Remove.
32243 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32244 (math_opt_barrier, math_force_eval): Remove.
32245 (libc_feholdexcept): Remove.
32246 (libc_feholdexcept_setround): Remove.
32247 (libc_fetestexcept, libc_fesetenv): Remove.
32248 (libc_feupdateenv_test): Remove.
32249 (libc_feupdateenv, libc_feholdsetround): Remove.
32250 (libc_feresetround): Remove.
32251
d0adc922
RH
32252 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32253 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32254
0fe0f1f8
RH
32255 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32256 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32257 (libc_feupdateenv_testl): New.
32258 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32259 (libc_feupdateenv_testf): New.
32260 (libc_feupdateenv): Use libc_feupdateenv_test.
32261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32262 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32263
eb92c487
RH
32264 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32265 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32266 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32267 (libc_feresetround_noex): New.
32268 (libc_feresetround_noexf): New.
32269 (libc_feresetround_noexl): New.
32270 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32271 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32272 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32273 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32274 SET_RESTORE_ROUND.
32275 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32277 (__cos): Likewise.
32278 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32279 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32280 SET_RESTORE_ROUND_NOEX.
32281 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32282 SET_RESTORE_ROUND_NOEXF.
32283 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32284 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32285 (libc_feholdsetroundf): New.
32286 (libc_feresetround, libc_feresetroundf): New.
32287
7d2e8012
RH
32288 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32289 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32290 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32291
b4dabbb4
RH
32292 * sysdeps/generic/math_private.h: Include <fenv.h>.
32293 (default_libc_feholdexcept): New.
32294 (default_libc_feholdexcept_setround): New.
32295 (default_libc_fesetenv, default_libc_feupdateenv): New.
32296 (libc_feholdexcept): Only define if undefined.
32297 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32298 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32299 (libc_feholdexcept_setroundl): Likewise.
32300 (libc_feholdexcept_setround_53bit): Likewise.
32301 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32302 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32303 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32304 (libc_feupdateenv_53bit): Likewise.
32305 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32306 (libc_feholdexcept): Convert from macro to inline function.
32307 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32308 (libc_fesetenv, libc_feupdateenv): Likewise.
32309
4851a949
RH
32310 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32311 not previously defined.
32312 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32313 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32314 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32315 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32316 * sysdeps/ieee754/flt-32/math_private.h: New file.
32317 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32318 math_private.h below SET_FLOAT_WORD.
32319 (__isnan, __isinf_ns, __finite): Remove.
32320 (__isnanf, __isinf_nsf, __finitef): Remove.
32321
e79d442e
AS
323222012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32323
32324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32325
90b80344
DM
323262012-03-17 David S. Miller <davem@davemloft.net>
32327
32328 [BZ #6471]
32329 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32330 for 2.16.
32331
edc21804
DM
323322012-03-16 David S. Miller <davem@davemloft.net>
32333
77e927af
DM
32334 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32335 warnings.
32336
374976dd
DM
32337 [BZ #6471]
32338 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32339 properly.
32340 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32341 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32342 sysdep_routines when subdir is sysvipc.
32343 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32344 __getshmlba helper.
32345
edc21804
DM
32346 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32347
473c3ef3
L
323482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32349
32350 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32351 [__LP64__].
32352
eb0f39b6
L
323532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32354
32355 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32356 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32357 (__lround): Renamed to ...
32358 (__llround): This. Replace long int with long long int.
32359 Define lround functions as aliases of llround functions.
32360 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32361
6b6cd74b
L
323622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32363
32364 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32365 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32366 adresses to uintptr_t. Replace "long int" and "unsigned long
32367 int" with "greg_t" on va_arg.
32368
f1a77b01
L
323692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32370
32371 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32372 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32373
32374 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32375 Move e_machine check before EI_CLASS check. Handle x32
32376 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32377 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32378 SKIP_EM_IA_64 and include
32379 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32380
32381 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32382 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32383 (add_system_dir): New macro.
32384
32385 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32386 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32387
11b90b9f
JM
323882012-03-16 Joseph Myers <joseph@codesourcery.com>
32389
c36e1d23
JM
32390 [BZ #2551]
32391 [BZ #2552]
32392 [BZ #2553]
32393 [BZ #2554]
32394 [BZ #2562]
32395 [BZ #2563]
32396 [BZ #2565]
32397 [BZ #2566]
32398 [BZ #2576]
32399 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32400 (y0): Likewise.
32401 * math/w_j0f.c (j0f): Likewise.
32402 (y0f): Likewise.
32403 * math/w_j0l.c (__j0l): Likewise.
32404 (__y0l): Likewise.
32405 * math/w_j1.c (j1): Likewise.
32406 (y1): Likewise.
32407 * math/w_j1f.c (j1f): Likewise.
32408 (y1f): Likewise.
32409 * math/w_j1l.c (__j1l): Likewise.
32410 (__y1l): Likewise.
32411 * math/w_jn.c (jn): Likewise.
32412 (yn): Likewise.
32413 * math/w_jnf.c (jnf): Likewise.
32414 (ynf): Likewise.
32415 * math/w_jnl.c (__jnl): Likewise.
32416 (__ynl): Likewise.
32417 * math/libm-test.inc (j0_test): Add more tests.
32418 (j1_test): Likewise.
32419 (jn_test): Likewise. Add trailing semicolon to existing test.
32420 (y0_test): Likewise.
32421 (y1_test): Likewise.
32422 * sysdeps/i386/fpu/libm-test-ulps: Update.
32423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32424
11b90b9f
JM
32425 [BZ #13851]
32426 [BZ #13854]
32427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32428 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32429 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32430 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32431 (__tanl): Set errno for infinite argument.
32432 * sysdeps/i386/fpu/mptan.c: Remove.
32433 * sysdeps/i386/fpu/s_tan.S: Likewise.
32434 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32435 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32436 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32437 * math/libm-test.inc (tan_test): Add more tests and enable more
32438 tests for double and long double.
32439 * sysdeps/i386/fpu/libm-test-ulps: Update.
32440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32441
6a1bd2a1
JK
324422012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32443
32444 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32445 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32446
10a803e0
RM
324472012-03-16 Roland McGrath <roland@hack.frob.com>
32448
32449 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32450 * configure.in: Use it for both main tree and add-ons.
32451 * configure: Regenerated.
32452
f196c7f7
L
324532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32454
32455 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32456
8848d99d
JM
324572012-03-16 Joseph Myers <joseph@codesourcery.com>
32458
96cbe7f4
JM
32459 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32460 in comment.
32461
8848d99d
JM
32462 [BZ #13851]
32463 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32464 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32465 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32466 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32467 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32468 infinite argument.
32469 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32471 != 0 for prec == 2.
32472 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32473 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32474 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32475 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32476 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32477 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32478 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32479 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32480 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32481 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32482 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32483 * math/libm-test.inc (cos_test): Add more tests and enable more
32484 tests for long double.
32485 (sin_test): Likewise.
32486 (sincos_test): Likewise.
32487 * sysdeps/i386/fpu/libm-test-ulps: Update.
32488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32489
dd7f4703
DM
324902012-03-16 David S. Miller <davem@davemloft.net>
32491
32492 * sysdeps/sparc/fpu/math_private.h: New file.
32493
006f1daa
DM
324942012-03-15 David S. Miller <davem@davemloft.net>
32495
c0c83bc8
DM
32496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32497 file.
e6a62e18 32498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32500 file.
e6a62e18
DM
32501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32506 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32507 sysdep routines.
32508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32509
88cb87d9
DM
32510 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32511 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32512
006f1daa 32513 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32515 sparc-ifunc.h
006f1daa 32516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32518 Likewise.
32519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32520 Likewise.
006f1daa
DM
32521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32525 Likewise.
006f1daa
DM
32526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32531 Likewise.
32532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32533 Likewise.
006f1daa
DM
32534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32555 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32557 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32558
11e0098e
AS
325592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32560
32561 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32562 scaling.
32563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32564
e85b09d0
AJ
325652012-03-15 Andreas Jaeger <aj@suse.de>
32566
32567 [BZ #13852]
32568 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32569 ieee754/flt-32 implementation for sin, cos and sincos.
32570 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32571 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32572 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32573 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32574 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32575 ieee754/flt-32 implementation for tan.
32576
32577 * math/libm-test.inc (cos_test): Enable some large input tests for
32578 float as well
32579 (sin_test): Likewise.
32580 (sincos_test): Likewise.
32581 (tan_test): Add tests for large input.
32582
32583 * sysdeps/i386/fpu/libm-test-ulps: Update.
32584
81c64153
AJ
325852012-03-15 Andreas Jaeger <aj@suse.de>
32586
32587 [BZ #13658]
32588 * math/libm-test.inc (cos_test): Add more test cases.
32589 (sin_test): Likewise.
32590 (sincos_test): Likewise.
32591
7bbfa5c6
AJ
325922012-03-15 Andreas Jaeger <aj@suse.de>
32593
32594 [BZ #13837]
32595 * math/libm-test.inc (cos_test): Add a test case for large input
32596 value.
32597 (sin_test): Likewise.
32598 (sincos_test): Likewise.
32599
326002012-03-15 Andreas Jaeger <aj@suse.de>,
32601 Joseph Myers <joseph@codesourcery.com>
32602
32603 [BZ #13658]
0671f479 32604 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32605 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32606 * sysdeps/i386/fpu/branred.c: Likewise.
32607 * sysdeps/i386/fpu/dosincos.c: Likewise.
32608 * sysdeps/i386/fpu/mpa.c: Likewise.
32609 * sysdeps/i386/fpu/s_cos.S: Likewise.
32610 * sysdeps/i386/fpu/s_sin.S: Likewise.
32611 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32612 * sysdeps/i386/fpu/sincos32.c: Likewise.
32613
32614 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32615 Define.
32616 (libc_feupdateenv_53bit): Define.
32617 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32618 Define.
32619 (libc_feupdateenv_53bit): Define.
32620
32621 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32622 53 bit (without extend i386 double precision).
32623
32624 * math/libm-test.inc (sincos_test): Add tests for large input.
32625 (sin): Likewise.
32626 (cos): Likewise.
32627
32628 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32629
9cad04ea
AS
326302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32631
32632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32633
f7062b9a
DM
326342012-03-15 David S. Miller <davem@davemloft.net>
32635
32636 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32637 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32638 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32639 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32652 file.
f7062b9a 32653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32655 file.
f7062b9a 32656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32658 file.
f7062b9a 32659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32661 file.
f7062b9a
DM
32662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32663 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32664 fmin/fmax sysdep routines.
32665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32666
7bd951ff
DM
326672012-03-14 David S. Miller <davem@davemloft.net>
32668
559398ab
DM
32669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32673 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32674 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32698 routines.
32699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32700 file.
559398ab 32701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32703 file.
559398ab 32704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32706 file.
559398ab 32707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32709 file.
559398ab 32710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32712 file.
559398ab 32713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32715 file.
32716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32717 file.
32718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32719 file.
32720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32721 file.
32722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32723 New file.
32724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32725 file.
32726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32727 file.
559398ab 32728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32730 file.
559398ab 32731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32733 file.
559398ab 32734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32736 file.
559398ab 32737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32739 VIS3 routines.
559398ab
DM
32740
32741 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32742 New file.
32743
5a1c1e32
DM
32744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32745
eae47a36
DM
32746 * sysdeps/sparc/configure.in: New file.
32747 * sysdeps/sparc/configure: Generate.
32748 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32749 * configure: Regenerate.
32750 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32751 * config.make.in (have-as-vis3): New.
32752 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32753 available use -Av9d instead of -Av9a.
32754 * sysdeps/sparc/sparc64/Makefile: Likewise.
32755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32757 New file.
32758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32759 file.
32760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32761 New file.
32762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32763 file.
eae47a36
DM
32764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32765 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32766 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32769
c0c83bc8
DM
32770 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32771 fzeros/fnegs to load 0x80000000 into a float register instead of
32772 using the stack.
7bd951ff
DM
32773 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32774
bd951ccb
JM
327752012-03-14 Joseph Myers <joseph@codesourcery.com>
32776
32777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32778 bits/syscall.h.
32779 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32780 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32781 ($(inst_includedir)/bits/syscall.h): Remove rule.
32782 ($(objpfx)bits/syscall.d): Include instead of
32783 $(objpfx)syscall-list.d.
32784 (generated): Change syscall-list.h and syscall-list.d to
32785 bits/syscall.h and bits/syscall.d.
32786
bb4e6db2
RM
327872012-03-14 Roland McGrath <roland@hack.frob.com>
32788
32789 [BZ #13846]
32790 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32791
aa4a2ae1
JM
327922012-03-14 Joseph Myers <joseph@codesourcery.com>
32793
e456826d
JM
32794 [BZ #13841]
32795 * math/s_csqrt.c: Include <float.h>.
32796 (__csqrt): Scale large or subnormal inputs.
32797 * math/s_csqrtf.c: Likewise.
32798 * math/s_csqrtl.c: Likewise.
32799 * math/libm-test.inc (csqrt_test): Add more tests.
32800 * sysdeps/i386/fpu/libm-test-ulps: Update.
32801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32802
aa4a2ae1
JM
32803 [BZ #13840]
32804 * math/libm-test.inc (hypot_test): Add more tests.
32805
7c10fd35
DM
328062012-03-13 David S. Miller <davem@davemloft.net>
32807
32808 [BZ #13840]
32809 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32810 double-precision for the calculation instead of scaling.
32811
f453b98b
JM
328122012-03-13 Joseph Myers <joseph@codesourcery.com>
32813
32814 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32815 manipulate bits before adding and subtracting TWO52[sx].
32816 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32817 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32818 Likewise.
32819 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32820
09a3453f
DM
328212012-03-13 David S. Miller <davem@davemloft.net>
32822
8e59da90
DM
32823 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32824 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32826 rtld-global-offsets.h
32827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32828
2a8ab7f2
DM
32829 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32830 large parameters.
32831
10f62770
DM
32832 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32833
5f0bdb18
DM
32834 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32835 'err' in the ifdef scope in which it is actually used.
32836
09a3453f
DM
32837 * nss/nss_db/db-init.c: Include string.h
32838
b4b2eb5e
DM
328392012-03-12 David S. Miller <davem@davemloft.net>
32840
98bb2f1c
DM
32841 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32842 masking out of the most significant byte of random value used.
32843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32844 Fix coding style in previous change.
32845
b4b2eb5e
DM
32846 * sysdeps/unix/sysv/linux/kernel-features.h
32847 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32848 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32849 expression.
32850 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32851 later.
32852
6e226b09
DM
328532012-03-11 David S. Miller <davem@davemloft.net>
32854
a1bcbd40
DM
32855 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32856 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32857 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32858 for 'resultvar' otherwise things get truncated on 64-bit.
32859
cb9d6174
DM
32860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32861 Fix masking out of the most significant byte of random value used.
32862
6e226b09
DM
32863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32864
058c132d
AS
328652012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32866
32867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32868
2d2cd515
DM
328692012-03-09 David S. Miller <davem@davemloft.net>
32870
32871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32872 variables with appropriate CPP guards.
32873 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32874 frame pointer, not the stack pointer. Correct layout comments. Fix test
32875 on resulting framesize and the management of the outregs buffer for pltexit.
32876 Preserve floating point return values across _dl_call_pltexit call.
32877 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32878 framesize and the management of the outregs buffer for pltexit.
32879 Preserve floating point return values across _dl_call_pltexit
32880 call.
32881 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32882 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32883 (print_exit): Fix format string for return register value.
32884
9a07f9d0
JM
328852012-03-10 Joseph Myers <joseph@codesourcery.com>
32886
32887 * sunrpc/Makefile (others): Add rpcgen.
32888 ($(objpfx)rpcgen): Remove special build rule and dependency on
32889 libc.
32890 * sunrpc/rpcgen.c: New file.
32891
547b5e30
PE
328922012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32893
c524201a
PE
32894 [BZ #13673]
32895 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32896 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32897 * sysdeps/i386/crti.S: Likewise.
32898 * sysdeps/i386/crtn.S: Likewise.
32899 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32900 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32901 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32902 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32903 * sysdeps/sh/crti.S: Likewise.
32904 * sysdeps/sh/crtn.S: Likewise.
32905 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32906
7b6235f2
PE
32907 [BZ #13673]
32908 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32909 with URL.
32910 * locale/programs/locfile-kw.gperf: Likewise.
32911 * locale/programs/charmap-kw.h: Regenerated.
32912 * locale/programs/locfile-kw.h: Likewise.
32913
547b5e30
PE
32914 [BZ #13673]
32915 * intl/plural.y: Replace FSF snail mail address with URL.
32916 * intl/plural.c: Regenerated.
32917
5f0a5dae
RH
329182012-03-09 Richard Henderson <rth@twiddle.net>
32919
32920 * include/math_private.h: Remove file.
32921 * math/math_private.h: Move file ...
32922 * sysdeps/generic/math_private.h: ... here.
32923
b8c03620
RH
32924 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32925 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32926 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32927
4e234f5d 32928 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32929 and <math_private.h>.
32930 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32931 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32932 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32933 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32934 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32935 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32936 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32938 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32939 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32941 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32944 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32945 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32946 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32947 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32949 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32951 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32968 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32969 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32970 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32971 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32975 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32978 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32979 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32980 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33018 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33019 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33020 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33021 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33023 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33026 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33027 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33028 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33029 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33030 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33031 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33032 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33033 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33034 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33035 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33036 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33037 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33038 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33040 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33041 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33042 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33043 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33044 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33045 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33046 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33047 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33048 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33049 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33050 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33051 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33052 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33053 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33054 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33055 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33057 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33058 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33059 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33060 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33061 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33062 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33063 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33064 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33065 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33066 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33067 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33068 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33069 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33070 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33071 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33072 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33073 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33074 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33076 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33077 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33079 * sysdeps/ieee754/k_standard.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33195 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33199 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33200 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33207 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33212 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33229 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33230 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33240 * sysdeps/ieee754/s_lib_version.c: Likewise.
33241 * sysdeps/ieee754/s_matherr.c: Likewise.
33242 * sysdeps/ieee754/s_signgam.c: Likewise.
33243 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33244 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33245 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33246 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33247 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33248 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33249 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33250 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33251 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33252 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33253 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33254 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33255 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33256 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33257 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33258 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33259 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33260 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33261 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33262 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33264
1991fa03
JM
332652012-03-09 Joseph Myers <joseph@codesourcery.com>
33266
33267 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33268 * sunrpc/rpc_main.c: Likewise.
33269 * sunrpc/rpc_svcout.c: Likewise.
33270
60d6f5a6
DM
332712012-03-09 David S. Miller <davem@davemloft.net>
33272
33273 * include/math_private.h: New file.
33274
4962050e
JM
332752012-03-09 Joseph Myers <joseph@codesourcery.com>
33276
02a6f887
JM
33277 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33278 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33279 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33280 from <bits/socket_type.h>.
33281 (enum __socket_type): Don't define here.
33282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33284 bits/socket_type.h.
33285
c6e013c1
JM
33286 [BZ #13566]
33287 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33288 checking __USE_GNU.
33289
4962050e
JM
33290 * Makerules ($(inst_includedir)/%.h): New rule.
33291 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33292 (install-others): Remove variable setting.
33293 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33294
38842f45
RH
332952012-03-08 Richard Henderson <rth@twiddle.net>
33296
67bb6da6
RH
33297 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33298 from macro to inline function; merge with the
33299 !__LIBC_INTERNAL_MATH_INLINES version.
33300 (__ieee754_sqrtf): Likewise.
33301
15194b4b
RH
33302 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33303 to inline function.
33304 (__rintf, __floor, __floorf): Likewise.
33305
64e21ede
RH
33306 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33307 macro to inline function.
33308 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33309
38842f45
RH
33310 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33311 not <math/math_private.h>.
33312
c64bf5fe
DM
333132012-03-08 David S. Miller <davem@davemloft.net>
33314
33315 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33316 copyright year.
33317 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33318
82d86f28
TS
333192012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33320
33321 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33322 normalization.
33323 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33324 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33325
aea5d727
UD
333262012-03-08 Ulrich Drepper <drepper@gmail.com>
33327
33328 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33329 be defined individually, they must be defined as a block. Define
33330 S for printing a string instead of hidint the different by using a
33331 macro for adding the 'l'.
33332 * stdio-common/tst-fphex-wide.c: Adjust.
33333
70bca0a3
MP
333342012-03-07 Marek Polacek <polacek@redhat.com>
33335
33336 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33337
65b81130
MP
333382012-03-08 Marek Polacek <polacek@redhat.com>
33339
33340 [BZ #13806]
33341 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33342 * stdio-common/tst-fphex.c: Define a few macros to make the
33343 test reusable. Use them.
33344 * stdio-common/tst-fphex-wide.c: New file.
33345
07037eeb
JM
333462012-03-08 Joseph Myers <joseph@codesourcery.com>
33347
a7a93d50
JM
33348 [BZ #6911]
33349 * manual/macros.texi (gnusystems): New macro.
33350 (nongnusystems): Likewise.
33351 (gnulinuxhurdsystems): Likewise.
33352 (gnuhurdsystems): Likewise..
33353 (gnulinuxsystems): Likewise.
33354 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33355 variants of the GNU system, not "GNU system".
33356 * manual/conf.texi: Likewise.
33357 * manual/errno.texi: Likewise. Update example of errno macro
33358 expansion.
33359 * manual/filesys.texi: Likewise.
33360 (getumask): Document as specific to GNU/Hurd.
33361 * manual/install.texi: Likewise. Reword some references to
33362 GNU/Linux.
33363 * manual/intro.texi: Likewise.
33364 * manual/io.texi: Likewise.
33365 (File Name Portability): Detail which constraints are inapplicable
33366 to all GNU systems and which are only inapplicable to GNU/Hurd.
33367 * manual/job.texi: Likewise.
33368 * manual/llio.texi: Likewise.
33369 (O_NOCTTY): Document as present on GNU/Linux.
33370 * manual/maint.texi: Likewise.
33371 * manual/memory.texi: Likewise.
33372 * manual/pattern.texi: Likewise.
33373 * manual/pipe.texi: Likewise.
33374 * manual/process.texi: Likewise.
33375 * manual/resource.texi: Likewise.
33376 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33377 child on GNU/Hurd.
33378 * manual/setjmp.texi: Likewise.
33379 * manual/signal.texi: Likewise.
33380 * manual/startup.texi: Likewise.
33381 * manual/stdio.texi: Likewise.
33382 * manual/terminal.texi: Likewise.
33383 (ONLCR): Document as POSIX.
33384 (OXTABS): Document availability on GNU/Linux as XTABS.
33385 (ONOEOT): Document availability separately from other bits.
33386 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33387 * manual/time.texi: Likewise.
33388 * manual/users.texi: Likewise.
33389 * INSTALL: Regenerated.
33390 * sysdeps/gnu/errlist.c: Regenerated.
33391
07037eeb
JM
33392 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33393 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33394 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33395 puts.
33396 * configure: Regenerated.
33397
d1d3431a
JM
333982012-03-07 Joseph Myers <joseph@codesourcery.com>
33399
af6a1e37
JM
33400 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33401 default includes instead of AC_HEADER_CHECK.
33402 * sysdeps/i386/configure: Regenerated.
33403
d1d3431a
JM
33404 [BZ #10716]
33405 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33406 * math/s_cacoshf.c (__cacoshf): Likewise.
33407 * math/s_cacoshl.c (__cacoshl): Likewise.
33408 * math/s_casinh.c (__casinh): Set signs of result from argument.
33409 * math/s_casinhf.c (__casinhf): Likewise.
33410 * math/s_casinhl.c (__casinhl): Likewise.
33411 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33412 (casinh_test): Add more tests.
33413 * sysdeps/i386/fpu/libm-test-ulps: Update.
33414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33415
482ff4da
UD
334162012-03-07 Ulrich Drepper <drepper@gmail.com>
33417
872fda05
UD
33418 * po/zh_TW.po: Update from translation team.
33419
a4300c7a
UD
33420 * login/Makefile (distribute): Remove variable.
33421 * catgets/Makefile: Likewise.
33422 * mach/Makefile: Likewise.
33423 * malloc/Makefile: Likewise.
33424 * misc/Makefile: Likewise.
33425 * iconv/Makefile: Likewise.
33426 * nscd/Makefile: Likewise.
33427 * hurd/Makefile: Likewise.
33428 * manual/Makefile: Likewise.
33429 * locale/Makefile: Likewise.
33430 * intl/Makefile: Likewise.
33431 * conform/Makefile: Likewise.
33432 * nss/Makefile: Likewise.
33433 * time/Makefile: Likewise.
33434 * soft-fp/Makefile: Likewise.
33435 * dirent/Makefile: Likewise.
33436 * gmon/Makefile: Likewise.
33437 * po/Makefile: Likewise.
33438 * rt/Makefile: Likewise.
33439 * socket/Makefile: Likewise.
33440 * math/Makefile: Likewise.
33441 * signal/Makefile: Likewise.
33442 * debug/Makefile: Likewise.
33443 * elf/Makefile: Likewise.
33444 * timezone/Makefile: Likewise.
33445 * stdlib/Makefile: Likewise.
33446 * iconvdata/Makefile: Likewise.
33447 * sunrpc/Makefile: Likewise.
33448 * io/Makefile: Likewise.
33449 * argp/Makefile: Likewise.
33450 * inet/Makefile: Likewise.
33451 * hesiod/Makefile: Likewise.
33452 * grp/Makefile: Likewise.
33453 * csu/Makefile: Likewise.
33454 * wctype/Makefile: Likewise.
33455 * crypt/Makefile: Likewise.
33456 * libio/Makefile: Likewise.
33457 * string/Makefile: Likewise.
33458 * nis/Makefile: Likewise.
33459 * resolv/Makefile: Likewise.
33460 * stdio-common/Makefile: Likewise.
33461 * wcsmbs/Makefile: Likewise.
33462 * dlfcn/Makefile: Likewise.
33463 * posix/Makefile: Likewise.
33464
3b7c4e74 33465 [BZ #6959]
482ff4da
UD
33466 * timezone/Makefile: Don't install timezone files, just the programs
33467 and scripts.
33468
f72ed77d
UD
334692012-03-06 Ulrich Drepper <drepper@gmail.com>
33470
a000466f
UD
33471 * nss/databases.def: Add missing gshadow entry.
33472
f72ed77d
UD
33473 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33474
a53b7a4e
MP
334752012-03-06 Marek Polacek <polacek@redhat.com>
33476
33477 [BZ #13726]
33478 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33479 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33480 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33481 * stdio-common/tst-long-dbl-fphex.c: New file.
33482
e9258400
DM
334832012-03-06 David S. Miller <davem@davemloft.net>
33484
33485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33486 (set_obp_int): New function.
33487 (get_obp_int): New function.
33488 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33490 Avoid unused variable warnings on 'val' and use builtin_expect.
33491 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33492 __builtin_expect.
e9258400
DM
33493 (INLINE_CLONE_SYSCALL): Likewise.
33494
3bd2c723
DM
334952012-03-05 David S. Miller <davem@davemloft.net>
33496
33497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33498
bbb78d03
AS
334992012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33500
884c5db4
AS
33501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33502
bbb78d03
AS
33503 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33504 only for |x| >= 40.
33505 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33506
1c9f702a 335072012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33508
33509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33510 Replace gettimeofday with __vdso_gettimeofday.
33511
7be16f82
RM
33512 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33513 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33514 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33515
33516 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33517 time with __vdso_time.
33518
ed58a00f
JM
335192012-03-05 Joseph Myers <joseph@codesourcery.com>
33520
33521 * manual/lang.texi (size_t): Note types to which size_t may be
33522 equivalent with the GNU C Library, but do not describe when
33523 differences between them are significant.
33524
30ee4ced
AJ
335252012-03-05 Andreas Jaeger <aj@suse.de>
33526
33527 * sysdeps/i386/fpu/libm-test-ulps: Update.
33528
b7cd39e8
JM
335292012-03-05 Joseph Myers <joseph@codesourcery.com>
33530
33531 [BZ #3976]
33532 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33533 (__ieee754_pow): Save and restore rounding mode and use
33534 round-to-nearest for main computations.
33535 * math/libm-test.inc (pow_test_tonearest): New function.
33536 (pow_test_towardzero): Likewise.
33537 (pow_test_downward): Likewise.
33538 (pow_test_upward): Likewise.
33539 (main): Call the new functions.
33540 * sysdeps/i386/fpu/libm-test-ulps: Update.
33541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33542
33543 [BZ #3976]
33544 * math/libm-test.inc (cosh_test_tonearest): New function.
33545 (cosh_test_towardzero): Likewise.
33546 (cosh_test_downward): Likewise.
33547 (cosh_test_upward): Likewise.
33548 (sinh_test_tonearest): Likewise.
33549 (sinh_test_towardzero): Likewise.
33550 (sinh_test_downward): Likewise.
33551 (sinh_test_upward): Likewise.
33552 (main): Call the new functions.
33553 * sysdeps/i386/fpu/libm-test-ulps: Update.
33554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33555
6c6a98c9
TV
335562012-03-05 Tom de Vries <tom@codesourcery.com>
33557
33558 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33559 default stack guard is set in last bytes.
33560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33561
21bb2d2e 335622012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33563
21bb2d2e 33564 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33565
21bb2d2e
AJ
33566 [BZ #13656]
33567 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33568 possibly allocate from heap instead of stack.
33569 * stdio-common/bug-vfprintf-nargs.c: New file.
33570 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33571
c6922934
AS
335722012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33573
33574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33575
bc957d53
MP
335762012-03-03 Marek Polacek <polacek@redhat.com>
33577
33578 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33579 * math/math_private.h: Likewise.
33580 * stdlib/tst-strtod.c: Likewise.
33581 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33582 * sysdeps/x86_64/bits/atomic.h: Likewise.
33583
6358490d
DM
335842012-03-02 David S. Miller <davem@davemloft.net>
33585
33586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33590 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33591 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33592 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33593 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33594
01ae168d
RM
335952012-03-02 Roland McGrath <roland@hack.frob.com>
33596
d9a17c07
RM
33597 [BZ #13792]
33598 * manual/examples/README: New file, says the example source files
33599 can be used under GPL>=2.
33600 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33601 line containing just "*/".
33602 * manual/examples/add.c: Add copyright header (GPL>=2).
33603 * manual/examples/argp-ex1.c: Likewise.
33604 * manual/examples/argp-ex2.c: Likewise.
33605 * manual/examples/argp-ex3.c: Likewise.
33606 * manual/examples/argp-ex4.c: Likewise.
33607 * manual/examples/atexit.c: Likewise.
33608 * manual/examples/db.c: Likewise.
33609 * manual/examples/dir.c: Likewise.
33610 * manual/examples/dir2.c: Likewise.
33611 * manual/examples/execinfo.c: Likewise.
33612 * manual/examples/filecli.c: Likewise.
33613 * manual/examples/filesrv.c: Likewise.
33614 * manual/examples/fmtmsgexpl.c: Likewise.
33615 * manual/examples/genpass.c: Likewise.
33616 * manual/examples/inetcli.c: Likewise.
33617 * manual/examples/inetsrv.c: Likewise.
33618 * manual/examples/isockad.c: Likewise.
33619 * manual/examples/longopt.c: Likewise.
33620 * manual/examples/memopen.c: Likewise.
33621 * manual/examples/memstrm.c: Likewise.
33622 * manual/examples/mkfsock.c: Likewise.
33623 * manual/examples/mkisock.c: Likewise.
33624 * manual/examples/mygetpass.c: Likewise.
33625 * manual/examples/pipe.c: Likewise.
33626 * manual/examples/popen.c: Likewise.
33627 * manual/examples/rprintf.c: Likewise.
33628 * manual/examples/search.c: Likewise.
33629 * manual/examples/select.c: Likewise.
33630 * manual/examples/setjmp.c: Likewise.
33631 * manual/examples/sigh1.c: Likewise.
33632 * manual/examples/sigusr.c: Likewise.
33633 * manual/examples/stpcpy.c: Likewise.
33634 * manual/examples/strdupa.c: Likewise.
33635 * manual/examples/strftim.c: Likewise.
33636 * manual/examples/strncat.c: Likewise.
33637 * manual/examples/subopt.c: Likewise.
33638 * manual/examples/swapcontext.c: Likewise.
33639 * manual/examples/termios.c: Likewise.
33640 * manual/examples/testopt.c: Likewise.
33641 * manual/examples/testpass.c: Likewise.
33642 * manual/examples/timeval_subtract.c: Likewise.
33643
01ae168d
RM
33644 [BZ #13792]
33645 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33646 function to ...
33647 * manual/timeval_subtract.c.texi: ... here, new file.
33648
49efa33d
DM
336492012-03-02 David S. Miller <davem@davemloft.net>
33650
33651 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33652
28afd92d
JM
336532012-03-02 Joseph Myers <joseph@codesourcery.com>
33654
804360ed
JM
33655 [BZ #3976]
33656 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33657 (__sin): Save and restore rounding mode and use round-to-nearest
33658 for all computations.
33659 (__cos): Save and restore rounding mode and use round-to-nearest
33660 for all computations.
33661 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33662 <fenv.h>.
33663 (tan): Save and restore rounding mode and use round-to-nearest for
33664 all computations.
33665 * math/libm-test.inc (cos_test_tonearest): New function.
33666 (cos_test_towardzero): Likewise.
33667 (cos_test_downward): Likewise.
33668 (cos_test_upward): Likewise.
33669 (sin_test_tonearest): Likewise.
33670 (sin_test_towardzero): Likewise.
33671 (sin_test_downward): Likewise.
33672 (sin_test_upward): Likewise.
33673 (tan_test_tonearest): Likewise.
33674 (tan_test_towardzero): Likewise.
33675 (tan_test_downward): Likewise.
33676 (tan_test_upward): Likewise.
33677 (main): Call the new functions.
33678 * sysdeps/i386/fpu/libm-test-ulps: Update.
33679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33680
a6d06d7b
JM
33681 [BZ #10135]
33682 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33683 small n, then large n, before computing and testing k+n.
33684 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33686 Likewise.
33687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33688 Likewise.
33689 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33690 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33691 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33692 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33693 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33694 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33695 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33696 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33697 * math/libm-test.inc (scalbn_test): Add more tests.
33698 (scalbln_test): Likewise.
33699
07e12bb3
JM
33700 * manual/filesys.texi (mode_t): Describe constraints on size and
33701 signedness, not exact equivalence to a particular type.
33702 (ino_t): Likewise.
33703 (ino64_t): Likewise.
33704 (dev_t): Likewise.
33705 (nlink_t): Likewise.
33706 (blkcnt_t): Likewise.
33707 (blkcnt64_t): Likewise.
33708 * manual/llio.texi (off_t): Likewise.
33709
28afd92d
JM
33710 [BZ #3976]
33711 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33712 (__ieee754_exp): Save and restore rounding mode and use
33713 round-to-nearest for all computations.
33714 * math/libm-test.inc (exp_test_tonearest): New function.
33715 (exp_test_towardzero): Likewise.
33716 (exp_test_downward): Likewise.
33717 (exp_test_upward): Likewise.
33718 (main): Call the new functions.
33719 * sysdeps/i386/fpu/libm-test-ulps: Update.
33720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33721
b1eeb65d
CD
337222012-03-01 Chris Demetriou <cgd@google.com>
33723
33724 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33725 have predictable order.
33726
53362a4b
DM
337272012-03-01 David S. Miller <davem@davemloft.net>
33728
3c969083
DM
33729 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33730
759707de
DM
33731 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33732 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33733 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33734 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33735
dfdb8ff2
DM
33736 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33737 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33738 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33740 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33741 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33742 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33743 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33744 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33745
ead89f96
DM
33746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33747
7f66bd07
DM
33748 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33749 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33750 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33751
53362a4b
DM
33752 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33753 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33754 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33755 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33756 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33757 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33759 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33760 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33761 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33762 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33763 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33765 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33766 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33768 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33769 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33770 * sysdeps/sparc/elf/configure: Regenerated.
33771
7b1902cb
JM
337722012-03-01 Joseph Myers <joseph@codesourcery.com>
33773
bec039bc
JM
33774 * configure.in (AS, LD): Require binutils 2.20 or later.
33775 * configure: Regenerated.
33776 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33777 as required minimum version.
33778 * INSTALL: Regenerated.
33779
7b1902cb
JM
33780 [BZ #2541]
33781 [BZ #4108]
33782 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33783 before squaring exponent.
33784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33785 bottom long double and 27 bits of top long double before squaring
33786 exponent.
33787 * math/libm-test.inc (erfc_test): Add more tests.
33788 * sysdeps/i386/fpu/libm-test-ulps: Update.
33789 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791
f775c276
KT
337922012-03-01 Kai Tietz <ktietz@redhat.com>
33793
33794 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33795 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33796 containing bit-fields.
33797 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33798 * soft-fp/single.h (_FP_UNION_S): Likewise.
33799 * soft-fp/double.h (_FP_UNION_D): Likewise.
33800
5b8a4d4a
JM
338012012-02-29 Joseph Myers <joseph@codesourcery.com>
33802
0bab47b6
JM
33803 [BZ #13786]
33804 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33805 not include ../strcmp.S.
33806 [USE_AS_STRNCASECMP_L]: Likewise.
33807 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33808 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33809 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33810 (__strncasecmp_l_ia32): Define as alias to
33811 __strncasecmp_l_nonascii.
33812
0fcad3e2
JM
33813 [BZ #5794]
33814 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33815 * sysdeps/i386/fpu/libm-test-ulps: Update.
33816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33817
5b8a4d4a
JM
33818 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33820
8fdceb2e
JL
338212012-02-29 Jeff Law <law@redhat.com>
33822
33823 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33824 out of bounds read.
33825
1f393a11
MP
338262012-02-29 Marek Polacek <polacek@redhat.com>
33827
33828 [BZ #13706]
33829 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33830 * elf/Makefile: Add rules to run tst-unused-dep.out.
33831
8847f037
DM
338322012-02-28 David S. Miller <davem@davemloft.net>
33833
33834 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33835 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33836 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33838 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33839 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33840
169d7f11
JM
338412012-02-29 Joseph Myers <joseph@codesourcery.com>
33842
33843 * math/libm-test.inc (llround_test): Move one test from
33844 lround_test. Use TEST_f_L in moved test.
33845 (lround_test): Move misplaced test to llround_test. Add testcase
33846 from bug 2561.
33847
39adf059
UD
338482012-02-28 Ulrich Drepper <drepper@gmail.com>
33849
33850 * sysdeps/x86_64/fpu/e_expf.S: New file.
33851 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33852
71b5d1c5
SB
338532012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33854
33855 [BZ #13637]
33856 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33857 of remain_len that may cause incomplete multi-byte character and
33858 false match.
33859 * posix/bug-regex33.c: New file.
33860 * posix/Makefile (tests): Add bug-regex33.
33861
1f77f049
JM
338622012-02-28 Joseph Myers <joseph@codesourcery.com>
33863
33864 * manual/macros.texi: New file.
33865 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33866 * manual/libc.texinfo: Include macros.texi.
33867 * manual/creatute.texi: Likewise.
33868 * manual/install.texi: Likewise.
33869 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33870 @glibcadj{} in references to the GNU C Library.
33871 * manual/charset.texi: Likewise.
33872 * manual/conf.texi: Likewise.
33873 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33874 when not using those macros.
33875 * manual/creature.texi: Likewise.
33876 * manual/crypt.texi: Likewise.
33877 * manual/errno.texi: Likewise.
33878 * manual/filesys.texi: Likewise.
33879 * manual/header.texi: Likewise.
33880 * manual/install.texi: Likewise.
33881 * manual/intro.texi: Likewise.
33882 * manual/io.texi: Likewise.
33883 * manual/job.texi: Likewise.
33884 * manual/lang.texi: Likewise.
33885 * manual/libc.texiinfo: Likewise.
33886 * manual/llio.texi: Likewise.
33887 * manual/locale.texi: Likewise.
33888 * manual/maint.texi: Likewise.
33889 * manual/math.texi: Likewise.
33890 * manual/memory.texi: Likewise.
33891 * manual/message.texi: Likewise.
33892 * manual/nss.texi: Likewise.
33893 * manual/pattern.texi: Likewise.
33894 * manual/process.texi: Likewise.
33895 * manual/resource.texi: Likewise.
33896 * manual/search.texi: Likewise.
33897 * manual/setjmp.texi: Likewise.
33898 * manual/signal.texi: Likewise.
33899 * manual/socket.texi: Likewise.
33900 * manual/startup.texi: Likewise.
33901 * manual/stdio.texi: Likewise.
33902 * manual/string.texi: Likewise.
33903 * manual/sysinfo.texi: Likewise.
33904 * manual/syslog.texi: Likewise.
33905 * manual/terminal.texi: Likewise.
33906 * manual/time.texi: Likewise.
33907 * manual/users.texi: Likewise.
33908 * INSTALL: Regenerated.
33909 * NOTES: Regenerated.
d40c5d54 33910 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33911
450bf206
AS
339122012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33913
33914 * include/dirent.h: Include <dirstream.h> before
33915 <dirent/dirent.h>.
33916
741a235b
DM
339172012-02-28 David S. Miller <davem@davemloft.net>
33918
33919 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33920 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33921 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33922 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33923
d6b5aa58
DM
339242012-02-27 David S. Miller <davem@davemloft.net>
33925
1aff59a3
DM
33926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33928 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33929 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33930
d6b5aa58
DM
33931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33932 frame pointer instead of stack pointer relative arg slot.
33933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33934 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33935 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33936
433f48bf
CD
339372012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33938
33939 [BZ #3992]
33940 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33941
d674b76d
DM
339422012-02-27 David S. Miller <davem@davemloft.net>
33943
33944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33948 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33949 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33950 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33951 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33952
0e7727f7
JM
339532012-02-27 Joseph Myers <joseph@codesourcery.com>
33954
33955 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33956 later. Allow versions 5-9.
43be4ca2 33957 * configure: Regenerated.
0e7727f7
JM
33958 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33959 required minimum version and 4.6 as recommended version. Do not
33960 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33961 * INSTALL: Regenerated.
0e7727f7 33962
a78bc654
DM
339632012-02-27 David S. Miller <davem@davemloft.net>
33964
428d5830
DM
33965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33969 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33970 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33971 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33972 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33973
a78bc654
DM
33974 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33975 manipulate bits before adding and subtracting TWO112[sx].
33976 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33977
4579f81c
RM
339782012-02-27 Roland McGrath <roland@hack.frob.com>
33979
36c8acb4
RM
33980 [BZ #13775]
33981 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33982 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33983 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33984 being in POSIX, because they are in 1003.1-2008.
33985
84ad622b
RM
33986 * rt/tst-aio.c: Include <fcntl.h>.
33987 * rt/tst-aio7.c: Likewise.
33988 * rt/tst-aio64.c: Likewise.
33989
4579f81c
RM
33990 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33991
abd923db
JM
339922012-02-27 Joseph Myers <joseph@codesourcery.com>
33993
33994 * manual/install.texi (--with-headers): Describe headers as
33995 interface headers, not private headers.
33996 (Specific advice for GNU/Linux systems): Describe use of headers
33997 from "make headers_install", not private headers from older
33998 kernels.
43be4ca2 33999 * INSTALL: Regenerated.
abd923db
JM
34000 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34001 Change to 2.6.19.
34002 * sysdeps/unix/sysv/linux/configure: Regenerated.
34003
6664049b
JM
34004 * manual/llio.texi (fclean): Remove documentation.
34005
bb8b6697
JM
34006 * manual/Makefile (libc-texi-generated): New variable. Include
34007 version.texi.
34008 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34009 $(libc-texi-generated), not duplicated list of files.
34010 (version.texi, stamp-version): New rules.
34011 (realclean): Remove $(libc-texi-generated), not individual files
34012 from that list. Do not remove dir-add.texinfo.
34013 * manual/libc.texinfo: Comment out uses of edition numbers and
34014 references to printed manual. Remove last-updated dates.
34015 (EDITION): Comment out.
34016 (ISBN): Likewise.
34017 (VERSION, UPDATED): Remove.
34018 (version.texi): Include.
34019
12e5c3b9
AS
340202012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34021
34022 * sysdeps/posix/spawni.c: Include <signal.h>.
34023 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34024 * sysdeps/pthread/aio_fsync.c: Likewise.
34025
4efeffc1 340262012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34027
ba63ba08
UD
34028 * conform/Makefile (tests): Run only when not cross-compiling and
34029 when fast-check is not defined.
34030
d94a4670
UD
34031 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34032 * conform/data/limits.h-data: Fixes for POSIX2008.
34033 * conform/run-conformtest.sh: Run all tests.
34034 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34035 headers.
34036 * include/bits/dlfcn.h: Likewise.
34037 * include/langinfo.h: Likewise.
34038 * include/monetary.h: Likewise.
34039 * include/sys/poll.h: Likewise.
34040
34041 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34042 for __USE_GNU.
34043 * posix/spawn.h: Define __need_sigset_t.
34044 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34045 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34046 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34047 to get sigevent_t only.
34048 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34049 only for __USE_GNU.
34050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34051 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34052 process_vm_writev only for __USE_GNU.
34053 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34054
34055 * conform/Makefile: For now ignore errors from run-conformtest.
34056 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34057 POSIX to avoid namespace pollution. Don't prepend headers.
34058 * conform/data/aio.h-data: Fixes for POSIX testing.
34059 * conform/data/fcntl.h-data: Likewise.
34060 * conform/data/glob.h-data: Likewise.
34061 * conform/data/grp.h-data: Likewise.
34062 * conform/data/pthread.h-data: Likewise.
34063 * conform/data/pwd.h-data: Likewise.
34064 * conform/data/signal.h-data: Likewise.
34065 * conform/data/spawn.h-data: Likewise.
34066 * conform/data/stdio.h-data: Likewise.
34067 * conform/data/stdlib.h-data: Likewise.
34068 * conform/data/stropts.h-data: Likewise.
34069 * conform/data/sys/mman.h-data: Likewise.
34070 * conform/data/sys/stat.h-data: Likewise.
34071 * conform/data/sys/types.h-data: Likewise.
34072 * conform/data/sys/wait.h-data: Likewise.
34073 * conform/data/time.h-data: Likewise.
34074 * conform/data/unistd.h-data: Likewise.
34075 * conform/data/utime.h-data: Likewise.
34076
34077 * io/sys/stat.h: fchmod was always in POSIX.
34078 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34079 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34080 * rt/aio.h: Define __need_timespec before including <time.h>.
34081 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34082 struct. Add forward declaration of pthread_attr_t and use it in
34083 sigevent.
34084 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34085 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34086 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34087 always remove CLK_TCK definition.
34088
c20105c3
AS
340892012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34090
34091 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34092
7a270350
UD
340932012-02-25 Ulrich Drepper <drepper@gmail.com>
34094
31341567
UD
34095 * conform/run-conformtest.sh: New file.
34096 * conform/Makefile: Run run-conformtest for tests.
34097 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34098 support.
34099
34100 * conform/data/uchar.h-data: New file.
34101 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34102 * conform/data/arpa/inet.h-data: Likewise.
34103 * conform/data/assert.h-data: Likewise.
34104 * conform/data/complex.h-data: Likewise.
34105 * conform/data/cpio.h-data: Likewise.
34106 * conform/data/ctype.h-data: Likewise.
34107 * conform/data/dirent.h-data: Likewise.
34108 * conform/data/dlfcn.h-data: Likewise.
34109 * conform/data/errno.h-data: Likewise.
34110 * conform/data/fcntl.h-data: Likewise.
34111 * conform/data/float.h-data: Likewise.
34112 * conform/data/fmtmsg.h-data: Likewise.
34113 * conform/data/fnmatch.h-data: Likewise.
34114 * conform/data/ftw.h-data: Likewise.
34115 * conform/data/glob.h-data: Likewise.
34116 * conform/data/grp.h-data: Likewise.
34117 * conform/data/iconv.h-data: Likewise.
34118 * conform/data/inttypes.h-data: Likewise.
34119 * conform/data/langinfo.h-data: Likewise.
34120 * conform/data/libgen.h-data: Likewise.
34121 * conform/data/limits.h-data: Likewise.
34122 * conform/data/locale.h-data: Likewise.
34123 * conform/data/math.h-data: Likewise.
34124 * conform/data/monetary.h-data: Likewise.
34125 * conform/data/mqueue.h-data: Likewise.
34126 * conform/data/ndbm.h-data: Likewise.
34127 * conform/data/net/if.h-data: Likewise.
34128 * conform/data/netdb.h-data: Likewise.
34129 * conform/data/netinet/in.h-data: Likewise.
34130 * conform/data/nl_types.h-data: Likewise.
34131 * conform/data/poll.h-data: Likewise.
34132 * conform/data/pthread.h-data: Likewise.
34133 * conform/data/pwd.h-data: Likewise.
34134 * conform/data/regex.h-data: Likewise.
34135 * conform/data/sched.h-data: Likewise.
34136 * conform/data/search.h-data: Likewise.
34137 * conform/data/semaphore.h-data: Likewise.
34138 * conform/data/setjmp.h-data: Likewise.
34139 * conform/data/signal.h-data: Likewise.
34140 * conform/data/spawn.h-data: Likewise.
34141 * conform/data/stdarg.h-data: Likewise.
34142 * conform/data/stdio.h-data: Likewise.
34143 * conform/data/stdlib.h-data: Likewise.
34144 * conform/data/string.h-data: Likewise.
34145 * conform/data/strings.h-data: Likewise.
34146 * conform/data/stropts.h-data: Likewise.
34147 * conform/data/sys/ipc.h-data: Likewise.
34148 * conform/data/sys/mman.h-data: Likewise.
34149 * conform/data/sys/msg.h-data: Likewise.
34150 * conform/data/sys/resource.h-data: Likewise.
34151 * conform/data/sys/select.h-data: Likewise.
34152 * conform/data/sys/sem.h-data: Likewise.
34153 * conform/data/sys/shm.h-data: Likewise.
34154 * conform/data/sys/socket.h-data: Likewise.
34155 * conform/data/sys/stat.h-data: Likewise.
34156 * conform/data/sys/statvfs.h-data: Likewise.
34157 * conform/data/sys/time.h-data: Likewise.
34158 * conform/data/sys/timeb.h-data: Likewise.
34159 * conform/data/sys/times.h-data: Likewise.
34160 * conform/data/sys/types.h-data: Likewise.
34161 * conform/data/sys/uio.h-data: Likewise.
34162 * conform/data/sys/un.h-data: Likewise.
34163 * conform/data/sys/utsname.h-data: Likewise.
34164 * conform/data/sys/wait.h-data: Likewise.
34165 * conform/data/syslog.h-data: Likewise.
34166 * conform/data/tar.h-data: Likewise.
34167 * conform/data/termios.h-data: Likewise.
34168 * conform/data/utime.h-data: Likewise.
34169 * conform/data/utmpx.h-data: Likewise.
34170 * conform/data/varargs.h-data: Likewise.
34171 * conform/data/wchar.h-data: Likewise.
34172 * conform/data/wctype.h-data: Likewise.
34173 * conform/data/wordexp.h-data: Likewise.
34174
34175 * include/stropts.h: New file.
34176 * include/uchar.h: New file.
34177 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34178 * include/assert.h: Likewise.
34179 * include/ctype.h: Likewise.
34180 * include/dirent.h: Likewise.
34181 * include/dlfcn.h: Likewise.
34182 * include/fcntl.h: Likewise.
34183 * include/fnmatch.h: Likewise.
34184 * include/glob.h: Likewise.
34185 * include/grp.h: Likewise.
34186 * include/libio.h: Likewise.
34187 * include/locale.h: Likewise.
34188 * include/math.h: Likewise.
34189 * include/net/if.h: Likewise.
34190 * include/netdb.h: Likewise.
34191 * include/netinet/in.h: Likewise.
34192 * include/pthread.h: Likewise.
34193 * include/pwd.h: Likewise.
34194 * include/regex.h: Likewise.
34195 * include/sched.h: Likewise.
34196 * include/search.h: Likewise.
34197 * include/setjmp.h: Likewise.
34198 * include/signal.h: Likewise.
34199 * include/stdio.h: Likewise.
34200 * include/stdlib.h: Likewise.
34201 * include/string.h: Likewise.
34202 * include/sys/cdefs.h: Likewise.
34203 * include/sys/mman.h: Likewise.
34204 * include/sys/msg.h: Likewise.
34205 * include/sys/resource.h: Likewise.
34206 * include/sys/select.h: Likewise.
34207 * include/sys/socket.h: Likewise.
34208 * include/sys/stat.h: Likewise.
34209 * include/sys/statvfs.h: Likewise.
34210 * include/sys/time.h: Likewise.
34211 * include/sys/times.h: Likewise.
34212 * include/sys/uio.h: Likewise.
34213 * include/sys/utsname.h: Likewise.
34214 * include/sys/wait.h: Likewise.
34215 * include/termios.h: Likewise.
34216 * include/time.h: Likewise.
34217 * include/ulimit.h: Likewise.
34218 * include/unistd.h: Likewise.
34219 * include/utime.h: Likewise.
34220 * include/wchar.h: Likewise.
34221 * include/wctype.h: Likewise.
34222 * include/wordexp.h: Likewise.
34223
34224 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34225
7a270350
UD
34226 * time/time.h: TIME_UTC must be a macro.
34227 Make timespec_get available for ISO C11 only as well.
34228
7724defc
UD
342292012-02-24 Ulrich Drepper <drepper@gmail.com>
34230
34231 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34232 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34233
6b1d1d46
JM
342342012-02-24 Joseph Myers <joseph@codesourcery.com>
34235
34236 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34237
0f8bbd69
JM
342382012-02-24 Joseph Myers <joseph@codesourcery.com>
34239
34240 * manual/texinfo.tex: Update to version 2012-01-19.16.
34241
66ab80bc
JM
342422012-02-24 Joseph Myers <joseph@codesourcery.com>
34243
34244 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34245
74981cc5
RM
342462012-02-24 Roland McGrath <roland@hack.frob.com>
34247
ee968201
RM
34248 [BZ #13738]
34249 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34250 * manual/fdl-1.3.texi: New file.
34251 * manual/fdl-1.1.texi: File removed.
34252
74981cc5
RM
34253 [BZ #13738]
34254 * manual/libc.texinfo (FDL_VERSION): New @set.
34255 Use it for mention of FDL in cover text.
34256 (Documentation License): Use it in @include file name.
34257
7bb764bc
JM
342582012-02-22 Joseph Myers <joseph@codesourcery.com>
34259 Roland McGrath <roland@hack.frob.com>
34260
34261 [BZ #5461]
34262 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34263 not LONG_LONG_MAX and LONG_LONG_MIN.
34264 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34265 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34266 name.
34267 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34268
6cbeae47
JM
342692012-02-22 Joseph Myers <joseph@codesourcery.com>
34270
34271 [BZ #2547]
34272 [BZ #11365]
34273 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34274 manipulate bits before adding and subtracting TWO23[sx].
34275 * math/libm-test.inc (nearbyint_test): Add more tests.
34276
fe45ce09
JM
342772012-02-22 Joseph Myers <joseph@codesourcery.com>
34278
34279 [BZ #2548]
34280 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34281 bits before adding and subtracting TWO23[sx].
34282 * math/libm-test.inc (rint_test): Add more tests.
34283 (rint_test_tonearest): Likewise.
34284 (rint_test_towardzero): Likewise.
34285 (rint_test_downward): Likewise.
34286 (rint_test_upward: Likewise.
34287
ff3b3d82
JM
342882012-02-22 Joseph Myers <joseph@codesourcery.com>
34289
34290 [BZ #10110]
34291 * include/stdc-predef.h: New file. Extracted from features.h.
34292 * include/features.h: Include stdc-predef.h.
34293 * Makefile (headers): Add stdc-predef.h.
34294 * CONFORMANCE (Compiler limitations): Update.
34295
ef0aab35
JM
342962012-02-22 Joseph Myers <joseph@codesourcery.com>
34297
34298 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34299
58639409
DM
343002012-02-21 David S. Miller <davem@davemloft.net>
34301
34302 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34303 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34304
c0e70b25
DM
343052012-02-20 David S. Miller <davem@davemloft.net>
34306
34307 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34308 using a normal save/restore sequence, rather than allocating a
34309 dummy stack frame just to store a frame pointer and restore.
34310 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34311
fb06851d
JM
343122012-02-21 Joseph Myers <joseph@codesourcery.com>
34313
34314 * manual/install.texi: Fix stray word in line-wrapped comment.
34315
7a8b71c3
DM
343162012-02-20 David S. Miller <davem@davemloft.net>
34317
d510c123
DM
34318 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34319 both binutils and gcc support GOTDATA.
34320
0722d7c2
DM
34321 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34322 "rd %pc" in the PIC register setup sequences.
34323
3d2b3019
DM
34324 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34325 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34326 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34327 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34328 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34330 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34333 (SYSCALL_ERROR_HANDLER): Likewise.
34334 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34335 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34337 (SYSCALL_ERROR_HANDLER): Likewise.
34338
c80098a9
DM
34339 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34340 (HAVE_GCC_GOTDATA): New.
34341 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34342 relocation support in both binutils and gcc.
34343 * sysdeps/sparc/elf/configure: Regenerate.
34344
3a2545a0
DM
34345 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34346 * sysdeps/sparc/sparc32/elf/configure: Delete.
34347 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34348 * sysdeps/sparc/sparc64/elf/configure: Delete.
34349 * sysdeps/sparc/elf/configure.in: New file.
34350 * sysdeps/sparc/elf/configure: Generate.
34351
7a8b71c3
DM
34352 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34353 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34354 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34355 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34356 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34357
f1e86fca
JM
343582012-02-21 Joseph Myers <joseph@codesourcery.com>
34359
34360 * manual/install.texi: Do not mention specific glibc version
34361 numbers.
34362 * manual/libc.texinfo (VERSION, UPDATED): Update.
34363 (@copying): Use @copyright{} and range of years.
34364
0e7dfaef
JM
343652012-02-21 Joseph Myers <joseph@codesourcery.com>
34366
34367 [BZ #13695]
34368 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34369 [crti.S not in sysdirs] (generated): Do not append.
34370 [crti.S not in sysdirs] (omit-deps): Likewise.
34371 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34372 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34373 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34374 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34375 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34376 Likewise.
34377 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34378 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34379 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34380 * csu/defs.awk: Remove file.
34381 * sysdeps/generic/initfini.c: Likewise.
34382 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34383 variable.
34384 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34385 Likewise.
34386
599af3ca
JM
343872012-02-20 Joseph Myers <joseph@codesourcery.com>
34388
34389 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34390 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34391 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34394 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34395 <bits/epoll.h>.
34396 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34397 (__EPOLL_PACKED): Define to empty if not defined by
34398 <bits/epoll.h>.
34399 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34401 bits/epoll.h.
34402
0e499750
JM
344032012-02-20 Joseph Myers <joseph@codesourcery.com>
34404
34405 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34406 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34407 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34408 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34409 <bits/timerfd.h>.
34410 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34412 bits/timerfd.h.
34413
5ad91f6e
JM
344142012-02-20 Joseph Myers <joseph@codesourcery.com>
34415
34416 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34417 in C locale.
34418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34419 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34420 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34422
06b99b02
AJ
344232012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34424
34425 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34426 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34427
7638c0fd
AS
344282012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34429
34430 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34431 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34432 defined.
34433 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34434 Likewise.
34435 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34436 entry for 2.16.
34437
92221550
AJ
344382012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34439
34440 * math/w_acos.c: Use non-signaling floating-point comparisons.
34441 * math/w_acosf.c: Likewise.
34442 * math/w_acosh.c: Likewise.
34443 * math/w_acoshf.c: Likewise.
34444 * math/w_acoshl.c: Likewise.
34445 * math/w_acosl.c: Likewise.
34446 * math/w_asin.c: Likewise.
34447 * math/w_asinf.c: Likewise.
34448 * math/w_asinl.c: Likewise.
34449 * math/w_atanh.c: Likewise.
34450 * math/w_atanhf.c: Likewise.
34451 * math/w_atanhl.c: Likewise.
34452 * math/w_exp2.c: Likewise.
34453 * math/w_exp2f.c: Likewise.
34454 * math/w_exp2l.c: Likewise.
34455 * math/w_j0.c: Likewise.
34456 * math/w_j0f.c: Likewise.
34457 * math/w_j0l.c: Likewise.
34458 * math/w_j1.c: Likewise.
34459 * math/w_j1f.c: Likewise.
34460 * math/w_j1l.c: Likewise.
34461 * math/w_jn.c: Likewise.
34462 * math/w_jnf.c: Likewise.
34463 * math/w_log.c: Likewise.
34464 * math/w_log10.c: Likewise.
34465 * math/w_log10f.c: Likewise.
34466 * math/w_log10l.c: Likewise.
34467 * math/w_log2.c: Likewise.
34468 * math/w_log2f.c: Likewise.
34469 * math/w_log2l.c: Likewise.
34470 * math/w_logf.c: Likewise.
34471 * math/w_logl.c: Likewise.
34472 * math/w_sqrt.c: Likewise.
34473 * math/w_sqrtf.c: Likewise.
34474 * math/w_sqrtl.c: Likewise.
34475 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34476 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34478 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34479 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34480
ebaf36eb
JM
344812012-02-19 Joseph Myers <joseph@codesourcery.com>
34482
34483 [BZ #9739]
34484 * manual/string.texi (strnlen): Use correct parameter name in
34485 equivalent expression.
34486
71c254a6
JM
344872012-02-19 Joseph Myers <joseph@codesourcery.com>
34488
34489 [BZ #11174]
34490 * manual/users.texi (seteuid): Consistently use neweuid for
34491 argument name.
34492
16d2c631
JM
344932012-02-19 Joseph Myers <joseph@codesourcery.com>
34494
34495 [BZ #13704]
34496 * manual/nss.texi (Services in the NSS configuration): Correct
34497 list of services in example configuration file.
34498
cd837b09
NB
344992012-02-19 Nick Bowler <nbowler@draconx.ca>
34500
34501 [BZ #11322]
34502 * manual/arith.texi: Remove statements about negative zero
34503 behaving identically to zero.
34504
02c4bbad
JM
345052012-02-18 Joseph Myers <joseph@codesourcery.com>
34506
34507 [BZ #5993]
34508 * manual/install.texi: Do not document upgrading from libc5.
34509
366842e7
JM
345102012-02-18 Joseph Myers <joseph@codesourcery.com>
34511
34512 [BZ #4596]
34513 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34514
dd54084d
DM
345152012-02-18 David S. Miller <davem@davemloft.net>
34516
34517 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34518 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34519 %o7 across the call.
34520 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34521 instead.
34522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34523 SETUP_PIC_REG_LEAF.
34524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34525 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34526 * sysdeps/sparc/crtn.S: Likewise.
34527
2bcc53a3
UD
345282012-02-17 Ulrich Drepper <drepper@gmail.com>
34529
34530 * aout/Makefile: Remove.
34531
09c093b5
RK
345322012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34533
34534 [BZ #13058]
34535 * manual/examples/argp-ex1.c (main): Format definition in GNU
34536 style.
34537 * manual/examples/argp-ex2.c (main): Likewise.
34538 * manual/examples/argp-ex3.c (main): Likewise.
34539 * manual/examples/argp-ex4.c (main): Likewise.
34540 * manual/examples/longopt.c (main): Use new-style prototype
34541 definition.
34542 * manual/examples/strncat.c (main): Specify return type and use
34543 (void) for arguments.
34544 * manual/examples/subopt.c (main): Use char **argv argument.
34545
2ee633a2
JM
345462012-02-17 Joseph Myers <joseph@codesourcery.com>
34547
34548 [BZ #5077]
34549 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34550 rounding modes.
34551
0520adde
FB
345522012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34553
34554 [BZ #6907]
34555 * manual/string.texi (strchr): Change when strchrnul is
34556 recommended.
34557
3f4081cd
DGM
345582012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34559
34560 [BZ #174]
34561 * manual/locale.texi (setlocale): Document LOCPATH.
34562
d1b10e78
JM
345632012-02-17 Joseph Myers <joseph@codesourcery.com>
34564
34565 [BZ #10210]
34566 * manual/process.texi (execle): Move @dots{} before last argument.
34567
79c6869c
PB
345682012-02-17 Paul Bolle <pebolle@tiscali.nl>
34569
34570 [BZ #12047]
34571 * manual/charset.texi (Generic Charset Conversion): Fix typo
34572 (LC_TYPE -> LC_CTYPE).
34573
cc6e48bc
NB
345742012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34575
34576 [BZ #5805]
34577 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34578 (scalbnf): Likewise.
34579 (scalbnl): Likewise.
34580 (scalbln): Likewise.
34581 (scalblnf): Likewise.
34582 (scalblnl): Likewise.
34583 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34584 (vwarnx): Likewise.
34585 (verr): Likewise.
34586 (verrx): Likewise.
34587 * manual/filesys.texi (telldir): Use braces around return type.
34588 * manual/llio.texi (mmap): Add space after comma.
34589 (mmap64): Likewise.
34590 * manual/math.texi (jn): Use @var{} on parameter names.
34591 (jnf): Likewise.
34592 (jnl): Likewise.
34593 (yn): Likewise.
34594 (ynf): Likewise.
34595 (ynl): Likewise.
34596 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34597 line.
34598 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34599 "...".
34600 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34601 (sched_get_priority_max): Likewise.
34602 * manual/signal.texi (sigvec): Add space after comma.
34603 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34604 names.
34605 (if_indextoname): Likewise.
34606 (if_freenameindex): Likewise.
34607 (sendto): Use ',' instead of '.' in prototype.
34608 * manual/startup.texi (syscall): Use @dots{} instead of literal
34609 "...".
34610 * manual/stdio.texi (__fpending): Separate initial words of
34611 paragraph from @deftypefun line.
34612 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34613 "...".
34614 (vsyslog): Use @var{} on parameter names.
34615 * manual/terminal.texi (stty): Use @var{} on parameter names.
34616 * manual/users.texi (getutmp): Use @var{} on parameter names.
34617 (getutmpx): Likewise.
34618
5b23062f
JM
346192012-02-17 Joseph Myers <joseph@codesourcery.com>
34620
34621 [BZ #6884]
34622 * manual/stdio.texi (fopen): Fix typos in description of
34623 ",ccs=STRING".
34624
8dee4833
AJ
346252012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34626
34627 [BZ #4026]
34628 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34629 get clock_id definition.
34630
9078ce93
TS
346312012-02-17 Thomas Schwinge <thomas@schwinge.name>
34632
34633 [BZ #4822]
34634 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34635 (madvise): Cast every argument to void on its own.
34636
3835c55f
JM
346372012-02-17 Joseph Myers <joseph@codesourcery.com>
34638
34639 [BZ #9902]
34640 * manual/startup.texi (Exit Status): Fix typo.
34641
35c47e37
JM
346422012-02-17 Joseph Myers <joseph@codesourcery.com>
34643
34644 [BZ #10140]
34645 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34646 * manual/examples/argp-ex2.c: Likewise.
34647 * manual/examples/argp-ex3.c: Likewise.
34648
e3b69ca7
RH
346492012-02-16 Richard Henderson <rth@redhat.com>
34650
34651 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34652 * sysdeps/s390/s390-32/initfini.c: Remove.
34653 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34654 * sysdeps/s390/s390-64/initfini.c: Remove.
34655
df83af67
KK
346562012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34657
34658 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34659 compiler output for sysdeps/generic/initfini.c.
34660 * sysdeps/sh/elf/initfini.c: Remove file.
34661
f63f3380
DM
346622012-02-16 David S. Miller <davem@davemloft.net>
34663
fb59b3a4
DM
34664 [BZ #11494]
34665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34666
f63f3380
DM
34667 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34668 * sysdeps/sparc/crti.S: New file.
34669 * sysdeps/sparc/crtn.S: New file.
34670 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34671 * sysdeps/sparc/sparc64/Makefile: Likewise.
34672
df6a4a4a
MF
346732012-02-15 Mike Frysinger <vapier@gentoo.org>
34674
6dd8f3dc 34675 [BZ #3335]
df6a4a4a
MF
34676 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34677
1cac7236
RM
346782012-02-15 Roland McGrath <roland@hack.frob.com>
34679
d2c736f8
RM
34680 [BZ #4822]
34681 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34682
1cac7236
RM
34683 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34684 (write, read, close): Likewise.
34685 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34686
8e475601
JM
346872012-02-15 Joseph Myers <joseph@codesourcery.com>
34688
34689 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34690 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34691 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34692 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34693 <bits/signalfd.h>.
34694 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34696 bits/signalfd.h.
34697
ed656b40
MP
346982012-02-14 Marek Polacek <polacek@redhat.com>
34699
34700 * sysdeps/x86_64/crti.S: New file.
34701 * sysdeps/x86_64/crtn.S: New file.
34702 * sysdeps/x86_64/elf/initfini.c: Remove file.
34703
2a979d3a
JM
347042012-02-13 Joseph Myers <joseph@codesourcery.com>
34705
34706 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34707 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34708 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34709 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34710 <bits/inotify.h>.
34711 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34713 bits/inotify.h.
34714
2a418ac3
JM
347152012-02-13 Joseph Myers <joseph@codesourcery.com>
34716
34717 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34718 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34719 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34720 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34721 <bits/eventfd.h>.
34722 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34724 bits/eventfd.h.
34725
fb779be7
TS
347262012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34727
e19e83c5
RM
34728 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34729 __feraiseexcept instead of feraiseexcept.
7c35ffed 34730
fb779be7
TS
34731 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34732 nanosleep invocations.
34733 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34734 strings, and add error checking for a nanosleep invocations.
34735
59ba27a6
PE
347362012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34737
34738 Replace FSF snail mail address with URLs, as per GNU coding standards.
34739 Most of the snail mail addresses were wrong anyway, and omitting
34740 them makes the source code easier to maintain. Almost all of the
34741 changes are to license notices and to locale LC_IDENTIFICATION
34742 addresses, except for this one:
34743 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34744 not its snail mail address.
34745
57b957eb
RH
347462012-02-09 Richard Henderson <rth@twiddle.net>
34747
af850b1c
RH
34748 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34749 of kernel-features.h.
34750
57b957eb
RH
34751 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34752
6b73181a
MP
347532012-02-08 Marek Polacek <polacek@redhat.com>
34754
34755 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34756 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34757 * sysdeps/gnu/_G_config.h: Likewise.
34758 * sysdeps/generic/_G_config.h: Likewise.
34759
26ecc33a
AS
347602012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34761
6c6dbc63
AS
34762 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34763 tests.
34764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34765
e216c012
AS
34766 * sysdeps/powerpc/powerpc32/crti.S: New file.
34767 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34768 * sysdeps/powerpc/powerpc64/crti.S: New file.
34769 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34770
26ecc33a
AS
34771 * Makeconfig (have-initfini): Don't set.
34772 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34773 * configure.in (nopic_initfini): Don't substitute.
34774 * config.h.in (HAVE_INITFINI): Don't #undef.
34775 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34776 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34777
3add8e13
JM
347782012-02-08 Joseph Myers <joseph@codesourcery.com>
34779
34780 Support crti.S and crtn.S provided directly by architectures.
34781 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34782 [crti.S in sysdirs] (omit-deps): Likewise.
34783 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34784 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34785 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34786 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34787 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34788 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34789 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34790 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34791 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34792 compiler output for sysdeps/generic/initfini.c.
34793 * sysdeps/i386/elf/Makefile: Remove file.
34794 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34795
a22f12b4
MP
347962012-02-07 Marek Polacek <polacek@redhat.com>
34797
34798 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34799 * sysdeps/gnu/_G_config.h: Likewise.
34800 * sysdeps/mach/hurd/_G_config.h: Likewise.
34801
148cf100
MP
348022012-02-07 Marek Polacek <polacek@redhat.com>
34803
34804 * math/Makefile (tests): Add tst-CMPLX2.
34805 * math/tst-CMPLX2.c: New file.
34806
cfdc0dd7
AS
348072012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34808
84ba42c4
AS
34809 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34810
cfdc0dd7
AS
34811 * math/libm-test.inc (jn_test): Add missing L suffix.
34812
622c86f4
MP
348132012-02-06 Marek Polacek <polacek@redhat.com>
34814
34815 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34816 * sysdeps/i386/fpu/e_powf.S: Likewise.
34817 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34818 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34819 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34820 * sysdeps/i386/fpu/e_pow.S: Likewise.
34821 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34822 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34823 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34824 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34825 * sysdeps/i386/fpu/e_log2.S: Likewise.
34826 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34827 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34828 * sysdeps/i386/fpu/e_powl.S: Likewise.
34829 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34830 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34831 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34832 * sysdeps/i386/fpu/e_logl.S: Likewise.
34833 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34834 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34835 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34836 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34837 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34838 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34839 * sysdeps/i386/fpu/e_log.S: Likewise.
34840 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34841 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34842 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34843 * sysdeps/i386/fpu/e_logf.S: Likewise.
34844 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34845 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34846 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34847 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34848 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34849 * sysdeps/i386/fpu/e_log10.S: Likewise.
34850 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34852 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34853 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34854 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34855 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34856 * sysdeps/i386/asm-syntax.h: Likewise.
34857 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34858 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34859 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34860 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34861 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34862 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34863 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34864 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34865 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34866 * sysdeps/powerpc/sysdep.h: Likewise.
34867 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34868 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34869
d4a54ac6
JM
348702012-02-06 Joseph Myers <joseph@codesourcery.com>
34871
34872 [BZ #411]
34873 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34874
314054ea
JM
348752012-02-06 Joseph Myers <joseph@codesourcery.com>
34876
34877 * sysdeps/i386/sysdep.h: Include <features.h>.
34878 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34879 version.
34880
d8e0ca50
JM
348812012-02-05 Joseph Myers <joseph@codesourcery.com>
34882
34883 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34884 Define.
34885 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34886 LOAD_PIC_REG_STR.
34887
b1da7dd9
JM
348882012-02-03 Joseph Myers <joseph@codesourcery.com>
34889
34890 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34891 (SETUP_PIC_REG): Use GET_PC_THUNK.
34892 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34893 macro.
34894
9a1d9254
JM
348952012-02-03 Joseph Myers <joseph@codesourcery.com>
34896
34897 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34898 for non-PIC compilation.
34899 (SETUP_PIC_REG): Add .p2align directive.
34900 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34901 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34902 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34903 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34904 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34905 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34906 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34907 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34908 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34909 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34910 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34911 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34912 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34913 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34914 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34915 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34916 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34917 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34918 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34919 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34921 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34922 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34923 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34924 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34926 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34927 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34928 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34929 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34930 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34931 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34932 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34933 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34934 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34935 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34936 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34937 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34938 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34940 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34941
65dc3b75
JM
349422012-02-03 Joseph Myers <joseph@codesourcery.com>
34943
34944 * math/tst-CMPLX.c: Include <stdio.h>.
34945
d55bf177
JM
349462012-01-31 Joseph Myers <joseph@codesourcery.com>
34947
34948 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34949 float.
34950 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34951 * sysdeps/sparc/bits/mathdef.h: Likewise.
34952
69db4f8f
MP
349532012-01-31 Marek Polacek <polacek@redhat.com>
34954
34955 * libio/libio.h: Don't define _PARAMS.
34956 * locale/programs/config.h: Don't define PARAMS.
34957 * stdlib/strtol_l.c: Likewise.
34958 (__strtol_l): Remove PARAMS from the prototype.
34959
41b81892
UD
349602012-01-31 Ulrich Drepper <drepper@gmail.com>
34961
3b49edc0
UD
34962 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34963 names. Just use the correct names. Remove unnecessary wrapper
34964 functions.
34965 * malloc/arena.c: Likewise.
34966 * malloc/hooks.c: Likewise.
34967
41b81892
UD
34968 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34969 ARENA_TEST says not to. Simplify test for creation of a new arena.
34970 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34971
27a25b6e
UD
349722012-01-30 Ulrich Drepper <drepper@gmail.com>
34973
34974 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34975 into tail calls.
34976 (update_get_addr): New function.
34977 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34978 GET_ADDR_MODULE parameter.
34979
c8a89e7d
JM
349802012-01-30 Joseph Myers <joseph@codesourcery.com>
34981
34982 * crypt/cert.c: Remove __STDC__ conditionals.
34983 * crypt/crypt-entry.c: Likewise.
34984 * crypt/crypt_util.c: Likewise.
34985 * libio/filedoalloc.c: Likewise.
34986 * libio/fileops.c: Likewise.
34987 * libio/genops.c: Likewise.
34988 * libio/iofclose.c: Likewise.
34989 * libio/iofdopen.c: Likewise.
34990 * libio/iofopen.c: Likewise.
34991 * libio/iofopen64.c: Likewise.
34992 * libio/iogetdelim.c: Likewise.
34993 * libio/iopopen.c: Likewise.
34994 * libio/obprintf.c: Likewise.
34995 * libio/oldfileops.c: Likewise.
34996 * libio/oldiofclose.c: Likewise.
34997 * libio/oldiofdopen.c: Likewise.
34998 * libio/oldiofopen.c: Likewise.
34999 * libio/oldiopopen.c: Likewise.
35000 * libio/wfiledoalloc.c: Likewise.
35001 * libio/wgenops.c: Likewise.
35002 * locale/programs/xmalloc.c: Likewise.
35003 * misc/syslog.c: Likewise.
35004 * stdio-common/xbug.c: Likewise.
35005 * string/memchr.c: Likewise.
35006 * string/memcmp.c: Likewise.
35007 * string/memrchr.c: Likewise.
35008 * string/rawmemchr.c: Likewise.
35009 * sysdeps/posix/getcwd.c: Likewise.
35010 * time/strftime_l.c: Likewise.
35011
3b100462
JM
350122012-01-30 Joseph Myers <joseph@codesourcery.com>
35013
35014 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35015 * config.make.in (config-cflags-sse2avx): Define.
35016 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35017 Fix typo.
35018
607998af
CM
350192012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35020
35021 * scripts/config.guess: Update from upstream config git repository.
35022 * scripts/config.sub: Likewise.
35023
3601428f
CM
350242012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35025
3ac8b282
CM
35026 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35027 (EM_NUM): Update.
35028 (R_TILEPRO_*, R_TILEGX_*): New macros.
35029
e034841e
CM
35030 * scripts/firstversions.awk: Fix bug in version range handling.
35031
540d7568
CM
35032 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35033
3601428f
CM
35034 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35035
463de862
CM
35036 * include/sys/epoll.h: New file.
35037 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35038 libc_hidden_def.
35039
73139a76
UD
350402012-01-28 Ulrich Drepper <drepper@gmail.com>
35041
96bc5b45
UD
35042 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35043 Avoid unnecessary __WORDSIZE == 64 test.
35044 (fmaxf): Use VEX format if possible.
35045 (fmax): Likewise.
35046 (fminf): Likewise.
35047 (fmin): Likewise.
35048
56f6f6a2
UD
35049 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35050 * math/math_private.h: Remove libc_fegetround* and
35051 libc_fesetround*.
35052 * sysdeps/i386/configure.in: Check for -msse2avx.
35053 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35054 also if SSE2AVX is defined.
35055 Remove libc_fegetround* and libc_fesetround*.
35056 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35057 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35058 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35059 of HAS_YMM_USABLE.
35060 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35061 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35062 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35063 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35064 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35065
73139a76
UD
35066 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35067
d73f93a4
AZ
350682012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35069
35070 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35071 size is not set.
35072 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35073
6ee65ed6
UD
350742012-01-27 Ulrich Drepper <drepper@gmail.com>
35075
35076 [BZ #13618]
35077 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35078 relocation.
35079 * Makeconfig (libm): Define.
35080 * elf/Makefile: Add rules to build and run tst-relsort1.
35081 * elf/tst-relsort1.c: New file.
35082 * elf/tst-relsort1mod1.c: New file.
35083 * elf/tst-relsort1mod2.c: New file.
35084
8db21882
JM
350852012-01-27 Joseph Myers <joseph@codesourcery.com>
35086
35087 * math/s_ldexp.c: Remove __STDC__ conditionals.
35088 * math/s_ldexpf.c: Likewise.
35089 * math/s_ldexpl.c: Likewise.
35090 * math/s_nextafter.c: Likewise.
35091 * math/s_nexttowardf.c: Likewise.
35092 * math/s_significand.c: Likewise.
35093 * math/s_significandf.c: Likewise.
35094 * math/s_significandl.c: Likewise.
35095 * math/w_jnl.c: Likewise.
35096 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35097 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35098 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35099 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35100 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35101 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35102 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35103 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35104 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35105 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35106 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35107 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35108 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35109 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35110 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35111 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35112 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35113 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35115 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35116 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35117 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35118 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35120 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35121 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35122 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35123 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35124 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35125 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35126 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35127 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35128 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35129 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35130 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35131 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35132 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35133 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35134 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35135 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35136 * sysdeps/ieee754/k_standard.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35198 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35203 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35211 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35212 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35216 * sysdeps/ieee754/s_matherr.c: Likewise.
35217 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35218 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35221
965a54a4
JM
352222012-01-26 Joseph Myers <joseph@codesourcery.com>
35223
35224 * crypt/md5.h: Remove __STDC__ conditionals.
35225 * libio/libioP.h: Likewise.
35226 * locale/programs/config.h: Likewise.
35227 * sysdeps/generic/sysdep.h: Likewise.
35228 * sysdeps/i386/asm-syntax.h: Likewise.
35229 * sysdeps/s390/asm-syntax.h: Likewise.
35230 * sysdeps/unix/sysdep.h: Likewise.
35231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35233
7071ad79
JM
352342012-01-26 Joseph Myers <joseph@codesourcery.com>
35235
35236 * libio/libio.h: Remove __STDC__ conditionals.
35237 * malloc/obstack.h: Likewise.
35238 * math/complex.h: Likewise.
35239 * math/math.h: Likewise.
35240 * sysdeps/generic/_G_config.h: Likewise.
35241 * sysdeps/gnu/_G_config.h: Likewise.
35242 * sysdeps/mach/hurd/_G_config.h: Likewise.
35243 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35244 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35245 * sysdeps/sparc/bits/mathdef.h: Likewise.
35246
afc5ed09
UD
352472012-01-26 Ulrich Drepper <drepper@gmail.com>
35248
35249 [BZ #13583]
35250 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35251 Clean up HAS_* macros.
afc5ed09 35252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35253 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35254 possible.
35255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35256 HAS_AVX.
35257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35258 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35259 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35260 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35262
bdb6de1d
JM
352632012-01-25 Joseph Myers <joseph@codesourcery.com>
35264
35265 * elf/tst-unique3.cc (gets): Remove declaration.
35266 * elf/tst-unique3lib.cc (gets): Likewise.
35267 * elf/tst-unique3lib2.cc (gets): Likewise.
35268 * elf/tst-unique4.cc (gets): Likewise.
35269
b15549e6
UD
352702012-01-24 Ulrich Drepper <drepper@gmail.com>
35271
35272 * include/stdio.h: Add C++ protection. Add gets declarations and
35273 definitions.
35274 * debug/tst-chk1.c: Don't declare gets here.
35275 * stdio-common/tst-gets.c: Likewise.
35276
a037381f
JM
352772012-01-24 Joseph Myers <joseph@codesourcery.com>
35278
35279 * posix/glob: Remove directory.
35280
f1d4aa75
JM
352812012-01-24 Joseph Myers <joseph@codesourcery.com>
35282
35283 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35284
81c0c964
PT
352852012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35286
35287 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35288 of the non-standard EPFNOSUPPORT.
35289
0ea698ae
ST
352902011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35291
35292 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35293 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35294 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35295
d220b117
UD
352962012-01-21 Ulrich Drepper <drepper@gmail.com>
35297
35298 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35299
3e1aa84e
UD
353002012-01-20 Ulrich Drepper <drepper@gmail.com>
35301
35302 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35303 transient errors.
35304 * nscd/grpcache.c (cache_addgr): Likewise.
35305 * nscd/hstcache.c (cache_addhst): Likewise.
35306 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35307 * nscd/pwdcache.c (cache_addpw): Likewise.
35308 * nscd/servicescache.c (cache_addserv): Likewise.
35309
400aa020
UD
353102012-01-16 Ulrich Drepper <drepper@gmail.com>
35311
d77e7869
UD
35312 * malloc/malloc.c: Various cleanups.
35313 * malloc/hooks.c: Likewise.
35314
400aa020
UD
35315 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35316 * stdlib/bug-fmtmsg1.c: New file.
35317
35318 * stdlib/fmtmsg.c (init): Add missing unlock.
35319 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35320
e0a309cf
MP
353212012-01-12 Marek Polacek <polacek@redhat.com>
35322
35323 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35324 and _GNU_SOURCE.
35325
929d11c7
WS
353262012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35327
35328 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35329 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35330 macro to ensure uniqueness of label name.
35331 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35332 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35333
41d0e869
UD
353342012-01-11 Ulrich Drepper <drepper@gmail.com>
35335
0cc5ed3b
UD
35336 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35337
41d0e869
UD
35338 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35339 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35340 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35341 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35342
a47a831a
UD
353432012-01-10 Ulrich Drepper <drepper@gmail.com>
35344
daa891c0
UD
35345 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35346
35347 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35348 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35349 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35350
e58ef0f2
UD
35351 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35352
a47a831a 35353 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35354 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35355 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35357
35358 * math/bits/math-finite.h: Add ldexp support.
35359
a0bfc9c7
MP
353602012-01-10 Marek Polacek <polacek@redhat.com>
35361
35362 * locale/programs/localedef.h (show_archive_content): Add noreturn
35363 attribute.
35364
d6e97a1d
UD
353652012-01-09 Ulrich Drepper <drepper@gmail.com>
35366
35367 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35368
d5835c26
UD
353692012-01-08 Ulrich Drepper <drepper@gmail.com>
35370
e5f484c6
UD
35371 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35372
d5835c26
UD
35373 * io/Makefile (headers): Add bits/poll2.h.
35374
d1f741e9
WS
353752011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35376
35377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35378 typo #include statement.
35379
ec09c1c4
UD
353802012-01-08 Ulrich Drepper <drepper@gmail.com>
35381
35382 * include/sys/cdefs.h: Define __attribute_alloc_size.
35383 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35384 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35385 * elf/pldd.c: Likewise.
35386 * iconv/iconv_charmap.c: Likewise.
35387 * iconv/iconvconfig.c: Likewise.
35388 * iconv/strtab.c: Likewise.
35389 * locale/programs/locale.c: Likewise.
35390 * locale/programs/localedef.h: Likewise.
35391 * locale/programs/simple-hash.c: Likewise.
35392 * nscd/nscd.h: Likewise.
35393 * nss/makedb.c: Likewise.
35394 * sysdeps/generic/ldconfig.h: Likewise.
35395 * locale/programs/localedef.c: Remove xmalloc prototype.
35396 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35397
20b38e03
PP
353982012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35399
35400 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35401 appropriate.
35402
a0da5fe1
UD
354032012-01-08 Ulrich Drepper <drepper@gmail.com>
35404
1d5a644a 35405 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35406 * math/tst-CMPLX.c: New file.
1d5a644a 35407
8784a6db
UD
35408 * math/complex.h (CMPLXL): Fix typo.
35409
d9a216c0
UD
35410 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35411 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35412 GLIBC_2.16.
35413 * debug/tst-chk1.c: Add poll and ppoll tests.
35414 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35415 * include/sys/poll.h: Add hidden proto for ppoll.
35416 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35417 * sysdeps/mach/hurd/ppoll.c: Likewise.
35418 * io/ppoll.c: Likewise.
35419 * debug/poll_chk.c: New file.
35420 * debug/ppoll_chk.c: New file.
35421 * include/bits/poll2.h: New file.
35422 * io/bits/poll2.h: New file.
35423
ac097f5c
UD
35424 [BZ #1350]
35425 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35426
2119dcfa
UD
35427 * configure.in: static is always set to yes. Remove.
35428 * config.make.in: Don't set build-static.
35429 * Makeconfig: Remove use of build-static.
35430 * dlfcn/Makefile: Likewise.
35431 * elf/Makefile: Likewise.
35432 * math/Makefile: Likewise.
35433 * misc/Makefile: Likewise.
35434 * nptl/Makefile: Likewise.
35435 * sysdeps/mach/hurd/Makefile: Likewise.
35436
121766a9
UD
35437 * configure.in: PWD_P is not used anymore.
35438 * config.make.in: Remove PWD_P entry.
35439
51a1d39c 35440 * configure.in: Remove last remnants of RANLIB.
8720d066 35441 No need to check for signed size_t anymore.
215f4bdc
UD
35442 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35443 and IA-64.
3857022a 35444 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35445 * aclocal.m4: Likewise.
35446
d3ed7225
UD
35447 * wcsmbs/mbrtoc16.c: Implement using towc function.
35448 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35449 * wcsmbs/wcsmbsload.c: Likewise.
35450 * iconv/gconv_simple.c: Likewise.
35451 * iconv/gconv_int.h: Likewise.
35452 * iconv/gconv_builtin.h: Likewise.
35453 * iconv/iconv_prog.c: Remove CHAR16 handling.
35454
35455 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35456
35457 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35458
a0da5fe1
UD
35459 * configure.in: Remove --with-elf and --enable-bounded options.
35460 Dont set base_machine for ia64. More non-ELF conditions removed.
35461 Remove testing and setting of leading underscore information.
35462 * config.make.in (build-bounded): Set to no.
35463 * config.h.in: Remove NO_UNDERSCORES entry.
35464 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35465 them.
35466 * csu/start.c: Remove !NO_UNDERSCORE code.
35467 * locale/localeinfo.h: Likewise.
35468 * sysdeps/generic/machine-gmon.h: Likewise.
35469 * sysdeps/generic/sysdep.h: Likewise.
35470 * sysdeps/i386/sysdep.h: Likewise.
35471 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35472 * sysdeps/mach/sysdep.h: Likewise.
35473 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35475 * sysdeps/sh/sysdep.h: Likewise.
35476 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35477 * sysdeps/unix/i386/sysdep.S: Likewise.
35478 * sysdeps/unix/sparc/start.c: Likewise.
35479 * sysdeps/unix/sparc/sysdep.S: Likewise.
35480 * sysdeps/unix/sparc/sysdep.h: Likewise.
35481 * sysdeps/unix/start.c: Likewise.
35482 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35483 * sysdeps/x86_64/sysdep.h: Likewise.
35484
df78418a
UD
354852012-01-07 Ulrich Drepper <drepper@gmail.com>
35486
a784e502
UD
35487 [BZ #13553]
35488 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35489 for non-gcc.
35490 * argp/argp-fmtstream.h: Use const instead __const.
35491 * argp/argp.h: Likewise.
35492 * assert/assert.h: Likewise.
35493 * bits/fenv.h: Likewise.
35494 * bits/sched.h: Likewise.
35495 * bits/sigset.h: Likewise.
35496 * bits/sigthread.h: Likewise.
35497 * catgets/nl_types.h: Likewise.
35498 * conform/data/pthread.h-data: Likewise.
35499 * crypt/crypt-private.h: Likewise.
35500 * crypt/crypt.h: Likewise.
35501 * crypt/crypt_util.c: Likewise.
35502 * ctype/ctype.h: Likewise.
35503 * debug/execinfo.h: Likewise.
35504 * debug/mbsnrtowcs_chk.c: Likewise.
35505 * debug/mbsrtowcs_chk.c: Likewise.
35506 * debug/wcsnrtombs_chk.c: Likewise.
35507 * debug/wcsrtombs_chk.c: Likewise.
35508 * debug/wcstombs_chk.c: Likewise.
35509 * dirent/dirent.h: Likewise.
35510 * dlfcn/dlfcn.h: Likewise.
35511 * elf/neededtest4.c: Likewise.
35512 * grp/grp.h: Likewise.
35513 * gshadow/gshadow.h: Likewise.
35514 * iconv/gconv.h: Likewise.
35515 * iconv/gconv_int.h: Likewise.
35516 * iconv/gconv_simple.c: Likewise.
35517 * iconv/iconv.h: Likewise.
35518 * iconv/loop.c: Likewise.
35519 * iconv/skeleton.c: Likewise.
35520 * include/aio.h: Likewise.
35521 * include/aliases.h: Likewise.
35522 * include/argz.h: Likewise.
35523 * include/arpa/inet.h: Likewise.
35524 * include/assert.h: Likewise.
35525 * include/dirent.h: Likewise.
35526 * include/dlfcn.h: Likewise.
35527 * include/execinfo.h: Likewise.
35528 * include/fcntl.h: Likewise.
35529 * include/fenv.h: Likewise.
35530 * include/glob.h: Likewise.
35531 * include/grp.h: Likewise.
35532 * include/libintl.h: Likewise.
35533 * include/mntent.h: Likewise.
35534 * include/netdb.h: Likewise.
35535 * include/pwd.h: Likewise.
35536 * include/rpc/netdb.h: Likewise.
35537 * include/sched.h: Likewise.
35538 * include/search.h: Likewise.
35539 * include/shadow.h: Likewise.
35540 * include/signal.h: Likewise.
35541 * include/stdio.h: Likewise.
35542 * include/stdlib.h: Likewise.
35543 * include/string.h: Likewise.
35544 * include/sys/socket.h: Likewise.
35545 * include/sys/stat.h: Likewise.
35546 * include/sys/statfs.h: Likewise.
35547 * include/sys/statvfs.h: Likewise.
35548 * include/sys/syslog.h: Likewise.
35549 * include/sys/time.h: Likewise.
35550 * include/sys/uio.h: Likewise.
35551 * include/time.h: Likewise.
35552 * include/unistd.h: Likewise.
35553 * include/utmp.h: Likewise.
35554 * include/wchar.h: Likewise.
35555 * include/wctype.h: Likewise.
35556 * inet/aliases.h: Likewise.
35557 * inet/arpa/inet.h: Likewise.
35558 * inet/netinet/ether.h: Likewise.
35559 * inet/netinet/in.h: Likewise.
35560 * intl/libintl.h: Likewise.
35561 * io/bits/fcntl2.h: Likewise.
35562 * io/fcntl.h: Likewise.
35563 * io/ftw.h: Likewise.
35564 * io/sys/poll.h: Likewise.
35565 * io/sys/stat.h: Likewise.
35566 * io/sys/statfs.h: Likewise.
35567 * io/sys/statvfs.h: Likewise.
35568 * io/utime.h: Likewise.
35569 * libio/bits/stdio.h: Likewise.
35570 * libio/bits/stdio2.h: Likewise.
35571 * libio/libio.h: Likewise.
35572 * libio/libioP.h: Likewise.
35573 * libio/stdio.h: Likewise.
35574 * locale/lc-ctype.c: Likewise.
35575 * locale/locale.h: Likewise.
35576 * login/utmp.h: Likewise.
35577 * malloc/arena.c: Likewise.
35578 * malloc/malloc.c: Likewise.
35579 * malloc/malloc.h: Likewise.
35580 * malloc/mcheck.c: Likewise.
35581 * malloc/mtrace.c: Likewise.
35582 * math/bits/mathcalls.h: Likewise.
35583 * math/fenv.h: Likewise.
35584 * math/math_private.h: Likewise.
35585 * misc/bits/error.h: Likewise.
35586 * misc/bits/syslog.h: Likewise.
35587 * misc/err.h: Likewise.
35588 * misc/error.h: Likewise.
35589 * misc/fstab.h: Likewise.
35590 * misc/mntent.h: Likewise.
35591 * misc/regexp.h: Likewise.
35592 * misc/search.h: Likewise.
35593 * misc/sgtty.h: Likewise.
35594 * misc/sys/mman.h: Likewise.
35595 * misc/sys/syslog.h: Likewise.
35596 * misc/sys/uio.h: Likewise.
35597 * misc/sys/xattr.h: Likewise.
35598 * misc/ttyent.h: Likewise.
35599 * nis/rpcsvc/ypclnt.h: Likewise.
35600 * nss/nss.h: Likewise.
35601 * posix/bits/unistd.h: Likewise.
35602 * posix/fnmatch.h: Likewise.
35603 * posix/glob.h: Likewise.
35604 * posix/sched.h: Likewise.
35605 * posix/spawn.h: Likewise.
35606 * posix/sys/wait.h: Likewise.
35607 * posix/unistd.h: Likewise.
35608 * posix/wordexp.h: Likewise.
35609 * pwd/pwd.h: Likewise.
35610 * resolv/netdb.h: Likewise.
35611 * resource/sys/resource.h: Likewise.
35612 * rt/aio.h: Likewise.
35613 * rt/bits/mqueue2.h: Likewise.
35614 * rt/mqueue.h: Likewise.
35615 * shadow/shadow.h: Likewise.
35616 * signal/signal.h: Likewise.
35617 * socket/send.c: Likewise.
35618 * socket/sendto.c: Likewise.
35619 * socket/sys/socket.h: Likewise.
35620 * stdio-common/printf.h: Likewise.
35621 * stdlib/bits/stdlib.h: Likewise.
35622 * stdlib/fmtmsg.h: Likewise.
35623 * stdlib/monetary.h: Likewise.
35624 * stdlib/stdlib.h: Likewise.
35625 * stdlib/ucontext.h: Likewise.
35626 * streams/stropts.h: Likewise.
35627 * string/argz.h: Likewise.
35628 * string/bits/string2.h: Likewise.
35629 * string/string.h: Likewise.
35630 * string/strings.h: Likewise.
35631 * sunrpc/rpc/auth.h: Likewise.
35632 * sunrpc/rpc/auth_des.h: Likewise.
35633 * sunrpc/rpc/clnt.h: Likewise.
35634 * sunrpc/rpc/netdb.h: Likewise.
35635 * sunrpc/rpc/pmap_clnt.h: Likewise.
35636 * sunrpc/rpc/xdr.h: Likewise.
35637 * sysdeps/generic/inttypes.h: Likewise.
35638 * sysdeps/generic/net/if.h: Likewise.
35639 * sysdeps/generic/sys/swap.h: Likewise.
35640 * sysdeps/gnu/net/if.h: Likewise.
35641 * sysdeps/gnu/utmpx.h: Likewise.
35642 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35643 * sysdeps/i386/i486/bits/string.h: Likewise.
35644 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35645 * sysdeps/s390/bits/string.h: Likewise.
35646 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35647 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35648 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35649 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35650 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35651 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35652 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35653 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35654 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35655 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35656 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35657 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35658 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35659 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35660 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35661 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35662 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35664 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35665 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35666 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35667 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35668 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35669 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35670 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35671 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35672 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35673 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35674 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35675 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35676 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35677 * sysvipc/sys/ipc.h: Likewise.
35678 * sysvipc/sys/msg.h: Likewise.
35679 * sysvipc/sys/sem.h: Likewise.
35680 * sysvipc/sys/shm.h: Likewise.
35681 * termios/termios.h: Likewise.
35682 * time/sys/time.h: Likewise.
35683 * time/time.h: Likewise.
35684 * wcsmbs/bits/wchar2.h: Likewise.
35685 * wcsmbs/uchar.h: Likewise.
35686 * wcsmbs/wchar.h: Likewise.
35687 * wctype/wctype.h: Likewise.
35688
0269750c
UD
35689 [BZ #13551]
35690 * Makeconfig: Remove all but ELF support including AIX support.
35691 * Makerules: Likewise.
35692 * config.h.in: Likewise.
35693 * config.make.in: Likewise.
35694 * configure: Likewise.
35695 * configure.in: Likewise.
35696 * csu/Makefile: Likewise.
35697 * csu/version.c: Likewise.
35698 * debug/Makefile: Likewise.
35699 * dlfcn/Makefile: Likewise.
35700 * elf/Makefile: Likewise.
35701 * extra-lib.mk: Likewise.
35702 * iconv/Makefile: Likewise.
35703 * include/libc-symbols.h: Likewise.
35704 * include/shlib-compat.h: Likewise.
35705 * resolv/Makefile: Likewise.
35706 * resolv/res_libc.c: Likewise.
35707 * rt/Makefile: Likewise.
35708 * sysdeps/i386/asm-syntax.h: Likewise.
35709 * sysdeps/i386/sysdep.h: Likewise.
35710 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35711 * sysdeps/mach/sysdep.h: Likewise.
35712 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35713 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35714 * sysdeps/s390/asm-syntax.h: Likewise.
35715 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35717 * sysdeps/sh/sysdep.h: Likewise.
35718 * sysdeps/unix/sparc/sysdep.h: Likewise.
35719 * sysdeps/wordsize-32/divdi3.c: Likewise.
35720 * sysdeps/x86_64/sysdep.h: Likewise.
35721
00bbd29b
UD
35722 * argp/Versions: Remove _argp_unlock_xxx.
35723
35724 [BZ #13559]
35725 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35726 * abilist/libBrokenLocale.abilist: Likewise.
35727 * abilist/libanl.abilist: Likewise.
35728 * abilist/libc.abilist: Likewise.
35729 * abilist/libcrypt.abilist: Likewise.
35730 * abilist/libdl.abilist: Likewise.
35731 * abilist/libm.abilist: Likewise.
35732 * abilist/libnsl.abilist: Likewise.
35733 * abilist/libpthread.abilist: Likewise.
35734 * abilist/libresolv.abilist: Likewise.
35735 * abilist/librt.abilist: Likewise.
35736 * abilist/libthread_db.abilist: Likewise.
35737 * abilist/libutil.abilist: Likewise.
35738 * abilist/libnss_db.abilist: New file.
35739
35740 * scripts/abilist.awk: Add support for indirect functions.
35741
a2693a0e
UD
35742 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35743
3f05895f
UD
35744 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35745
ecb6fb48
UD
35746 * shlib-versions: Remove entries for ports architectures.
35747
664f8cb9
UD
35748 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35749 files in ports.
35750 * elf/stackguard-macros.h: Remove support for IA-64.
35751 * elf/tst-auditmod1.c: Likewise.
35752 * sysdeps/generic/ldsodefs.h: Likewise.
35753
7ae81d88
UD
35754 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35755 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35756 configure files.
35757
bdeba135
UD
35758 [BZ #13552]
35759 * configure.in: Remove --enable-omitfp support.
35760 * FAQ.in: Adjust.
35761 * config.make.in: Likewise.
35762 * Makeconfig: Likewise.
35763 * manual/install.texi: Likewise.
35764
d75a0a62
UD
35765 In case anyone cares, the IA-64 architecture could move to ports.
35766 * sysdeps/ia64/*: Removed.
35767 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35768 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35769
dcc9756b
UD
35770 [BZ #13555]
35771 * configure.in: Remove entries for unsupported architectures.
35772
d3761ebc 35773 [BZ #13533]
9954432e
UD
35774 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35775 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35776 routines.
35777 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35778 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35779 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35780 fall back to using wcrtomb.
35781 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35782 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35783 renaming.
35784 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35785 * wcsmbs/tst-c16c32-1.c: New file.
35786
35787 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35788 local variable.
35789
c3a87236
UD
35790 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35791
28926a1b
UD
35792 * elf/tst-unique3.cc: Add explicit declaration of gets.
35793 * elf/tst-unique3lib.cc: Likewise.
35794 * elf/tst-unique3lib2.cc: Likewise.
35795 * elf/tst-unique4.cc: Likewise.
35796
df78418a
UD
35797 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35798
8ecd6b2a
JM
357992012-01-06 Joseph Myers <joseph@codesourcery.com>
35800
35801 [BZ #13566]
35802 * assert/assert.h (static_assert): Don't define for C++.
35803 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35804 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35805
9f115170
UD
358062012-01-03 Ulrich Drepper <drepper@gmail.com>
35807
5e0d0300
UD
35808 * iconv/loop.c (single loop): Fix assertion in storing of
35809 remaining bytes.
35810
9f115170
UD
35811 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35812
81fb02b0
UD
358132012-01-01 Ulrich Drepper <drepper@gmail.com>
35814
35815 * posix/getconf.c: Update copyright year.
35816 * nss/getent.c: Likewise.
a316c1f6 35817 * nss/makedb.c: Likewise.
81fb02b0
UD
35818 * iconv/iconvconfig.c: Likewise.
35819 * iconv/iconv_prog.c: Likewise.
35820 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35821 * elf/pldd.c: Likewise.
35822 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35823 * catgets/gencat.c: Likewise.
35824 * csu/version.c: Likewise.
35825 * elf/ldd.bash.in: Likewise.
35826 * elf/sprof.c (print_version): Likewise.
35827 * locale/programs/locale.c: Likewise.
35828 * locale/programs/localedef.c: Likewise.
a316c1f6 35829 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35830 * nscd/nscd.c (print_version): Likewise.
35831 * debug/xtrace.sh: Likewise.
35832 * malloc/memusage.sh: Likewise.
35833 * malloc/mtrace.pl: Likewise.
35834 * debug/catchsegv.sh: Likewise.
35835
2ba92745
JJ
358362011-12-30 Jakub Jelinek <jakub@redhat.com>
35837
35838 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35839 pure attribute.
35840
dadebdae
UD
358412011-12-24 Ulrich Drepper <drepper@gmail.com>
35842
d3761ebc 35843 [BZ #13533]
db6af3eb
UD
35844 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35845 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35846 transformations.
35847 * iconv/gconv_int.h: Likewise.
35848 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35849 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35850 from libc for GLIBC_2.16.
35851 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35852 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35853 * wcsmbs/uchar.h: Really define mbstate_t.
35854 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35855 * wcsmbs/c16rtomb.c: New file.
35856 * wcsmbs/mbrtoc16.c: New file.
35857 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35858 for C/POSIX locale.
35859 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35860 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35861
dadebdae
UD
35862 * wcsmbs/wchar.h: Add missing __restrict.
35863
67371b56
UD
358642011-12-23 Ulrich Drepper <drepper@gmail.com>
35865
74033a25
UD
35866 [BZ #13532]
35867 * time/Makefile (routines): Add timespec_get.
35868 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35869 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35870 timespec for ISO C11.
35871 * time/timespec_get.c: New file.
35872 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35873 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35874
380d7e87
UD
35875 [BZ #13531]
35876 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35877 * stdlib/stdlib.h: Declare aligned_alloc.
35878 * Versions.def: Add GLIBC_2.16 for libc.
35879 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35880
4e9e7a35
UD
35881 [BZ 13527]
35882 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35883 ISO C11.
35884
380d7e87 35885 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35886 code.
35887
03a71829
UD
35888 [BZ #13528]
35889 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35890
839e283e
UD
35891 [BZ #13529]
35892 * assert/assert.h (static_assert): Define.
35893
ce5294e2 35894 * version.h: Update for 2.16 development version.
90fa7312 35895
8d44e150 35896 [BZ #13526]
d7809905
UD
35897 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35898 _ISOC11_SOURCE.
35899
c0da14cd
UD
35900 * version.h (RELEASE): Bump for 2.15 release.
35901 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35902
530a3249
MP
35903 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35904 Patch by Marek Polacek <mpolacek@redhat.com>.
35905
67371b56
UD
35906 * bits/byteswap.h: Protect long long constants with __extension__.
35907 * sysdeps/i386/bits/byteswap.h: Likewise.
35908 * sysdeps/ia64/bits/byteswap.h: Likewise.
35909 * sysdeps/s390/bits/byteswap.h: Likewise.
35910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35911
15db4de1
LD
359122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35913
35914 [BZ #13540]
bbe315ea
LD
35915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35916 destination buffer.
15db4de1
LD
35917 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35918
2b2596b1
MP
359192011-12-23 Marek Polacek <polacek@redhat.com>
35920
35921 * elf/dl-addr.c (determine_info): Add inline keyword.
35922 * elf/tst-auditmod4b.c (check_avx): Likewise.
35923 * elf/tst-auditmod6b.c (check_avx): Likewise.
35924 * elf/tst-auditmod6c.c (check_avx): Likewise.
35925 * elf/tst-auditmod7b.c (check_avx): Likewise.
35926
70c6c246
UD
359272011-12-23 Ulrich Drepper <drepper@gmail.com>
35928
35929 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35930 !__SSE_MATH__.
35931
c044cf14
LD
359322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35933
15db4de1 35934 [BZ #13540]
c044cf14
LD
35935 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35936 processing for last bytes.
35937
6b13d9d9
BH
359382011-08-06 Bruno Haible <bruno@clisp.org>
35939
d455f537
BH
35940 [BZ #13061]
35941 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35942 U+0385, not to U+1FEE.
35943
6b13d9d9
BH
35944 [BZ #13062]
35945 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35946 entry for U+00A5 U+0301.
35947
db910efd
UD
359482011-12-22 Ulrich Drepper <drepper@gmail.com>
35949
27deeafc
UD
35950 [BZ #13166]
35951 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35952 buffer for the output is too small.
35953
aed9d171
UD
35954 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35955 optimization.
35956
db910efd
UD
35957 [BZ #13185]
35958 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35959 SSE flags if possible.
35960
2bd779ae
LD
359612011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35962
e7f9dac3 35963 [BZ #13540]
2bd779ae
LD
35964 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35965 processing for last bytes.
35966
154bfc16
JM
359672011-12-22 Joseph Myers <joseph@codesourcery.com>
35968
35969 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35970 (syscall-list-default-options, syscall-list-default-condition)
35971 (syscall-list-includes): Define.
35972 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35973 list of ABIs and options and #if conditions for each ABI. Do not
35974 handle common syscalls between ABIs specially.
35975 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35976 Remove.
35977 (syscall-list-variants, syscall-list-32bit-options)
35978 (syscall-list-32bit-condition, syscall-list-64bit-options)
35979 (syscall-list-64bit-condition): Define.
35980 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35981 (syscall-list-variants, syscall-list-32bit-options)
35982 (syscall-list-32bit-condition, syscall-list-64bit-options)
35983 (syscall-list-64bit-condition): Define.
35984 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35985 Remove.
35986 (syscall-list-variants, syscall-list-32bit-options)
35987 (syscall-list-32bit-condition, syscall-list-64bit-options)
35988 (syscall-list-64bit-condition): Define.
35989 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35990 Remove.
35991 (syscall-list-variants, syscall-list-32bit-options)
35992 (syscall-list-32bit-condition, syscall-list-64bit-options)
35993 (syscall-list-64bit-condition): Define.
35994
21eaf3a5
UD
359952011-12-22 Ulrich Drepper <drepper@gmail.com>
35996
16c6f992
UD
35997 * locale/iso-639.def: Add brx entry.
35998
41043168
UD
35999 [BZ #13328]
36000 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36001 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36002
21eaf3a5
UD
36003 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36004 __feraiseexcept_renamed.
36005
e3a851a2
UD
360062011-12-21 Ulrich Drepper <drepper@gmail.com>
36007
4920765e
UD
36008 [BZ #13538]
36009 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36010 EPOLLET with unsigned values.
36011 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36012 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36013
e3a851a2
UD
36014 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36015 to large cancellation.
36016 * math/s_cacoshf.c: Likewise.
36017 * math/s_cacoshl.c: Likewise.
36018
b27e24b8
RK
360192011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36020
36021 [BZ #13305]
aebefeee 36022 [BZ #12786]
b27e24b8
RK
36023 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36024 * math/s_cacoshf.c: Likewise.
36025 * math/s_cacoshl.c: Likewise.
36026
ee190f67
UD
360272011-12-21 Ulrich Drepper <drepper@gmail.com>
36028
36029 [BZ #13439]
36030 * iconv/gconv.h: Define __GCONV_SWAP.
36031 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36032 * iconvdata/utf-16.c: Likewise.
36033 * iconvdata/utf-32.c: Likewise.
36034
707f25df
AS
360352011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36036
36037 [BZ #13524]
36038 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36039 numerator after shifting it by one limb.
36040
d2daaa1e
RÁE
360412011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36042
36043 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36044 under [__USE_EXTERN_INLINES].
36045
a4647e72
UD
360462011-12-17 Ulrich Drepper <drepper@gmail.com>
36047
36048 [BZ #13446]
36049 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36050
f0b264f1
AZ
360512011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36052
36053 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36054 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36055 optimized code.
36056 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36057 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36058 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36059 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36060 for strncasecmp/strncasecmp_l compilation.
36061 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36062 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36063
8ef4f244
MP
360642011-12-08 Marek Polacek <mpolacek@redhat.com>
36065
36066 [BZ #13484]
36067 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36068 of __asm__.
36069
97ac2654
UD
360702011-12-17 Ulrich Drepper <drepper@gmail.com>
36071
36072 [BZ #13506]
36073 * time/tzfile.c (__tzfile_read): Check values from file header.
36074
91d2a845
WS
360752011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36076
36077 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36078 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36079 * powerpc/powerpc32/dl-start.S: Likewise.
36080 * powerpc/powerpc32/elf/start.S: Likewise.
36081 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36082 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36083 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36084 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36085 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36086 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36087 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36088 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36089 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36090 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36091 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36092 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36093 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36094 * powerpc/powerpc32/memset.S: Likewise.
36095 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36096 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36097 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36098 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36099 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36100 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36101 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36102 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36103 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36104 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36105 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36106 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36107 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36108
a1267ba1
AZ
361092011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36110
36111 * math/libm-test.inc: Added more nearbyint tests.
36112 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36113 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36114 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36115 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36116
ad8ac1bd
RL
361172011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36118
36119 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36120 FD_CLOEXEC.
36121
1d3e4b61
UD
361222011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36123
36124 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36125 Add wcscpy-ssse3 wcscpy-c.
36126 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36127 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36128 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36129 * sysdeps/x86_64/wcschr.S: New file.
36130 * sysdeps/x86_64/wcsrchr.S: New file.
36131 * string/test-strcmp.c: Remove checking of wcscmp function for
36132 wrong alignments.
36133 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36134 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36135 wcsrchr-sse2 wcsrchr-c.
36136 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36137 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36138 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36139 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36140 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36141 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36142 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36143 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36144 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36145 * wcsmbc/wcschr.c (WCSCHR): New macro.
36146
5b330a2d
UD
361472011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36148
36149 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36150 * wcsmbs/test-wcsrchr.c: New file.
36151 * string/test-strrchr.c: Add wcsrchr support.
36152 (WIDE): New macro.
36153 * wcsmbs/test-wcscpy.c: New file.
36154 * string/test-strcpy.c: Add wcscpy support.
36155 (WIDE): New macro.
26428b7c 36156
f039c043
UD
361572011-12-10 Ulrich Drepper <drepper@gmail.com>
36158
36159 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36160 the inner loop.
36161
850fb039
AS
361622011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36163
36164 [BZ #13472]
36165 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36166
4efbd5cb
UD
361672011-12-04 Ulrich Drepper <drepper@gmail.com>
36168
52ff5dd0 36169 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36170 Minor optimizations.
52ff5dd0 36171
4efbd5cb
UD
36172 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36173 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36174 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36175
8a426e12
UD
361762011-12-03 Ulrich Drepper <drepper@gmail.com>
36177
aff2453d
UD
36178 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36179 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36180 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36181 for gcc to avoid warnings.
36182 * inet/Makefile (tests): Add tst-checks.
36183 * inet/tst-checks.c: New file.
36184
36185 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36186 warning.
36187
36188 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36189 __wmemcmp_sse2.
36190
36191 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36192 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36193
8a426e12
UD
36194 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36195
9bea3473
UD
361962011-12-02 Ulrich Drepper <drepper@gmail.com>
36197
3a965496
UD
36198 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36199 problem.
36200
9bea3473
UD
36201 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36202
f101631b
UD
362032011-11-29 Joseph Myers <joseph@codesourcery.com>
36204
36205 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36206 conditional on GCC version.
36207 (__arch_compare_and_exchange_val_8_acq)
36208 (__arch_compare_and_exchange_val_16_acq)
36209 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36210 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36211 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36212
a98275aa
UD
362132011-12-02 Joseph Myers <joseph@codesourcery.com>
36214
36215 * sysdeps/sh/backtrace.c: New file.
36216
d4cc29a2
AS
362172011-12-02 Andreas Schwab <schwab@redhat.com>
36218
36219 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36220 parenthesis.
36221
6257af2d
AS
362222011-12-01 Andreas Schwab <schwab@redhat.com>
36223
36224 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36225 falling back to utime.
36226
b5f44c1a
AS
362272011-11-30 Andreas Schwab <schwab@redhat.com>
36228
36229 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36230 expectations for float.
36231
f3a6cc0a
AS
362322011-11-29 Andreas Schwab <schwab@redhat.com>
36233
36234 * locale/weight.h (findidx): Add parameter len.
36235 * locale/weightwc.h (findidx): Likewise.
36236 * posix/fnmatch_loop.c (FCT): Adjust caller.
36237 * posix/regcomp.c (build_equiv_class): Likewise.
36238 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36239 * posix/regexec.c (check_node_accept_bytes): Likewise.
36240 * string/strcoll_l.c (STRCOLL): Likewise.
36241 * string/strxfrm_l.c (STRXFRM): Likewise.
36242
9d65ea3a
UD
362432011-11-17 Ulrich Drepper <drepper@gmail.com>
36244
36245 * Makefile.in: Remove CVSOPT handling.
36246 * configure.in: Remove use of AC_REVISION.
36247 * iconvdata/Makefile (distribute): No need to filter out CVS.
36248 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36249 handling.
36250
5583a086
AS
362512011-11-16 Andreas Schwab <schwab@redhat.com>
36252
36253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36254 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36255 [USE_AS_STRNCASECMP_L]: Likewise.
36256 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36257 NO_TLS_DIRECT_SEG_REFS.
36258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36259 Fix argument offsets for non-PIC.
36260 [USE_AS_STRNCASECMP_L]: Likewise.
36261 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36262 NO_TLS_DIRECT_SEG_REFS.
36263
d62a8200
UD
362642011-11-15 Ulrich Drepper <drepper@gmail.com>
36265
9d65ea3a 36266 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36267 O_CLOEXEC.
36268 * locale/loadlocale.c (_nl_load_locale): Likewise.
36269
09f93bd3
AS
362702011-11-15 Andreas Schwab <schwab@redhat.com>
36271
446514f9
AS
36272 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36273 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36274 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36275 (SYSCALL_GETTIME): Set errno on error.
36276
09f93bd3
AS
36277 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36278 count references to noai6ai_cached.
36279
312be3f9
UD
362802011-11-15 Ulrich Drepper <drepper@gmail.com>
36281
36282 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36283
36284 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36285 FD_CLOEXEC for /proc/self/maps.
36286
36287 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36288 FD_CLOEXEC for /proc/meminfo.
36289
36290 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36291 gai.conf.
36292
36293 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36294 FD_CLOEXEC for given file.
36295
36296 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36297
36298 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36299 FD_CLOEXEC for /etc/hosts.
36300 (_gethtent): Likewise.
36301
36302 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36303
36304 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36305 cancellation and set FD_CLOEXEC for /etc/netgroup.
36306
36307 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36308 reading /etc/publickey.
36309
36310 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36311 allow cancellation when reading /etc/group.
36312
36313 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36314 cancellation.
36315 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36316
36317 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36318 when using data file.
36319
36320 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36321
36322 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36323 (write_nis_obj): Use "c" and "e" in fopen.
36324
36325 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36326
36327 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36328
36329 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36330
36331 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36332
36333 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36334 locale.alias.
36335
36336 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36337
36338 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36339
36340 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36341
36342 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36343 file parsing and set FD_CLOEXEC.
36344
82af0fa8
UD
363452011-11-14 Ulrich Drepper <drepper@gmail.com>
36346
36347 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36348
a5fb313c
AS
363492011-11-14 Andreas Schwab <schwab@redhat.com>
36350
36351 * malloc/arena.c (arena_get2): Don't call reused_arena when
36352 _int_new_arena failed.
36353
6abf3465
UD
363542011-11-14 Ulrich Drepper <drepper@gmail.com>
36355
36356 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36357 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36359 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36360 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36361 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36362 to compile strcasecmp and strncasecmp.
36363 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36364 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36365
36366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36367
76e3966e
UD
363682011-11-13 Ulrich Drepper <drepper@gmail.com>
36369
36370 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36371 locale-defines.sym to gen-as-const-headers.
36372 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36373 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36375 to compile strcasecmp and strncasecmp.
36376 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36377 strcasecmp_l and strncasecmp_l.
36378 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36379 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36380 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36381 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36382 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36383 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36384 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36385 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36386 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36387 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36388 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36389
ab26144e
UD
363902011-11-12 Ulrich Drepper <drepper@gmail.com>
36391
7edb22ef
UD
36392 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36393 result of SYSDEP_GETTIME_CPU to retval.
36394 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36395 parameter list to macro. Remove trailing semicolon. Adjust users.
36396
9694fc44
UD
36397 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36398 variable.
36399
8ad89ef8
UD
36400 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36401 mantissa words.
36402 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36403
0c822ef9
UD
36404 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36405 from unused variable.
36406
874e0564
UD
36407 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36408 DWARF definitions.
36409 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36410 for assembling.
36411
3a2edc79
UD
36412 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36413 over namespaces.
36414
f3c2577f
UD
36415 * sunrpc/rpc_prot.c (rejected): Fix case value.
36416
294ce126
UD
36417 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36418 unsigned long long int to avoid warnings in shift.
36419
5e2b63c6
UD
36420 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36421 of use of trans.
36422 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36423 variable tmp.
36424
e7f4b08e
UD
36425 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36426 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36427 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36428
ab26144e
UD
36429 * nis/nis_table.c (nis_list): Use variable of correct type for
36430 result of __follow_path call.
36431
8a6d5255
AZ
364322011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36433
36434 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36435 of math functions ceil, trunc, floor, round, and sqrt, when
36436 avaliable on the platform.
36437 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36438 name clash.
36439 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36440 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36441 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36442
aaddc98c
MP
364432011-10-30 Marek Polacek <mpolacek@redhat.com>
36444
36445 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36446 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36447
95b7042b
RM
364482011-11-11 Roland McGrath <roland@hack.frob.com>
36449
36450 * include/unistd.h: Fix __readlink return type.
36451 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36452
57769839
UD
364532011-11-11 Ulrich Drepper <drepper@gmail.com>
36454
36455 * stdlib/ucontext.h: Undo last change for makecontext.
36456
edc5984d
AS
364572011-11-11 Andreas Schwab <schwab@redhat.com>
36458
98591e58
AS
36459 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36460
edc5984d
AS
36461 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36462 * setjmp/setjmp.h: Mark functions as non-leaf.
36463 * setjmp/bits/setjmp2.h: Likewise.
36464 * stdlib/ucontext.h: Likewise.
36465
77cdc054
AS
364662011-11-10 Andreas Schwab <schwab@redhat.com>
36467
36468 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36469 (reused_arena): Don't check arena limit.
36470 (arena_get2): Atomically check arena limit.
36471
fe72eebd
UD
364722011-11-08 Ulrich Drepper <drepper@gmail.com>
36473
5f078c32
UD
36474 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36475 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36476
fe72eebd
UD
36477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36478 instructions.
36479
ae1bc2fa
AS
364802011-11-07 Andreas Schwab <schwab@redhat.com>
36481
7583a88d
AS
36482 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36483 handler when locking.
36484
ae1bc2fa
AS
36485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36486 Fix size of allocated buffer.
36487
10fb0bfa
AS
364882011-11-04 Andreas Schwab <schwab@redhat.com>
36489
998832a4
AS
36490 [BZ #10103]
36491 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36492 declarations for long double functions.
36493 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36494
10fb0bfa
AS
36495 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36496
3d7ba52b
AS
364972011-11-03 Andreas Schwab <schwab@redhat.com>
36498
a9ae54a1
AS
36499 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36500 installed.
36501
3d7ba52b
AS
36502 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36503 is disabled.
36504
bc8db248
ST
365052011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36506
36507 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36508
45b96dd6
AS
365092011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36510
647776f6
AS
36511 * include/alloca.h (stackinfo_alloca_round): Define.
36512 (extend_alloca): Use it.
36513 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36514 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36515 here.
36516
d91a8b93
AS
36517 * scripts/check-local-headers.sh: Ignore libaudit.h.
36518
45b96dd6
AS
36519 * nscd/Makefile (extra-objs): Make recursively expanded.
36520
432d41ce
UD
365212011-11-01 Ulrich Drepper <drepper@gmail.com>
36522
34372fc6
UD
36523 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36524 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36525
fadb59f8
UD
36526 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36527 * posix/tst-rfc3484-2.c: Likewise.
36528 * posix/tst-rfc3484-3.c: Likewise.
36529
78239589
UD
36530 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36531 process_vm_writev.
36532 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36533 process_vm_writev.
36534 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36535 process_vm_writev from libc using GLIBC_2.15 version.
36536
432d41ce
UD
36537 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36538
02f9c6cf
PP
365392011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36540
36541 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36542 stack usage.
36543
3a2c0242
UD
365442011-10-31 Ulrich Drepper <drepper@gmail.com>
36545
f4ec4833
UD
36546 [BZ #13367]
36547 * nss/getent.c (initgroups_keys): Show error message in case no group
36548 names are given.
36549
3a2c0242
UD
36550 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36551 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36552 __bump_nl_timestamp.
36553 * nscd/connections (nscd_init): When host database is served open
36554 netlink socket and request notification about configuration changes.
36555 (main_loop_poll): Track netlink file descriptor and bump timestamp
36556 in case data becomes available.
36557 (main_loop_epoll): Likewise.
36558 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36559 (database_pers_head): Add extra_data fileds.
36560 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36561 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36562 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36563 Adjust caller.
36564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36565 in6ai data, call __free_in6ai.
36566 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36567 Add -DHAVE_NETLINK.
36568 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36569 interface information. Reuse previous data if netlink timestamp
36570 is not changed.
36571 (__bump_nl_timestamp): New function.
36572 (__free_in6ai): New function.
36573
636064eb
UD
365742011-10-30 Ulrich Drepper <drepper@gmail.com>
36575
36576 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36577 close_not_cancel_no_status here.
36578 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36579
9beb2334
UD
365802011-10-29 Ulrich Drepper <drepper@gmail.com>
36581
6ef76f3b
UD
36582 [BZ #13276]
36583 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36584 return value.
36585
0ffc4f3e 36586 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36587 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36588 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36589
cb95113e
UD
365902011-07-03 Andreas Jaeger <aj@suse.de>
36591
36592 [BZ #10709]
36593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36594 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36595 * math/libm-test.inc (sin_test): Add test case.
36596
a1b560ff
UD
365972011-10-29 Ulrich Drepper <drepper@gmail.com>
36598
c9aaface
UD
36599 [BZ #13337]
36600 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36601 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36602
d272e7f1
UD
36603 * elf/chroot_canon.c (chroot_canon): Cleanups.
36604
1bc33071
UD
36605 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36606
1760874d
TJ
36607 [BZ #13335]
36608 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36609 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36610
51d91b18
UD
36611 * string/test-strchr.c: Make usable for strchrnul testing.
36612 * string/test-strchrnul.c: New file.
36613 * string/Makefile (strop-tests): Add strchrnul.
36614
a1b560ff 36615 * po/it.po: Update from translation team.
b611fb81 36616 * po/es.po: Likewise.
a1b560ff 36617
a5b81e1f
UD
366182011-10-28 Ulrich Drepper <drepper@gmail.com>
36619
fd52bc6d
UD
36620 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36621 the three constants needed as parameters. Drop the others.
36622 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36623 __m128i_strloadu_tolower.
52e4b9eb
UD
36624 Create and initialize variable zero and use it in all the places
36625 where _mm_setzero_si128 was used.
fd52bc6d 36626
a5b81e1f
UD
36627 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36628 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36629 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36630 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36631 anymore.
36632 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36633 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36634 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36635 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36636 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36637 __mpranred, __mptan.
36638 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36639 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36640 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36641 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36642 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36643 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36644 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36645 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36646 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36647
b4343346
AS
366482011-10-28 Andreas Schwab <schwab@redhat.com>
36649
0c92d8a8
AS
36650 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36651 redefine if SHARED.
36652 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36653
b4343346
AS
36654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36655 wide char related routines to wcsmbs subdir.
36656
3871f58f
AS
366572011-10-27 Andreas Schwab <schwab@redhat.com>
36658
36659 [BZ #13344]
36660 * misc/sys/cdefs.h (__THROWNL): Define.
36661 * posix/unistd.h: Use __THREADNL instead of __THREAD
36662 for memory synchronization functions.
36663
94d44d9f
RM
366642011-10-26 Roland McGrath <roland@hack.frob.com>
36665
21b64b15 36666 [BZ #13349]
94d44d9f
RM
36667 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36668 doesn't exist.
36669 * manual/stdio.texi (Obstack Streams): Node removed.
36670
f6ce9294
AS
366712011-10-26 Andreas Schwab <schwab@redhat.com>
36672
80479147
AS
36673 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36674 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36675 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36676
f6ce9294
AS
36677 * math/math_private.h (math_force_eval): Allow non-addressable
36678 arguments.
36679 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36680
618280a1
UD
366812011-10-25 Ulrich Drepper <drepper@gmail.com>
36682
e0016b11
UD
36683 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36684 file is not needed.
36685
36686 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36688 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36689 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36690 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36691 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36692 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36693 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36694 Add AVX variants.
36695 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36696 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36697 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36698 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36699 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36700 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36701 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36702 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36703 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36704 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36705 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36706 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36707 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36708 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36709 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36710 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36711 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36712 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36713 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36714
36715 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36716 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36717
618280a1
UD
36718 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36719 place. Use VEX encoding when compiling for AVX.
36720
37822576
AS
367212011-10-25 Andreas Schwab <schwab@redhat.com>
36722
1f1e1947
AS
36723 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36724 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36725
37822576
AS
36726 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36727
31ea014d
UD
367282011-10-25 Ulrich Drepper <drepper@gmail.com>
36729
d7826aa1 36730 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36731 useless if() expression.
d7826aa1
UD
36732 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36733 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36734 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36735 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36736 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36737 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36738 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36739 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36740 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36741 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36742 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36744 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36745 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36746 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36747 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36748 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36750 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36751
31ea014d
UD
36752 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36753
16437fec
AS
367542011-10-25 Andreas Schwab <schwab@redhat.com>
36755
36756 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36757 condition.
36758 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36759
31d3cc00
UD
367602011-10-25 Ulrich Drepper <drepper@gmail.com>
36761
36762 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36763 .text section. Avoid duplicate constants.
36764 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36766 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36772 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36773 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36774 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36775 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36776 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36777 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36778 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36779 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36780 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36781 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36782 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36784 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36785 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36786 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36787 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36788 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36789 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36790 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36791 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36793 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36794 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36795 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36796 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36797 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36798 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36799 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36800 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36801 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36802 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36803 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36804 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36805 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36806 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36807 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36808 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36809
58985aa9
UD
368102011-10-24 Ulrich Drepper <drepper@gmail.com>
36811
202c9deb
UD
36812 * sysdeps/x86_64/dla.h: Move to ...
36813 * sysdeps/x86_64/fpu/dla.h: ...here.
36814 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36815 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36816
af968f62
UD
36817 * config.make.in: Add have-mfma4 entry.
36818 * configure.in: Substitute libc_cv_cc_fma4.
36819 * math/Makefile (dbl-only-routines): Add sincostab.
36820 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36821 Use __sincostab not sincos.
36822 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36823 name is a macro.
36824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36828 using __copysign.
36829 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36830 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36831 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36832 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36833 and __inv.
36834 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36835 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36836 __copysign.
36837 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36838 define aliases when function name is a macro.
36839 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36840 sysdeps/ieee754/dbl-64/sincos.tbl.
36841 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36842 fma4-enabled routines.
36843 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36844 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36845 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36846 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36847 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36848 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36849 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36850 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36852 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36853 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36854 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36855 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36856 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36857 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36858 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36859 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36860 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36861 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36862 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36863 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36864 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36865 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36866 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36868 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36870 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36871 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36872 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36873
58985aa9
UD
36874 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36875 rename.
36876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36877 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36882 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36884
a201fbcf
AS
368852011-10-24 Andreas Schwab <schwab@redhat.com>
36886
36887 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36888
fc2ee42a
LD
368892011-10-23 Ulrich Drepper <drepper@gmail.com>
36890
bb3129bd
UD
36891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36892
0275fff8
UD
36893 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36894 prediction.
36895 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36896
2fa2ae85
UD
36897 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36898 Remove unused variable magic_bits.
36899 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36900
fc2ee42a
LD
36901 * string/strnlen.c: Define and use STRNLEN macro.
36902 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36903 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36904 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36905 * wcsmbs/wcslen.c: Define and use WCSLEN.
36906 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36907 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36908 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36909 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36910 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36911 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36912 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36913
ce7dd29f
LD
369142011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36915
36916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36917 strnlen-sse2-no-bsf.
36918 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36919 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36920 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36921 Add strnlen support.
36922 (USE_AS_STRNLEN): New macro.
36923 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36924 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36925 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36926 * sysdeps/x86_64/wcslen.S: New file.
36927
979c70a3
MZ
369282011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36929
36930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36931 XMM-moves are used for copying on small sizes.
36932
2d09f82f
LD
369332011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36934
36935 * wcsmbs/Makefile (strop-tests): Add wcschr.
36936 * wcsmbs/test-wcschr.c: New file.
36937 * string/test-strchr.c: Update.
36938 Add wcschr support.
36939 (WIDE): New macro.
36940
619fccca
LD
369412011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36942
2d09f82f 36943 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36944 * wcsmbs/test-wcslen.c: New file.
36945 * string/test-strlen.c: Update.
36946 Add wcslen support.
36947 (WIDE): New macro.
36948
09f699ea
UD
369492011-10-23 Ulrich Drepper <drepper@gmail.com>
36950
36951 * po/it.po: Update from translation team.
36952
95584d3b
LD
369532011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36954
36955 * sysdeps/x86_64/wcscmp.S: Update.
36956 Fix wrong comparison semantics.
36957 wcscmp shall use signed comparison not unsigned.
36958 Don't use substraction to avoid overflow bug.
36959 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36960 * wcsmbc/wcscmp.c: Likewise.
36961 * string/test-strcmp.c: Likewise.
36962 Add new tests to check cases with negative values.
36963
c8b3296b
UD
369642011-10-23 Ulrich Drepper <drepper@gmail.com>
36965
36966 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36967 * sysdeps/x86_64/dla.h: ...here. New file.
36968 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36969 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36973 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36974 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36976 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36977
246ad57a
AS
369782011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36979
36980 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36981 __ynl_finite aliases.
36982
a1a87169
UD
369832011-10-22 Ulrich Drepper <drepper@gmail.com>
36984
0d355eb7
UD
36985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36986
a1a87169
UD
36987 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36988 define DLA_FMA.
36989 [DLA_FMA] (EMULV): Use DLA_FMA.
36990 [DLA_FMA] (MUL12): Use EMULV.
36991 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36992 that are not needed.
36993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37000
ee2aafe0
AS
370012011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37002
37003 * math/s_nan.c: Undef __nan.
37004 * math/s_nanf.c: Undef __nanf.
37005 * math/s_nanl.c: Undef __nanl.
37006 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37007 "math_private.h".
37008
bc62c2fb
UD
370092011-10-22 Ulrich Drepper <drepper@gmail.com>
37010
77425c63
UD
37011 * math/s_catan.c: Add branch predictions.
37012 * math/s_catanf.c: Likewise.
37013 * math/s_catanh.c: Likewise.
37014 * math/s_catanhf.c: Likewise.
37015 * math/s_catanhl.c: Likewise.
37016 * math/s_catanl.c: Likewise.
37017 * math/s_cexp.c: Likewise.
37018 * math/s_cexpf.c: Likewise.
37019 * math/s_cexpl.c: Likewise.
37020 * math/s_clog.c: Likewise.
37021 * math/s_clog10.c: Likewise.
37022 * math/s_clog10f.c: Likewise.
37023 * math/s_clog10l.c: Likewise.
37024 * math/s_clogf.c: Likewise.
37025 * math/s_clogl.c: Likewise.
37026 * math/s_csqrt.c: Likewise.
37027 * math/s_csqrtf.c: Likewise.
37028 * math/s_csqrtl.c: Likewise.
37029 * math/s_ctanf.c: Likewise.
37030 * math/s_ctanh.c: Likewise.
37031 * math/s_ctanhf.c: Likewise.
37032 * math/s_ctanhl.c: Likewise.
37033 * math/s_ctanl.c: Likewise.
37034
bc62c2fb
UD
37035 * math/math_private.h: Define __nan, __nanf, __nanl.
37036 * math/s_cacosh.c: Include <math_private.h>.
37037 * math/s_cacoshl.c: Likewise.
37038 * math/s_casinh.c: Likewise.
37039 * math/s_casinhf.c: Likewise.
37040 * math/s_casinhl.c: Likewise.
37041 * math/s_ccos.c: Rely entire on ccosh.
37042 * math/s_ccosf.c: Rely entire on ccoshf.
37043 * math/s_ccosl.c: Rely entirely on ccoshl.
37044 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37045 Remove tests for FE_INVALID.
37046 * math/s_ccoshf.c: Likewise.
37047 * math/s_ccoshl.c: Likewise.
37048 * math/s_csin.c: Likewise.
37049 * math/s_csinf.c: Likewise.
37050 * math/s_csinh.c Likewise.
37051 * math/s_csinhf.c: Likewise.
37052 * math/s_csinhl.c: Likewise.
37053 * math/s_csinl.c: Likewise.
37054 * math/s_ctan.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37056 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37057 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37058
8ec250a4
UD
370592011-10-21 Ulrich Drepper <drepper@gmail.com>
37060
c196fed8
UD
37061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37062 compilation problems.
37063
8ec250a4
UD
37064 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37065 __builtin_expect.
37066
8d4f46c6
UD
370672011-10-20 Ulrich Drepper <drepper@gmail.com>
37068
ed72b654
UD
37069 * sysdeps/i386/configure.in: Test for -mfma4 option.
37070 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37071 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37072 COMMON_CPUID_INDEX_80000001.
37073 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37074 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37075 use it if FMA3 is not supported.
37076 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37077
8d4f46c6
UD
37078 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37079 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37080
d45c60c2
AS
370812011-10-20 Andreas Schwab <schwab@redhat.com>
37082
37083 [BZ #12892]
37084 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37085 it would create a cycle with a link time dependency.
37086
d9a4d2ab
UD
370872011-10-19 Ulrich Drepper <drepper@gmail.com>
37088
855d1560
UD
37089 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37090 instruction.
37091 * string/Makefile (strop-tests): Add rawmemchr.
37092 * string/test-rawmemchr.c: New file.
37093
d9a4d2ab
UD
37094 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37095 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37096 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37097 when compiling str{,n}casecmp and when AVX is available. Hook up
37098 new optimized code in initializers.
37099
8f3b1ffe
AS
371002011-10-19 Andreas Schwab <schwab@redhat.com>
37101
37102 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37103 __feraiseexcept instead of feraiseexcept.
37104
d38f1dba
UD
371052011-10-18 Ulrich Drepper <drepper@gmail.com>
37106
d9a8d0ab
UD
37107 * math/math_private.h: Define defaults for libc_fetestexcept and
37108 libc_feupdateenv.
37109 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37110 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37111 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37112 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37113 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37114 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37115 libc_fetestexcept and libc_feupdateenv.
37116
4855e3dd
UD
37117 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37118 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37119 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37120 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37121 libc_feholdexcept_setround.
37122
581d30e3
UD
37123 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37124 Add s_nearbyint-c and s_nearbyintf-c.
37125 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37126 nearbyintf inlines.
37127 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37128 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37129 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37130 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37131
d38f1dba
UD
37132 * math/math_private.h: Define defaults for libc_fegetround,
37133 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37134 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37135 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37136 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37137 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37138 standard functions.
37139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37140 Remove comments and hacks for old compiler versions.
37141 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37142 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37143 libc_feholdexceptl.
37144
caa6c9d8
AS
371452011-10-18 Andreas Schwab <schwab@redhat.com>
37146
37147 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37148 (__feraiseexcept_renamed): Add __NTH.
37149 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37150 namespace violations.
37151
97c066e6
UD
371522011-10-17 Ulrich Drepper <drepper@gmail.com>
37153
99ce7b04
UD
37154 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37155
1004d182
UD
37156 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37157
228a984d
UD
37158 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37159 recently added interfaces.
37160 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37161
c8553a6a
UD
37162 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37163 about macro parameter expansion.
37164
ed22dcf6
UD
37165 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37166 __NO_MATH_INLINES is defined. Cleanups.
37167
37168 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37169 and __floorf is target has SSE4.1.
37170 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37171 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37172 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37173 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37174
b171c137
UD
37175 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37176 name.
37177 (floorf): Likewise.
37178
97c066e6
UD
37179 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37180
629f62ef
AS
371812011-10-17 Andreas Schwab <schwab@redhat.com>
37182
49a43d80
AS
37183 * misc/sys/cdefs.h: Fix last change.
37184
629f62ef
AS
37185 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37186 database lookup.
37187
e453f6cd
UD
371882011-10-16 Ulrich Drepper <drepper@gmail.com>
37189
aa78043a
UD
37190 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37191
ad0f5cad
UD
37192 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37193 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37194 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37195 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37196 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37197 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37201 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37202 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37203 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37204 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37205 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37206 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37207 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37208 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37209 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37210 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37211 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37212 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37213 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37214
37215 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37216 ceil, ceilf, floor, floorf.
37217
37218 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37219 Perform IRELATIVE relocations last.
37220
e453f6cd
UD
37221 * elf/do-rel.h: Add another parameter nrelative, replacing the
37222 local variable with the same name. Change name of the function
37223 to end in Rel or Rela (uppercase).
37224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37225 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37226 elf_dynamic_do_##reloc function.
37227
fd5bdc09
UD
372282011-10-15 Ulrich Drepper <drepper@gmail.com>
37229
79b195b5
UD
37230 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37231 is sufficient, at least on modern CPUs.
37232
d4a28569
UD
37233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37234
b61099b5
UD
37235 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37236 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37237
bcf01e6d
UD
37238 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37239 __expl_finite.
37240 * math/bits/math-finite.h: Add entries for exp.
37241 * math/e_expl.c: Add __*_finite alias.
37242 * sysdeps/i386/fpu/e_exp.S: Likewise.
37243 * sysdeps/i386/fpu/e_expf.S: Likewise.
37244 * sysdeps/i386/fpu/e_expl.c: Likewise.
37245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37246 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37249 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37250 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37251 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37252
ba1a0d59
UD
37253 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37254 is sufficient, at least on modern CPUs.
37255
fd5bdc09
UD
37256 * ctype/ctype-info.c (__ctype_init): Define.
37257 * include/ctype.h (__ctype_init): Declare.
37258 (__ctype_b_loc): The variable is always initialized.
37259 (__ctype_toupper_loc): Likewise.
37260 (__ctype_tolower_loc): Likewise.
37261 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37262 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37263
7872cfb0
AS
372642011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37265
b468825a
AS
37266 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37267
7872cfb0
AS
37268 * configure.in: Also look in $cxxmachine/include for C++ system
37269 headers.
37270
be13f7bf
LD
372712011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37272
37273 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37274 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37275 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37276 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37277 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37278 (USE_AS_WMEMCMP): New macro.
37279 Fixing indents.
37280 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37281 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37282 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37283 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37285 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37286 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37287 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37288 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37289 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37290 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37291 (USE_AS_WMEMCMP): New macro.
37292 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37293 * sysdeps/string/test-memcmp.c: Update.
37294 Fix simple_wmemcmp.
37295 Add new tests.
37296 * wcsmbs/wmemcmp.c: Update.
37297 (WMEMCMP): New macro.
37298 Fix overflow bug.
37299
556a2007
AJ
373002011-10-12 Andreas Jaeger <aj@suse.de>
37301
37302 [BZ #13268]
37303 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37304
538faaa7
UD
373052011-10-15 Ulrich Drepper <drepper@gmail.com>
37306
ab6737ff
UD
37307 * libio/iofwide.c (do_length): Avoid warning.
37308
538faaa7
UD
37309 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37310
396a21b1
UD
373112011-10-14 Ulrich Drepper <drepper@gmail.com>
37312
cdf2901f
UD
37313 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37314
38ad40ce
UD
37315 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37316 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37317 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37318 * sysdeps/i386/i686/fpu/e_log.S: New file.
37319 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37320 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37321
396a21b1
UD
37322 * ctype/ctype.h: Add support for inlined isXXX functions when
37323 compiling C++ code.
37324
6b1f68c9
AS
373252011-10-14 Andreas Schwab <schwab@redhat.com>
37326
349290c0
AS
37327 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37328
6b1f68c9
AS
37329 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37330
f2282d42
RM
373312011-10-13 Roland McGrath <roland@hack.frob.com>
37332
37333 [BZ #13291]
37334 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37335
5298ffa8
AS
373362011-10-13 Andreas Schwab <schwab@redhat.com>
37337
714fad23
AS
37338 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37339 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37340 feraiseexcept.
37341
81dcc7fb
AS
37342 * sysdeps/x86_64/memrchr.S: Check for zero size.
37343
5298ffa8
AS
37344 * string/stratcliff.c: Add memrchr tests.
37345
951fbcec
LD
373462011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37347
37348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37349 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37350 rawmemchr-sse2 rawmemchr-sse2-bsf.
37351 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37352 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37353 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37354 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37355 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37356 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37357 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37358 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37359 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37360 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37361 * string/memrchr.c (MEMRCHR): New macro.
37362
0ac5ae23
UD
373632011-10-12 Ulrich Drepper <drepper@gmail.com>
37364
37365 Add integration with gcc's -ffinite-math-only and optimize wrapper
37366 functions in libm.
37367 * Versions.def: Define GLIBC_2.15 version for libm.
37368 * math/Makefile (headers): Add bits/math-finite.h.
37369 * math/bits/math-finite.h: New file.
37370 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37371 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37372 * math/e_acoshl.c: Add __*_finite alias.
37373 * math/e_acosl.c: Likewise.
37374 * math/e_asinl.c: Likewise.
37375 * math/e_atan2l.c: Likewise.
37376 * math/e_atanhl.c: Likewise.
37377 * math/e_coshl.c: Likewise.
37378 * math/e_exp10.c: Likewise.
37379 * math/e_exp10f.c: Likewise.
37380 * math/e_exp10l.c: Likewise.
37381 * math/e_exp2l.c: Likewise.
37382 * math/e_fmodl.c: Likewise.
37383 * math/e_gammal_r.c: Likewise.
37384 * math/e_hypotl.c: Likewise.
37385 * math/e_j0l.c: Likewise.
37386 * math/e_j1l.c: Likewise.
37387 * math/e_jnl.c: Likewise.
37388 * math/e_lgammal_r.c: Likewise.
37389 * math/e_log10l.c: Likewise.
37390 * math/e_log2l.c: Likewise.
37391 * math/e_logl.c: Likewise.
37392 * math/e_powl.c: Likewise.
37393 * math/e_sinhl.c: Likewise.
37394 * math/e_sqrtl.c: Likewise.
37395 * math/e_scalb.c: Completely rewritten and optimized.
37396 * math/e_scalbf.c: Likewise.
37397 * math/e_scalbl.c: Likewise.
37398 * math/w_acos.c: Likewise.
37399 * math/w_acosf.c: Likewise.
37400 * math/w_acosl.c: Likewise.
37401 * math/w_acosh.c: Likewise.
37402 * math/w_acoshf.c: Likewise.
37403 * math/w_acoshl.c: Likewise.
37404 * math/w_asin.c: Likewise.
37405 * math/w_asinf.c: Likewise.
37406 * math/w_asinl.c: Likewise.
37407 * math/w_atan2.c: Likewise.
37408 * math/w_atan2f.c: Likewise.
37409 * math/w_atan2l.c: Likewise.
37410 * math/w_atanh.c: Likewise.
37411 * math/w_atanhf.c: Likewise.
37412 * math/w_atanhl.c: Likewise.
37413 * math/w_exp10.c: Likewise.
37414 * math/w_exp10f.c: Likewise.
37415 * math/w_exp10l.c: Likewise.
37416 * math/w_fmod.c: Likewise.
37417 * math/w_fmodf.c: Likewise.
37418 * math/w_fmodl.c: Likewise.
37419 * math/w_j0.c: Likewise.
37420 * math/w_j0f.c: Likewise.
37421 * math/w_j0l.c: Likewise.
37422 * math/w_j1.c: Likewise.
37423 * math/w_j1f.c: Likewise.
37424 * math/w_j1l.c: Likewise.
37425 * math/w_jn.c: Likewise.
37426 * math/w_jnf.c: Likewise.
37427 * math/w_log.c: Likewise.
37428 * math/w_logf.c: Likewise.
37429 * math/w_logl.c: Likewise.
37430 * math/w_log10.c: Likewise.
37431 * math/w_log10f.c: Likewise.
37432 * math/w_log10l.c: Likewise.
37433 * math/w_log2.c: Likewise.
37434 * math/w_log2f.c: Likewise.
37435 * math/w_log2l.c: Likewise.
37436 * math/w_pow.c: Likewise.
37437 * math/w_powf.c: Likewise.
37438 * math/w_powl.c: Likewise.
37439 * math/w_remainder.c: Likewise.
37440 * math/w_remainderf.c: Likewise.
37441 * math/w_remainderl.c: Likewise.
37442 * math/w_scalb.c: Likewise.
37443 * math/w_scalbf.c: Likewise.
37444 * math/w_scalbl.c: Likewise.
37445 * math/w_sqrt.c: Likewise.
37446 * math/w_sqrtf.c: Likewise.
37447 * math/w_sqrtl.c: Likewise.
37448 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37449 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37450 used.
37451 * math/math_private.h: Declare __kernel_standard_f.
37452 * math/w_cosh.c: Remove cruft and optimize a bit.
37453 * math/w_coshf.c: Likewise.
37454 * math/w_coshl.c: Likewise.
37455 * math/w_exp2.c: Likewise.
37456 * math/w_exp2f.c: Likewise.
37457 * math/w_exp2l.c: Likewise.
37458 * math/w_hypot.c: Likewise.
37459 * math/w_hypotf.c: Likewise.
37460 * math/w_hypotl.c: Likewise.
37461 * math/w_lgamma.c: Likewise.
37462 * math/w_lgamma_r.c: Likewise.
37463 * math/w_lgammaf.c: Likewise.
37464 * math/w_lgammaf_r.c: Likewise.
37465 * math/w_lgammal.c: Likewise.
37466 * math/w_lgammal_r.c: Likewise.
37467 * math/w_sinh.c: Likewise.
37468 * math/w_sinhf.c: Likewise.
37469 * math/w_sinhl.c: Likewise.
37470 * math/w_tgamma.c: Likewise.
37471 * math/w_tgammaf.c: Likewise.
37472 * math/w_tgammal.c: Likewise.
37473 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37475 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37476 Minor optimizations. Pretty printing. Remove cruft.
37477 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37478 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37479 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37480 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37481 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37482 * sysdeps/i386/fpu/e_asin.S: Likewise.
37483 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37484 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37485 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37486 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37487 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37488 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37489 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37490 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37491 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37492 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37493 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37494 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37495 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37496 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37497 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37498 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37499 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37500 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37501 * sysdeps/i386/fpu/e_log.S: Likewise.
37502 * sysdeps/i386/fpu/e_log10.S: Likewise.
37503 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37504 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37505 * sysdeps/i386/fpu/e_log2.S: Likewise.
37506 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37507 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37508 * sysdeps/i386/fpu/e_logf.S: Likewise.
37509 * sysdeps/i386/fpu/e_logl.S: Likewise.
37510 * sysdeps/i386/fpu/e_pow.S: Likewise.
37511 * sysdeps/i386/fpu/e_powf.S: Likewise.
37512 * sysdeps/i386/fpu/e_powl.S: Likewise.
37513 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37514 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37515 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37516 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37517 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37518 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37519 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37520 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37521 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37538 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37539 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37543 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37544 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37545 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37546 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37547 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37548 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37549 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37550 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37551 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37552 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37553 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37554 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37555 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37556 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37557 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37558 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37559 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37560 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37561 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37562 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37563 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37564 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37565 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37566 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37567 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37568 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37569 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37570 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37572 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37573 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37574 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37575 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37576 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37577 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37578 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37579 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37580 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37581 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37582 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37583 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37586 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37587 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37588 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37589 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37590 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37591 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37592 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37593 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37594 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37595 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37596 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37597 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37598 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37599 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37601 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37603 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37604 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37605 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37606 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37607 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37608 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37609 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37610 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37612 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37613 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37614 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37615 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37616 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37617 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37618 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37619 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37620 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37621 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37622 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37623 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37624 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37625 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37626 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37627 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37629 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37630 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37631 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37632 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37633 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37634 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37635 (__isnanf): Likewise.
37636 (__isinf_ns): Likewise.
37637 (__isinf_nsf): Likewise.
37638 (__finite): Likewise.
37639 (__finitef): Likewise.
37640 (__ieee754_sqrt): Define as macro.
37641 (__ieee754_sqrtf): Define as macro.
37642 (__ieee754_sqrtl): Define as macro.
37643 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37644 inlined copy.
37645 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37646 __FINITE_MATH_ONLY__ consistent.
37647 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37648
12cc2fcd
AS
376492011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37650
a843a204
AS
37651 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37652 of rawmemchr.
37653
12cc2fcd
AS
37654 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37655
c853acd5
UD
376562011-10-09 Ulrich Drepper <drepper@gmail.com>
37657
37658 * po/ja.po: Update from translation team.
37659
c658d255
RM
376602011-10-08 Roland McGrath <roland@hack.frob.com>
37661
110946e4
RM
37662 * locale/programs/locarchive.c (prepare_address_space): New function.
37663 (create_archive, enlarge_archive, open_archive): Use it.
37664
50604220
RM
37665 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37666 inside [SHARED], where it is used.
37667
c658d255
RM
37668 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37669
37670 * nss/getent.c (netgroup_keys): Remove unused variable.
37671 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37672
6a621eb7
UD
376732011-10-08 Ulrich Drepper <drepper@gmail.com>
37674
7edb55ce
UD
37675 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37676 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37677 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37678 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37679 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37680 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37681 * math/Makefile (libm-calls): Add s_isinf_ns.
37682 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37683 * math/multc3.c: Likewise.
37684 * math/s_casin.c: Likewise.
37685 * math/s_casinf.c: Likewise.
37686 * math/s_casinl.c: Likewise.
37687 * math/s_ccos.c: Likewise.
37688 * math/s_ccosf.c: Likewise.
37689 * math/s_ccosl.c: Likewise.
37690 * math/s_ctan.c: Likewise.
37691 * math/s_ctanf.c: Likewise.
37692 * math/s_ctanh.c: Likewise.
37693 * math/s_ctanhf.c: Likewise.
37694 * math/s_ctanhl.c: Likewise.
37695 * math/s_ctanl.c: Likewise.
37696 * math/w_fmod.c: Likewise.
37697 * math/w_fmodf.c: Likewise.
37698 * math/w_fmodl.c: Likewise.
37699 * math/w_remainder.c: Likewise.
37700 * math/w_remainderf.c: Likewise.
37701 * math/w_remainderl.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37703 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37704 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37706 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37707 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37708 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37709 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37710
187da0ae
UD
37711 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37712 of the number.
37713 * stdio-common/printf_fphex.c: Likewise.
37714 * stdio-common/printf_size.c: Likewise.
37715
9277c064
UD
37716 * math/e_exp10.c: Include math_private.h using <...> not "...".
37717 * math/e_exp10f.c: Likewise.
37718 * math/e_exp10l.c: Likewise.
37719 * math/e_exp2l.c: Likewise.
37720 * math/e_j0l.c: Likewise.
37721 * math/e_j1l.c: Likewise.
37722 * math/e_jnl.c: Likewise.
37723 * math/e_lgammal_r.c: Likewise.
37724 * math/e_rem_pio2l.c: Likewise.
37725 * math/e_scalb.c: Likewise.
37726 * math/e_scalbf.c: Likewise.
37727 * math/e_scalbl.c: Likewise.
37728 * math/k_cosl.c: Likewise.
37729 * math/k_sinl.c: Likewise.
37730 * math/k_tanl.c: Likewise.
37731 * math/s_cacoshf.c: Likewise.
37732 * math/s_catan.c: Likewise.
37733 * math/s_catanf.c: Likewise.
37734 * math/s_catanh.c: Likewise.
37735 * math/s_catanhf.c: Likewise.
37736 * math/s_catanhl.c: Likewise.
37737 * math/s_catanl.c: Likewise.
37738 * math/s_ccosh.c: Likewise.
37739 * math/s_ccoshf.c: Likewise.
37740 * math/s_ccoshl.c: Likewise.
37741 * math/s_cexp.c: Likewise.
37742 * math/s_cexpf.c: Likewise.
37743 * math/s_cexpl.c: Likewise.
37744 * math/s_clog.c: Likewise.
37745 * math/s_clog10.c: Likewise.
37746 * math/s_clog10f.c: Likewise.
37747 * math/s_clog10l.c: Likewise.
37748 * math/s_clogf.c: Likewise.
37749 * math/s_clogl.c: Likewise.
37750 * math/s_csin.c: Likewise.
37751 * math/s_csinf.c: Likewise.
37752 * math/s_csinh.c: Likewise.
37753 * math/s_csinhf.c: Likewise.
37754 * math/s_csinhl.c: Likewise.
37755 * math/s_csinl.c: Likewise.
37756 * math/s_csqrt.c: Likewise.
37757 * math/s_csqrtf.c: Likewise.
37758 * math/s_csqrtl.c: Likewise.
37759 * math/s_ctan.c: Likewise.
37760 * math/s_ctanf.c: Likewise.
37761 * math/s_ctanh.c: Likewise.
37762 * math/s_ctanhf.c: Likewise.
37763 * math/s_ctanhl.c: Likewise.
37764 * math/s_ctanl.c: Likewise.
37765 * math/s_ldexp.c: Likewise.
37766 * math/s_ldexpf.c: Likewise.
37767 * math/s_ldexpl.c: Likewise.
37768 * math/s_significand.c: Likewise.
37769 * math/s_significandf.c: Likewise.
37770 * math/s_significandl.c: Likewise.
37771 * math/w_acos.c: Likewise.
37772 * math/w_acosf.c: Likewise.
37773 * math/w_acosh.c: Likewise.
37774 * math/w_acoshf.c: Likewise.
37775 * math/w_acoshl.c: Likewise.
37776 * math/w_acosl.c: Likewise.
37777 * math/w_asin.c: Likewise.
37778 * math/w_asinf.c: Likewise.
37779 * math/w_asinl.c: Likewise.
37780 * math/w_atan2.c: Likewise.
37781 * math/w_atan2f.c: Likewise.
37782 * math/w_atan2l.c: Likewise.
37783 * math/w_atanh.c: Likewise.
37784 * math/w_atanhf.c: Likewise.
37785 * math/w_atanhl.c: Likewise.
37786 * math/w_cosh.c: Likewise.
37787 * math/w_coshf.c: Likewise.
37788 * math/w_coshl.c: Likewise.
37789 * math/w_dremf.c: Likewise.
37790 * math/w_exp10.c: Likewise.
37791 * math/w_exp10f.c: Likewise.
37792 * math/w_exp10l.c: Likewise.
37793 * math/w_exp2.c: Likewise.
37794 * math/w_exp2f.c: Likewise.
37795 * math/w_fmod.c: Likewise.
37796 * math/w_fmodf.c: Likewise.
37797 * math/w_fmodl.c: Likewise.
37798 * math/w_hypot.c: Likewise.
37799 * math/w_hypotf.c: Likewise.
37800 * math/w_hypotl.c: Likewise.
37801 * math/w_j0.c: Likewise.
37802 * math/w_j0f.c: Likewise.
37803 * math/w_j0l.c: Likewise.
37804 * math/w_j1.c: Likewise.
37805 * math/w_j1f.c: Likewise.
37806 * math/w_j1l.c: Likewise.
37807 * math/w_jn.c: Likewise.
37808 * math/w_jnf.c: Likewise.
37809 * math/w_jnl.c: Likewise.
37810 * math/w_lgamma.c: Likewise.
37811 * math/w_lgamma_r.c: Likewise.
37812 * math/w_lgammaf.c: Likewise.
37813 * math/w_lgammaf_r.c: Likewise.
37814 * math/w_lgammal.c: Likewise.
37815 * math/w_lgammal_r.c: Likewise.
37816 * math/w_log.c: Likewise.
37817 * math/w_log10.c: Likewise.
37818 * math/w_log10f.c: Likewise.
37819 * math/w_log10l.c: Likewise.
37820 * math/w_log2.c: Likewise.
37821 * math/w_log2f.c: Likewise.
37822 * math/w_log2l.c: Likewise.
37823 * math/w_logf.c: Likewise.
37824 * math/w_logl.c: Likewise.
37825 * math/w_pow.c: Likewise.
37826 * math/w_powf.c: Likewise.
37827 * math/w_powl.c: Likewise.
37828 * math/w_remainder.c: Likewise.
37829 * math/w_remainderf.c: Likewise.
37830 * math/w_remainderl.c: Likewise.
37831 * math/w_scalb.c: Likewise.
37832 * math/w_scalbf.c: Likewise.
37833 * math/w_scalbl.c: Likewise.
37834 * math/w_sinh.c: Likewise.
37835 * math/w_sinhf.c: Likewise.
37836 * math/w_sinhl.c: Likewise.
37837 * math/w_sqrt.c: Likewise.
37838 * math/w_sqrtf.c: Likewise.
37839 * math/w_sqrtl.c: Likewise.
37840 * math/w_tgamma.c: Likewise.
37841 * math/w_tgammaf.c: Likewise.
37842 * math/w_tgammal.c: Likewise.
37843
6a621eb7
UD
37844 * po/ja.po: Update from translation team.
37845
bf582445
AJ
378462011-09-29 Andreas Jaeger <aj@suse.de>
37847
f9efbf3a
AJ
37848 [BZ #13179]
37849 * sunrpc/netname.c (netname2host): Fix logic.
37850
bf582445
AJ
37851 [BZ #6779]
37852 [BZ #6783]
37853 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37854 correctly.
37855 * math/w_remainder.c (__remainder): Likewise.
37856 * math/w_remainderf.c (__remainderf): Likewise.
37857 * math/libm-test.inc (remainder_test): Add test cases.
37858
48693bea
AK
378592011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37860
37861 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37862 sdiv_qrnnd.
37863
42622229
LD
378642011-10-07 Ulrich Drepper <drepper@gmail.com>
37865
37866 * string/test-memcmp.c: Avoid unncessary #defines.
37867 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37868
093ecf92
LD
378692011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37870
37871 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37872 Use new sse2 version for core i3 - i7 as it's faster
37873 than sse42 version.
37874 (bit_Prefer_PMINUB_for_stringop): New.
37875 * sysdeps/x86_64/rawmemchr.S: Update.
37876 Replace with faster SSE2 version.
37877 * sysdeps/x86_64/memrchr.S: New file.
37878 * sysdeps/x86_64/memchr.S: Update.
37879 Replace with faster SSE2 version.
37880
fde56e5c
MP
378812011-09-12 Marek Polacek <mpolacek@redhat.com>
37882
37883 * elf/dl-load.c (lose): Add cast to avoid warning.
37884
21fd49a9
UD
378852011-10-07 Ulrich Drepper <drepper@gmail.com>
37886
5a06e643
UD
37887 * po/ca.po: Update from translation team.
37888
684ae515
UD
37889 * inet/getnetgrent_r.c: Hook up nscd.
37890 * nscd/Makefile (routines): Add nscd_netgroup.
37891 (nscd-modules): Add netgroupcache.
37892 (CFLAGS-netgroupcache.c): Define.
37893 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37894 (cache_search): Add const to second parameter.
37895 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37896 INNETGR.
37897 (dbs): Add netgrdb entry.
37898 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37899 (verify_persistent_db): Handle netgrdb.
37900 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37901 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37902 GETFDNETGR.
37903 (netgroup_response_header): Define.
37904 (innetgroup_response_header): Define.
37905 (datahead): Add netgroup_response_header and innetgroup_response_header
37906 elements.
37907 * nscd/nscd.conf: Add entries for netgroup cache.
37908 * nscd/nscd.h (dbtype): Add netgrdb.
37909 (_PATH_NSCD_NETGROUP_DB): Define.
37910 (netgroup_iov_disabled): Declare.
37911 (xmalloc, xcalloc, xrealloc): Move declarations here.
37912 (cache_search): Adjust prototype.
37913 Add netgroup-related prototypes.
37914 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37915 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37916 (__nscd_innetgr): Declare.
37917 * nscd/selinux.c (perms): Use access_vector_t as element type and
37918 add netgroup-related initializers.
37919 * nscd/netgroupcache.c: New file.
37920 * nscd/nscd_netgroup.c: New file.
37921 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37922 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37923 For four parameters use innetgr.
37924 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37925 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37926 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37927 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37928
21fd49a9
UD
37929 * nscd/connections.c (register_traced_file): Don't register file
37930 for disabled databases.
37931
054c0457
UD
379322011-10-06 Ulrich Drepper <drepper@gmail.com>
37933
32b63198
UD
37934 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37935
054c0457
UD
37936 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37937 from tree and freeing node.
37938
64031225
JO
379392011-09-25 Jiri Olsa <jolsa@redhat.com>
37940
37941 * nss/nsswitch.c (__nss_database_lookup): Handle
37942 nss_parse_service_list out of memory case.
37943
0490345c
JO
379442011-09-15 Jiri Olsa <jolsa@redhat.com>
37945
37946 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37947 out of memory case.
37948
3a62d00d
AS
379492011-10-04 Andreas Schwab <schwab@redhat.com>
37950
37951 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37952 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37953 pass it down.
37954 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37955 elf_machine_rela, elf_machine_lazy_rel.
37956 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37957 (ELF_DYNAMIC_DO_REL): Likewise.
37958 (ELF_DYNAMIC_DO_RELA): Likewise.
37959 (ELF_DYNAMIC_RELOCATE): Likewise.
37960 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37961 to ELF_DYNAMIC_DO_REL.
37962 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37963 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37964 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37965 elf_machine_rela.
37966 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37967 skip_ifunc, don't call ifunc function if non-zero.
37968 (elf_machine_rela): Likewise.
37969 (elf_machine_lazy_rel): Likewise.
37970 (elf_machine_lazy_rela): Likewise.
37971 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37972 (elf_machine_lazy_rel): Likewise.
37973 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37974 Likewise.
37975 (elf_machine_lazy_rel): Likewise.
37976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37977 Likewise.
37978 (elf_machine_lazy_rel): Likewise.
37979 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37980 (elf_machine_lazy_rel): Likewise.
37981 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37982 (elf_machine_lazy_rel): Likewise.
37983 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37984 (elf_machine_lazy_rel): Likewise.
37985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37986 (elf_machine_lazy_rel): Likewise.
37987 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37988 (elf_machine_lazy_rel): Likewise.
37989 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37990 (elf_machine_lazy_rel): Likewise.
37991
68577918
UD
379922011-09-28 Ulrich Drepper <drepper@gmail.com>
37993
37994 * nss/nss_files/files-init.c (_nss_files_init): Use static
37995 initialization for all the *_traced_file variables.
37996
68822d74
AS
379972011-09-28 Andreas Schwab <schwab@redhat.com>
37998
37999 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38000
2056100b
RM
380012011-09-27 Roland McGrath <roland@hack.frob.com>
38002
38003 [BZ #13226]
38004 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38005
32c76b63
AS
380062011-09-27 Andreas Schwab <schwab@redhat.com>
38007
38008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38009 Reread the line before reparsing it.
38010
bf972c9d
AS
380112011-09-26 Andreas Schwab <schwab@redhat.com>
38012
38013 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38014
e057a1b5
JM
380152011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38016 Maxim Kuvyrkov <maxim@codesourcery.com>
38017 Joseph Myers <joseph@codesourcery.com>
38018
38019 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38020 if needed for __stack_chk_guard.
38021
bc7e1c36
RM
380222011-09-19 Roland McGrath <roland@hack.frob.com>
38023
ecb1482f
RM
38024 * sysdeps/posix/spawni.c (script_execute): Always define it.
38025 It will be optimized away if unused.
38026 (maybe_script_execute): New function.
38027 (__spawni): Call it.
38028
bc7e1c36
RM
38029 * Makerules: Don't include tls.make.
38030 (config-tls): Always set to thread.
38031 * tls.make.c: File removed.
38032
1c3b002b
MF
380332011-09-19 Mike Frysinger <vapier@gentoo.org>
38034
38035 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38036 * config.make.in (CPPFLAGS-config): New substituted variable.
38037
2840865d
UD
380382011-09-15 Ulrich Drepper <drepper@gmail.com>
38039
88738eb6
UD
38040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38041
cbf645a6 38042 [BZ #13192]
2840865d
UD
38043 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38044 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38045
b402e91a
RM
380462011-09-15 Roland McGrath <roland@hack.frob.com>
38047
38048 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38049 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38051 (CALL_FAIL): Likewise.
38052 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38053 (CALL_FAIL): Macro removed.
38054 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38055
4c1a1f71
UD
380562011-09-15 Ulrich Drepper <drepper@gmail.com>
38057
38058 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38059 for __FINITE_MATH_ONLY__ == 1.
38060
edc121be
AS
380612011-09-15 Andreas Schwab <schwab@redhat.com>
38062
38063 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38064 __ieee754_sqrt instead of sqrt.
38065 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38066 __ieee754_sqrtf instead of sqrtf.
38067 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38068 __floorf instead of floorf.
38069 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38070 __floorf, __truncf instead of floorf, truncf.
38071
cd205654
UD
380722011-09-14 Ulrich Drepper <drepper@gmail.com>
38073
ee4d0315
UD
38074 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38075
cd205654
UD
38076 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38077 __extern_always_inline.
38078 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38079 32-bit.
38080
48b67d71
AS
380812011-09-14 Andreas Schwab <schwab@redhat.com>
38082
38083 * elf/rtld.c (dl_main): Also relocate in dependency order when
38084 doing symbol dependency testing.
38085
1ae12c75
AS
380862011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38087
38088 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38089 Always define `refsym'.
38090
995a80df
AS
380912011-09-13 Andreas Schwab <schwab@redhat.com>
38092
e529793b
AS
38093 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38094 (__FD_ELT): Renamed from __FDELT.
38095 * misc/bits/select2.h (__FD_ELT): Likewise.
38096 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38097 __FD_MASK instead of __FDELT, __FDMASK.
38098 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38099 Likewise.
38100 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38101 Likewise.
38102
52d4fef8
AS
38103 * elf/Makefile (gen-ldd): Fix pattern.
38104
995a80df
AS
38105 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38106 (init_tls): Likewise.
38107
8682f8b0
UD
381082011-09-12 Ulrich Drepper <drepper@gmail.com>
38109
38110 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38111
de82006d
AS
381122011-09-12 Andreas Schwab <schwab@redhat.com>
38113
a7c8e6a1
AS
38114 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38115 `struct cmsghdr *' instead of `void *'.
38116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38117 Likewise.
38118
0f31fe77
AS
381192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38120
38121 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38122 if non-absolute.
38123 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38124 ldd_rewrite_script.
0f31fe77 38125
32b4c839
UD
381262011-09-11 Ulrich Drepper <drepper@gmail.com>
38127
83cd1420
UD
38128 * configure.in: Remove --with-tls option.
38129 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38130 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38131 out in case it is missing.
38132 * sysdeps/ia64/elf/configure.in: Likewise.
38133 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38134 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38135 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38136 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38137 * sysdeps/sh/elf/configure.in: Likewise.
38138 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38139 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38140 * sysdeps/x86_64/elf/configure.in: Likewise.
38141 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38142 * sysdeps/mach/hurd/tls.h: Likewise.
38143
633f745d
UD
38144 [BZ #13067]
38145 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38146
f318beb8
UD
38147 [BZ #13090]
38148 * configure.in: Fix use of AC_INIT.
38149
32b4c839
UD
38150 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38151
3ce1f295
UD
381522011-09-10 Ulrich Drepper <drepper@gmail.com>
38153
bb016596
UD
38154 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38155 __set_errno.
8e58439c
UD
38156 * malloc/hooks.c: Likewise.
38157
aebae053 38158 [BZ #11929]
02d46fc4
UD
38159 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38160 variables statically.
38161 (narenas): Initialize.
38162 (list_lock): Initialize.
bb016596
UD
38163 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38164 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38165 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38166 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38167 Add initializers to main_arena and mp_.
38168 (malloc_state): Remove pagesize member. Change all users to use
38169 GLRO(dl_pagesize).
38170
38171 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38172 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38173 is always initialized.
38174
22a89187
UD
38175 * malloc/malloc.c: Removed unused configurations and dead code.
38176 * malloc/arena.c: Likewise.
38177 * malloc/hooks.c: Likewise.
02d46fc4 38178 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38179
d063d164
UD
38180 * include/tls.h: Removed. USE___THREAD must always be defined.
38181 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38182 * elf/dl-libc.c: Likewise.
38183 * elf/dl-tsd.c: Likewise.
38184 * include/errno.h: Likewise.
38185 * include/netdb.h: Likewise.
38186 * include/resolv.h: Likewise.
38187 * inet/herrno-loc.c: Likewise.
38188 * inet/herrno.c: Likewise.
38189 * malloc/arena.c: Likewise.
38190 * malloc/hooks.c: Likewise.
38191 * malloc/malloc.c: Likewise.
38192 * resolv/res-state.c: Likewise.
38193 * resolv/res_libc.c: Likewise.
38194 * sysdeps/i386/dl-machine.h: Likewise.
38195 * sysdeps/ia64/dl-machine.h: Likewise.
38196 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38197 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38198 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38199 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38200 * sysdeps/sh/dl-machine.h: Likewise.
38201 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38202 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38203 * sysdeps/unix/i386/sysdep.S: Likewise.
38204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38205 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38206 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38208 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38210 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38214 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38215 * sysdeps/x86_64/dl-machine.h: Likewise.
38216 * tls.make.c: Likewise.
38217
3ce1f295
UD
38218 * configure.in: Remove --with-__thread option. Make tests for
38219 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38220 tls_model attribute fail if no support is available. Remove
38221 USE_IN_LIBIO.
38222 * Makeconfig: Adjust for dropped configure option. All features are
38223 now mandatory.
38224 * Makerules: Likewise.
38225 * Versions.def: Likewise.
38226 * argp/argp-fmtstream.c: Likewise.
38227 * argp/argp-fmtstream.h: Likewise.
38228 * argp/argp-help.c: Likewise.
38229 * assert/assert.c: Likewise.
38230 * config.h.in: Likewise.
38231 * config.make.in: Likewise.
38232 * configure: Likewise.
38233 * configure.in: Likewise.
38234 * csu/Versions: Likewise.
38235 * csu/init.c: Likewise.
38236 * elf/tst-audit2.c: Likewise.
38237 * elf/tst-tls10.c: Likewise.
38238 * elf/tst-tls10.h: Likewise.
38239 * elf/tst-tls11.c: Likewise.
38240 * elf/tst-tls12.c: Likewise.
38241 * elf/tst-tls14.c: Likewise.
38242 * elf/tst-tlsmod11.c: Likewise.
38243 * elf/tst-tlsmod12.c: Likewise.
38244 * elf/tst-tlsmod13.c: Likewise.
38245 * elf/tst-tlsmod13a.c: Likewise.
38246 * elf/tst-tlsmod14a.c: Likewise.
38247 * elf/tst-tlsmod15b.c: Likewise.
38248 * elf/tst-tlsmod16a.c: Likewise.
38249 * elf/tst-tlsmod16b.c: Likewise.
38250 * elf/tst-tlsmod7.c: Likewise.
38251 * elf/tst-tlsmod8.c: Likewise.
38252 * elf/tst-tlsmod9.c: Likewise.
38253 * gmon/gmon.c: Likewise.
38254 * grp/fgetgrent_r.c: Likewise.
38255 * grp/putgrent.c: Likewise.
38256 * hurd/fopenport.c: Likewise.
38257 * include/libc-symbols.h: Likewise.
38258 * include/tls.h: Likewise.
38259 * intl/gettextP.h: Likewise.
38260 * intl/loadinfo.h: Likewise.
38261 * locale/global-locale.c: Likewise.
38262 * locale/localeinfo.h: Likewise.
38263 * mach/devstream.c: Likewise.
38264 * malloc/arena.c: Likewise.
38265 * malloc/set-freeres.c: Likewise.
38266 * misc/err.c: Likewise.
38267 * misc/getttyent.c: Likewise.
38268 * misc/mntent_r.c: Likewise.
38269 * posix/getopt.c: Likewise.
38270 * posix/wordexp.c: Likewise.
38271 * pwd/fgetpwent_r.c: Likewise.
38272 * resolv/Versions: Likewise.
38273 * resolv/res_hconf.c: Likewise.
38274 * shadow/fgetspent_r.c: Likewise.
38275 * shadow/putspent.c: Likewise.
38276 * stdio-common/printf_fphex.c: Likewise.
38277 * stdio-common/tmpfile.c: Likewise.
38278 * stdlib/abort.c: Likewise.
38279 * stdlib/fmtmsg.c: Likewise.
38280 * sunrpc/auth_unix.c: Likewise.
38281 * sunrpc/clnt_perr.c: Likewise.
38282 * sunrpc/clnt_tcp.c: Likewise.
38283 * sunrpc/clnt_udp.c: Likewise.
38284 * sunrpc/clnt_unix.c: Likewise.
38285 * sunrpc/openchild.c: Likewise.
38286 * sunrpc/svc_simple.c: Likewise.
38287 * sunrpc/svc_tcp.c: Likewise.
38288 * sunrpc/svc_udp.c: Likewise.
38289 * sunrpc/svc_unix.c: Likewise.
38290 * sunrpc/xdr.c: Likewise.
38291 * sunrpc/xdr_array.c: Likewise.
38292 * sunrpc/xdr_rec.c: Likewise.
38293 * sunrpc/xdr_ref.c: Likewise.
38294 * sunrpc/xdr_stdio.c: Likewise.
38295
1248c1c4
PB
382962011-09-09 Ulrich Drepper <drepper@gmail.com>
38297
38298 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38299
383002011-07-03 Andreas Jaeger <aj@suse.de>
38301
38302 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38303 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38304 regenerate with gen-libm-tests.pl.
38305
383062010-05-12 Petr Baudis <pasky@suse.cz>
38307
38308 [BZ #11589]
38309 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38310 around j0() zero points by switching to j1().
38311 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38315
f22e1074
UD
383162011-09-09 Ulrich Drepper <drepper@gmail.com>
38317
f19009c1
UD
38318 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38319 instead of 0.
38320 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38321 instead of 0.
f19009c1
UD
38322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38323 Patch in part by Pavel Roskin <proski@gnu.org>.
38324
3f8cc204
UD
38325 [BZ #13138]
38326 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38327 realloc.
38328 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38329 Free memory block if necessary.
38330
f22e1074
UD
38331 [BZ #12847]
38332 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38333 be NULL. Don't lock in this case.
38334
0a2349f9
RM
383352011-09-09 Roland McGrath <roland@hack.frob.com>
38336
38337 * elf/elf.h (ELFOSABI_GNU): New macro.
38338 (ELFOSABI_LINUX): Define to that.
38339
f3cdd467
DZ
383402011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38341
38342 * string/strncat.c (strncat): Undef the symbol in case it has been
38343 defined in bits/string.h.
38344
74718d13
UD
383452011-09-09 Ulrich Drepper <drepper@gmail.com>
38346
633e9e0f
UD
38347 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38348
0a2349f9 38349 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38350 link map.
38351
f9924780
AJ
383522011-08-17 Andreas Jaeger <aj@suse.de>
38353
38354 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38355
7f5517aa
PP
383562011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38357 Ian Lance Taylor <iant@google.com>
38358
38359 * math/libm-test.inc (lround_test): New testcase.
38360 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38361
762011fe
UD
383622011-09-08 Ulrich Drepper <drepper@gmail.com>
38363
92963737
UD
38364 * Makefile: Remove support for automatic cvs check-ins.
38365 * Makerules: Likewise.
38366 * config.make.in: Likewise.
38367 * configure.in: Likewise.
38368 * intl/Makefile: Likewise.
38369 * locale/Makefile: Likewise.
38370 * po/Makefile: Likewise.
38371 * posix/Makefile: Likewise.
38372 * sysdeps/gnu/Makefile: Likewise.
38373 * sysdeps/mach/hurd/Makefile: Likewise.
38374 * sysdeps/sparc/sparc32/Makefile: Likewise.
38375
b0727fd8
JS
38376 [BZ #13118]
38377 * posix/Makefile (bug-regex32-ENV): Define.
38378 Patch by John Stanley <jpsinthemix@verizon.net>.
38379
a0f33f99
UD
38380 * misc/Makefile (headers): Add bits/select2.h.
38381 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38382 * misc/bits/select2.h: New file.
38383 * include/bits/select2.h: New file.
38384 * debug/Makefile (routines): Add fdelt_chk.
38385 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38386 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38387 FD_ISSET.
38388 * debug/fdelt_chk.c: New file.
38389
762011fe
UD
38390 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38391 * wcsmbs/test-wmemcmp.c: Likewise.
38392 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38393 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38394
383952011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38396
38397 * string/Makefile (strop-tests): Add memcmp.
38398 * string/test-wmemcmp.c: New file.
38399 * string/test-memcmp.c: Add wmemcmp support.
38400
7f513ec8
RM
384012011-09-08 Roland McGrath <roland@hack.frob.com>
38402
0442afb4
RM
38403 [BZ #13153]
38404 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38405 2011-07-19 change.
38406
7f513ec8
RM
38407 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38408 garbage value in a __mach_port_mod_refs call in the cases of the
38409 task-self and thread-self ports.
38410
a12b2239
ST
384112011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38412
38413 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38414
610f9ab4
AS
384152011-09-08 Andreas Schwab <schwab@redhat.com>
38416
7f513ec8 38417 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38418
48882a1a
LD
384192011-09-07 Ulrich Drepper <drepper@gmail.com>
38420
b49865be
UD
38421 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38422
fdc86bc9
UD
38423 * elf/dl-libc.c (dlerror_run): Pass back error code from
38424 dl_catch_error.
38425
c966526a
UD
38426 [BZ #13123]
38427 * elf/dl-load.c (lose): Free l_origin if it is valid.
38428
48882a1a
LD
38429 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38430 names.
38431 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38432 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38433 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38434 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38435 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38436 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38437
77a2a8b4
AZ
384382011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38439
38440 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38441 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38442 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38443 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38444 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38445 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38446 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38447 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38448 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38449 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38450
24f579d8
AM
384512011-08-15 Alan Modra <amodra@gmail.com>
38452
38453 [BZ #13092]
38454 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38455 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38456 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38457 ppc_mcount to static-only-routines.
38458 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38459 __mcount_internal.
38460 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38461 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38462
3d4837df
UD
384632011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38464
38465 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38466 for finite and infinity parameters.
38467
22700377
WS
384682011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38469
38470 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38471 and add nop instructions for throughput optimization.
38472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38473
5025581e
WS
384742011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38475
38476 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38477 aligned copy for power7 with vector-scalar instructions.
38478 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38479
08a300c9
L
384802011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38481
38482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38483 AVX check.
38484
59178ef9
AS
384852011-09-07 Andreas Schwab <schwab@redhat.com>
38486
38487 [BZ #13144]
38488 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38489 last change.
38490
e38ba7ab
UD
384912011-09-07 Ulrich Drepper <drepper@gmail.com>
38492
38493 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38494 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38495 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38496 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38497 clock_gettime.
38498
d53a73ac
UD
384992011-09-06 Ulrich Drepper <drepper@gmail.com>
38500
fc8bffcc
UD
38501 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38502 Forgot to demangle the pointer.
38503
ceaa0c5d
UD
38504 * sysdeps/i386/sysdep.h: Define atom_text_section.
38505 * sysdeps/x86_64/sysdep.h: Likewise.
38506 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38507 section with atom_text_section.
38508 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38509 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38510 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38512 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38513
a77d3c17
UD
38514 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38515 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38516 already be defined. Change to take two parameters and don't assign
38517 result to variable. Adjust all users.
38518 Define INTERNAL_GETTIME if not already defined.
38519 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38520 call.
38521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38522 HAVE_CLOCK_GETTIME_VSYSCALL.
38523 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38524
d53a73ac
UD
38525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38526 gettimeofday vsyscall, just use time.
38527
a8f84144
AS
385282011-09-06 Andreas Schwab <schwab@redhat.com>
38529
38530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38531 <errno.h>.
38532
ef606249
UD
385332011-09-06 Ulrich Drepper <drepper@gmail.com>
38534
38535 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38536 syscall on x86-64.
38537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38538 syscall.
38539 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38540 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38541 syscall if possible.
38542
6585cb60
UD
385432011-09-05 Ulrich Drepper <drepper@gmail.com>
38544
38545 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38546 e_ident. Don't pass to find_mapsXX.
38547 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38548
a5f524e4
LD
385492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38550
38551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38552 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38553 * sysdeps/x86_64/multiarch/strchr.S: Update.
38554 Check bit_slow_BSF bit.
38555 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38556 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38557 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38558
554881ef
UD
385592011-09-05 Ulrich Drepper <drepper@gmail.com>
38560
d96de963
UD
38561 [BZ #13134]
38562 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38563 before glibc 2.15.
38564 (tryshell): Define.
38565 (__spawni): Change last parameter to be flag. Test
38566 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38567 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38568 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38569 * posix/spawni.c: Likewise.
38570 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38571 * posix/spawnp.c: Likewise. Change normal version to use
38572 SPAWN_XFLAGS_USE_PATH.
38573 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38574 SPAWN_XFLAGS_TRY_SHELL.
38575
d48e5868
UD
38576 [BZ #13150]
38577 * posix/glob.h: Remove gcc 1.x support.
38578
554881ef
UD
38579 [BZ #13068]
38580 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38581
693fb948
LD
385822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38583
38584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38585 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38586 strrchr-sse2-bsf
38587 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38588 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38589 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38590 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38591 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38592 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38593
1b48c537
UD
385942011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38595
49d42c37
UD
38596 * sysdeps/x86_64/wcscmp.S: New file.
38597
1b48c537
UD
38598 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38599 wcscmp-c wcscmp-sse2
38600 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38601 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38602 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38603 * wcsmbs/wcscmp.c: Allow renaming.
38604
15c95c5d
DM
386052011-09-05 David S. Miller <davem@davemloft.net>
38606
38607 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38608 stack slot, rather than the struct return pointer slot.
38609 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38610 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38612 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38613
2f0ad8f3
UD
386142011-09-05 Ulrich Drepper <drepper@gmail.com>
38615
d88ae418
UD
38616 * po/ja.po: Update from translation team.
38617
2f0ad8f3
UD
38618 [BZ #13144]
38619 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38620 kernel in 64-bit binaries.
38621
5f4318d1
DM
386222011-09-01 David S. Miller <davem@davemloft.net>
38623
38624 * elf/elf.h (HWCAP_SPARC_*): Move to..
38625 * sysdeps/sparc/sysdep.h: this new file and add new values.
38626 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38627 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38628 _DL_HWCAP_COUNT to 24.
38629 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38630 entries.
38631 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38632 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38633 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38635 instead of magic constants.
38636 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38637
3ba57516
DM
386382011-08-31 David S. Miller <davem@davemloft.net>
38639
38640 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38642 Reimplement to do errno handling inline.
38643 (SYSCALL_ERROR_HANDLER): New macro.
38644 (__SYSCALL_STRING): Do not do errno handling in asm.
38645 (__CLONE_SYSCALL_STRING): Delete.
38646 (__INTERNAL_SYSCALL_STRING): Delete.
38647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38648 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38649 (PSEUDO): Reimplement to do errno handling inline.
38650 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38651 (SYSCALL_ERROR_HANDLER): New macro.
38652 (__SYSCALL_STRING): Do not do errno handling in asm.
38653 (__CLONE_SYSCALL_STRING): Delete.
38654 (__INTERNAL_SYSCALL_STRING): Delete.
38655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38656 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38657 i386.
38658 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38659 (inline_syscall*): Add 'err' argument.
38660 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38661 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38662 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38663 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38664
38665 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38666 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38667
2bc17433
AS
386682011-08-30 Andreas Schwab <schwab@redhat.com>
38669
38670 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38671
fbeb5f4d
JO
386722011-08-29 Jiri Olsa <jolsa@redhat.com>
38673
38674 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38675 directive.
38676
ad69cc26
DM
386772011-08-24 David S. Miller <davem@davemloft.net>
38678
38679 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38680
39dd69df
AS
386812011-08-24 Andreas Schwab <schwab@redhat.com>
38682
38683 * elf/Makefile: Add rules to build and run unload8 test.
38684 * elf/unload8.c: New file.
38685 * elf/unload8mod1.c: New file.
38686 * elf/unload8mod1x.c: New file.
38687 * elf/unload8mod2.c: New file.
38688 * elf/unload8mod3.c: New file.
38689
38690 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38691 it wasn't used.
38692
2c0b250a
DM
386932011-08-23 David S. Miller <davem@davemloft.net>
38694
38695 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38696 subtract stack bias.
38697 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38698 %sp not %fp in calculations.
38699 (_JMPBUF_UNWINDS_ADJ): Likewise.
38700
22044b48
DM
38701 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38702 (aio_suspend): Call it to force an exception region around the
38703 AIO_MISC_WAIT() invocation.
38704
2cae4995
AS
387052011-08-23 Andreas Schwab <schwab@redhat.com>
38706
38707 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38708 backslash.
38709
873a772e
AJ
387102011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38711
38712 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38713 protection macro.
38714 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38715 and <dl-machine.h>.
38716 (Elf64_FuncDesc): Remove.
38717
25ad0df1
DM
387182011-08-22 David S. Miller <davem@davemloft.net>
38719
38720 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38721 sigaltstack check, add missing cfi directives.
38722 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38723 missing cfi directives, and sigaltstack handling.
38724
e888bcbe
AS
387252011-08-16 Andreas Schwab <schwab@redhat.com>
38726
38727 [BZ #11724]
38728 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38729 object is seen twice.
38730 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38731
38732 * elf/Makefile (distribute): Add tst-initorder2.c.
38733 (tests): Add tst-initorder2.
38734 (modules-names): Add tst-initorder2a tst-initorder2b
38735 tst-initorder2c tst-initorder2d. Add rules to build them.
38736 ($(objpfx)tst-initorder2.out): New rule.
38737 * elf/tst-initorder2.c: New file.
38738 * elf/tst-initorder2.exp: New file.
38739
87162f46
AS
387402011-08-22 Andreas Schwab <schwab@redhat.com>
38741
70538b7f
AS
38742 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38743
f55ffe58
AS
38744 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38745 dependencies back to end of function.
38746
87162f46
AS
38747 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38748 $(elfobjdir)/ld.so.
38749
91b392a4
UD
387502011-08-21 Ulrich Drepper <drepper@gmail.com>
38751
38752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38753 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38755 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38756 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38757 of __vdso_gettimeofday.
38758 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38759 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38760 attribute_hidden.
38761 (_libc_vdso_platform_setup): Remove initialization of
38762 __vdso_gettimeofday and __vdso_time.
38763
5c43483f
UD
387642011-08-20 Ulrich Drepper <drepper@gmail.com>
38765
775a77e7
UD
38766 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38767 and fgetc_unlocked.
38768 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38769 getc_unlocked.
89f447ed 38770
49c74ba9
UD
38771 * elf/dl-open.c (add_to_global): Report additions to the global scope
38772 for LD_DEBUG=scopes.
38773 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38774 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38775
5c43483f
UD
38776 [BZ #13114]
38777 * stdio-common/Makefile (tests): Add bug24.
38778 * stdio-common/bug24.c: New file.
38779
a101b025
AJ
387802011-08-19 Andreas Jaeger <aj@suse.de>
38781
38782 [BZ #13114]
38783 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38784 non-existant file when using close-on-exec mode.
38785
c88f1766
UD
387862011-08-20 Ulrich Drepper <drepper@gmail.com>
38787
0276a718
UD
38788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38789 the very first instruction.
38790
c88f1766
UD
38791 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38792 the CFI state in the end.
38793 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38794 inclusion of dl-trampoline.h.
38795 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38796
51ccffa0
AS
387972011-08-19 Andreas Schwab <schwab@redhat.com>
38798
94d7165f
AS
38799 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38800 expectations for long double.
38801
51ccffa0
AS
38802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38803 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38804
fd708658 388052011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38806
38807 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38808 artificual limit depends upon the system page size.
38809
44f0a71e
UD
388102011-08-17 Ulrich Drepper <drepper@gmail.com>
38811
38812 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38813 * resolv/Makefile: Define CFLAGS-libresolv.
38814
8de79a24
AS
388152011-08-17 Andreas Schwab <schwab@redhat.com>
38816
38817 * nss/makedb.c (compute_tables): Make variables used in nested
38818 function static.
38819
27724598
UD
388202011-08-17 Ulrich Drepper <drepper@gmail.com>
38821
c5305d88
UD
38822 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38823 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38824 if buffer was too small.
38825
27724598
UD
38826 * elf/pldd.c (main): Attach to all threads in the process.
38827 Rewrite /proc handling to use *at functions.
38828
076fe015
UD
388292011-08-16 Ulrich Drepper <drepper@gmail.com>
38830
174baab3
UD
38831 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38832 specifies first scope to show.
38833 (dl_open_worker): Update callers. Move printing scope of new
38834 object to before the relocation.
44f0a71e 38835 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38836 * sysdeps/generic/ldsodefs.h: Update declaration.
38837
076fe015
UD
38838 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38839 string for the scope number.
38840
a60df2c3
UD
388412011-08-14 Ulrich Drepper <drepper@gmail.com>
38842
38843 * nscd/servicescache.c (cache_addserv): Make sure written is always
38844 initialized.
38845
5e4287d1
RM
388462011-08-14 Roland McGrath <roland@hack.frob.com>
38847
85ae0589
RM
38848 * sysdeps/i386/i486/bits/atomic.h
38849 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38850 statement expression, so as to suppress "set but not used" warning.
38851 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38852
69f63097
RM
38853 * string/strncat.c (STRNCAT): Use prototype definition.
38854
675456ef
RM
38855 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38856 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38857 -Iprograms here.
38858 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38859 (localedef-modules): Add localedef.
38860 (locale-modules): Add locale.
38861
5e4287d1
RM
38862 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38863 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38864 to avoid a warning.
38865
9c96ff23
DM
388662011-08-14 David S. Miller <davem@davemloft.net>
38867
38868 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38869 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38870
f9ddf089
UD
388712011-08-13 Ulrich Drepper <drepper@gmail.com>
38872
44f0a71e 38873 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38874 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38875 * elf/rtld.c (dl_main): Set l_name of vDSO.
38876 Call _dl_show_scope when DL_DEBUG_SCOPES.
38877 (process_dl_debug): Recognize scopes flag and also set it for all.
38878 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38879 Declare _dl_show_scope.
38880
1dc27704
UD
38881 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38882 (do_dlopen): Pass caller_dlopen to dl_open.
38883 (__libc_dlopen_mode): Initialize caller_dlopen.
38884
f9ddf089
UD
38885 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38886 of libc. Make tolower call locale-independent. Optimize a bit by
38887 using isdigit instead of isalnum.
38888 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38889
9ac533d3
UD
388902011-08-12 Ulrich Drepper <drepper@gmail.com>
38891
38892 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38893 was a dependency or dynamically loaded.
38894
89edf2e9
UD
388952011-08-11 Ulrich Drepper <drepper@gmail.com>
38896
8e999d29
UD
38897 * intl/l10nflist.c: Allow architecture-specific pop function.
38898 * sysdeps/x86_64/l10nflist.c: New file.
38899
89edf2e9
UD
38900 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38901 classification.
38902
14d96785
AS
389032011-08-10 Andreas Schwab <schwab@redhat.com>
38904
38905 * include/dirent.h: Add libc_hidden_proto for scandirat and
38906 scandirat64. Don't declare __scandirat64.
38907 * dirent/scandirat.c: Add libc_hidden_def.
38908 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38909 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38910
6761ac04
DM
389112011-08-10 David S. Miller <davem@davemloft.net>
38912
38913 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38914 enum.
38915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38917 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38918
c55fbd1e
UD
389192011-08-09 Ulrich Drepper <drepper@gmail.com>
38920
38921 * Versions.def [libc]: Add GLIBC_2.15.
38922 * dirent/Makefile (routines): Add scandirat and scandirat64.
38923 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38924 GLIBC_2.15.
38925 * dirent/dirent.h: Declare scandirat and scandirat64.
38926 * dirent/scandirat.c: New file.
38927 * dirent/scandirat64.c: New file.
38928 * sysdeps/wordsize-64/scandirat.c: New file.
38929 * sysdeps/wordsize-64/scandirat64.c: New file.
38930 * dirent/opendir.c: Define opendirat.
38931 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38932 using scandirat.
38933 * dirent/scandir64.c: Adjust for scandir.c change.
38934 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38935 __scandirat64, and __scandir_cancel_handler.
38936 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38937 additional parameter and use openat instead of open (outside of ld.so).
38938 Add new __opendir as wrapper around __opendirat.
38939 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38940 here without requiring old scandirat implementation.
38941
879165f2
UD
389422011-08-08 Ulrich Drepper <drepper@gmail.com>
38943
38944 * dirent/scandir.c (cancel_handler): Renamed to
38945 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38946 defined. Adjust users.
38947 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38948 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38949
cb7e923b
UD
389502011-08-04 Ulrich Drepper <drepper@gmail.com>
38951
16292edd
UD
38952 * string/test-string.h (IMPL): Use __STRING to expand name and then
38953 stringify it.
38954
cb7e923b
UD
38955 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38956 of cleanups.
38957
cff82933
LD
389582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38959
38960 * string/Makefile: Update.
38961 (strop-tests): Append strncat.
38962 * string/test-wcscmp.c: New file.
38963 New comprehensive test for wcscmp.
38964 * string/test-strcmp.c: Update.
38965 (WIDE): New define.
38966
9be9bfcc
AS
389672011-07-22 Andreas Schwab <schwab@redhat.com>
38968
38969 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38970 line.
38971
2e96f1c7
AS
389722011-07-26 Andreas Schwab <schwab@redhat.com>
38973
38974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38975 encoding to ACE if AI_IDN.
38976
85188888
JJ
389772011-08-01 Jakub Jelinek <jakub@redhat.com>
38978
38979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38980 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38981
5fa16e9b
LD
389822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38983
38984 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38985 Fix overflow bug in strncat.
38986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38987
38988 * string/test-strncat.c: Update.
38989 Add new tests for checking overflow bugs.
38990
389912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38992
38993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38994 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38995 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38996 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38997 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38998 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38999 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39000 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39001 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39002
39003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39004 (USE_AS_STRCAT): Define.
39005 Add strcat and strncat support.
39006 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39007
8c1a459f
AS
390082011-07-25 Andreas Schwab <schwab@redhat.com>
39009
39010 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39011 __n bigger than INT_MAX+1.
39012 (__strncmp_g): Likewise.
39013
bba33c28
UD
390142011-07-23 Ulrich Drepper <drepper@gmail.com>
39015
798be72d
UD
39016 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39017 * libio/stido.h: Likewise.
39018
8accd4dc
UD
39019 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39020 (AF_NFC): Define.
39021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39022 (AF_NFC): Define.
39023
cbff0d96
UD
39024 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39025 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39026 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39027 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39028 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39029
9191c04a
UD
39030 [BZ #13021]
39031 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39032 installed.
39033
bba33c28
UD
39034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39035 typo.
39036 (_dl_x86_64_save_sse): Likewise.
39037
90f139dd
UD
390382011-07-22 Ulrich Drepper <drepper@gmail.com>
39039
1aae088a
UD
39040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39041 OSXSAVE.
39042 (_dl_x86_64_save_sse): Likewise.
39043
8e2045f5
UD
39044 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39045
90f139dd
UD
39046 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39047
1d002f25
AS
390482011-07-21 Andreas Schwab <schwab@redhat.com>
39049
39050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39051 change.
39052 (_dl_x86_64_save_sse): Use correct AVX check.
39053
21137f89
UD
390542011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39055
39056 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39057 bug in strncpy/strncat.
39058 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39059
a65c0b7a
UD
390602011-07-21 Ulrich Drepper <drepper@gmail.com>
39061
39062 * string/tester.c (test_strcat): Add tests for different alignments
39063 of source and destination.
39064 (test_strncat): Likewise.
39065
6986b98a
UD
390662011-07-20 Ulrich Drepper <drepper@gmail.com>
39067
90bb2039
UD
39068 [BZ #12852]
39069 * posix/glob.c (glob): Check passed in values before using them in
39070 expressions to avoid some overflows.
39071 (glob_in_dir): Likewise.
39072
5644ef54
UD
39073 [BZ #13007]
39074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39075 check for AVX enablement so that we don't crash with old kernels and
39076 new hardware.
39077 * elf/tst-audit4.c: Add same checks here.
39078 * elf/tst-audit6.c: Likewise.
39079
39080 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39081
bfc9dc9b
AS
390822011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39083
39084 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39085
702e64bb
UD
390862011-07-20 Ulrich Drepper <drepper@gmail.com>
39087
39088 * po/cs.po: Update from translation team.
39089 * po/bg.po: Likewise.
39090
295e904f
MP
390912011-07-12 Marek Polacek <mpolacek@redhat.com>
39092
39093 * misc/sys/cdefs.h: Add support for const attribute.
39094 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39095 to gnu_dev_{major,minor,makedev} functions.
39096
3ff94596
MP
390972011-07-20 Marek Polacek <mpolacek@redhat.com>
39098
39099 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39100
28b59fca
AS
391012011-07-20 Andreas Schwab <schwab@redhat.com>
39102
39103 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39104 strlen results.
39105
19df733e
AK
391062011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39107
39108 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39109 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39110 register in order to avoid conflicts with the soft frame pointer
39111 being held in r11 when necessary.
39112 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39113 (INTERNAL_VSYSCALL_NCS): Likewise.
39114
c8835729
MP
391152011-07-14 Marek Polacek <mpolacek@redhat.com>
39116
39117 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39118 * elf/dl-fini.c (_dl_fini): Adjust caller.
39119 * elf/dl-close.c (_dl_close_worker): Likewise.
39120 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39121
b902330c
MP
391222011-07-15 Marek Polacek <mpolacek@redhat.com>
39123
8991e135
MP
39124 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39125 "aux_cache->nlibs < 0".
39126
b902330c
MP
39127 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39128 in the reload-count case.
39129
99710781
LD
391302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39131
39132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39133 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39134 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39135 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39136 * sysdeps/x86_64/multiarch/strcat.S: New file.
39137 * sysdeps/x86_64/multiarch/strncat.S: New file.
39138 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39139 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39140 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39141 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39143 (USE_AS_STRCAT): Define.
39144 Add strcat and strncat support.
39145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39146 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39147 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39148 * string/strncat.c: Update.
39149 (USE_AS_STRNCAT): Define.
39150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39151 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39152 and i7.
39153 * sysdeps/x86_64/multiarch/init-arch.h
39154 (bit_Prefer_PMINUB_for_stringop): New.
39155 (index_Prefer_PMINUB_for_stringop): Likewise.
39156 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39157 bit_Prefer_PMINUB_for_stringop.
39158
7dc6bd90
UD
391592011-07-19 Ulrich Drepper <drepper@gmail.com>
39160
39161 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39162 buffer64.
39163 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39164 of casting of buffer.
39165 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39166 buffer32 and buffer64.
39167 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39168 writes instead of casting of buffer.
39169 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39170 buffer32.
39171 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39172 casting of buffer.
39173
e0e72284
AS
391742011-07-19 Andreas Schwab <schwab@redhat.com>
39175
39176 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39177
feb1eb0b
UD
391782011-07-19 Ulrich Drepper <drepper@gmail.com>
39179
39180 * nscd/nscd.c (termination_handler): Don't do anything for a database
39181 if it has not yet been initialized.
39182
298711ff
UD
391832011-07-18 Ulrich Drepper <drepper@gmail.com>
39184
39185 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39186
391872011-07-15 Marek Polacek <mpolacek@redhat.com>
39188
39189 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39190
f9d68389
UD
391912011-07-18 Ulrich Drepper <drepper@gmail.com>
39192
39193 * po/nl.po: Update from translation team.
39194 * po/sv.po: Likewise.
39195
db290cf5
RM
391962011-07-16 Roland McGrath <roland@hack.frob.com>
39197
39198 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39199 now disallowed by GCC.
5c550700 39200
fd5e21c7
RM
39201 * configure.in (use-default-link): Default to yes if a test -shared
39202 link meets our qualifications.
39203 * configure: Regenerated.
39204
5c550700
RM
39205 * config.make.in (output-format): New variable.
39206 * configure.in: Check for ld --print-output-format support.
39207 * configure: Regenerated.
39208 * Makerules ($(common-objpfx)format.lds)
39209 [$(output-format) != unknown]: Just use $(output-format),
39210 instead of the linker-script munging.
39211
9fa2c032
RM
392122011-07-14 Roland McGrath <roland@hack.frob.com>
39213
a6928d51
RM
39214 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39215 of $(common-objpfx)shlib.lds.
39216 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39217
661607b3
RM
39218 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39219 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39220
9fa2c032
RM
39221 * configure.in (-z relro check): Adjust test code to add a large
39222 writable data section after it.
39223 * configure: Regenerated.
39224
defe9061
RM
392252011-07-11 Roland McGrath <roland@hack.frob.com>
39226
39227 * configure.in (-z relro check): Fix test code to make the variable
39228 truly const.
39229 * configure: Regenerated.
39230
319b9ad4
UD
392312011-07-11 Ulrich Drepper <drepper@gmail.com>
39232
39233 * nscd/nscd.h (struct traced_file): Define.
39234 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39235 elements. Add traced_files.
39236 (inotify_fd): Declare.
39237 (register_traced_file): Declare.
39238 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39239 (inotify_fd): Export.
39240 (resolv_conf_descr): Remove.
39241 (nscd_init): Move inotify descriptor creation to main.
39242 Don't register files for notification here.
39243 (register_traced_file): New function.
39244 (invalidate_cache): Don't use reset_res to determine whether to call
39245 res_init, go through the list of registered files.
39246 (main_loop_poll): The inotify descriptors are now stored in the
39247 structures for the traced files.
39248 (main_loop_epoll): Likewise
39249 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39250 to __nss_disable_nscd.
39251 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39252 for a database anymore. Check the records for all the registered
39253 files instead.
39254 * nss/Makefile (libnss_files-routines): Add files-init.
39255 (libnss_db-routines): Add db-init.
39256 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39257 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39258 * nss/nss_db/db-init.c: New file.
39259 * nss/nss_files/files-init.c: New file.
39260 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39261 __nss_lookup_function.
39262 (__nss_lookup_function): Call nss_load_library.
39263 (nss_load_all_libraries): New function.
39264 (__nss_disable_nscd): Take parameter with callback function for files
39265 to register. Set is_nscd. Load all the DSOs for the NSS modules
39266 used for the cached services.
39267 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39268 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39269 options for features to all the files in nscd.
39270
39271 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39272
23bee3e8
RM
392732011-07-10 Roland McGrath <roland@hack.frob.com>
39274
39275 * csu/elf-init.c (__libc_csu_init): Comment typo.
39276
46a5b7f0
UD
392772011-07-09 Ulrich Drepper <drepper@gmail.com>
39278
39279 * po/pl.po: Update from translation team.
39280 * po/ja.po: Likewise.
39281 * po/ru.po: Likewise.
39282 * po/ko.po: Likewise.
39283 * po/fr.po: Likewise.
39284
d30cf5bb
RM
392852011-07-09 Roland McGrath <roland@hack.frob.com>
39286
113ddea4
RM
39287 * configure.in (.ctors/.dtors header and trailer check):
39288 Use an empirical test on a built program.
39289 * configure: Regenerated.
39290
574920b4
RM
39291 * configure.in (-z relro check): Use an empirical test on a built DSO.
39292 Detect, but do not require, on ia64.
39293 * configure: Regenerated.
39294
d30cf5bb
RM
39295 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39296 Update tests that use readelf to use $READELF instead.
39297 * configure: Regenerated.
39298
8538fdb3
UD
392992011-07-08 Ulrich Drepper <drepper@gmail.com>
39300
39301 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39302 if the result is not used.
39303
04d08991
AJ
393042011-07-05 Andreas Jaeger <aj@suse.de>
39305
39306 [BZ#9696]
39307 * stdlib/tst-strtod.c: Add testcase.
39308
de283087
AD
393092011-07-07 Ulrich Drepper <drepper@gmail.com>
39310
4e5f31c8 39311 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39312 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39313 The latter has a higher limit. Take additional parameter to pass to
39314 the new function.
39315 (__pathconf): Pass file to __statfs_link_max.
39316 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39317 __statfs_link_max.
39318 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39319 __statfs_link_max.
39320
de283087
AD
39321 [BZ #12868]
39322 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39324 Handle Lustre.
39325 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39326 (__statfs_filesize_max): Likewise.
39327 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39328
c75fa153
AJ
393292011-07-05 Andreas Jaeger <aj@suse.de>
39330
39331 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39332
1a544854
UD
393332011-07-06 Marek Polacek <mpolacek@redhat.com>
39334
39335 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39336 `status' variable.
39337 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39338 Likewise.
39339
6f0eec67
UD
393402011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39341
39342 * Makefile (strop-tests): Add strncat.
39343 * string/test-strncat.c: New file.
39344
aae30307
UD
393452011-06-30 Marek Polacek <mpolacek@redhat.com>
39346
39347 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39348
c0cfb5eb
UD
393492011-06-21 Andreas Jaeger <aj@suse.de>
39350
39351 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39352 Copy rule from iconvdata/Makefile.
39353
01636b21
UD
393542011-07-06 Ulrich Drepper <drepper@gmail.com>
39355
39356 [BZ #12922]
39357 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39358 but no long options are defined, just return 'W'.
39359
9895c8bc
UD
393602011-06-22 Marek Polacek <mpolacek@redhat.com>
39361
39362 [BZ #9696]
39363 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39364
5d4cf042
UD
393652011-07-06 Ulrich Drepper <drepper@gmail.com>
39366
39367 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39368 netgroups to read.
960e5535 39369 (innetgr): Likewise.
5d4cf042 39370
751eb97e
RM
393712011-07-05 Roland McGrath <roland@hack.frob.com>
39372
39373 * config.make.in (install_root): Default to $(DESTDIR).
39374
f15f1e45
UD
393752011-07-05 Ulrich Drepper <drepper@gmail.com>
39376
39377 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39378
4e34ac6a
RM
393792011-07-02 Roland McGrath <roland@hack.frob.com>
39380
5e9b6af4
RM
39381 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39382
84f9ea0f
RM
39383 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39384 containing directory rather than embedding absolute directory names.
39385
ea5ee9f7
RM
39386 * scripts/check-local-headers.sh: Rewritten using awk.
39387 Match by word, not by line. Print error messages for matches.
39388 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39389
1b74661a
RM
39390 * Makerules [shlib-lds-flags empty]:
39391 ($(common-objpfx)libc_pic.opts): New target.
39392 ($(common-objpfx)libc_pic.os.clean): New target.
39393 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39394
39395 * config.make.in (OBJCOPY): New variable.
39396 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39397 * configure: Regenerated.
39398
f781ef40
RM
39399 * config.make.in (use-default-link): New variable.
39400 * configure.in (use_default_link): Grok --with-default-link to set it.
39401 * configure: Regenerated.
39402 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39403 (shlib-lds, shlib-lds-flags): Define to empty.
39404
2d4fa81e
RM
39405 * Makerules (shlib-lds): New variable.
39406 (shlib-lds-flags): New variable.
39407 (build-shlib, build-moduile, build-module-asneeded): Use it.
39408 ($(common-objpfx)libc.so): Use $(shlib-lds).
39409 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39410 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39411
31fffa6b
RM
39412 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39413 DT_FLAGS/DT_FLAGS_1 with zero flags.
39414
4e34ac6a
RM
39415 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39416 linker script munging.
39417
fcfc776b
UD
394182011-07-02 Ulrich Drepper <drepper@gmail.com>
39419
39420 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39421 as 128-bit value.
39422 * crypt/sha512.c (sha512_process_block): Perform total addition using
39423 128-bit if possible.
39424 (__sha512_finish_ctx): Likewise.
39425 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39426 as 64-bit value.
39427 * crypt/sha256.c (SWAP64): Define.
39428 (sha256_process_block): Perform total addition using 64-bit if
39429 possible.
39430 (__sha256_finish_ctx): Likewise.
39431
99231d9a
UD
394322011-07-01 Ulrich Drepper <drepper@gmail.com>
39433
39434 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39436 * nscd/hstcache.c (cache_addhst): Likewise.
39437 * nscd/grpcache.c (cache_addgr): Likewise.
39438 * nscd/aicache.c (addhstaiX): Likewise
39439 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39440
445b4a53
TK
394412011-07-01 Thorsten Kukuk <kukuk@suse.de>
39442
39443 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39445 * nscd/hstcache.c (cache_addhst): Likewise.
39446 * nscd/grpcache.c (cache_addgr): Likewise.
39447 * nscd/aicache.c (addhstaiX): Likewise
39448
6d4d8e8e
AS
394492011-07-01 Andreas Schwab <schwab@redhat.com>
39450
39451 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39452 domain only when needed.
39453
89f654c5
AS
394542011-06-30 Andreas Schwab <schwab@redhat.com>
39455
39456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39457 is always restored.
39458
cf3b23ff
UD
394592011-06-29 Ulrich Drepper <drepper@gmail.com>
39460
39461 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39462 are re-adding the entry.
39463 * nscd/servicescache.c (cache_addserv): Likewise.
39464
751626f9
AJ
394652011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39466
39467 * sysdeps/generic/dl-irel.h: fix protection against multiple
39468 inclusions.
39469 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39470
9113ea1f
UD
394712011-06-28 Ulrich Drepper <drepper@gmail.com>
39472
5c0b8d90
UD
39473 [BZ #12935]
39474 * malloc/memusage.sh: Fix quoting in message.
39475 * debug/xtrace.sh: Likewise.
39476
9113ea1f
UD
39477 * configure.in: Remove support for --experimental-malloc option, make
39478 it the default.
39479 * config.make.in: Likewise.
39480 * malloc/Makefile: Likewise.
39481
a4172181
AS
394822011-06-27 Andreas Schwab <schwab@redhat.com>
39483
39484 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39485 two-byte characters.
39486
78a7eee7
RM
394872011-06-27 Roland McGrath <roland@hack.frob.com>
39488
62bede13
RM
39489 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39490 AC_CACHE_CHECK invocation.
39491 * configure: Regenerated.
39492
78a7eee7
RM
39493 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39494
5ce33a62
UD
394952011-06-27 Ulrich Drepper <drepper@gmail.com>
39496
034807a9
UD
39497 [BZ #12350]
39498 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39499 bit from old_res_options.
39500
4902da17
UD
39501 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39502
5ce33a62
UD
39503 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39504 value type for setfct.
39505
c2344f56
L
395062011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39507
39508 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39509 __gettimeofday instead of gettimeofday.
39510
68468076
UD
395112011-06-26 Ulrich Drepper <drepper@gmail.com>
39512
39513 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39514
acb0d739
L
395152011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39516
39517 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39518
39519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39520 info.
39521
8912479f
L
395222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39523
39524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39525 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39526 strcpy-sse2-unaligned strncpy-sse2-unaligned
39527 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39528 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39529 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39530 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39531 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39534 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39535 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39536 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39537 (STRCPY): Support SSE2 and SSSE3 versions.
39538
d5495a11
UD
395392011-06-24 Ulrich Drepper <drepper@gmail.com>
39540
39541 [BZ #12874]
39542 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39543 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39544 kernels which artificially limit size of requests.
39545
0b1cbaae
L
395462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39547
39548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39549 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39550 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39551 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39552 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39553 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39554 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39555 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39557 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39558 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39559 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39560 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39561 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39562 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39564 Enable unaligned load optimization for Intel Core i3, i5 and i7
39565 processors.
39566 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39567 Define.
39568 (index_Fast_Unaligned_Load): Define.
39569 (HAS_FAST_UNALIGNED_LOAD): Define.
39570
07f494a0
MP
395712011-06-23 Marek Polacek <mpolacek@redhat.com>
39572
39573 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39574
fa3fc0fe
UD
395752011-06-22 Ulrich Drepper <drepper@gmail.com>
39576
39577 [BZ #12907]
39578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39579 until it is clear that the information is realy needed.
39580 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39581
e12df166
AS
395822011-06-22 Andreas Schwab <schwab@redhat.com>
39583
39584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39585
852eb34d
UD
395862011-06-22 Ulrich Drepper <drepper@gmail.com>
39587
84e2a551
UD
39588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39589 /sys/devices/system/cpu/online if it is usable.
39590
852eb34d
UD
39591 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39592 reading the information from the /proc filesystem to once a second.
39593
6e502e19
UD
395942011-06-21 Andreas Jaeger <aj@suse.de>
39595
39596 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39597 NULL after inclusion of kernel headers.
39598
75d39ff2
UD
395992011-06-21 Ulrich Drepper <drepper@gmail.com>
39600
51f9aa6a
UD
39601 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39602 calls to internal_setent.
39603
c0244a9d
UD
39604 [BZ #12885]
39605 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39606 addresses using gethostbyname4_r ignore IPv4 addresses.
39607
c5e3c2ae
UD
39608 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39609 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39610
75d39ff2
UD
39611 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39612
42675c6f
DM
396132011-06-20 David S. Miller <davem@davemloft.net>
39614
39615 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39616 inclusions.
39617 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39618
39619 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39620 (elf_irel): Use it.
39621 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39622 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39623 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39624 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39625 * sysdeps/x86_64/dl-irel.h: Likewise.
39626
39627 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39628 * elf/dl-sym.c: Likewise.
39629
57912a71
UD
396302011-06-15 Ulrich Drepper <drepper@gmail.com>
39631
39632 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39633 need to dereference resplen2.
39634
ee22793d
AS
396352011-06-14 Andreas Schwab <schwab@redhat.com>
39636
39637 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39638
a9e836b0
UD
396392011-06-15 Ulrich Drepper <drepper@gmail.com>
39640
77fb9117
UD
39641 * Makeconfig: Define vardbdir and inst_vardbdir.
39642 * nss/Makefile: Add rules to install db-Makefile.
39643
40c1b22c
UD
39644 * nss/nss_db/db-XXX.c: Cleanup.
39645
9f2da732
UD
39646 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39647 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39648 GLIBC_PRIVATE.
39649 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39650 * nss/makedb.c: Implement -g option to specify that value strings
39651 are generated and should not be added to table iterated over for
39652 get*ent calls.
39653 * nss/nss_db/db-initgroups.c: New file.
39654
82e9a1f7
UD
39655 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39656 interface.
39657
c41af17e
UD
39658 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39659 (internal_getgrouplist): Adjust to name change.
39660 Update use_initgroups_entry if this is not the first call.
39661 * nss/databases.def: Add initgroups entry.
39662
a9e836b0
UD
39663 * nss/makedb.c (compute_tables): Check result of multiple hash table
39664 sizes to minimize maximum chain length.
39665
2666d441
UD
396662011-06-14 Ulrich Drepper <drepper@gmail.com>
39667
39668 * Versions.def: Add entry for libnss_db.
39669 * shlib-versions: Likewise.
39670 * nss/Makefile: Add rules to build libnss_db.
39671 * nss/Versions: Add libnss_db information. Organize libnss_files
39672 entries better.
39673 * nss/db-Makefile: Add gshadow support. Change rules for the new
39674 makedb progra. Some minor improvements to generate smaller files.
39675 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39676 here from...
39677 * nss/makedb.c: ...here.
39678 Improve database format to be smaller and require less memory at
39679 runtime.
39680 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39681 db anymore.
39682 * nss/nss_db/db-netgrp.c: Likewise.
39683 * nss/nss_db/db-open.c: Likewise.
39684 * nss/nss_files/flies-XXX.x: Adjust comments.
39685 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39686 * nss/nss_files/files-grp.c: Likewise.
39687 * nss/nss_files/files-hosts.c: Likewise.
39688 * nss/nss_files/files-network.c: Likewise.
39689 * nss/nss_files/files-proto.c: Likewise.
39690 * nss/nss_files/files-pwd.c: Likewise.
39691 * nss/nss_files/files-rpc.c: Likewise.
39692 * nss/nss_files/files-service.c: Likewise.
39693 * nss/nss_files/files-sgrp.c: Likewise.
39694 * nss/nss_files/files-spwd.c: Likewise.
39695 * nss/nss_db/db-alias.c: Removed.
39696 * nss/nss_db/dummy-db.h: Removed.
39697
9ee76b5a
UD
396982011-06-02 Ulrich Drepper <drepper@gmail.com>
39699
39700 * nss/makedb.c: Rewritten to not use database library.
39701 * nss/Makefile: Update to build new makedb program.
39702
c71ca1f8
AJ
397032011-06-14 Andreas Jaeger <aj@suse.de>
39704
39705 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39706 memset declaration.
39707
3154bfb8
UD
397082011-06-10 Andreas Schwab <schwab@redhat.com>
39709
39710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39711 tmpbuf.
39712
b350afab
RM
397132011-06-10 Roland McGrath <roland@hack.frob.com>
39714
decd4e50
RM
39715 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39716 * elf/Makefile ($(objpfx)ld.so): Likewise.
39717
5615eaf2
RM
39718 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39719 Don't list ld.so twice in dependencies.
39720
39721 * posix/bug-regex31.c: Include <stdlib.h>.
39722
39723 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39724
39725 * nis/nss_compat/compat-spwd.c
39726 (getspent_next_nss_netgr): Remove unused variable.
39727 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39728
39729 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39730 nonmembers" output to use the right array.
39731
39732 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39733
39734 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39735
39736 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39737 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39738 * catgets/gencat.c (read_input_file): Likewise.
39739 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39740
39741 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39742 variable definition inside #if's controlling its use.
39743
39744 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39745
39746 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39747
39748 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39749
39750 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39751 unreachable code.
39752
39753 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39754
b68e08db
RM
39755 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39756 * configure: Regenerated.
39757
b350afab
RM
39758 * Makerules: Revert last change.
39759 * elf/Makefile: Likewise.
39760
28368601
RM
397612011-06-09 Roland McGrath <roland@hack.frob.com>
39762
39763 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39764 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39765 (reloc-link): Likewise.
39766
11988f8f
UD
397672011-06-09 Ulrich Drepper <drepper@gmail.com>
39768
39769 * elf/Makefile: Add rules to build pldd.
39770 * elf/pldd.c: New file.
39771 * elf/pldd-xx.c: New file.
39772
e80fab37
UD
397732011-06-07 Ulrich Drepper <drepper@gmail.com>
39774
39775 * version.h: Update for 2.15 development version.
39776
9b849836
DM
397772011-06-07 David S. Miller <davem@davemloft.net>
39778
39779 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39780 ifuncs.
39781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39782 elf_machine_lazy_rel): Likewise.
39783 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39784 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39785 elf_machine_lazy_rel): Likewise.
39786 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39787 dl_hwcap via passed in argument.
39788 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39789 Likewise.
39790
5a31b283
AK
397912011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39792
39793 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39794
069e52f8
RM
397952011-06-06 Roland McGrath <roland@hack.frob.com>
39796
39797 [BZ #12849]
39798 * manual/fdl-1.1.texi: New file, verbatim from:
39799 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39800 * manual/lgpl-2.1.texi: New file, verbatim from:
39801 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39802 * manual/Makefile (licenses): New variable, list those new file names.
39803 (texis): Use it.
39804 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39805
39806 * manual/fdl.texi: File removed.
39807 * manual/lesser.texi: File removed.
39808 * manual/libc.texinfo (Copying, Documentation License):
39809 Use new @include file names, put @appendix directive before @include.
39810
f16846a5
JJ
398112011-06-04 Jakub Jelinek <jakub@redhat.com>
39812
39813 [BZ #12841]
39814 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39815 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39816 (mq_open): Add __NTH.
39817
3d29045b
L
398182011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39819
39820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39821 Assume Intel Core i3/i5/i7 processor if AVX is available.
39822
8c297311
UD
398232011-05-31 Ulrich Drepper <drepper@gmail.com>
39824
39825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39826 typo.
39827
c8fc0c91
UD
398282011-05-31 Andreas Schwab <schwab@redhat.com>
39829
39830 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39831 memory. Use alloca_account. Fix memory leak when retrying.
39832
5b27a807
UD
398332011-05-31 Ulrich Drepper <drepper@gmail.com>
39834
356f8bc6
UD
39835 * version.h (RELEASE): Bump for 2.14 release.
39836 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39837
5b27a807
UD
39838 * config.make.in (RANLIB): Remove entry.
39839
01f16ab0
UD
398402011-05-30 Ulrich Drepper <drepper@gmail.com>
39841
41fce8bd
UD
39842 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39843 (libc.pot): Work around missing support for .ksh extension in xgettext.
39844
4769ae77
UD
39845 [BZ #12684]
39846 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39847 if both request failed.
39848 (send_dg): In case of server errors clear resplen or *resplen2.
39849
6b1e7d19
UD
39850 [BZ #12454]
39851 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39852 when there are multiple maps.
39853 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39854 (_dl_fini): Remove test here.
39855
01f16ab0
UD
39856 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39857
b1ebd700
UD
398582011-05-29 Ulrich Drepper <drepper@gmail.com>
39859
7ae22829
UD
39860 [BZ #12350]
39861 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39862 bit from old_res_options.
39863 (gaih_inet): Likewise.
39864
553149f6 39865 [BZ #11099]
18a84741 39866 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39867 as signed.
39868
652ffab1
UD
39869 * resolv/res_init.c (res_setoptions): Make the code more compact.
39870
16985fd0
UD
39871 [BZ #11558]
39872 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39873 set RES_USEVC.
39874
0464f746
UD
39875 [BZ #11634]
39876 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39877
7d17596c
UD
39878 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39879
cf6bbbd7
UD
39880 [BZ #11781]
39881 * malloc/malloc.h: Declare malloc hook variables as volatile.
39882
13f1ab36
UD
39883 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39884 in last patch.
39885
b1ebd700
UD
39886 [BZ #11799]
39887 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39888 raise in the comment.
80e2212d
UD
39889 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39891 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39892
ce67228d
UD
398932011-05-28 Ulrich Drepper <drepper@gmail.com>
39894
8887a920
UD
39895 [BZ #12811]
39896 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39897 grow the buffers more if it already has to be sufficient.
39898 (build_wcs_upper_buffer): Likewise.
39899 * posix/regexec.c (check_matching): Likewise.
39900 (clean_state_log_if_needed): Likewise.
39901 (extend_buffers): Don't enlarge buffers beyond size of the input
39902 buffer.
39903 Patches mostly by Emil Wojak <emil@wojak.eu>.
39904 * posix/bug-regex32.c: New file.
39905 * posix/Makefile (tests): Add bug-regex32.
39906
4f031072
UD
39907 * locale/findlocale.c (_nl_find_locale): Return right away if
39908 _nl_explode_name failed.
39909 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39910
d0478f0c
UD
39911 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39912
de81b246
UD
39913 * debug/xtrace.sh: Unify messages.
39914 * malloc/memusage.sh: Likewise.
39915
c738465a
UD
39916 [BZ #12813]
39917 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39918 time symbol from vDSO. Substitute with vsyscall if not available.
39919 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39920 __vdso_time.
39921
f1f929d7
UD
39922 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39923 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39924 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39925 Add sendmmsg and internal_sendmmsg.
39926 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39927 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39928 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39929
ce67228d
UD
39930 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39931 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39932 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39933
e57420c6
UD
399342011-05-27 Ulrich Drepper <drepper@gmail.com>
39935
a8509ca5
UD
39936 [BZ #12813]
39937 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39938 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39939 available.
39940 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39941 __vdso_getcpu.
39942
e57420c6
UD
39943 [BZ #12814]
39944 * iconvdata/Makefile (tests): Add bug-iconv9.
39945 * iconvdata/bug-iconv9.c: New file.
39946
4d07db15
AS
399472011-05-27 Andreas Schwab <schwab@redhat.com>
39948
39949 [BZ #12814]
39950 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39951
ea486f69
JJ
399522011-05-25 Jakub Jelinek <jakub@redhat.com>
39953
39954 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39955 (struct user_regs_struct): Change intcs field back to cs.
39956
6f038433
UD
399572011-05-25 Ulrich Drepper <drepper@gmail.com>
39958
39959 * po/ja.po: Update from translation team.
39960
67f86a25
UD
399612011-05-23 Ulrich Drepper <drepper@gmail.com>
39962
39963 [BZ #12795]
39964 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39965 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39966
def7fbd6
AS
399672011-05-20 Andreas Schwab <schwab@redhat.com>
39968
39969 * stdlib/longlong.h: Update from GCC.
39970
f50ef8f1
AS
399712011-05-23 Andreas Schwab <schwab@redhat.com>
39972
39973 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39974 parameter name.
39975 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39976 Add parameter name.
39977 (__sysconf): Pass it down.
39978
de7ce8f1
UD
399792011-05-22 Ulrich Drepper <drepper@gmail.com>
39980
f2962a71
UD
39981 [BZ #12671]
39982 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39983 some situations.
39984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39985 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39986 add in in __libc_use_alloca calls. Adjust callers.
39987 (glob): Use malloc in some situations.
39988
de7ce8f1
UD
39989 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39990 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39991 pltexit.
39992
aec84f53
UD
399932011-05-21 Ulrich Drepper <drepper@gmail.com>
39994
05bb4a68
UD
39995 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39996 and CLOCK_BOOTTIME_ALARM.
39997
7ea72f99
UD
39998 [BZ #12782]
39999 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40000 is returned.
40001
7e4afad5
UD
40002 * string/_strerror.c (__strerror_r): Print negative errors as signed
40003 numbers.
40004
8e211fec
UD
40005 [BZ #12777]
40006 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40007 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40008 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40009
f7d82dc9
UD
40010 * configure.in: Fix typo in redirection and correct removal of test
40011 files in two cases.
40012
cc9e536d
UD
40013 [BZ #12788]
40014 * locale/setlocale.c (new_composite_name): Fix test to check for
40015 identical name of all categories.
40016
aec84f53
UD
40017 [BZ #12792]
40018 * libio/filedoalloc.c (local_isatty): New function.
40019 (_IO_file_doallocate): Use local_isatty.
40020 * stdio-common/perror.c (perror): In case a new stream is used
40021 forward the stream error.
40022 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40023 error flag.
40024
78e64fdc
RT
400252011-05-20 Ulrich Drepper <drepper@gmail.com>
40026
34a9094f
UD
40027 [BZ #11869]
40028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40029 alloca.
40030 * include/alloca.h (extend_alloca_account): Define.
40031
78e64fdc
RT
40032 [BZ #11857]
40033 * posix/regex.h: Fix comments with documentation of user-accessible
40034 fields after compilation and describe correct free'ing of pattern
40035 after re_compile_pattern.
40036 Patch by Reuben Thomas <rrt@sc3d.org>.
40037
457bddfc
RA
400382011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40039
40040 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40041 and -mno-altivec to prevent the compiler from using Altivec and/or
40042 VSX instructions when the corresponding registers are not available.
40043
a4527b51
AS
400442011-05-19 Andreas Schwab <schwab@redhat.com>
40045
40046 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40047
ed690b2f
UD
400482011-05-19 Ulrich Drepper <drepper@gmail.com>
40049
40050 * libio/freopen.c (freopen): Use __dup2, not dup2.
40051 * libio/freopen64.c (freopen64): Likewise.
40052
8db73634
L
400532011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40054
40055 [BZ #12775]
40056 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40057 * math/Makefile (tests): Add test-powl.
40058 (CFLAGS-test-powl.c): Define.
40059 * math/test-powl.c: New file.
40060
0a197a9d
L
400612011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40062
40063 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40064
ee30c380
UD
400652011-05-17 Ulrich Drepper <drepper@gmail.com>
40066
40067 [BZ #11837]
40068 * iconvdata/gb18030.c: Update to GB18020-2005.
40069
6ce75379
UD
400702011-05-16 Ulrich Drepper <drepper@gmail.com>
40071
a4b89fd8
AR
40072 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40073 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40074 Patch by Aharon Robbins <arnold@skeeve.com>.
40075
ea389b12
UD
40076 [BZ #11892]
40077 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40078 on the stack.
40079
68a3f91f
UD
40080 [BZ #11895]
40081 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40082 through underflows.
40083
15cc7dd1
UD
40084 [BZ #12766]
40085 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40086 point to strings before performing equality test for error_one_per_line
40087 mode.
40088
f3799213
UD
40089 [BZ #11697]
40090 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40091
d79a9c94
UD
40092 [BZ #11820]
40093 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40094 (struct user_fpregs_struct): Avoid __uint*_t types.
40095
56e5eb46
UD
40096 [BZ #6420]
40097 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40098 symbol info. Use it instead of calling _dl_addr locally.
40099 (lock_and_info): New function.
40100 (tr_freehook): Call lock_and_info and pass symbol info as additional
40101 parameter to tr_where.
40102 (tr_mallochook): Likewise.
40103 (tr_reallochook): Likewise.
40104 (tr_memalignhook): Likewise.
40105
6ce75379
UD
40106 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40107 used and couldn't be at all thread-safe.
40108
f8a3b5bf
UD
401092011-05-15 Ulrich Drepper <drepper@gmail.com>
40110
94b7cc37
UD
40111 * libio/freopen.c (freopen): Don't close old file descriptor
40112 before the new one is opened. Instead dup the new file descriptor
40113 to the old one after the new stream is created.
40114 * libio/freopen64.c (freopen64): Likewise.
40115 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40116 * libio/fileops.c (_IO_new_file_close_it): Handle new
40117 _IO_FLAGS2_NOCLOSE flag.
40118 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40119 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40120 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40121 _IO_FLAGS2_NOCLOSE flag.
40122 * include/unistd.h: Add hidden_proto for dup3.
40123 Define __have_dup3.
40124 * io/dup3.c: Define hidden symbol.
40125 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40126
bd25564e
UD
40127 [BZ #7101]
40128 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40129 when an incomplete long option is used.
40130 * posix/tst-getopt_long1.c: New file.
40131 * posix/Makefile (tests): Add tst-getopt_long1.
40132
c84cfef4
UD
40133 [BZ #10138]
40134 * scripts/config.guess: Update from autoconf-2.68.
40135 * scripts/config.sub: Likewise.
40136
3b85df27
UD
40137 [BZ #10157]
40138 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40139 tests into ...
40140 (has_cpuclock): ...this. New function.
40141 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40142 macro here based on has_cpuclock code.
40143
15a856b1
UD
40144 [BZ #10149]
40145 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40146 First byte (not low byte) is now always NUL.
40147 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40148
05f399e6
UD
40149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40150 Use non-cancelable interfaces.
40151
10a52685 40152 [BZ #9809]
94ecc67d
UD
40153 * locale/iso-639.def: Add entry for Sorani.
40154
f8a3b5bf
UD
40155 [BZ #11901]
40156 * include/stdlib.h: Move include protection to the right place.
40157 Define abort_msg_s. Declare __abort_msg with it.
40158 * stdlib/abort.c (__abort_msg): Adjust type.
40159 * assert/assert.c (__assert_fail_base): New function. Majority
40160 of code from __assert_fail. Allocate memory for __abort_msg with
40161 mmap.
40162 (__assert_fail): Now call __assert_fail_base.
40163 * assert/assert-perr.c: Remove bulk of implementation. Use
40164 __assert_fail_base.
40165 * include/assert.hL Declare __assert_fail_base.
40166 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40167 mmap.
40168 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40169
1af4e298
UD
401702011-05-14 Ulrich Drepper <drepper@gmail.com>
40171
f8a3b5bf 40172 [BZ #11952]
d26dfc60
MG
40173 [BZ #12453]
40174 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40175 until all modules are registered in the DTV.
40176 * elf/Makefile: Add rules to build and run tst-tls19.
40177 * elf/tst-tls19.c: New file.
40178 * elf/tst-tls19mod1.c: New file.
40179 * elf/tst-tls19mod2.c: New file.
40180 * elf/tst-tls19mod3.c: New file.
40181 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40182
2fc54d6f
UD
40183 [BZ #12083]
40184 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40185 correctly.
40186
98d76b46
UD
40187 [BZ #12601]
40188 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40189 two-byte sequence errors.
40190 * iconvdata/Makefile (tests): Add bug-iconv8.
40191 * iconvdata/bug-iconv8.c: New file.
40192
da3c19ef
UD
40193 [BZ #12626]
40194 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40195 buf2 definition.
40196
ca408c15
UD
40197 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40198
d6f67f7d
UD
40199 [BZ #12432]
40200 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40201 (dummy_getcfa): New function.
40202 (init): Get _Unwind_GetCFA address, use dummy if not found.
40203 (backtrace_helper): In recursion check, also check whether CFA changes.
40204 (__backtrace): Completely initialize arg.
40205
1af4e298 40206 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40207 storing incomplete byte sequence in state object. Avoid testing for
40208 guaranteed too small input if we know there is enough data available.
1af4e298 40209
da62f81b
AS
402102011-05-11 Andreas Schwab <schwab@redhat.com>
40211
40212 * Makeconfig (+link-pie): Indent.
40213 * Rules (binaries-pie): Define if $(have-fpie) and
40214 $(build-shared).
40215 (binaries-shared): Also filter out $(binaries-pie).
40216 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40217 * nscd/Makefile (others-pie): Add nscd.
40218 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40219 ($(objpfx)nscd): Remove command override.
40220 * login/Makefile (others-pie): Add pt_chown.
40221 ($(objpfx)pt_chown): Remove command override.
40222 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40223 remove command overrides.
40224
fcabc0f8
UD
402252011-05-13 Ulrich Drepper <drepper@gmail.com>
40226
20030ae6
UD
40227 * libio/tst_putwc.c: Fix error messages.
40228
fcabc0f8
UD
40229 [BZ #12724]
40230 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40231 currently writing and seek to current position when not.
40232 * libio/Makefile (tests): Add bug-fclose1.
40233 * libio/bug-fclose1.c: New file.
40234
320a5dc0
PB
402352011-05-12 Ulrich Drepper <drepper@gmail.com>
40236
40237 [BZ #12511]
40238 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40239 don't set DF_1_NODELETE here.
40240 (do_lookup_x): When entering new entry test for copy relocation
40241 and if necessary set DF_1_NODELETE flag.
40242 * elf/tst-unique4.cc: New file.
40243 * elf/tst-unique4.h: New file.
40244 * elf/tst-unique4lib.cc: New file.
40245 * elf/Makefile: Add rules to build and run tst-unique4.
40246 Patch by Piotr Bury <pbury@goahead.com>.
40247
22836f52
UD
402482011-05-11 Ulrich Drepper <drepper@gmail.com>
40249
f574184a
UD
40250 [BZ #12052]
40251 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40252
e1fb097f
UD
40253 [BZ #12625]
40254 * misc/mntent_r.c (addmntent): Flush the stream after the output
40255
22836f52
UD
40256 [BZ #12393]
40257 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40258 (is_trusted_path_normalize): Skip initial colon. Append slash
40259 to empty buffer. Duplicate is_trusted_path code but allow
40260 constructed patch to be prefix.
40261 (is_dst): Allow $ORIGIN followed by /.
40262 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40263 Correct testing of result of is_trusted_path_normalize
40264 (decompose_rpath): Fix warning.
40265
7b3b0b2a
UD
402662011-05-10 Ulrich Drepper <drepper@gmail.com>
40267
40268 [BZ #11257]
40269 * grp/initgroups.c (internal_getgrouplist): When we found the service
40270 list through the initgroups entry in nsswitch.conf do not always
40271 continue on a successful lookup. Don't always use the
eac80ce2 40272 __nss_group_database value if it is set.
7b3b0b2a
UD
40273 * nss/nsswitch.conf (initgroups): Change action for successful db
40274 lookup to continue for compatibility.
40275
2a81eaa5
UD
402762011-05-09 Ulrich Drepper <drepper@gmail.com>
40277
be97a69e
UD
40278 [BZ #11532]
40279 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40280 and CP774 modules.
40281 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40282 and CP774 modules.
40283 * iconvdata/tst-tables.sh: Likewise.
40284 * iconvdata/cp770.c: New file.
40285 * iconvdata/cp771.c: New file.
40286 * iconvdata/cp772.c: New file.
40287 * iconvdata/cp773.c: New file.
40288 * iconvdata/cp774.c: New file.
40289 * iconvdata/testdata/CP770: New file.
40290 * iconvdata/testdata/CP770..UTF8: New file.
40291 * iconvdata/testdata/CP771: New file.
40292 * iconvdata/testdata/CP771..UTF8: New file.
40293 * iconvdata/testdata/CP772: New file.
40294 * iconvdata/testdata/CP772..UTF8: New file.
40295 * iconvdata/testdata/CP773: New file.
40296 * iconvdata/testdata/CP773..UTF8: New file.
40297 * iconvdata/testdata/CP774: New file.
40298 * iconvdata/testdata/CP774..UTF8: New file.
40299
40300 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40301 END CHARMAP line.
40302 * iconvdata/gen-8bit-gap.sh: Likewise.
40303 * iconvdata/gen-8bit.sh: Likewise.
40304
c1e9e399
UD
40305 * locale/iso-639.def: Add ary entry.
40306
24c55fb3 40307 [BZ #11258]
96b4b1b0
UD
40308 * locale/C-translit.h.in: Add U20A1 transliteration.
40309
bdc2f971
KB
40310 [BZ #12178]
40311 * locale/iso-639.def: Add wae entry.
40312 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40313
2952b117
UD
40314 [BZ #12545]
40315 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40316 for n.
40317
2a81eaa5
UD
40318 [BZ #12711]
40319 * locale/C-translit.h.in: Add entry for U20B9.
40320 Patch by pravin.d.s@gmail.com.
40321
28377d1b
UD
403222011-05-08 Ulrich Drepper <drepper@gmail.com>
40323
7fb90fb8
UD
40324 [BZ #12713]
40325 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40326 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40327 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40328 in rtld. Use *stat64.
7fb90fb8 40329 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40330 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40331 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40332 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40333 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40334 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40335 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40336 __fstatat64 macros.
7fb90fb8
UD
40337 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40338 * dirent/rewinddir.c: Add libc_hidden_def.
40339 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40340 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40341
28377d1b
UD
40342 * include/dirent.h (__alloc_dir): Add flags parameter.
40343 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40344 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40345 __alloc_dir.
40346 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40347 from fdopendir if O_CLOEXEC is already set.
40348
66bdbaa4
AM
403492011-03-15 Alan Modra <amodra@gmail.com>
40350
40351 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40352 l_tls_firstbyte_offset non-zero. Save padding offset in
40353 l_tls_firstbyte_offset for later use.
40354 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40355 freeing static tls block.
40356
95721191
JN
403572011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40358
40359 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40360 where #ifdef was intended. The intent is to prevent ARG_MAX from
40361 being defined by the kernel headers.
40362
f87dfb1f
UD
403632011-05-07 Ulrich Drepper <drepper@gmail.com>
40364
40365 [BZ #12734]
40366 * resolv/resolv.h: Define RES_NOTLDQUERY.
40367 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40368 no-tld-query and set RES_NOTLDQUERY.
40369 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40370 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40371 modern BIND to search name as TLD unless forbidden.
40372
47c3cd7a
UD
403732011-05-07 Petr Baudis <pasky@suse.cz>
40374 Ulrich Drepper <drepper@gmail.com>
40375
40376 [BZ #12393]
40377 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40378 (is_trusted_path): ...to here.
c1e9ea35 40379 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40380 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40381 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40382
8a35c912
PP
403832011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40384
40385 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40386 __BEGIN/__END_DECLS.
40387
acd41f47
UD
403882011-05-06 Ulrich Drepper <drepper@gmail.com>
40389
40390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40391 NSS_STATUS_NOTFOUND if no record was found.
40392
597df647
AS
403932011-05-05 Andreas Schwab <schwab@redhat.com>
40394
40395 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40396 (headers-not-in-tirpc): Remove rpc/netdb.h
40397 * resolv/netdb.h: Revert last change.
40398
b9af1301
PP
403992011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40400
40401 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40402 circular dependency between libgcc.a and libc.a.
40403
4e34d5f5
AS
404042011-05-05 Andreas Schwab <schwab@redhat.com>
40405
40406 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40407 * nis/Makefile: Don't install rpcsvc/*.
40408 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40409 instead of <rpc/types.h>.
40410 (MAXHOSTNAMELEN): Define.
40411
00ee369c
AS
404122011-05-03 Andreas Schwab <schwab@redhat.com>
40413
40414 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40415
0b592a30
MB
404162011-04-28 Maciej Babinski <mbabinski@google.com>
40417
40418 [BZ #12714]
40419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40420 gethostbyname4_r when IPv6 results are possible.
40421
6e04cbbe
UD
404222011-05-02 Ulrich Drepper <drepper@gmail.com>
40423
40424 [BZ #12723]
40425 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40426 _PC_PIPE_BUF handling.
40427
e4ecafe0
BH
404282011-04-30 Bruno Haible <bruno@clisp.org>
40429
40430 [BZ #12717]
40431 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40432 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40433 to 'int'.
40434 * inet/getnameinfo.c (getnameinfo): Likewise.
40435
125ee683
UD
404362011-04-29 Ulrich Drepper <drepper@gmail.com>
40437
40438 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40439 to groups setting in database lookup.
40440 * nss/nsswitch.conf: Add initgroups entry.
40441
b722481a
EB
404422011-04-22 Ulrich Drepper <drepper@gmail.com>
40443
40444 [BZ #12685]
40445 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40446 mode string.
40447 Patch by Eric Blake <eblake@redhat.com>.
40448
4df46dbd
L
404492011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40450
40451 * sunrpc/Makefile (need-export-routines): Add svc_run.
40452 (routines): Remove svc_run.
40453 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40454 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40455 * sunrpc/svc_run.c (svc_run): Likewise.
40456 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40457
e84142d2
UD
404582011-04-21 Ulrich Drepper <drepper@gmail.com>
40459
40460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40461 problem in reallocation in last patch.
40462
877175d8
UD
404632011-04-20 Ulrich Drepper <drepper@gmail.com>
40464
40465 * sunrpc/Makefile: Move inclusion of Rules.
40466
ab8eed78
UD
404672011-04-19 Ulrich Drepper <drepper@gmail.com>
40468
40469 * nss/nss_files/files-initgroups.c: New file.
40470 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40471 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40472 _nss_files_initgroups_dyn.
40473
e3d8f584
RS
404742011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40475
40476 * elf/elf.h (R_ARM_IRELATIVE): Define.
40477
af190f45
UD
404782011-04-19 Ulrich Drepper <drepper@gmail.com>
40479
40480 * po/ru.po: Update from translation team.
40481
53cf59ef
UD
404822011-04-17 Ulrich Drepper <drepper@gmail.com>
40483
40484 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40485 dependencies.
40486
4c559bcd
MF
404872011-02-06 Mike Frysinger <vapier@gentoo.org>
40488
40489 [BZ #12653]
40490 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40491 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40492 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40494 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40495
4420675c
AS
404962011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40497
40498 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40499 differing bytes.
40500 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40501 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40503
75ea32ab
UD
405042011-04-17 Ulrich Drepper <drepper@gmail.com>
40505
40506 [BZ #12420]
40507 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40508 storing it.
40509 * stdlib/bug-getcontext.c: New file.
40510 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40511
27390476
AK
405122011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40513
40514 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40515 instructions into .machine "z9-109".
40516 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40517 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40518
10442705
AK
405192011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40520
40521 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40522 between environment variables and auxiliary vector.
40523
7b57bfe5
UD
405242011-04-16 Ulrich Drepper <drepper@gmail.com>
40525
40526 * Makefile: Add rules to build linkobj/libc.so.
40527 * include/libc-symbols.h: Define libc_hidden_nolink.
40528 * include/rpc/auth.h: Mark functions which are to be hidden.
40529 * include/rpc/auth_des.h: Likewise.
40530 * include/rpc/auth_unix.h: Likewise.
40531 * include/rpc/clnt.h: Likewise.
40532 * include/rpc/des_crypt.h: Likewise.
40533 * include/rpc/key_prot.h: Likewise.
40534 * include/rpc/pmap_clnt.h: Likewise.
40535 * include/rpc/pmap_prot.h: Likewise.
40536 * include/rpc/pmap_rmt.h: Likewise.
40537 * include/rpc/rpc_msg.h: Likewise.
40538 * include/rpc/svc.h: Likewise.
40539 * include/rpc/svc_auth.h: Likewise.
40540 * include/rpc/xdr.h: Likewise.
40541 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40542 * nss/Makefile: Likewise.
40543 * sunrpc/Makefile: Don't install headers. Build library with normal
40544 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40545 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40546 for the compat linking library. Remove use of INTDEF/INTUSE.
40547 * sunrpc/auth_none.c: Likewise.
40548 * sunrpc/auth_unix.c: Likewise.
40549 * sunrpc/authdes_prot.c: Likewise.
40550 * sunrpc/authuxprot.c: Likewise.
40551 * sunrpc/clnt_gen.c: Likewise.
40552 * sunrpc/clnt_perr.c: Likewise.
40553 * sunrpc/clnt_raw.c: Likewise.
40554 * sunrpc/clnt_simp.c: Likewise.
40555 * sunrpc/clnt_tcp.c: Likewise.
40556 * sunrpc/clnt_udp.c: Likewise.
40557 * sunrpc/clnt_unix.c: Likewise.
40558 * sunrpc/des_crypt.c: Likewise.
40559 * sunrpc/des_soft.c: Likewise.
40560 * sunrpc/get_myaddr.c: Likewise.
40561 * sunrpc/key_call.c: Likewise.
40562 * sunrpc/key_prot.c: Likewise.
40563 * sunrpc/netname.c: Likewise.
40564 * sunrpc/pm_getmaps.c: Likewise.
40565 * sunrpc/pm_getport.c: Likewise.
40566 * sunrpc/pmap_clnt.c: Likewise.
40567 * sunrpc/pmap_prot.c: Likewise.
40568 * sunrpc/pmap_prot2.c: Likewise.
40569 * sunrpc/pmap_rmt.c: Likewise.
40570 * sunrpc/publickey.c: Likewise.
40571 * sunrpc/rpc_cmsg.c: Likewise.
40572 * sunrpc/rpc_common.c: Likewise.
40573 * sunrpc/rpc_dtable.c: Likewise.
40574 * sunrpc/rpc_prot.c: Likewise.
40575 * sunrpc/rpc_thread.c: Likewise.
40576 * sunrpc/rtime.c: Likewise.
40577 * sunrpc/svc.c: Likewise.
40578 * sunrpc/svc_auth.c: Likewise.
40579 * sunrpc/svc_authux.c: Likewise.
40580 * sunrpc/svc_raw.c: Likewise.
40581 * sunrpc/svc_run.c: Likewise.
40582 * sunrpc/svc_simple.c: Likewise.
40583 * sunrpc/svc_tcp.c: Likewise.
40584 * sunrpc/svc_udp.c: Likewise.
40585 * sunrpc/svc_unix.c: Likewise.
40586 * sunrpc/svcauth_des.c: Likewise.
40587 * sunrpc/xcrypt.c: Likewise.
40588 * sunrpc/xdr.c: Likewise.
40589 * sunrpc/xdr_array.c: Likewise.
40590 * sunrpc/xdr_float.c: Likewise.
40591 * sunrpc/xdr_intXX_t.c: Likewise.
40592 * sunrpc/xdr_mem.c: Likewise.
40593 * sunrpc/xdr_rec.c: Likewise.
40594 * sunrpc/xdr_ref.c: Likewise.
40595 * sunrpc/xdr_sizeof.c: Likewise.
40596 * sunrpc/xdr_stdio.c: Likewise.
40597
e6c61494
UD
405982011-04-10 Ulrich Drepper <drepper@gmail.com>
40599
40600 [BZ #12650]
40601 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40602 * sysdeps/ia64/dl-tls.h: Likewise.
40603 * sysdeps/powerpc/dl-tls.h: Likewise.
40604 * sysdeps/s390/dl-tls.h: Likewise.
40605 * sysdeps/sh/dl-tls.h: Likewise.
40606 * sysdeps/sparc/dl-tls.h: Likewise.
40607 * sysdeps/x86_64/dl-tls.h: Likewise.
40608 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40609
34fe483e
AS
406102011-03-14 Andreas Schwab <schwab@redhat.com>
40611
40612 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40613 rpath element also skip the following colon.
40614 (expand_dynamic_string_token): Add is_path parameter and pass
40615 down to DL_DST_REQUIRED and _dl_dst_substitute.
40616 (decompose_rpath): Call expand_dynamic_string_token with
40617 non-zero is_path. Ignore empty rpaths.
40618 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40619 with zero is_path.
40620
f12a32e6
AS
406212011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40622
40623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40624 Make cancelable.
40625
38a7d692
UD
406262011-04-09 Ulrich Drepper <drepper@gmail.com>
40627
40628 [BZ #12655]
40629 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40630 Patch by Filipe David Manana <fdmanana@apache.org>.
40631
e451d22b
AS
406322011-04-07 Andreas Schwab <schwab@redhat.com>
40633
40634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40635 Maintain aligned stack.
40636 (CHECK_RSP): Remove unused macro.
40637
dedc7c7b
UD
406382011-04-03 Ulrich Drepper <drepper@gmail.com>
40639
40640 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40641 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40642
94521213
UD
406432011-04-02 Ulrich Drepper <drepper@gmail.com>
40644
40645 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40646
8cb700c0 40647 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40648
0354e355
L
406492011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40650
40651 [BZ #12518]
40652 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40653 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40654 * sysdeps/x86_64/memmove.c: New file.
40655 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40656 (memcpy): Renamed to ...
40657 (__new_memcpy): This.
40658 (memcpy): Provide GLIBC_2_14 memcpy.
40659 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40660 (memcpy): Provide GLIBC_2_2_5 memcpy.
40661
8593482f
UD
406622011-04-01 Ulrich Drepper <drepper@gmail.com>
40663
40664 [BZ #12631]
40665 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40666
81a5726b
AS
406672011-03-30 Andreas Schwab <schwab@redhat.com>
40668
40669 * misc/syncfs.c: New file.
40670 * misc/Makefile (routines): Add syncfs.
40671 * posix/unistd.h: Declare syncfs.
40672 * sysdeps/unix/syscalls.list: Add syncfs.
40673
00e5419f
AS
406742011-04-01 Andreas Schwab <schwab@redhat.com>
40675
40676 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40677 open_by_handle_at.
40678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40679 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40683 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40685
748876bf
UD
406862011-04-01 Ulrich Drepper <drepper@gmail.com>
40687
658e451d
UD
40688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40690 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40695
748876bf
UD
40696 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40697 sync_file_range.c with -fexceptions.
40698 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40699 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40700 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40701 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40702 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40703 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40705 sync_file_range as cancellation point
40706 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40707 now a wrapper around __call_sync_file_range with cancellation handling.
40708 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40709 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40710 function name to __call_sync_file_range.
40711 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40712 Add call_sync_file_range.
748876bf 40713
6e63d5e1
AS
407142011-04-01 Andreas Schwab <schwab@redhat.com>
40715
40716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40717 bits/timex.h.
6e63d5e1 40718
46998f74
UD
407192011-04-01 Ulrich Drepper <drepper@gmail.com>
40720
4c1423ed
UD
40721 * iconv/iconv.h: Fix typo in comment.
40722 * io/fcntl.h: Likewise.
40723 * libio/stdio.h: Likewise.
40724 * posix/spawn.h: Likewise.
40725 * posix/unistd.h: Likewise.
40726 * stdlib/stdlib.h: Likewise.
40727 * time/time.h: Likewise.
40728 * wcsmbs/wchar.h: Likewise.
40729
158648c0
UD
40730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40731 open_by_handle): Add.
40732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40733 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40734 Augment a few comments.
40735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40740 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40741 open_by_handle.
40742
46998f74
UD
40743 * io/fcntl.h (AT_EMPTY_PATH): Define.
40744
83fe108b
UD
407452011-03-30 Ulrich Drepper <drepper@gmail.com>
40746
40747 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40748 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40749 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40750 to...
40751 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40752 * Versions.def: Add GLIBC_2.14.
40753 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40754 Export.
83fe108b 40755
bb242059
UD
407562011-03-22 Ulrich Drepper <drepper@gmail.com>
40757
40758 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40759 round counter.
40760 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40761
c97a1282
L
407622011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40763
40764 [BZ #12597]
40765 * string/test-strncmp.c (do_page_test): New function.
40766 (check2): Likewise.
40767 (test_main): Call check2.
40768 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40769
2a115601
UD
407702011-03-20 Ulrich Drepper <drepper@gmail.com>
40771
40772 [BZ #12587]
40773 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40774 Handle cache information in CPU leaf 4.
40775 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40776
8126d904
UD
407772011-03-18 Ulrich Drepper <drepper@gmail.com>
40778
042c49c6 40779 [BZ #12583]
8126d904
UD
40780 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40781 character representation.
40782 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40783
ccfe366e
RA
407842011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40785
40786 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40787 END(__isnan) to END(__isnanf) to match function entry point/label
40788 EALIGN(__isnanf,...).
40789
c6e13027
JJ
407902011-03-10 Jakub Jelinek <jakub@redhat.com>
40791
40792 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40793
33f85a3f
UD
407942011-03-10 Ulrich Drepper <drepper@gmail.com>
40795
028478fa
UD
40796 [BZ #12510]
40797 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40798 copy from the symbol referenced in the relocation to initialize the
40799 used variable.
40800 Patch by Piotr Bury <pbury@goahead.com>.
40801 * elf/Makefile: Add rules to build and tst-unique3.
40802 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40803 * elf/tst-unique3.cc: New file.
40804 * elf/tst-unique3.h: New file.
40805 * elf/tst-unique3lib.cc: New file.
40806 * elf/tst-unique3lib2.cc: New file.
40807
33f85a3f
UD
40808 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40809
03592fc7
MF
408102011-03-10 Mike Frysinger <vapier@gentoo.org>
40811
40812 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40813 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40814 to _start.
03592fc7 40815
6a5ee102
UD
408162011-03-06 Ulrich Drepper <drepper@gmail.com>
40817
40818 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40819 to-be-loaded object along a path to loader is ld.so.
40820
7e4ba49c
HJ
408212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40822 Ulrich Drepper <drepper@gmail.com>
40823
40824 * sysdeps/x86_64/memset.S: After aligning destination, code
40825 branches to different locations depending on the value of
40826 misalignment, when multiarch is enabled. Fix this.
40827
408282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40829
40830 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40831 Set _x86_64_preferred_memory_instruction for AMD processsors.
40832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40833 Set bit_Prefer_SSE_for_memop for AMD processors.
40834
13a804de
UD
408352011-03-04 Ulrich Drepper <drepper@gmail.com>
40836
40837 * libio/fmemopen.c (fmemopen): Optimize a bit.
40838
9d25c392
AS
408392011-03-03 Andreas Schwab <schwab@redhat.com>
40840
40841 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40842
a5543c6a
RM
408432011-03-03 Roland McGrath <roland@redhat.com>
40844
40845 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40846
012d35f7
DM
408472011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40848
7e4ba49c 40849 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40850 __bzero_ultra1 instead of __memset_ultra1.
40851
4bff6e01
AS
408522011-02-23 Andreas Schwab <schwab@redhat.com>
40853 Ulrich Drepper <drepper@gmail.com>
40854
40855 [BZ #12509]
40856 * include/link.h (struct link_map): Add l_orig_initfini.
40857 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40858 returning unsuccessfully.
40859 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40860 close of a file loaded at startup, restore the original l_initfini
40861 list.
40862 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40863 list, store the pointer.
40864 * elf/Makefile ($(objpfx)noload-mem): New rule.
40865 (noload-ENV): Define.
40866 (tests): Add $(objpfx)noload-mem.
40867 * elf/noload.c: Include <memcheck.h>.
40868 (main): Call mtrace. Close all opened handles.
40869
f2092faf
AS
408702011-02-17 Andreas Schwab <schwab@redhat.com>
40871
40872 [BZ #12454]
40873 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40874 dependencies are missing.
40875
6c8a2e88
ST
408762011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40877
f2092faf 40878 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40879 Hurd needs munmap.
40880 * sysdeps/mach/hurd/ifreq.h: New file.
40881
84a42118
PB
408822011-01-27 Petr Baudis <pasky@suse.cz>
40883 Ulrich Drepper <drepper@gmail.com>
40884
071f805e 40885 [BZ 12445]#
84a42118
PB
40886 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40887 to extend_alloca().
40888 * stdio-common/bug23.c: New file.
40889 * stdio-common/Makefile (tests): Add bug23.
40890
e23fe25b
AS
408912010-09-28 Andreas Schwab <schwab@redhat.com>
40892 Ulrich Drepper <drepper@gmail.com>
40893
40894 [BZ #12489]
40895 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40896 before performing relro protection. At old place add assertion
40897 to make sure nothing changed.
40898
d3f02e10
NS
408992011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40900 Glauber de Oliveira Costa <glommer@gmail.com>
40901
40902 * elf/elf.h: Add new ARM TLS relocs.
40903
d55fd7a5
RA
409042011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40905
40906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40907 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40908 cast from r3.
40909 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40910 'tests' variable.
40911 * sysdeps/wordsize-64/tst-writev.c: New file.
40912
2206397e
RA
409132011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40914
40915 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40916 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40917 insns in _dl_start to prevent a TOC reference before relocs are
40918 resolved.
40919
e9433893
UD
409202011-02-15 Ulrich Drepper <drepper@gmail.com>
40921
40922 [BZ #12469]
40923 * Makeconfig: Remove RANLIB definition.
40924 * Makerules: Don't use RANLIB.
40925 * aclocal.m4: Remove ranlib test.
40926 * configure.in: No need to check for ranlib.
40927 * elf/rtld-Rules: Don't use RANLIB.
40928
f75286c6
ST
409292011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40930
8e31c82d
ST
40931 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40932 protection macro.
40933 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40934 inclusion protection macro.
40935
f75286c6
ST
40936 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40937 SIGRTMIN and SIGRTMAX and print information in that case only when
40938 SIGRTMIN is defined.
40939
c1d0e639
JJ
409402011-02-11 Jakub Jelinek <jakub@redhat.com>
40941
40942 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40943 arginfo fn returning -1.
40944
40945 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40946 and thousands string is zero terminated.
40947
edf9294e
AS
409482011-02-03 Andreas Schwab <schwab@redhat.com>
40949
40950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40951 sysdeps/unix/sysv/linux/bits/socket.h.
40952
2b7e92df
ST
409532011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40954
edf9294e
AS
40955 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40956 (__CPU_COUNT): Remove old macros.
40957 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40958 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40959 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40960 (__sched_cpualloc, __sched_cpufree): Add declarations.
40961
a4c7ea7b
UD
409622011-02-05 Ulrich Drepper <drepper@gmail.com>
40963
40964 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40965 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40966 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40967 (readdhstai): Return value of addhstaiX call.
40968 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40969 (addgrbyX): Return value returned by cache_addgr.
40970 (readdgrbyname): Return value returned by addgrbyX.
40971 (readdgrbygid): Likewise.
40972 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40973 (addpwbyX): Return value returned by cache_addpw.
40974 (readdpwbyname): Return value returned by addhstbyX.
40975 (readdpwbyuid): Likewise.
40976 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40977 (addservbyX): Return value returned by cache_addserv.
40978 (readdservbyname): Return value returned by addservbyX:
40979 (readdservbyport): Likewise.
40980 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40981 (addhstbyX): Return value returned by cache_addhst.
40982 (readdhstbyname): Return value returned by addhstbyX.
40983 (readdhstbyaddr): Likewise.
40984 (readdhstbynamev6): Likewise.
40985 (readdhstbyaddrv6): Likewise.
40986 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40987 (readdinitgroups): Return value returned by addinitgroupsX.
40988 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40989 (prune_cache): Keep track of timeout value of re-added entries.
40990 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40991 * nscd/nscd.h: Adjust prototypes of readd* functions.
40992
a0bf67cc
RM
409932011-02-04 Roland McGrath <roland@redhat.com>
40994
40995 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40996 (nis_stats): Likewise.
40997 * nis/nis_modify.c (nis_modify): Likewise.
40998 * nis/nis_remove.c (nis_remove): Likewise.
40999 * nis/nis_add.c (nis_add): Likewise.
41000
41001 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41002
41003 * posix/fnmatch_loop.c: Add some consts.
41004
41005 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41006
435b95eb
L
410072011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41008
41009 [BZ #12460]
41010 * config.make.in (config-cflags-novzeroupper): Define.
41011 * configure.in: Substitute libc_cv_cc_novzeroupper.
41012 * elf/Makefile (AVX-CFLAGS): Define.
41013 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41014 (CFLAGS-tst-auditmod4a.c): Likewise.
41015 (CFLAGS-tst-auditmod4b.c): Likewise.
41016 (CFLAGS-tst-auditmod6b.c): Likewise.
41017 (CFLAGS-tst-auditmod6c.c): Likewise.
41018 (CFLAGS-tst-auditmod7b.c): Likewise.
41019 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41020
8517b15e
UD
410212011-02-02 Ulrich Drepper <drepper@gmail.com>
41022
41023 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41024 function to the callback.
41025 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41026
10a656fe
AS
410272011-02-02 Andreas Schwab <schwab@redhat.com>
41028
41029 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41030 of errno.
41031
968dad0a
UD
410322011-01-19 Ulrich Drepper <drepper@gmail.com>
41033
9f94d2ea 41034 [BZ #11724]
968dad0a
UD
41035 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41036 of constructors.
41037 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41038 of destructors.
41039 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41040
41041 [BZ #11724]
41042 * elf/Makefile: Add rules to build and run new test.
41043 * elf/tst-initorder.c: New file.
41044 * elf/tst-initorder.exp: New file.
41045 * elf/tst-initordera1.c: New file.
41046 * elf/tst-initordera2.c: New file.
41047 * elf/tst-initordera3.c: New file.
41048 * elf/tst-initordera4.c: New file.
41049 * elf/tst-initorderb1.c: New file.
41050 * elf/tst-initorderb2.c: New file.
41051 * elf/tst-order-a1.c: New file.
41052 * elf/tst-order-a2.c: New file.
41053 * elf/tst-order-a3.c: New file.
41054 * elf/tst-order-a4.c: New file.
41055 * elf/tst-order-b1.c: New file.
41056 * elf/tst-order-b2.c: New file.
41057 * elf/tst-order-main.c: New file.
41058 New test case by George Gensure <werkt0@gmail.com>.
41059
86e92359
UD
410602010-10-01 Andreas Schwab <schwab@redhat.com>
41061
41062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41063 decoding ACE if AI_CANONIDN.
41064
5d5732b0
UD
410652011-01-18 Ulrich Drepper <drepper@gmail.com>
41066
41067 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41068
a77e8cbc
UD
410692011-01-17 Ulrich Drepper <drepper@gmail.com>
41070
6392473f
UD
41071 * version.h (RELEASE): Bump for 2.13 release.
41072 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41073
620a0529
UD
41074 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41075
18ba70a5
UD
41076 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41077 MADV_NOHUGEPAGE.
32465c3e
UD
41078 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41079 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41080 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41081 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41084
c0dafcf1
UD
41085 * posix/getconf.c: Update copyright year.
41086 * catgets/gencat.c: Likewise.
41087 * csu/version.c: Likewise.
41088 * debug/catchsegv.sh: Likewise.
41089 * debug/xtrace.sh: Likewise.
41090 * elf/ldconfig.c: Likewise.
41091 * elf/ldd.bash.in: Likewise.
41092 * elf/sprof.c (print_version): Likewise.
41093 * iconv/iconv_prog.c: Likewise.
41094 * iconv/iconvconfig.c: Likewise.
41095 * locale/programs/locale.c: Likewise.
41096 * locale/programs/localedef.c: Likewise.
41097 * malloc/memusage.sh: Likewise.
41098 * malloc/mtrace.pl: Likewise.
41099 * nscd/nscd.c (print_version): Likewise.
41100 * nss/getent.c: Likewise.
41101
a77e8cbc
UD
41102 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41103 PF_CAIF, and PF_ALG.
41104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41105
77e8bddf
AS
411062011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41107
1f20b93a
AS
41108 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41109 (modules-names): Use them.
41110 (ifunc-test-modules, ifunc-pie-tests): Define.
41111 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41112 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41113 (test-extras): Likewise.
41114 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41115 $(compile-command.c).
41116 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41117 (all-built-dso): Define.
41118 (check-textrel.out, check-execstack.out): Depend on it.
41119
77e8bddf
AS
41120 * configure.in: Don't override --enable-multi-arch.
41121
bc425b33
UD
411222011-01-15 Ulrich Drepper <drepper@gmail.com>
41123
41124 [BZ #6812]
41125 * nscd/hstcache.c (tryagain): Define.
41126 (cache_addhst): Return tryagain not notfound for temporary errors.
41127 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41128 failed.
41129
794c3ad3
UD
411302011-01-14 Ulrich Drepper <drepper@gmail.com>
41131
70181fdd
UD
41132 [BZ #10563]
41133 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41134 to make the syscall.
41135 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41136
794c3ad3
UD
41137 [BZ #12378]
41138 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41139 and fall back to matching as normal character if the string ends before
41140 the matching ']' is found. This is what POSIX requires.
41141 * posix/testfnm.c: Adjust test result.
41142 * posix/globtest.sh: Adjust test result. Add new test.
41143 * posix/tst-fnmatch.input: Likewise.
41144 * posix/tst-fnmatch2.c: Add new test.
41145
68dc9497
AS
411462010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41147
41148 * elf/Makefile (check-execstack): Revert last change. Depend on
41149 check-execstack.h.
41150 (check-execstack.h): New target.
41151 (generated): Add check-execstack.h.
41152 * elf/check-execstack.c: Include "check-execstack.h".
41153 (main): Revert last change.
41154 (handle_file): Return zero if GNU_STACK is absent and
41155 DEFAULT_STACK_PERMS doesn't include PF_X.
41156
451f001b
UD
411572011-01-13 Ulrich Drepper <drepper@gmail.com>
41158
cfa28e56
UD
41159 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41160 in child fails because the descriptor is already closed.
8cf8ce17
UD
41161 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41162 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41163 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41164
1086d70d
UD
41165 [BZ #12397]
41166 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41167 syscall.
41168
451f001b
UD
41169 [BZ #10484]
41170 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41171 temporary buffer used to handle multi lookups locally.
a85b5cb4 41172 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41173
08769175
UD
411742011-01-12 Ulrich Drepper <drepper@gmail.com>
41175
41176 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41177 loader is ld.so.
41178
5e49c52e
UD
411792011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41180
41181 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41182 alignment for SSE2.
41183
60522a5f
UD
411842011-01-12 Ulrich Drepper <drepper@gmail.com>
41185
41186 [BZ #12394]
41187 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41188 characters. When rounding increased number of integer digits recompute
41189 number of groups.
41190 * stdio-common/tst-grouping.c: New file.
41191 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41192
f257bbd7
UD
411932011-01-09 Ulrich Drepper <drepper@gmail.com>
41194
41195 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41196 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41197
41198 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41199 void.
41200 * bits/select.h: Likewise.
41201
fa9c15cb
UD
412022011-01-08 Ulrich Drepper <drepper@gmail.com>
41203
41204 * po/ja.po: Update from translation team.
41205
16c2895f
DM
412062011-01-04 David S. Miller <davem@sunset.davemloft.net>
41207
41208 [BZ #11155]
41209 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41210 implementation just like for lxstat, fxstatat, et al.
41211
2543fef2
JM
412122010-12-27 Jim Meyering <meyering@redhat.com>
41213
41214 [BZ #12348]
41215 * posix/regexec.c (build_trtable): Return failure indication upon
41216 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41217
98727dbe
UD
412182010-12-25 Ulrich Drepper <drepper@gmail.com>
41219
5bd6dc5c
UD
41220 [BZ #12201]
41221 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41222 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41223 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41224 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41225
97983464
UD
41226 [BZ #12207]
41227 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41228
98727dbe
UD
41229 [BZ #12204]
41230 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41231 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41232
4a531bb0
L
412332010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41234
41235 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41236 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41237 script has SORT_BY_INIT_PRIORITY.
41238 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41239 NO_CTORS_DTORS_SECTIONS is defined.
41240 * elf/soinit.c: Likewise.
41241 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41242 NO_CTORS_DTORS_SECTIONS is defined.
41243 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41244 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41245 * sysdeps/sh/init-first.c: Likewise.
41246 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41247
07eb4b71
UD
412482010-12-24 Ulrich Drepper <drepper@gmail.com>
41249
41250 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41251 always use the slow path.
41252
30950a5f
RA
412532010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41254
41255 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41256 similar rule which adds the sysdep directories to the header search in
41257 order to pick up the correct platform stackinfo.h.
41258 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41259 perform test if it is, otherwise return successfully without testing.
41260 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41261 DEFAULT_STACK_PERMS define in stackinfo.h.
41262 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41263 defined in stackinfo.h.
41264 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41265 DEFAULT_STACK_PERMS defined in stackinfo.h.
41266 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41267 * sysdeps/ia64/stackinfo.h: Likewise.
41268 * sysdeps/s390/stackinfo.h: Likewise.
41269 * sysdeps/sh/stackinfo.h: Likewise.
41270 * sysdeps/sparc/stackinfo.h: Likewise.
41271 * sysdeps/x86_64/stackinfo.h: Likewise.
41272 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41273 PF_X for powerpc64. Retain PF_X for powerpc32.
41274
db753e2c
UD
412752010-12-19 Ulrich Drepper <drepper@gmail.com>
41276
14b697f7
UD
41277 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41278 accurately.
db753e2c
UD
41279 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41280 GETDENTS_64BIT_ALIGNED.
41281
28300719
UD
412822010-12-14 Ulrich Drepper <dreper@gmail.com>
41283
14b697f7 41284 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41285
4f197237
AS
412862010-12-10 Andreas Schwab <schwab@redhat.com>
41287
dbb0472f
AS
41288 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41289 _GNU_SOURCE.
41290
4f197237
AS
41291 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41292 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41293 Remove __restrict.
41294 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41295 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41296
fb88ac72
UD
412972010-12-09 Ulrich Drepper <drepper@gmail.com>
41298
41299 [BZ #11655]
41300 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41301 are initialized.
41302
42acbb92
JJ
413032010-12-09 Jakub Jelinek <jakub@redhat.com>
41304
41305 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41306
c038d98d
UD
413072010-12-03 Ulrich Drepper <drepper@gmail.com>
41308
41309 * po/it.po: Update from translation team.
41310
3a4a2499
L
413112010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41312
41313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41314 unused codes.
41315
1e24cf6e
UD
413162010-11-30 Ulrich Drepper <drepper@gmail.com>
41317
41318 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41319
a7690819
AS
413202010-11-24 Andreas Schwab <schwab@redhat.com>
41321
41322 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41323 specially.
41324 (gaih_getanswer_slice): Likewise.
41325
3bf8d1b1
JJ
413262010-10-20 Jakub Jelinek <jakub@redhat.com>
41327
41328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41329
6db52fbb
PB
413302010-05-31 Petr Baudis <pasky@suse.cz>
41331
41332 [BZ #11149]
41333 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41334 silently even in the chroot mode.
41335
eaca7569
UD
413362010-11-22 Ulrich Drepper <drepper@gmail.com>
41337
41338 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41339 last patch a bit. Pretty printing
41340
3056dcdb
UD
413412010-05-31 Petr Baudis <pasky@suse.cz>
41342
41343 [BZ #10085]
41344 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41345 initialization of skip_initgroups_dyn.
41346
cf7c9078
UD
413472010-11-19 Ulrich Drepper <drepper@gmail.com>
41348
41349 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41351
a1fb5e3e
UD
413522010-11-16 Ulrich Drepper <drepper@gmail.com>
41353
41354 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41355
3540d66b
AS
413562010-11-11 Andreas Schwab <schwab@redhat.com>
41357
41358 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41359 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41360 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41361 ($(objpfx)tst-fnmatch-mem): New rule.
41362 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41363 * posix/tst-fnmatch.c (main): Call mtrace.
41364
13b69574
L
413652010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41366
41367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41368 Support Intel processor model 6 and model 0x2c.
41369
da93d214
LM
413702010-11-10 Luis Machado <luisgpm@br.ibm.com>
41371
41372 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41373 signed comparison.
41374
8ca52c6e
L
413752010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41376
41377 [BZ #12205]
41378 * string/test-strncasecmp.c (check_result): New function.
41379 (do_one_test): Use it.
41380 (check1): New function.
41381 (test_main): Use it.
41382 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41383 Support strcasecmp and strncasecmp.
41384
69da074d
UD
413852010-11-08 Ulrich Drepper <drepper@gmail.com>
41386
41387 [BZ #12194]
41388 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41390
ff02d528
L
413912010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41392
41393 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41394 IFUNC support.
41395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41396 memset-x86-64.
41397 * sysdeps/x86_64/multiarch/bzero.S: New file.
41398 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41399 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41400 * sysdeps/x86_64/multiarch/memset.S: New file.
41401 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41403 Set bit_Prefer_SSE_for_memop for Intel processors.
41404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41405 Define.
41406 (index_Prefer_SSE_for_memop): Define.
41407 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41408
344d0b54
LM
414092010-11-04 Luis Machado <luisgpm@br.ibm.com>
41410
41411 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41412 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41413
c0dde15b
UD
414142010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41415
41416 [BZ #12191]
41417 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41418 (__x86_64_raw_data_cache_size_half): Likewise.
41419 (__x86_64_raw_shared_cache_size): Likewise.
41420 (__x86_64_raw_shared_cache_size_half): Likewise.
41421
41422 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41423 (__x86_64_raw_data_cache_size_half): Likewise.
41424 (__x86_64_raw_shared_cache_size): Likewise.
41425 (__x86_64_raw_shared_cache_size_half): Likewise.
41426 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41427 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41428 and __x86_64_raw_shared_cache_size_half. Round
41429 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41430 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41431 to multiple of 256 bytes.
41432
0e516e0e
MS
414332010-11-03 Ulrich Drepper <drepper@gmail.com>
41434
41435 [BZ #12167]
41436 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41437 of inacessible symlinks. Verify result of symlink before returning it.
41438 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41439 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41440
0e012e87
ER
414412010-10-28 Erich Ritz <erichritz@gmail.com>
41442
41443 * math/math.h (isinf): Fix typo in comment.
41444
de0ff7bc
UD
414452010-11-01 Ulrich Drepper <drepper@gmail.com>
41446
41447 * po/da.po: Update from translation team.
41448
fa41c84d
UD
414492010-10-26 Ulrich Drepper <drepper@gmail.com>
41450
41451 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41452 is added to the list.
41453
f0967738
AK
414542010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41455 Ulrich Drepper <drepper@gmail.com>
41456
41457 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41458 the global list here. Move code to...
41459 (_dl_add_to_namespace_list): ...here. New function.
41460 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41461 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41462 * elf/dl-load.c (lose): Don't remove the element from the list.
41463 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41464 (_dl_map_object): Likewise.
41465
414662010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41467
41468 [BZ #12159]
41469 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41470 into all bytes of SSE register.
41471 Patch by Richard Li <richardpku@gmail.com>.
41472
f0967738 414732010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41474
41475 [BZ #12140]
41476 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41477 perturbing.
41478
d0b9e94f
MB
414792010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41480
41481 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41482 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41483 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41484 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41486 submachine.
41487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41488
8e9f92e9
AS
414892010-10-22 Andreas Schwab <schwab@redhat.com>
41490
41491 * include/dlfcn.h (__RTLD_SECURE): Define.
41492 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41493 mode & __RTLD_SECURE instead.
41494 (open_path): Rename preloaded parameter to secure.
41495 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41496 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41497 * elf/dl-deps.c (openaux): Likewise.
41498 * elf/rtld.c (struct map_args): Remove is_preloaded.
41499 (map_doit): Don't use it.
41500 (dl_main): Likewise.
41501 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41502 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41503
bc96fbda
AS
415042010-09-09 Andreas Schwab <schwab@redhat.com>
41505
41506 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41507 (sysd-rules-targets): Remove duplicates.
41508 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41509 rtld-%.$o dependency.
41510
22cd1c9b
AS
415112010-10-18 Andreas Schwab <schwab@redhat.com>
41512
41513 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41514 _dl_map_object do it.
41515
18edac48
UD
415162010-10-19 Ulrich Drepper <drepper@gmail.com>
41517
41518 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41519 fast fma builtins, define the macros in the C99 standard.
41520 (FP_FAST_FMAF): Likewise.
41521 (FP_FAST_FMAL): Likewise.
41522 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41523
41524 * bits/mathdef.h: Update copyright year.
41525 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41526
d2050124
MM
415272010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41528
41529 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41530 builtins, define the macros in the C99 standard.
41531 (FP_FAST_FMAF): Likewise.
41532 (FP_FAST_FMAL): Likewise.
41533 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41534 multiply/add.
41535 (FP_FAST_FMAF): Likewise.
41536
475facd1
JJ
415372010-10-15 Jakub Jelinek <jakub@redhat.com>
41538
41539 [BZ #3268]
41540 * math/libm-test.inc (fma_test): Some new testcases.
41541 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41542 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41543 y and infinite z. Do multiplication by C already in long double.
41544 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41546 y and infinite z. Do bitwise or of inexact bit into u.d.
41547 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41548 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41549 * sysdeps/i386/fpu/s_fma.S: Removed.
41550 * sysdeps/i386/fpu/s_fmal.S: Removed.
41551
7c08a05c
JJ
415522010-10-16 Jakub Jelinek <jakub@redhat.com>
41553
41554 [BZ #3268]
41555 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41557 computation is not scheduled after fetestexcept. Fix value
41558 of minimum denormal long double.
41559
f3f7372d
JJ
415602010-10-14 Jakub Jelinek <jakub@redhat.com>
41561
41562 [BZ #3268]
41563 * math/libm-test.inc (fma_test): Add some more tests.
41564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41565 correctly.
41566
14d43591
AS
415672010-10-15 Andreas Schwab <schwab@redhat.com>
41568
41569 * scripts/data/localplt-s390-linux-gnu.data: New file.
41570 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41571
5e908464
JJ
415722010-10-13 Jakub Jelinek <jakub@redhat.com>
41573
41574 [BZ #3268]
41575 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41576 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41577 instead of dbl-64.
41578 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41579 inlines.
41580 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41582 if one of x and y is very large and the other is subnormal.
41583 * sysdeps/s390/fpu/s_fmaf.c: New file.
41584 * sysdeps/s390/fpu/s_fma.c: New file.
41585 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41586 * sysdeps/powerpc/fpu/s_fma.S: New file.
41587 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41588 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41589 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41590
415912010-10-12 Jakub Jelinek <jakub@redhat.com>
41592
41593 [BZ #3268]
41594 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41595 fma tests.
41596 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41597 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41598 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41599 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41600 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41601 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41602 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41603
b833d51f
UD
416042010-10-12 Ulrich Drepper <drepper@redhat.com>
41605
41606 [BZ #12078]
41607 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41608 * posix/bug-regex31.input: Add test case.
41609
1751705d
UD
416102010-10-11 Ulrich Drepper <drepper@gmail.com>
41611
e9b9cbf5
UD
41612 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41613 * posix/bug-regex31.input: New file.
41614
41615 [BZ #12078]
41616 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41617 (parse_sub_exp): Fix last change, use postorder.
41618
ef06edbe
UD
41619 * posix/bug-regex31.c: New file.
41620 * posix/Makefile: Add rules to build and run bug-regex31.
41621
a129c80d
UD
41622 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41623
41624 [BZ #12078]
41625 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41626
b76b818e
UD
41627 [BZ #12108]
41628 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41629 to have entries in sys_siglist.
41630
1751705d
UD
41631 [BZ #12093]
41632 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41633 be NULL.
41634
9ff8d36f
JJ
416352010-10-07 Jakub Jelinek <jakub@redhat.com>
41636
41637 [BZ #3268]
41638 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41639 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41640 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41641 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41642 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41643 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41644 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41645 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41646 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41647 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41648 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41649 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41650 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41651 * math/ftestexcept.c (fetestexcept): Likewise.
41652 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41653 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41654 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41655 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41656 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41657 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41658 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41659
af325969
UD
416602010-10-11 Ulrich Drepper <drepper@gmail.com>
41661
c579b202 41662 [BZ #12107]
af325969
UD
41663 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41664 newline.
41665
67a67b95
UD
416662010-10-06 Ulrich Drepper <drepper@gmail.com>
41667
41668 * string/bug-strstr1.c: New file.
41669 * string/Makefile: Add rules to build and run bug-strstr1.
41670
5fb308bc
EB
416712010-10-05 Eric Blake <eblake@redhat.com>
41672
41673 [BZ #12092]
41674 * string/str-two-way.h (two_way_long_needle): Always clear memory
41675 when skipping input due to the shift table.
41676
45db99c7
UD
416772010-10-03 Ulrich Drepper <drepper@gmail.com>
41678
3b111893
UD
41679 [BZ #12005]
41680 * malloc/mcheck.c: Handle large requests.
41681
45db99c7
UD
41682 [BZ #12077]
41683 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41684 for strncmp and strncasecmp.
41685 * string/stratcliff.c: Add tests for strcmp and strncmp.
41686 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41687
cf7a1eb8
NI
416882010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41689
41690 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41691 __set_fpscr.
41692
6484ba5e
AJ
416932010-09-30 Andreas Jaeger <aj@suse.de>
41694
41695 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41696 (CGROUP_SUPER_MAGIC): Define.
41697 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41698 Handle btrfs and cgroup file systems.
41699 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41700 Likewise.
41701
91c42559
LM
417022010-09-27 Luis Machado <luisgpm@br.ibm.com>
41703
41704 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41705 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41706
87a97932
AK
417072010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41708
41709 [BZ #12067]
41710 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41711 trying to locate the ELF header.
41712
c21cc9bc
AS
417132010-09-27 Andreas Schwab <schwab@redhat.com>
41714
41715 [BZ #11611]
41716 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41717 Mask out sign-bit copies when constructing f_fsid.
41718
315970f6
PB
417192010-09-24 Petr Baudis <pasky@suse.cz>
41720
41721 * debug/stack_chk_fail_local.c: Add missing licence exception.
41722 * debug/warning-nop.c: Likewise.
41723
1ac7a2c7
JM
417242010-09-15 Joseph Myers <joseph@codesourcery.com>
41725
41726 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41727 implementing getdents64 using getdents syscall, set d_type if
41728 __ASSUME_GETDENTS32_D_TYPE.
41729
56801c50
AS
417302010-09-16 Andreas Schwab <schwab@redhat.com>
41731
41732 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41733 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41734
dda51327
UD
417352010-09-21 Ulrich Drepper <drepper@redhat.com>
41736
41737 [BZ #12037]
41738 * posix/unistd.h: Undo change of feature selection for ftruncate from
41739 2010-01-11.
41740
8ffcee4a
UD
417412010-09-20 Ulrich Drepper <drepper@redhat.com>
41742
a545ecd9 41743 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41744 detection.
41745
e24f0a8b
AS
417462010-09-20 Andreas Schwab <schwab@redhat.com>
41747
41748 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41749 fanotify_mark.
41750 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41751
7291c56f
AS
417522010-09-14 Andreas Schwab <schwab@redhat.com>
41753
41754 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41755 variables after CHECK_SP call.
41756 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41757
bc5fb037
AS
417582010-09-13 Andreas Schwab <schwab@redhat.com>
41759 Ulrich Drepper <drepper@redhat.com>
41760
41761 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41762 re-relocationg ld.so.
41763 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41764 _dl_init_paths call.
41765 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41766 here anymore.
41767
e66e7419
UD
417682010-09-14 Ulrich Drepper <drepper@redhat.com>
41769
41770 * resolv/res_init.c (__res_vinit): Count the default server we added.
41771
c044aa75
CLT
417722010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41773 Ulrich Drepper <drepper@redhat.com>
41774
41775 [BZ #11968]
41776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41777 (____longjmp_chk): Use %ebx for saving value across system call.
41778 Add unwind info.
41779
32cf4069
AS
417802010-09-06 Andreas Schwab <schwab@redhat.com>
41781
41782 * manual/Makefile: Don't mix pattern rules with normal rules.
41783
817328ee
AS
417842010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41785
41786 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41787 operation.
41788 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41789 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41790 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41791 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41792 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41793 Likewise.
41794
29fddf61
UD
417952010-09-04 Ulrich Drepper <drepper@redhat.com>
41796
41797 [BZ #11979]
41798 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41799 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41800
0959ffc9
UD
418012010-09-02 Ulrich Drepper <drepper@redhat.com>
41802
41803 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41804 * sysdeps/x86_64/addmul_1.S: Likewise.
41805 * sysdeps/x86_64/lshift.S: Likewise.
41806 * sysdeps/x86_64/mul_1.S: Likewise.
41807 * sysdeps/x86_64/rshift.S: Likewise.
41808 * sysdeps/x86_64/sub_n.S: Likewise.
41809 * sysdeps/x86_64/submul_1.S: Likewise.
41810
ece29840
ST
418112010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41812
0959ffc9
UD
41813 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41814 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41815 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41816 * bits/sched.h [__need_schedparam]
ece29840 41817 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41818 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41819 (__defined_schedparam): Define to 1.
ece29840
ST
41820 (__sched_param): New structure, identical to sched_param.
41821 (__need_schedparam): Undefine.
41822
e53a31fe
MF
418232010-08-31 Mike Frysinger <vapier@gentoo.org>
41824
fdc0c10d
MF
41825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41826 (epoll_create1): Declare.
41827
e53a31fe
MF
41828 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41829
a726d796
AS
418302010-08-31 Andreas Schwab <schwab@redhat.com>
41831
41832 [BZ #7066]
41833 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41834 shifting retval into place.
41835
2f3e3dc7
UD
418362010-09-01 Ulrich Drepper <drepper@redhat.com>
41837
f2933da9
UD
41838 * nis/rpcsvc/nis.h: Update copyright notice.
41839 * nis/rpcsvc/nis.x: Likewise.
41840 * nis/rpcsvc/nis_callback.h: Likewise.
41841 * nis/rpcsvc/nis_callback.x: Likewise.
41842 * nis/rpcsvc/nis_object.x: Likewise.
41843 * nis/rpcsvc/nis_tags.h: Likewise.
41844 * nis/rpcsvc/yp.h: Likewise.
41845 * nis/rpcsvc/yp.x: Likewise.
41846 * nis/rpcsvc/ypupd.h: Likewise.
41847 * nis/yp_xdr.c: Likewise.
41848 * nis/ypupdate_xdr.c: Likewise.
41849
2f3e3dc7
UD
41850 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41851 mainly the body of pmap_getport. Add parameters to specify timeouts.
41852 (pmap_getport): Use __libc_rpc_getport.
41853 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41854 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41855 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41856
f3dcc2f9
AS
418572010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41858
41859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41860 fanotify_mark.
41861
6d34eb5b
RM
418622010-08-27 Roland McGrath <roland@redhat.com>
41863
41864 * sysdeps/i386/i686/multiarch/Makefile
41865 (CFLAGS-varshift.c): New variable.
41866
9ea3de11
UD
418672010-08-27 Ulrich Drepper <drepper@redhat.com>
41868
c96d23fc
UD
41869 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41870 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41871
9ea3de11
UD
41872 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41873
41874 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41875
623aac7f
L
418762010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41877
41878 * sysdeps/x86_64/strlen.S: Unroll the loop.
41879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41880 strlen-sse2 strlen-sse2-bsf.
41881 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41882 __strlen_no_bsf if bit_Slow_BSF is set.
41883 (__strlen_sse42): Removed.
41884 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41885 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41886
8b2b7715
RM
418872010-08-25 Roland McGrath <roland@redhat.com>
41888
41889 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41890 * sysdeps/x86_64/multiarch/varshift.c: New file.
41891 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41892 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41893 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41894 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41895
e73015f2
L
418962010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41897
41898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41899 strlen-sse2 strlen-sse2-bsf.
41900 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41901 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41902 (__strlen_sse2): Removed.
41903 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41904 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41906 bit_Slow_BSF for Atom.
41907 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41908 (index_Slow_BSF): Define.
41909 (HAS_SLOW_BSF): Define.
41910
df24a73e
UD
419112010-08-25 Ulrich Drepper <drepper@redhat.com>
41912
41913 [BZ #10851]
41914 * resolv/res_init.c (__res_vinit): When no server address at all
41915 is given default to loopback.
41916
f2ac4868
RM
419172010-08-24 Roland McGrath <roland@redhat.com>
41918
09055553
RM
41919 * configure.in: Remove config-name.h generation.
41920 * configure: Regenerated.
41921 * config-name.in: File removed.
41922 * scripts/config-uname.sh: New file.
41923 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41924 ($(objdir)config-name.h): New target.
41925
f2ac4868
RM
41926 * sunrpc/rpc_parse.h: Avoid nested comment.
41927
73f27d5e
RH
419282010-08-24 Richard Henderson <rth@redhat.com>
41929 Ulrich Drepper <drepper@redhat.com>
41930 H.J. Lu <hongjiu.lu@intel.com>
41931
41932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41934 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41935 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41936 _mm_alignr_epi8 with _mm_loadu_si128.
41937 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41938 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41939 (__m128i_shift_right): Removed.
41940 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41941 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41942 * sysdeps/x86_64/multiarch/varshift.h: New file.
41943 * sysdeps/x86_64/multiarch/varshift.S: New file.
41944
84b9230c
MF
419452010-08-21 Mike Frysinger <vapier@gentoo.org>
41946
41947 * configure.in: Move assembler checks to before sysdep dir checking.
41948
9bbd0ddc
PB
419492010-08-20 Petr Baudis <pasky@suse.cz>
41950
41951 * LICENSES: Sync the sunrpc license.
41952
9da4bb31
UD
419532010-08-19 Ulrich Drepper <drepper@redhat.com>
41954
a7ab6ec8
UD
41955 * sunrpc/auth_des.c: Update copyright notice once again.
41956 * sunrpc/auth_none.c: Likewise.
41957 * sunrpc/auth_unix.c: Likewise.
41958 * sunrpc/authdes_prot.c: Likewise.
41959 * sunrpc/authuxprot.c: Likewise.
41960 * sunrpc/bindrsvprt.c: Likewise.
41961 * sunrpc/clnt_gen.c: Likewise.
41962 * sunrpc/clnt_perr.c: Likewise.
41963 * sunrpc/clnt_raw.c: Likewise.
41964 * sunrpc/clnt_simp.c: Likewise.
41965 * sunrpc/clnt_tcp.c: Likewise.
41966 * sunrpc/clnt_udp.c: Likewise.
41967 * sunrpc/clnt_unix.c: Likewise.
41968 * sunrpc/des_crypt.c: Likewise.
41969 * sunrpc/des_soft.c: Likewise.
41970 * sunrpc/get_myaddr.c: Likewise.
41971 * sunrpc/getrpcport.c: Likewise.
41972 * sunrpc/key_call.c: Likewise.
41973 * sunrpc/key_prot.c: Likewise.
41974 * sunrpc/openchild.c: Likewise.
41975 * sunrpc/pm_getmaps.c: Likewise.
41976 * sunrpc/pm_getport.c: Likewise.
41977 * sunrpc/pmap_clnt.c: Likewise.
41978 * sunrpc/pmap_prot.c: Likewise.
41979 * sunrpc/pmap_prot2.c: Likewise.
41980 * sunrpc/pmap_rmt.c: Likewise.
41981 * sunrpc/rpc/auth.h: Likewise.
41982 * sunrpc/rpc/auth_unix.h: Likewise.
41983 * sunrpc/rpc/clnt.h: Likewise.
41984 * sunrpc/rpc/des_crypt.h: Likewise.
41985 * sunrpc/rpc/key_prot.h: Likewise.
41986 * sunrpc/rpc/netdb.h: Likewise.
41987 * sunrpc/rpc/pmap_clnt.h: Likewise.
41988 * sunrpc/rpc/pmap_prot.h: Likewise.
41989 * sunrpc/rpc/pmap_rmt.h: Likewise.
41990 * sunrpc/rpc/rpc.h: Likewise.
41991 * sunrpc/rpc/rpc_des.h: Likewise.
41992 * sunrpc/rpc/rpc_msg.h: Likewise.
41993 * sunrpc/rpc/svc.h: Likewise.
41994 * sunrpc/rpc/svc_auth.h: Likewise.
41995 * sunrpc/rpc/types.h: Likewise.
41996 * sunrpc/rpc/xdr.h: Likewise.
41997 * sunrpc/rpc_clntout.c: Likewise.
41998 * sunrpc/rpc_cmsg.c: Likewise.
41999 * sunrpc/rpc_common.c: Likewise.
42000 * sunrpc/rpc_cout.c: Likewise.
42001 * sunrpc/rpc_dtable.c: Likewise.
42002 * sunrpc/rpc_hout.c: Likewise.
42003 * sunrpc/rpc_main.c: Likewise.
42004 * sunrpc/rpc_parse.c: Likewise.
42005 * sunrpc/rpc_parse.h: Likewise.
42006 * sunrpc/rpc_prot.c: Likewise.
42007 * sunrpc/rpc_sample.c: Likewise.
42008 * sunrpc/rpc_scan.c: Likewise.
42009 * sunrpc/rpc_scan.h: Likewise.
42010 * sunrpc/rpc_svcout.c: Likewise.
42011 * sunrpc/rpc_tblout.c: Likewise.
42012 * sunrpc/rpc_util.c: Likewise.
42013 * sunrpc/rpc_util.h: Likewise.
42014 * sunrpc/rpcinfo.c: Likewise.
42015 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42016 * sunrpc/rpcsvc/key_prot.x: Likewise.
42017 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42018 * sunrpc/rpcsvc/mount.x: Likewise.
42019 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42020 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42021 * sunrpc/rpcsvc/rex.x: Likewise.
42022 * sunrpc/rpcsvc/rstat.x: Likewise.
42023 * sunrpc/rpcsvc/rusers.x: Likewise.
42024 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42025 * sunrpc/rpcsvc/spray.x: Likewise.
42026 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42027 * sunrpc/rtime.c: Likewise.
42028 * sunrpc/svc.c: Likewise.
42029 * sunrpc/svc_auth.c: Likewise.
42030 * sunrpc/svc_authux.c: Likewise.
42031 * sunrpc/svc_raw.c: Likewise.
42032 * sunrpc/svc_run.c: Likewise.
42033 * sunrpc/svc_simple.c: Likewise.
42034 * sunrpc/svc_tcp.c: Likewise.
42035 * sunrpc/svc_udp.c: Likewise.
42036 * sunrpc/svc_unix.c: Likewise.
42037 * sunrpc/svcauth_des.c: Likewise.
42038 * sunrpc/xcrypt.c: Likewise.
42039 * sunrpc/xdr.c: Likewise.
42040 * sunrpc/xdr_array.c: Likewise.
42041 * sunrpc/xdr_float.c: Likewise.
42042 * sunrpc/xdr_mem.c: Likewise.
42043 * sunrpc/xdr_rec.c: Likewise.
42044 * sunrpc/xdr_ref.c: Likewise.
42045 * sunrpc/xdr_sizeof.c: Likewise.
42046 * sunrpc/xdr_stdio.c: Likewise.
42047
9da4bb31
UD
42048 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42049 handling.
42050
bdaa77bc
AS
420512010-08-19 Andreas Schwab <schwab@redhat.com>
42052
42053 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42054
fe2f79db
LM
420552010-08-19 Luis Machado <luisgpm@br.ibm.com>
42056
42057 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42058 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42059 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42060 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42061 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42062 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42063 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42064 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42065 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42066 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42067 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42068 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42069 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42070 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42071
b9b42ee0
AB
420722010-07-26 Anton Blanchard <anton@samba.org>
42073
42074 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42075 * malloc/arena.c (heap_trim): Likewise.
42076
1c06ba31
UD
420772010-08-16 Ulrich Drepper <drepper@redhat.com>
42078
42079 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42080 here. Not...
42081 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42082 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42083
f8392f40
L
420842010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42085
42086 * sysdeps/i386/elf/Makefile: New file.
42087
3162f12e
AS
420882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42089
42090 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42091 from fanotify_init.
42092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42094
28c90b2c
UD
420952010-08-15 Ulrich Drepper <drepper@redhat.com>
42096
42097 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42098 of strncasecmp_l.
1feccb6c 42099 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42100
ca6bb004
UD
421012010-08-14 Ulrich Drepper <drepper@redhat.com>
42102
e9f82e0d
UD
42103 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42104 strncase_l-nonascii.
42105 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42106 Add strncase_l-ssse3.
42107 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42108 * sysdeps/x86_64/strcmp.S: Likewise.
42109 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42110 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42111 * sysdeps/x86_64/strncase.S: New file.
42112 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42113 * sysdeps/x86_64/strncase_l.S: New file.
42114 * string/Makefile (strop-tests): Add strncasecmp.
42115 * string/test-strncasecmp.c: New file.
42116
42117 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42118 warning.
42119
ca6bb004
UD
42120 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42121 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42122
052fa7b3
AS
421232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42124
42125 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42126
962dba78
UD
421272010-08-12 Ulrich Drepper <drepper@redhat.com>
42128
42129 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42130 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42131 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42132
bebff237
AM
421332010-05-01 Alan Modra <amodra@gmail.com>
42134
42135 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42136 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42137 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42138 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42139 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42140 tidying. Don't tail-call __sigjmp_save for static lib.
42141 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42142 save location.
42143 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42144 (CALL_MCOUNT): Add eh info, and nop after bl.
42145 (TAIL_CALL_SYSCALL_ERROR): New macro.
42146 (PSEUDO_RET): Use it.
42147 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42148 Correct save location of integer regs and cr.
42149 (_dl_profile_resolve): Correct cr save location. Delete nops
42150 after bl when SHARED. Reduce cfi size a little by better
42151 placement of cfi directives.
42152 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42153 make a stack frame. Instead use parm save area as a temp.
42154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42155 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42157 Don't make a stack frame for parent, use parm save area.
42158 Increase child stack frame to 112 bytes. Don't save unused reg,
42159 and adjust reg usage. Set up cfi on error recovery and
42160 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42162 (__makecontext): Add dummy nop after jump to exit.
42163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42164 Use correct parm save area and cr save, reduce stack frame.
42165 Correct cfi for possible PSEUDO_RET frame setup.
42166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42167 Branch to local label emitted by PSEUDO_RET rather than
42168 __syscall_error.
42169
02637374
AS
421702010-08-12 Andreas Schwab <schwab@redhat.com>
42171
42172 [BZ #11904]
42173 * locale/programs/locale.c (print_assignment): New function.
42174 (show_locale_vars): Use it.
42175
c3e2f19b
UD
421762010-08-11 Ulrich Drepper <drepper@redhat.com>
42177
3cdaa6ad
UD
42178 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42179 field.
42180 (struct statfs64): Likewise.
42181 (_STATFS_F_FLAGS): Define.
42182 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42183 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42184 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42185 (ST_VALID): Define locally.
42186 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42187 __statvfs_getflags, use the provided value.
42188 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42189 __ASSUME_STATFS_F_FLAGS.
42190
754f7da3
UD
42191 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42192
10b3bedc
UD
42193 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42194 Add sys/fanotify.h.
42195 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42196 fanotify_mask for GLIBC_2.13.
42197 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42198 fanotify_init and fanotify_mark.
42199 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42200 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42201
c08fb0d7
UD
42202 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42203 Add prlimit.
42204 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42205 prlimit64 for GLIBC_2.13.
42206 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42207 prlimit64.
42208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42209 syscall.
42210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42211 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42212 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42213 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42214 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42215 add prlimit alias.
42216 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42217
15bac72b
UD
42218 [BZ #11903]
42219 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42220 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42221
c3e2f19b
UD
42222 * nss/Makefile: Add rules to build and run tst-nss-test1.
42223 * shlib-versions: Add entry for libnss_test1.
42224 * nss/nss_test1.c: New file.
42225 * nss/tst-nss-test1.c: New file.
42226
42227 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42228 (__nss_configure_lookup): Set appropriate entry in
42229 __nss_configure_lookup to true.
42230 * nss/nsswitch.h: Define enum with indeces of databases in
42231 databases and __nss_database_custom arrays. Declare
42232 __nss_database_custom.
42233 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42234 to avoid using nscd when custom rules are installed.
42235 * nss/getXXbyYY_r.c: Likewise.
42236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42237
42238 * nss/nss_files/files-parse.c: Whitespace fixes.
42239
f15ce4d8
UD
422402010-08-09 Ulrich Drepper <drepper@redhat.com>
42241
42242 [BZ #11883]
42243 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42244 * posix/fnmatch_loop.c: Likewise.
42245
d22e4cc9
AK
422462010-07-17 Andi Kleen <ak@linux.intel.com>
42247
42248 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42249 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42250 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42251 * Versions.def [GLIBC_2.13]: Add.
42252
805bc17d
UD
422532010-08-06 Ulrich Drepper <drepper@redhat.com>
42254
42255 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42256 Also fail if tpwd after pwuid call is NULL.
42257
5a42321d
ST
422582010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42259
42260 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42261 when converting to ms.
42262
fd3ebeda
ST
422632010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42264
42265 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42266 EOPNOTSUPP errors with ENOTTY.
42267 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42268 EOPNOTSUPP errors with ENOTTY.
42269
73507d3a
UD
422702010-07-31 Ulrich Drepper <drepper@redhat.com>
42271
42272 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42273 Add strcasecmp_l-ssse3.
42274 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42275 strcasecmp.
42276 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42277 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42278 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42279
fe36dd02
UD
422802010-07-30 Ulrich Drepper <drepper@redhat.com>
42281
66f6765a
UD
42282 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42283
42e08a54
UD
42284 * string/Makefile (strop-tests): Add strcasecmp.
42285 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42286 strcasecmp_l-nonascii.
42287 (gen-as-const-headers): Add locale-defines.sym.
42288 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42289 * sysdeps/x86_64/strcasecmp.S: New file.
42290 * sysdeps/x86_64/strcasecmp_l.S: New file.
42291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42292 * sysdeps/x86_64/locale-defines.sym: New file.
42293 * string/test-strcasecmp.c: New file.
42294
fe36dd02
UD
42295 * string/test-strcasestr.c: Test both ends of the range of characters.
42296 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42297
48cbc0d6
RM
422982010-07-29 Roland McGrath <roland@redhat.com>
42299
76e6d6bc 42300 [BZ #11856]
48cbc0d6
RM
42301 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42302
880113d9
UD
423032010-07-27 Ulrich Drepper <drepper@redhat.com>
42304
42305 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42306 for ld.so.
42307
deb9cabb
AS
423082010-07-27 Andreas Schwab <schwab@redhat.com>
42309
42310 * manual/memory.texi (Malloc Tunable Parameters): Document
42311 M_PERTURB.
42312
1c7570ff
RM
423132010-07-26 Roland McGrath <roland@redhat.com>
42314
42315 [BZ #11840]
42316 * configure.in (-fgnu89-inline check): Set and substitute
42317 gnu89_inline, not libc_cv_gnu89_inline.
42318 * configure: Regenerated.
42319 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42320
24fb0f88
UD
423212010-07-26 Ulrich Drepper <drepper@redhat.com>
42322
42323 * string/test-strnlen.c: New file.
42324 * string/Makefile (strop-tests): Add strnlen.
42325 * string/tester.c (test_strnlen): Add a few more test cases.
42326 * string/tst-strlen.c: Better error reporting.
42327
42328 * sysdeps/x86_64/strnlen.S: New file.
42329
8e96b93a
UD
423302010-07-24 Ulrich Drepper <drepper@redhat.com>
42331
42332 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42333 lower-latency instructions.
42334
dbc676d4
UD
423352010-07-23 Ulrich Drepper <drepper@redhat.com>
42336
42337 * string/test-strcasestr.c: New file.
42338 * string/test-strstr.c: New file.
42339 * string/Makefile (strop-tests): Add strstr and strcasestr.
42340 * string/str-two-way.h: Don't undefine MAX.
42341 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42342
f6a31e0e
AS
423432010-07-21 Andreas Schwab <schwab@redhat.com>
42344
42345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42346 strcasestr-nonascii.
42347 (CFLAGS-strcasestr-nonascii.c): Define.
42348 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42349 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42350 Remove unused attribute.
42351
5dbc3b6c
RM
423522010-07-20 Roland McGrath <roland@redhat.com>
42353
42354 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42355 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42356 ld.so.cache was broken. With it, there is no way to disable dsocaps
42357 like LD_HWCAP_MASK can disable hwcaps.
42358
23d101d8
EPM
423592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42360
42361 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42362
cc9f2e47
UD
423632010-07-16 Ulrich Drepper <drepper@redhat.com>
42364
42365 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42366 call in strcasestr.
42367 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42368 __strcasestr_sse42_nonascii.
42369 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42370 strcasestr-nonascii.c.
42371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42372
77c1b069
LM
423732010-06-15 Luis Machado <luisgpm@br.ibm.com>
42374
42375 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42376 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42377 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42378 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42379
440566c3
UD
423802010-07-09 Ulrich Drepper <drepper@redhat.com>
42381
42382 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42383 fcntl.
42384
5be9d05d
AS
423852010-07-06 Andreas Schwab <schwab@redhat.com>
42386
c30b7ee2 42387 [BZ #11577]
5be9d05d
AS
42388 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42389 dl_signal_cerror.
42390
8a492a67
UD
423912010-07-06 Ulrich Drepper <drepper@redhat.com>
42392
42393 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42394 _PC_PIPE_BUF using F_GETPIPE_SZ.
42395
713df3d5
RM
423962010-07-05 Roland McGrath <roland@redhat.com>
42397
42398 * manual/arith.texi (Rounding Functions): Fix rint description
42399 implicit in round description.
42400
702e8f14
UD
424012010-07-02 Ulrich Drepper <drepper@redhat.com>
42402
42403 * elf/Makefile: Fix linking for a few tests to make recent linker
42404 happy.
42405
52ed8be9
AS
424062010-06-30 Andreas Schwab <schwab@redhat.com>
42407
42408 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42409 $(common-objpfx)libc_nonshared.a.
42410
f47c9a11
LM
424112010-06-21 Luis Machado <luisgpm@br.ibm.com>
42412
42413 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42414 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42415 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42416 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42417 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42418 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42419 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42420 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42435 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42436 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42437 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42438 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42439 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42440 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42441 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42442 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42443 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42444 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42445 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42446 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42461
6fb8cbcb
L
424622010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42463
42464 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42465 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42466 * string/memmove.c (memmove): Renamed to ...
42467 (MEMMOVE): ...this. Default to memmove.
42468 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42469 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42470 (END_CHK): Define.
42471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42472 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42473 mempcpy-ssse3-back memmove-ssse3-back.
42474 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42475 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42476 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42477 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42478 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42479 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42480 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42481 * sysdeps/x86_64/multiarch/memmove.c: New file.
42482 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42483 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42484 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42485 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42486 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42487 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42488 Define.
42489 (index_Fast_Copy_Backward): Define.
42490 (HAS_ARCH_FEATURE): Define.
42491 (HAS_FAST_REP_STRING): Define.
42492 (HAS_FAST_COPY_BACKWARD): Define.
42493
4e733bac 424942010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42495
42496 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42497 Restore proper fallback handling.
42498
63c4ed22
UD
424992010-06-19 Ulrich Drepper <drepper@redhat.com>
42500
ac2b484c
UD
42501 [BZ #11701]
42502 * posix/group_member.c (__group_member): Correct checking loop.
42503
63c4ed22
UD
42504 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42505 OOM in getpwuid_r correctly. Return error number when the caller
42506 should return, otherwise -1.
42507 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42508 call returning > 0 value.
42509 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42510
765ade4b
AS
425112010-06-07 Andreas Schwab <schwab@redhat.com>
42512
42513 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42514 libc_nonshared.a from targets in modules-names.
42515
80da2e09
KS
425162010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42517
42518 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42519 requires it.
42520
158db122
LM
425212010-06-10 Luis Machado <luisgpm@br.ibm.com>
42522
42523 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42524 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42525 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42527
caa78cf8
AS
425282010-06-02 Andreas Schwab <schwab@redhat.com>
42529
42530 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42531
b2ef2c01
UD
425322010-06-14 Ulrich Drepper <drepper@redhat.com>
42533
42534 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42535 and F_GETPIPE_SZ.
42536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42540 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42541 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42542
fbd643b6
RM
425432010-06-14 Roland McGrath <roland@redhat.com>
42544
42545 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42546
f32f2869
JJ
425472010-06-07 Jakub Jelinek <jakub@redhat.com>
42548
42549 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42550 __REDIRECT followed by __THROW.
42551 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42552 * posix/getopt.h (getopt): Likewise.
42553
2a50c078
EPM
425542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42555
42556 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42557 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42558 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42559 in AT_FLAGS.
42560 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42561 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42562
eb5ad2eb
LM
425632010-05-28 Luis Machado <luisgpm@br.ibm.com>
42564
42565 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42566
3c88fe1e
L
425672010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42568
42569 [BZ #11640]
42570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42571 Properly check family and model.
42572
d2f73151
TY
425732010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42574
42575 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42576
ebd2e13d
LM
425772010-05-24 Luis Machado <luisgpm@br.ibm.com>
42578
42579 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42580
b32b8b45
UD
425812010-05-21 Ulrich Drepper <drepper@redhat.com>
42582
42583 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42584 symbol reference.
42585
9acbe24d
AS
425862010-05-19 Andreas Schwab <schwab@redhat.com>
42587
42588 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42589 symbol reference.
42590
f0ccf6ea
AS
425912010-05-21 Andreas Schwab <schwab@redhat.com>
42592
3d04ff3a
AS
42593 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42594 and internal_recvmmsg.
42595 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42596 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42597 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42598 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42599
f0ccf6ea
AS
42600 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42601 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42602 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42603
5b08ac57
AS
426042010-05-20 Andreas Schwab <schwab@redhat.com>
42605
42606 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42607
4828935d
LM
426082010-05-17 Luis Machado <luisgpm@br.ibm.com>
42609
42610 POWER7 optimizations.
42611 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42612 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42613
373d545e
UD
426142010-05-19 Ulrich Drepper <drepper@redhat.com>
42615
42616 * version.h: Update for 2.13 development version.
42617
21a2b1ae
AS
426182010-05-12 Andrew Stubbs <ams@codesourcery.com>
42619
42620 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42621 exceptions. Return 0.
42622
3f7dcb2b
RM
426232010-05-07 Roland McGrath <roland@redhat.com>
42624
42625 * elf/ldconfig.c (main): Add a const.
42626
5f24d53a 426272010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42628
a160f8d8
UD
42629 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42630 (args_options): Add no-idn option.
42631 (ahosts_keys_int): Add idn_flags to ai_flags.
42632 (parse_option): Handle 'i' option to clear idn_flags.
42633
5f24d53a
UD
42634 * malloc/malloc.c (_int_free): Possible race in the most recently
42635 added check. Only act on the data if no current modification
42636 happened.
265bb1ce
UD
42637
42638See ChangeLog.17 for earlier changes.