]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Setup LOCPATH for tst-ftell-active-handler and tst-ftell-partial-wide in libio
[thirdparty/glibc.git] / ChangeLog
CommitLineData
003e49ed
AS
12014-03-25 Andreas Schwab <schwab@suse.de>
2
3 * libio/Makefile (tst-ftell-partial-wide-ENV)
4 (tst-ftell-active-handler-ENV): Define.
5
de031874
SL
62014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7
8 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9
55a81e3b
PP
102014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11
12 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13
f3426898
JM
142014-03-24 Joseph Myers <joseph@codesourcery.com>
15
16 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19
a42faf59
PP
202014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21
22 [BZ #16634]
a42faf59
PP
23 * elf/dl-load.c (open_verify): Add mode parameter.
24 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
25 (open_path): Change from boolean 'secure' to complete flag 'mode'
26 (_dl_map_object): Adjust.
27 * elf/Makefile (tests): Add tst-dlopen-aout.
28 * elf/tst-dlopen-aout.c: New test.
29
50936127
SL
302014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
31
32 [BZ #16714]
33 * sysdeps/unix/sysv/linux/s390/bits/stat.h
34 (struct stat): Rename member pad0 to __glibc_reserved0.
35
26011b5c
SL
362014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37
38 [BZ #16712]
39 * sysdeps/s390/s390-32/bits/wordsize.h
40 (__WORDSIZE32_SIZE_ULONG): New define.
41 * sysdeps/s390/s390-64/bits/wordsize.h
42 (__WORDSIZE32_SIZE_ULONG): Likewise.
43 * sysdeps/generic/stdint.h (SIZE_MAX):
44 Define as UL if __WORDSIZE32_SIZE_ULONG.
45
a2d86bf1
SL
462014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
47
48 [BZ #16713]
49 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
50 (__glibc_reserved0): New variable.
51 (sa_flags): Change type to int.
52
78b6eebc
SL
532014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54
55 * posix/Makefile (before-compile): Use += before-compile instead
56 of a :=.
57
f1399b5a
SL
582014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
59
60 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
61 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
62
a071766e
AS
632014-03-20 Andreas Schwab <schwab@suse.de>
64
65 [BZ #16743]
66 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
67 non-matching result from nscd.
68
27c673b8
SP
692014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
70
71 * scripts/bench.py: Moved to ...
72 * benchtests/scripts/bench.py: ... here.
73 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
74
44152e4b
AS
752014-03-24 Andreas Schwab <schwab@suse.de>
76
77 [BZ #16002]
78 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
79 alloca_account and account alloca use for struct in6ailist.
80
b376a11a
JM
812014-03-24 Joseph Myers <joseph@codesourcery.com>
82
83 [BZ #16284]
84 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
85 rounding mode to recompute results that overflow to infinity or
86 underflow to zero.
87 * math/auto-libm-test-in: Don't mark tests as expected to fail for
88 bug 16284.
89 * math/auto-libm-test-out: Regenerated.
90 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
91 (ccosh_test): Likewise.
92 (csin_test_data): Use plus_oflow.
93 (csin_test): Use ALL_RM_TEST.
94 (csinh_test_data): Use plus_oflow.
95 (csinh_test): Use ALL_RM_TEST.
96 * sysdeps/i386/fpu/libm-test-ulps: Update.
97 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
98
f7be7376
JM
992014-03-21 Joseph Myers <joseph@codesourcery.com>
100
1ca2d03e
JM
101 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
102 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
103 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
104
f7be7376
JM
105 [BZ #16731]
106 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
107 when x - 1 is zero.
108 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
109 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
110 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
111 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
112 argument is 1.
113 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
114 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
115 zero.
116 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
117 * sysdeps/i386/fpu/libm-test-ulps: Update.
118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
119
fdf4534d
SP
1202014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
121
df26ea53
SP
122 * scripts/bench.pl: Remove file.
123 * scripts/bench.py: New benchmark script.
124 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
125 * benchtests/README: Mention python dependency.
126 * scripts/pylintrc: New file.
127 * scripts/pylint: New file.
128
fdf4534d
SP
129 * bits/mathdef.h: Use #ifdef instead of #if.
130 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
131 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
132 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
133 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
134 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
135 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
136
6f23d093
AZ
1372014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
138 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
139
140 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
142 and strpbrk-ppc64 objects.
143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
144 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
145 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
146 multiarch strpbrk for POWER7.
147 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
148 multiarch strpbrk for PPC64.
149 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
150 ifunc selector.
151 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
152 strpbrk for POWER7.
153
8c92dfff
JM
1542014-03-20 Joseph Myers <joseph@codesourcery.com>
155
156 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
157 (atan_test): Likewise.
158 (atanh_test_data): Use NO_TEST_INLINE for two tests.
159 (atanh_test): Use ALL_RM_TEST.
160 (atan2_test_data): Likewise.
161 (cabs_test): Likewise.
162 (cacosh_test): Likewise.
163 (carg_test): Likewise.
164 (casin_test): Likewise.
165 (casinh_test): Likewise.
166 (cbrt_test): Likewise.
167 (csqrt_test): Likewise.
168 (erf_test): Likewise.
169 (erfc_test): Likewise.
170 (pow10_test): Likewise.
171 (exp2_test): Likewise.
172 (hypot_test): Likewise.
173 (j0_test): Likewise.
174 (j1_test): Likewise.
175 (lgamma_test): Likewise.
176 (gamma_test): Likewise.
177 (sincos_test): Likewise.
178 (tanh_test): Likewise.
179 (y0_test): Likewise.
180 (y1_test): Likewise.
181 * sysdeps/i386/fpu/libm-test-ulps: Update.
182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
183
6eaf95cb
AZ
1842014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185
a387428c
SP
186 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
188 and strcspn-ppc64 objects.
189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
190 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
191 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
192 multiarch strcspn for POWER7.
193 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
194 multiarch strcspn for PPC64.
195 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
196 ifunc selector.
197 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
198 strcspn for POWER7.
199
ae3a5dff
JM
2002014-03-20 Joseph Myers <joseph@codesourcery.com>
201
202 * math/gen-libm-test.pl (generate_testfile): Expect only function
203 name as argument to AUTO_TESTS_* and pass results for all rounding
204 modes to parse_args.
205 (parse_auto_input): Separate inputs of automatic tests from
206 outputs before storing in %auto_tests.
207 * math/libm-test.inc (acos_test_data): Update call to
208 AUTO_TESTS_f_f.
209 (acos_test): Use ALL_RM_TEST.
210 (acos_tonearest_test_data): Remove.
211 (acos_test_tonearest): Likewise.
212 (acos_towardzero_test_data): Likewise.
213 (acos_test_towardzero): Likewise.
214 (acos_downward_test_data): Likewise.
215 (acos_test_downward): Likewise.
216 (acos_upward_test_data): Likewise.
217 (acos_test_upward): Likewise.
218 (acosh_test_data): Update call to AUTO_TESTS_f_f.
219 (asin_test_data): Likewise.
220 (asin_test): Use ALL_RM_TEST.
221 (asin_tonearest_test_data): Remove.
222 (asin_test_tonearest): Likewise.
223 (asin_towardzero_test_data): Likewise.
224 (asin_test_towardzero): Likewise.
225 (asin_downward_test_data): Likewise.
226 (asin_test_downward): Likewise.
227 (asin_upward_test_data): Likewise.
228 (asin_test_upward): Likewise.
229 (asinh_test_data): Update call to AUTO_TESTS_f_f.
230 (atan_test_data): Likewise.
231 (atanh_test_data): Likewise.
232 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
233 (cabs_test_data): Update call to AUTO_TESTS_c_f.
234 (carg_test_data): Likewise.
235 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
236 (ccos_test_data): Update call to AUTO_TESTS_c_c.
237 (ccosh_test_data): Likewise.
238 (cexp_test_data): Likewise.
239 (clog_test_data): Likewise.
240 (clog10_test_data): Likewise.
241 (cos_test_data): Update call to AUTO_TESTS_f_f.
242 (cos_test): Use ALL_RM_TEST.
243 (cos_tonearest_test_data): Remove.
244 (cos_test_tonearest): Likewise.
245 (cos_towardzero_test_data): Likewise.
246 (cos_test_towardzero): Likewise.
247 (cos_downward_test_data): Likewise.
248 (cos_test_downward): Likewise.
249 (cos_upward_test_data): Likewise.
250 (cos_test_upward): Likewise.
251 (cosh_test_data): Update call to AUTO_TESTS_f_f.
252 (cosh_test): Use ALL_RM_TEST.
253 (cosh_tonearest_test_data): Remove.
254 (cosh_test_tonearest): Likewise.
255 (cosh_towardzero_test_data): Likewise.
256 (cosh_test_towardzero): Likewise.
257 (cosh_downward_test_data): Likewise.
258 (cosh_test_downward): Likewise.
259 (cosh_upward_test_data): Likewise.
260 (cosh_test_upward): Likewise.
261 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
262 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
263 (ctan_test_data): Likewise.
264 (ctan_test): Use ALL_RM_TEST.
265 (ctan_tonearest_test_data): Remove.
266 (ctan_test_tonearest): Likewise.
267 (ctan_towardzero_test_data): Likewise.
268 (ctan_test_towardzero): Likewise.
269 (ctan_downward_test_data): Likewise.
270 (ctan_test_downward): Likewise.
271 (ctan_upward_test_data): Likewise.
272 (ctan_test_upward): Likewise.
273 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
274 (ctanh_test): Use ALL_RM_TEST.
275 (ctanh_tonearest_test_data): Remove.
276 (ctanh_test_tonearest): Likewise.
277 (ctanh_towardzero_test_data): Likewise.
278 (ctanh_test_towardzero): Likewise.
279 (ctanh_downward_test_data): Likewise.
280 (ctanh_test_downward): Likewise.
281 (ctanh_upward_test_data): Likewise.
282 (ctanh_test_upward): Likewise.
283 (erf_test_data): Update call to AUTO_TESTS_f_f.
284 (erfc_test_data): Likewise.
285 (exp_test_data): Likewise.
286 (exp_test): Use ALL_RM_TEST.
287 (exp_tonearest_test_data): Remove.
288 (exp_test_tonearest): Likewise.
289 (exp_towardzero_test_data): Likewise.
290 (exp_test_towardzero): Likewise.
291 (exp_downward_test_data): Likewise.
292 (exp_test_downward): Likewise.
293 (exp_upward_test_data): Likewise.
294 (exp_test_upward): Likewise.
295 (exp10_test_data): Update call to AUTO_TESTS_f_f.
296 (exp10_test): Use ALL_RM_TEST.
297 (exp10_tonearest_test_data): Remove.
298 (exp10_test_tonearest): Likewise.
299 (exp10_towardzero_test_data): Likewise.
300 (exp10_test_towardzero): Likewise.
301 (exp10_downward_test_data): Likewise.
302 (exp10_test_downward): Likewise.
303 (exp10_upward_test_data): Likewise.
304 (exp10_test_upward): Likewise.
305 (exp2_test_data): Update call to AUTO_TESTS_f_f.
306 (expm1_test_data): Likewise.
307 (expm1_test): Use ALL_RM_TEST.
308 (expm1_tonearest_test_data): Remove.
309 (expm1_test_tonearest): Likewise.
310 (expm1_towardzero_test_data): Likewise.
311 (expm1_test_towardzero): Likewise.
312 (expm1_downward_test_data): Likewise.
313 (expm1_test_downward): Likewise.
314 (expm1_upward_test_data): Likewise.
315 (expm1_test_upward): Likewise.
316 (fma_test_data): Update call to AUTO_TESTS_fff_f.
317 (fma_test): Use ALL_RM_TEST.
318 (fma_towardzero_test_data): Remove.
319 (fma_test_towardzero): Likewise.
320 (fma_downward_test_data): Likewise.
321 (fma_test_downward): Likewise.
322 (fma_upward_test_data): Likewise.
323 (fma_test_upward): Likewise.
324 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
325 (j0_test_data): Update call to AUTO_TESTS_f_f.
326 (j1_test_data): Likewise.
327 (jn_test_data): Update call to AUTO_TESTS_if_f.
328 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
329 (log_test_data): Update call to AUTO_TESTS_f_f.
330 (log10_test_data): Likewise.
331 (log1p_test_data): Likewise.
332 (log2_test_data): Likewise.
333 (pow_test_data): Update call to AUTO_TESTS_ff_f.
334 (pow_tonearest_test_data): Likewise.
335 (sin_test_data): Update call to AUTO_TESTS_f_f.
336 (sin_test): Use ALL_RM_TEST.
337 (sin_tonearest_test_data): Remove.
338 (sin_test_tonearest): Likewise.
339 (sin_towardzero_test_data): Likewise.
340 (sin_test_towardzero): Likewise.
341 (sin_downward_test_data): Likewise.
342 (sin_test_downward): Likewise.
343 (sin_upward_test_data): Likewise.
344 (sin_test_upward): Likewise.
345 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
346 (sinh_test_data): Update call to AUTO_TESTS_f_f.
347 (sinh_test): Use ALL_RM_TEST.
348 (sinh_tonearest_test_data): Remove.
349 (sinh_test_tonearest): Likewise.
350 (sinh_towardzero_test_data): Likewise.
351 (sinh_test_towardzero): Likewise.
352 (sinh_downward_test_data): Likewise.
353 (sinh_test_downward): Likewise.
354 (sinh_upward_test_data): Likewise.
355 (sinh_test_upward): Likewise.
356 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
357 (sqrt_test): Use ALL_RM_TEST.
358 (sqrt_tonearest_test_data): Remove.
359 (sqrt_test_tonearest): Likewise.
360 (sqrt_towardzero_test_data): Likewise.
361 (sqrt_test_towardzero): Likewise.
362 (sqrt_downward_test_data): Likewise.
363 (sqrt_test_downward): Likewise.
364 (sqrt_upward_test_data): Likewise.
365 (sqrt_test_upward): Likewise.
366 (tan_test_data): Update call to AUTO_TESTS_f_f.
367 (tan_test): Use ALL_RM_TEST.
368 (tan_tonearest_test_data): Remove.
369 (tan_test_tonearest): Likewise.
370 (tan_towardzero_test_data): Likewise.
371 (tan_test_towardzero): Likewise.
372 (tan_downward_test_data): Likewise.
373 (tan_test_downward): Likewise.
374 (tan_upward_test_data): Likewise.
375 (tan_test_upward): Likewise.
376 (tanh_test_data): Update call to AUTO_TESTS_f_f.
377 (tgamma_test_data): Likewise.
378 (y0_test_data): Likewise.
379 (y1_test_data): Likewise.
380 (yn_test_data): Update call to AUTO_TESTS_if_f.
381 (main): Do not call removed functions.
382
d71aeee8
JM
3832014-03-19 Joseph Myers <joseph@codesourcery.com>
384
385 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
386 (ldexp_test_data): Remove.
387 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
388 scalbn_test_data.
389 (scalb_test): Use ALL_RM_TEST.
390
baaf1ded
AS
3912014-03-19 Andreas Schwab <schwab@suse.de>
392
393 * nscd/nscd.service: Also invalidate netgroup cache on reload.
394
b1115e91
JM
3952014-03-19 Joseph Myers <joseph@codesourcery.com>
396
397 [BZ #16649]
398 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
399 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
400 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
401 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
402 (__ASSUME_PREADV): Undefine.
403 (__ASSUME_PWRITEV): Likewise.
404
0283ecca
RM
4052014-03-18 Roland McGrath <roland@hack.frob.com>
406
7d375303
RM
407 * bits/mman-linux.h: Add comment about non-Linux use.
408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
409 bits/mman-linux.h resting place.
410
0283ecca
RM
411 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
412 * bits/mman-linux.h: ... here.
413
aebe1003
AZ
4142014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
415
416 * conform/conformtest.pl: Add standard definition when calling C
417 preprocessor on data files.
418 (checknamespace): Remove unused variable.
419
b29b6bb8
JM
4202014-03-18 Joseph Myers <joseph@codesourcery.com>
421
422 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
423 minus_oflow, plus_uflow and minus_uflow in expected results.
424 * math/libm-test.inc (scalbn_test_data): Add more tests of
425 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
426 minus_uflow.
427 (scalbn_test): Use ALL_RM_TEST.
428 (scalbln_test_data): Add more tests of negative arguments. Use
429 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
430 (scalbln_test): Use ALL_RM_TEST.
431
c8f8fa15
RM
4322014-03-18 Roland McGrath <roland@hack.frob.com>
433
434 * scripts/abilist.awk: Ignore symbols marked with .hidden.
435
fede7a5f
WN
4362014-03-18 Will Newton <will.newton@linaro.org>
437
438 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
439 inaccurate comment.
440
80cf0a58
JM
4412014-03-18 Joseph Myers <joseph@codesourcery.com>
442
443 * Makerules [!subdir] (check-abi): Exit with error status if a
444 test failed.
445
b3620862
JM
4462014-03-17 Joseph Myers <joseph@codesourcery.com>
447
448 * math/libm-test.inc (nearbyint_test_data): Include all tests used
449 for rint. Include results for all rounding modes.
450 (nearbyint_test): Use ALL_RM_TEST.
451 (rint_test_data): Include all tests used for nearbyint.
452
788bba36
WN
4532014-03-17 Will Newton <will.newton@linaro.org>
454
04ec140a
WN
455 * nptl/sysdeps/pthread/pthread.h: Revert previous
456 change.
457
7579d8d5
WN
458 * sysdeps/generic/ldsodefs.h: Revert previous
459 change.
460
c15cf13a
WN
461 * libio/genops.c: Revert previous change.
462 * libio/libioP.h: Likewise.
463 * stdio-common/vfprintf.c: Likewise.
464
d0ac1324
WN
465 * sysdeps/generic/math_private.h: Revert previous
466 change.
467
9290130a
WN
468 * sysdeps/generic/math_private.h: Check whether
469 HAVE_RM_CTX is defined with #ifdef rather
470 than #if.
471
afb466fc
WN
472 * argp/argp-fmtstream.h: Check whether
473 __STRICT_ANSI__ is defined with #ifdef rather
474 than #if.
475 * argp/argp.h: Likewise.
476
f7efd7c3
WN
477 * libio/genops.c: Check whether
478 _IO_JUMPS_OFFSET is defined with #ifdef rather
479 than #if.
480 * libio/libioP.h: Likewise.
481 * stdio-common/vfprintf.c: Likewise.
482
53f1bed3
WN
483 * sysdeps/generic/ldsodefs.h: Check whether
484 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
485 than #if.
486
788bba36
WN
487 * nptl/sysdeps/pthread/pthread.h: Check
488 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
489 its value.
490
fcd89ebe
SP
4912014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
492
ae42bbc5
SP
493 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
494 setting O_APPEND.
495 * libio/tst-ftell-active-handler.c (do_append_test): Add a
496 test case.
497
ea33158c
SP
498 [BZ #16680]
499 * libio/fileops.c (_IO_file_open): Seek to end of file but
500 don't cache the offset.
501 (get_file_offset): Remove function.
502 (do_ftell): Use cached offset when available.
503 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
504 don't cache the offset.
505 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
506 case.
507 (do_one_test): Call it.
508 (do_ftell_test): Fix up expected old offset for a+ mode.
509 * libio/wfileops.c (do_ftell_wide): Used cached offset when
510 available.
511
b1dbb426
SP
512 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
513 up test status with function return status.
514 (do_write_test): Likewise.
515 (do_append_test): Likewise.
516
fcd89ebe
SP
517 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
518 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
519 Remove.
520
9962a2d3
JM
5212014-03-17 Joseph Myers <joseph@codesourcery.com>
522
523 * math/gen-libm-test.pl (parse_args): Handle results specified for
524 each rounding mode separately.
525 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
526 tests and results from lrint_tonearest_test_data,
527 lrint_towardzero_test_data, lrint_downward_test_data and
528 lrint_upward_test_data.
529 (lrint_test): Use ALL_RM_TEST.
530 (lrint_tonearest_test_data): Remove.
531 (lrint_test_tonearest): Likewise.
532 (lrint_towardzero_test_data): Likewise.
533 (lrint_test_towardzero): Likewise.
534 (lrint_downward_test_data): Likewise.
535 (lrint_test_downward): Likewise.
536 (lrint_upward_test_data): Likewise.
537 (lrint_test_upward): Likewise.
538 (llrint_test_data): Merge in per-rounding-mode tests and results
539 from llrint_tonearest_test_data, llrint_towardzero_test_data,
540 llrint_downward_test_data and llrint_upward_test_data.
541 (llrint_test): Use ALL_RM_TEST.
542 (llrint_tonearest_test_data): Remove.
543 (llrint_test_tonearest): Likewise.
544 (llrint_towardzero_test_data): Likewise.
545 (llrint_test_towardzero): Likewise.
546 (llrint_downward_test_data): Likewise.
547 (llrint_test_downward): Likewise.
548 (llrint_upward_test_data): Likewise.
549 (llrint_test_upward): Likewise.
550 (rint_test_data): Merge in per-rounding-mode tests and results
551 from rint_tonearest_test_data, rint_towardzero_test_data,
552 rint_downward_test_data and rint_upward_test_data. Add
553 per-rounding-mode results for tests not in those arrays.
554 (rint_test): Use ALL_RM_TEST.
555 (rint_tonearest_test_data): Remove.
556 (rint_test_tonearest): Likewise.
557 (rint_towardzero_test_data): Likewise.
558 (rint_test_towardzero): Likewise.
559 (rint_downward_test_data): Likewise.
560 (rint_test_downward): Likewise.
561 (rint_upward_test_data): Likewise.
562 (rint_test_upward): Likewise.
563 (main): Don't call removed functions.
564
5006148e
RM
5652014-03-14 Roland McGrath <roland@hack.frob.com>
566
567 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
568 "Compiled on ..." crapola. It is anti-useful.
569
d6fe5e58
JM
5702014-03-14 Joseph Myers <joseph@codesourcery.com>
571
572 * scripts/evaluate-test.sh: Handle fourth argument to determine
573 whether test run should stop on failure.
574 * Makeconfig (stop-on-test-failure): New variable.
575 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
576 $(stop-on-test-failure).
577 * Makefile (tests): Give a summary of results from testing and
578 exit with failure status if they include an ERROR or FAIL.
579 (xtests): Likewise.
580 * manual/install.texi (Configuring and compiling): Mention
581 stop-on-test-failure=y.
582 * INSTALL: Regenerated.
583
498a2233
RM
5842014-03-14 Roland McGrath <roland@hack.frob.com>
585
22dbc19d
RM
586 * scripts/versionlist.awk: New file.
587 * Makerules [$(build-shared) = yes]
588 (postclean-generated): Add Versions.def, not Versions.def.v and
589 Versions.def.v.i.
590 ($(common-objpfx)Versions.def.v.i): Target removed.
591 ($(common-objpfx)Versions.def): New target.
592 ($(common-objpfx)Versions.all): Depend on that rather that
593 $(common-objpfx)Versions.def.v.
594 * Versions.def: File removed.
595
498a2233
RM
596 * Makeconfig (+gccwarn): Add -Wundef.
597 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
598 a dl-sysdep.h breaking its contract.
599 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
600 * include/stackinfo.h: New file.
601 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
602 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
603 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
604 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
605 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
606 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
607 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
608 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
609 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
610 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
611 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
612 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
613 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
614 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
615 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
616
c7de5025
AZ
6172014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
618
619 [BZ #16707]
620 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
621 implementation.
622 * math/libm-test.inc (round_test_data): Add more tests.
623
98fb27a3
AZ
6242014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
625
626 [BZ #16706]
627 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
628 implementation.
629 * math/libm-test.inc (nearbyint_test_data): Add more tests.
630
374f7f61
AZ
6312014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632
633 [BZ #16701]
634 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
635 implementation.
636 * math/libm-test.inc (ceil_test_data): Add more tests.
637
4655c291
AZ
6382014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
639
640 * math/libm-test.inc (trunc_test_data): Add more tests related to
641 BZ#16414.
642
d7329d4b
RM
6432014-03-14 Roland McGrath <roland@hack.frob.com>
644
645 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
646 with #if rather than #ifdef.
647 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
648
aa4de9ce
L
6492014-03-14 H.J. Lu <hongjiu.lu@intel.com>
650
651 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
652 first. Disable AVX-512 GCC support if assembler doesn't support
653 it.
654 * sysdeps/x86_64/configure: Regenerated.
655
2e03fae7
CD
6562014-03-13 Carlos O'Donell <carlos@redhat.com>
657
658 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
659 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
660 (__old_pthread_attr_setstack): Likewise.
661 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
662 [!_STACK_GROWS_DOWN]: Likewise.
663
43ca83ec
MF
6642014-03-13 Mike Frysinger <vapier@gentoo.org>
665
666 * config.make.in (have-bash2): Delete.
667 * configure.ac (libc_cv_have_bash2): Delete.
668 * configure: Regenerate.
669 * elf/Makefile (common-ldd-rewrite): Rename to ...
670 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
671 (sh-ldd-rewrite): Delete.
672 (bash-ldd-rewrite): Delete.
673 (have-bash2): Delete checks.
674 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
675
c66e48b4
MF
6762014-03-13 Mike Frysinger <vapier@gentoo.org>
677
678 * config.make.in (have-ksh): Delete.
679 (KSH): Delete.
680 * configure.ac (libc_cv_have_ksh): Delete.
681 * configure: Regenerate.
682
b93834ef
MF
6832014-03-13 Mike Frysinger <vapier@gentoo.org>
684
685 * elf/Makefile: Delete $(have-ksh) check.
686 ($(objpfx)sotruss): Change KSH to BASH.
687 * elf/sotruss.ksh: Rename to ...
688 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
689 function style to match POSIX. Drop ksh vim mode setting.
690
f3a4632a
MF
6912014-03-13 Mike Frysinger <vapier@gentoo.org>
692
693 * manual/time.texi (Specifying the Time Zone with TZ): Change
694 Tuesday to Thursday.
695
5896c8bd
MF
6962014-03-13 Mike Frysinger <vapier@gentoo.org>
697
698 * debug/tst-longjmp_chk2.c: Update header comment.
699 (stackoverflow_handler): Add comment. Call assert on pass value.
700
2d63a517
IZ
7012014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
702
703 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
704 (HAVE_AVX512_ASM_SUPPORT): Likewise.
705 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
706 (La_x86_64_vector): Add zmm.
707 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
708 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
709 ($(objpfx)tst-audit10): New target.
710 ($(objpfx)tst-audit10.out): Likewise.
711 (tst-audit10-ENV): New.
712 (AVX512-CFLAGS): Likewise.
713 (CFLAGS-tst-audit10.c): Likewise.
714 (CFLAGS-tst-auditmod10a.c): Likewise.
715 (CFLAGS-tst-auditmod10b.c): Likewise.
716 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
717 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
718 * sysdeps/x86_64/configure: Regenerated.
719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
720 AVX-512 zmm register support.
721 (_dl_x86_64_save_sse): Likewise.
722 (_dl_x86_64_restore_sse): Likewise.
723 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
724 size vector registers.
725 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
726 (ZMM_SIZE): Likewise.
727 * sysdeps/x86_64/tst-audit10.c: New file.
728 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
729 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
730
44c4e5d5
RM
7312014-03-13 Roland McGrath <roland@hack.frob.com>
732
733 * configure.ac (HAVE_EHDR_START): New check.
734 * configure: Regenerated.
735 * config.h.in (HAVE_EHDR_START): New #undef.
736 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
737 assuming the lowest-addressed segment maps the start of the file.
738
acd6e389
JM
7392014-03-13 Joseph Myers <joseph@codesourcery.com>
740
741 * INSTALL: Regenerated.
742
6f918f36
WN
7432014-03-13 Will Newton <will.newton@linaro.org>
744
745 * manual/setjmp.texi (System V contexts): Improve
746 clarity and grammar of documentation.
747
798212a0
PP
7482014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
749
750 [BZ #16381]
798212a0 751 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 752 (tests-pie): Add tst-pie2.
798212a0
PP
753 * elf/tst-pie2.c: New file.
754 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
755 for ET_EXEC.
756 * elf/rtld.c (map_doit): Load executable as lt_executable.
757 (dl_main): Likewise.
758
abe6d90c
JM
7592014-03-12 Joseph Myers <joseph@codesourcery.com>
760
761 [BZ #16642]
762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
763 (__ASSUME_PSELECT): Undefine.
764
dd3946c6
AZ
7652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
766
767 [BZ #16689]
768 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
769 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
770 static build.
771 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
772 selector for static builds.
773
c44496df
SP
7742014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
775
776 [BZ #16695]
777 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
778 key in the buffer.
779
27c7220a
AZ
7802014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
781
782 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
783 selector for static builds.
784
600fa361
JM
7852014-03-11 Joseph Myers <joseph@codesourcery.com>
786
76c96cf7
JM
787 * sysdeps/mips/math_private.h [__mips_hard_float]
788 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
789 libc_feresetround_mips_ctx.
790 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
791 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
792 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
793
600fa361
JM
794 [BZ #16677]
795 * math/s_nextafter.c (__nextafter): Do not return value from
796 overflowing computation.
797 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
798 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
799 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
800 Likewise.
801 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
802 Likewise.
803 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
804 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
805
d7706c32
RM
8062014-03-11 Roland McGrath <roland@hack.frob.com>
807
808 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
809 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
810 Move sfi_sp use from the load-multiple (that no longer sets sp) to
811 the new mov targetting sp.
812
4facea47
AZ
8132014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
814
815 [BZ #16683]
816 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
817 Define it for static builds as well.
818 (NO_BZERO_IMPL): Likewise.
819
e65caf1f
VR
8202014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
821
822 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
823 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
824 multiarch strspn for PPC64.
825 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
826 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
828 (__libc_ifunc_impl_list): Likewise.
829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
830 multiarch optimizations
831 * string/strspn.c (strspn): Using macro to redefine symbol name.
832
ba9cc071
AZ
8332014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
834 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
835
836 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
837 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
838 multiarch strncat for PPC64.
839 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
840 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
842 (__libc_ifunc_impl_list): Likewise.
843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
844 multiarch optimizations
845
8b4ff974
SP
8462014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
847
848 [BZ #16639]
849 * nscd/nscd.service: Make service type forking.
850
54b46a4b
AZ
8512014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852
853 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
854 sign in non default rounding modes.
855 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
856
e9996ef7
JM
8572014-03-08 Joseph Myers <joseph@codesourcery.com>
858
859 * math/libm-test.inc (ALL_RM_TEST): New macro.
860 (ceil_test): Use ALL_RM_TEST.
861 (cimag_test): Likewise.
862 (conj_test): Likewise.
863 (copysign_test): Likewise.
864 (cproj_test): Likewise.
865 (creal_test): Likewise.
866 (fabs_test): Likewise.
867 (floor_test): Likewise.
868 (fmax_test): Likewise.
869 (fmin_test): Likewise.
870 (fmod_test): Likewise.
871 (fpclassify_test): Likewise.
872 (frexp_test): Likewise.
873 (ilogb_test): Likewise.
874 (isfinite_test): Likewise.
875 (finite_test): Likewise.
876 (isgreater_test): Likewise.
877 (isgreaterequal_test): Likewise.
878 (isinf_test): Likewise.
879 (isless_test): Likewise.
880 (islessequal_test): Likewise.
881 (islessgreater_test): Likewise.
882 (isnan_test): Likewise.
883 (isnormal_test): Likewise.
884 (issignaling_test): Likewise.
885 (isunordered_test): Likewise.
886 (logb_test): Likewise.
887 (logb_downward_test_data): Remove.
888 (logb_test_downward): Likewise.
889 (lround_test): Use ALL_RM_TEST.
890 (llround_test): Likewise.
891 (modf_test): Likewise.
892 (nexttoward_test): Likewise.
893 (remainder_test): Likewise.
894 (drem_test): Likewise.
895 (remainder_tonearest_test_data): Likewise.
896 (remainder_test_tonearest): Likewise.
897 (drem_test_tonearest): Likewise.
898 (remainder_towardzero_test_data): Likewise.
899 (remainder_test_towardzero): Likewise.
900 (drem_test_towardzero): Likewise.
901 (remainder_downward_test_data): Likewise.
902 (remainder_test_downward): Likewise.
903 (drem_test_downward): Likewise.
904 (remainder_upward_test_data): Likewise.
905 (remainder_test_upward): Likewise.
906 (drem_test_upward): Likewise.
907 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
908 (round_test): Use ALL_RM_TEST.
909 (signbit_test): Likewise.
910 (trunc_test): Likewise.
911 (significand_test): Likewise.
912 (main): Don't call removed functions.
913
bc61d27c
JM
9142014-03-07 Joseph Myers <joseph@codesourcery.com>
915
5c780849
JM
916 [BZ #16674]
917 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
918 || __USE_XOPEN2K8].
919 (ILL_ILLOPN): Likewise.
920 (ILL_ILLADR): Likewise.
921 (ILL_ILLTRP): Likewise.
922 (ILL_PRVOPC): Likewise.
923 (ILL_PRVREG): Likewise.
924 (ILL_COPROC): Likewise.
925 (ILL_BADSTK): Likewise.
926 (FPE_INTDIV): Likewise.
927 (FPE_INTOVF): Likewise.
928 (FPE_FLTDIV): Likewise.
929 (FPE_FLTOVF): Likewise.
930 (FPE_FLTUND): Likewise.
931 (FPE_FLTRES): Likewise.
932 (FPE_FLTINV): Likewise.
933 (FPE_FLTSUB): Likewise.
934 (SEGV_MAPERR): Likewise.
935 (SEGV_ACCERR): Likewise.
936 (BUS_ADRALN): Likewise.
937 (BUS_ADRERR): Likewise.
938 (BUS_OBJERR): Likewise.
939 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
940 (TRAP_TRACE): Likewise.
941 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
942 __USE_XOPEN2K8].
943 (CLD_KILLED): Likewise.
944 (CLD_DUMPED): Likewise.
945 (CLD_TRAPPED): Likewise.
946 (CLD_STOPPED): Likewise.
947 (CLD_CONTINUED): Likewise.
948 (POLL_IN): Likewise.
949 (POLL_OUT): Likewise.
950 (POLL_MSG): Likewise.
951 (POLL_ERR): Likewise.
952 (POLL_PRI): Likewise.
953 (POLL_HUP): Likewise.
954 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
955 Likewise.
956 (ILL_ILLOPN): Likewise.
957 (ILL_ILLADR): Likewise.
958 (ILL_ILLTRP): Likewise.
959 (ILL_PRVOPC): Likewise.
960 (ILL_PRVREG): Likewise.
961 (ILL_COPROC): Likewise.
962 (ILL_BADSTK): Likewise.
963 (FPE_INTDIV): Likewise.
964 (FPE_INTOVF): Likewise.
965 (FPE_FLTDIV): Likewise.
966 (FPE_FLTOVF): Likewise.
967 (FPE_FLTUND): Likewise.
968 (FPE_FLTRES): Likewise.
969 (FPE_FLTINV): Likewise.
970 (FPE_FLTSUB): Likewise.
971 (SEGV_MAPERR): Likewise.
972 (SEGV_ACCERR): Likewise.
973 (BUS_ADRALN): Likewise.
974 (BUS_ADRERR): Likewise.
975 (BUS_OBJERR): Likewise.
976 (BUS_MCEERR_AR): Likewise.
977 (BUS_MCEERR_AO): Likewise.
978 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
979 (TRAP_TRACE): Likewise.
980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
981 __USE_XOPEN2K8].
982 (CLD_KILLED): Likewise.
983 (CLD_DUMPED): Likewise.
984 (CLD_TRAPPED): Likewise.
985 (CLD_STOPPED): Likewise.
986 (CLD_CONTINUED): Likewise.
987 (POLL_IN): Likewise.
988 (POLL_OUT): Likewise.
989 (POLL_MSG): Likewise.
990 (POLL_ERR): Likewise.
991 (POLL_PRI): Likewise.
992 (POLL_HUP): Likewise.
993 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
994 (ILL_ILLOPN): Likewise.
995 (ILL_ILLADR): Likewise.
996 (ILL_ILLTRP): Likewise.
997 (ILL_PRVOPC): Likewise.
998 (ILL_PRVREG): Likewise.
999 (ILL_COPROC): Likewise.
1000 (ILL_BADSTK): Likewise.
1001 (FPE_INTDIV): Likewise.
1002 (FPE_INTOVF): Likewise.
1003 (FPE_FLTDIV): Likewise.
1004 (FPE_FLTOVF): Likewise.
1005 (FPE_FLTUND): Likewise.
1006 (FPE_FLTRES): Likewise.
1007 (FPE_FLTINV): Likewise.
1008 (FPE_FLTSUB): Likewise.
1009 (SEGV_MAPERR): Likewise.
1010 (SEGV_ACCERR): Likewise.
1011 (BUS_ADRALN): Likewise.
1012 (BUS_ADRERR): Likewise.
1013 (BUS_OBJERR): Likewise.
1014 (BUS_MCEERR_AR): Likewise.
1015 (BUS_MCEERR_AO): Likewise.
1016 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1017 (TRAP_TRACE): Likewise.
1018 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1019 __USE_XOPEN2K8].
1020 (CLD_KILLED): Likewise.
1021 (CLD_DUMPED): Likewise.
1022 (CLD_TRAPPED): Likewise.
1023 (CLD_STOPPED): Likewise.
1024 (CLD_CONTINUED): Likewise.
1025 (POLL_IN): Likewise.
1026 (POLL_OUT): Likewise.
1027 (POLL_MSG): Likewise.
1028 (POLL_ERR): Likewise.
1029 (POLL_PRI): Likewise.
1030 (POLL_HUP): Likewise.
1031 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1032 Likewise.
1033 (ILL_ILLOPN): Likewise.
1034 (ILL_ILLADR): Likewise.
1035 (ILL_ILLTRP): Likewise.
1036 (ILL_PRVOPC): Likewise.
1037 (ILL_PRVREG): Likewise.
1038 (ILL_COPROC): Likewise.
1039 (ILL_BADSTK): Likewise.
1040 (ILL_BADIADDR): Likewise.
1041 (ILL_BREAK): Likewise.
1042 (FPE_INTDIV): Likewise.
1043 (FPE_INTOVF): Likewise.
1044 (FPE_FLTDIV): Likewise.
1045 (FPE_FLTOVF): Likewise.
1046 (FPE_FLTUND): Likewise.
1047 (FPE_FLTRES): Likewise.
1048 (FPE_FLTINV): Likewise.
1049 (FPE_FLTSUB): Likewise.
1050 (FPE_DECOVF): Likewise.
1051 (FPE_DECDIV): Likewise.
1052 (FPE_DECERR): Likewise.
1053 (FPE_INVASC): Likewise.
1054 (FPE_INVDEC): Likewise.
1055 (SEGV_MAPERR): Likewise.
1056 (SEGV_ACCERR): Likewise.
1057 (SEGV_PSTKOVF): Likewise.
1058 (BUS_ADRALN): Likewise.
1059 (BUS_ADRERR): Likewise.
1060 (BUS_OBJERR): Likewise.
1061 (BUS_MCEERR_AR): Likewise.
1062 (BUS_MCEERR_AO): Likewise.
1063 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1064 (TRAP_TRACE): Likewise.
1065 (TRAP_BRANCH): Likewise.
1066 (TRAP_HWBKPT): Likewise.
1067 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1068 __USE_XOPEN2K8].
1069 (CLD_KILLED): Likewise.
1070 (CLD_DUMPED): Likewise.
1071 (CLD_TRAPPED): Likewise.
1072 (CLD_STOPPED): Likewise.
1073 (CLD_CONTINUED): Likewise.
1074 (POLL_IN): Likewise.
1075 (POLL_OUT): Likewise.
1076 (POLL_MSG): Likewise.
1077 (POLL_ERR): Likewise.
1078 (POLL_PRI): Likewise.
1079 (POLL_HUP): Likewise.
1080 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1081 (ILL_ILLOPN): Likewise.
1082 (ILL_ILLADR): Likewise.
1083 (ILL_ILLTRP): Likewise.
1084 (ILL_PRVOPC): Likewise.
1085 (ILL_PRVREG): Likewise.
1086 (ILL_COPROC): Likewise.
1087 (ILL_BADSTK): Likewise.
1088 (FPE_INTDIV): Likewise.
1089 (FPE_INTOVF): Likewise.
1090 (FPE_FLTDIV): Likewise.
1091 (FPE_FLTOVF): Likewise.
1092 (FPE_FLTUND): Likewise.
1093 (FPE_FLTRES): Likewise.
1094 (FPE_FLTINV): Likewise.
1095 (FPE_FLTSUB): Likewise.
1096 (SEGV_MAPERR): Likewise.
1097 (SEGV_ACCERR): Likewise.
1098 (BUS_ADRALN): Likewise.
1099 (BUS_ADRERR): Likewise.
1100 (BUS_OBJERR): Likewise.
1101 (BUS_MCEERR_AR): Likewise.
1102 (BUS_MCEERR_AO): Likewise.
1103 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1104 (TRAP_TRACE): Likewise.
1105 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1106 __USE_XOPEN2K8].
1107 (CLD_KILLED): Likewise.
1108 (CLD_DUMPED): Likewise.
1109 (CLD_TRAPPED): Likewise.
1110 (CLD_STOPPED): Likewise.
1111 (CLD_CONTINUED): Likewise.
1112 (POLL_IN): Likewise.
1113 (POLL_OUT): Likewise.
1114 (POLL_MSG): Likewise.
1115 (POLL_ERR): Likewise.
1116 (POLL_PRI): Likewise.
1117 (POLL_HUP): Likewise.
1118 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1119 (ILL_ILLOPN): Likewise.
1120 (ILL_ILLADR): Likewise.
1121 (ILL_ILLTRP): Likewise.
1122 (ILL_PRVOPC): Likewise.
1123 (ILL_PRVREG): Likewise.
1124 (ILL_COPROC): Likewise.
1125 (ILL_BADSTK): Likewise.
1126 (FPE_INTDIV): Likewise.
1127 (FPE_INTOVF): Likewise.
1128 (FPE_FLTDIV): Likewise.
1129 (FPE_FLTOVF): Likewise.
1130 (FPE_FLTUND): Likewise.
1131 (FPE_FLTRES): Likewise.
1132 (FPE_FLTINV): Likewise.
1133 (FPE_FLTSUB): Likewise.
1134 (SEGV_MAPERR): Likewise.
1135 (SEGV_ACCERR): Likewise.
1136 (BUS_ADRALN): Likewise.
1137 (BUS_ADRERR): Likewise.
1138 (BUS_OBJERR): Likewise.
1139 (BUS_MCEERR_AR): Likewise.
1140 (BUS_MCEERR_AO): Likewise.
1141 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1142 (TRAP_TRACE): Likewise.
1143 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1144 __USE_XOPEN2K8].
1145 (CLD_KILLED): Likewise.
1146 (CLD_DUMPED): Likewise.
1147 (CLD_TRAPPED): Likewise.
1148 (CLD_STOPPED): Likewise.
1149 (CLD_CONTINUED): Likewise.
1150 (POLL_IN): Likewise.
1151 (POLL_OUT): Likewise.
1152 (POLL_MSG): Likewise.
1153 (POLL_ERR): Likewise.
1154 (POLL_PRI): Likewise.
1155 (POLL_HUP): Likewise.
1156 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1157 (ILL_ILLOPN): Likewise.
1158 (ILL_ILLADR): Likewise.
1159 (ILL_ILLTRP): Likewise.
1160 (ILL_PRVOPC): Likewise.
1161 (ILL_PRVREG): Likewise.
1162 (ILL_COPROC): Likewise.
1163 (ILL_BADSTK): Likewise.
1164 (FPE_INTDIV): Likewise.
1165 (FPE_INTOVF): Likewise.
1166 (FPE_FLTDIV): Likewise.
1167 (FPE_FLTOVF): Likewise.
1168 (FPE_FLTUND): Likewise.
1169 (FPE_FLTRES): Likewise.
1170 (FPE_FLTINV): Likewise.
1171 (FPE_FLTSUB): Likewise.
1172 (SEGV_MAPERR): Likewise.
1173 (SEGV_ACCERR): Likewise.
1174 (BUS_ADRALN): Likewise.
1175 (BUS_ADRERR): Likewise.
1176 (BUS_OBJERR): Likewise.
1177 (BUS_MCEERR_AR): Likewise.
1178 (BUS_MCEERR_AO): Likewise.
1179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1180 (TRAP_TRACE): Likewise.
1181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1182 __USE_XOPEN2K8].
1183 (CLD_KILLED): Likewise.
1184 (CLD_DUMPED): Likewise.
1185 (CLD_TRAPPED): Likewise.
1186 (CLD_STOPPED): Likewise.
1187 (CLD_CONTINUED): Likewise.
1188 (POLL_IN): Likewise.
1189 (POLL_OUT): Likewise.
1190 (POLL_MSG): Likewise.
1191 (POLL_ERR): Likewise.
1192 (POLL_PRI): Likewise.
1193 (POLL_HUP): Likewise.
1194 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1195 (ILL_ILLOPN): Likewise.
1196 (ILL_ILLADR): Likewise.
1197 (ILL_ILLTRP): Likewise.
1198 (ILL_PRVOPC): Likewise.
1199 (ILL_PRVREG): Likewise.
1200 (ILL_COPROC): Likewise.
1201 (ILL_BADSTK): Likewise.
1202 (ILL_DBLFLT): Likewise.
1203 (ILL_HARDWALL): Likewise.
1204 (FPE_INTDIV): Likewise.
1205 (FPE_INTOVF): Likewise.
1206 (FPE_FLTDIV): Likewise.
1207 (FPE_FLTOVF): Likewise.
1208 (FPE_FLTUND): Likewise.
1209 (FPE_FLTRES): Likewise.
1210 (FPE_FLTINV): Likewise.
1211 (FPE_FLTSUB): Likewise.
1212 (SEGV_MAPERR): Likewise.
1213 (SEGV_ACCERR): Likewise.
1214 (BUS_ADRALN): Likewise.
1215 (BUS_ADRERR): Likewise.
1216 (BUS_OBJERR): Likewise.
1217 (BUS_MCEERR_AR): Likewise.
1218 (BUS_MCEERR_AO): Likewise.
1219 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1220 (TRAP_TRACE): Likewise.
1221 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1222 __USE_XOPEN2K8].
1223 (CLD_KILLED): Likewise.
1224 (CLD_DUMPED): Likewise.
1225 (CLD_TRAPPED): Likewise.
1226 (CLD_STOPPED): Likewise.
1227 (CLD_CONTINUED): Likewise.
1228 (POLL_IN): Likewise.
1229 (POLL_OUT): Likewise.
1230 (POLL_MSG): Likewise.
1231 (POLL_ERR): Likewise.
1232 (POLL_PRI): Likewise.
1233 (POLL_HUP): Likewise.
1234 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1235 (ILL_ILLOPN): Likewise.
1236 (ILL_ILLADR): Likewise.
1237 (ILL_ILLTRP): Likewise.
1238 (ILL_PRVOPC): Likewise.
1239 (ILL_PRVREG): Likewise.
1240 (ILL_COPROC): Likewise.
1241 (ILL_BADSTK): Likewise.
1242 (FPE_INTDIV): Likewise.
1243 (FPE_INTOVF): Likewise.
1244 (FPE_FLTDIV): Likewise.
1245 (FPE_FLTOVF): Likewise.
1246 (FPE_FLTUND): Likewise.
1247 (FPE_FLTRES): Likewise.
1248 (FPE_FLTINV): Likewise.
1249 (FPE_FLTSUB): Likewise.
1250 (SEGV_MAPERR): Likewise.
1251 (SEGV_ACCERR): Likewise.
1252 (BUS_ADRALN): Likewise.
1253 (BUS_ADRERR): Likewise.
1254 (BUS_OBJERR): Likewise.
1255 (BUS_MCEERR_AR): Likewise.
1256 (BUS_MCEERR_AO): Likewise.
1257 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1258 (TRAP_TRACE): Likewise.
1259 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1260 __USE_XOPEN2K8].
1261 (CLD_KILLED): Likewise.
1262 (CLD_DUMPED): Likewise.
1263 (CLD_TRAPPED): Likewise.
1264 (CLD_STOPPED): Likewise.
1265 (CLD_CONTINUED): Likewise.
1266 (POLL_IN): Likewise.
1267 (POLL_OUT): Likewise.
1268 (POLL_MSG): Likewise.
1269 (POLL_ERR): Likewise.
1270 (POLL_PRI): Likewise.
1271 (POLL_HUP): Likewise.
1272 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1273 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1274
bc61d27c
JM
1275 [BZ #16670]
1276 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1277 before #include of <time.h>.
1278 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1279 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1280 (test-xfail-UNIX98/sched.h/conform): Likewise.
1281
302949e2
MS
12822014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1283
1284 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1285 error absence of trapping exception support.
1286 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1287
a00f522a
JM
12882014-03-07 Joseph Myers <joseph@codesourcery.com>
1289
6f99f280
JM
1290 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1291 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1292 * timezone/Makefile (testdata): Move definition above include of
1293 Rules.
1294 (test-zones): New variable.
1295 (tests-special): Add zone files.
1296 (build-testdata): Use $(evaluate-test).
1297
0b20a9e8
JM
1298 * elf/Makefile (tests-special): Rename tests to end with .out.
1299 ($(objpfx)noload-mem): Likewise.
1300 ($(objpfx)tst-leaks1-mem): Likewise.
1301 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1302 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1303 $(objpfx)test-iconvconfig.out.
1304 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1305 set -e inside subshell and redirect output to file.
1306 * iconvdata/Makefile (generated): Rename tests to end with .out.
1307 Correct type.
1308 (tests-special): Rename tests to end with .out.
1309 ($(objpfx)mtrace-tst-loading): Likewise.
1310 * intl/Makefile (generated): Likewise.
1311 (tests-special): Likewise.
1312 ($(objpfx)mtrace-tst-gettext): Likewise.
1313 * misc/Makefile (generated): Likewise.
1314 (tests-special): Likewise.
1315 ($(objpfx)tst-error1-mem): Likewise.
1316 * nptl/Makefile (tests-special): Likewise.
1317 ($(objpfx)tst-stack3-mem): Likewise.
1318 (generated): Likewise.
1319 * posix/Makefile (generated): Likewise.
1320 (tests-special): Likewise.
1321 (xtests-special): Likewise.
1322 ($(objpfx)tst-fnmatch-mem): Likewise.
1323 ($(objpfx)bug-regex2-mem): Likewise.
1324 ($(objpfx)bug-regex14-mem): Likewise.
1325 ($(objpfx)bug-regex21-mem): Likewise.
1326 ($(objpfx)bug-regex31-mem): Likewise.
1327 ($(objpfx)tst-vfork3-mem): Likewise.
1328 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1329 ($(objpfx)tst-pcre-mem): Likewise.
1330 ($(objpfx)tst-boost-mem): Likewise.
1331 ($(objpfx)bug-ga2-mem): Likewise.
1332 ($(objpfx)bug-glob2-mem): Likewise.
1333 * resolv/Makefile (generate): Likewise.
1334 (tests-special): Likewise.
1335 (xtests-special): Likewise.
1336 (generated): Likewise.
1337 ($(objpfx)mtrace-tst-leaks): Likewise.
1338 ($(objpfx)mtrace-tst-leaks2): Likewise.
1339
265d52ab
JM
1340 * scripts/merge-test-results.sh: New file.
1341 * Makefile (tests-special-notdir): New variable.
1342 (tests): Run merge-test-results.sh.
1343 (xtests): Likewise.
1344 * Rules (tests-special-notdir): New variable.
1345 (xtests-special-notdir): Likewise.
1346 (tests): Run merge-test-results.sh
1347 (xtests): Likewise.
1348
54ee292d
JM
1349 * Makeconfig (test-xfail-name): New variable.
1350 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1351 compute variable name for expected failures.
1352 * conform/Makefile (conformtest-headers-data): New variable.
1353 (conformtest-standards): Likewise.
1354 (conformtest-headers-ISO): Likewise.
1355 (conformtest-headers-ISO99): Likewise.
1356 (conformtest-headers-ISO11): Likewise.
1357 (conformtest-headers-POSIX): Likewise.
1358 (conformtest-headers-XPG3): Likewise.
1359 (conformtest-headers-XPG4): Likewise.
1360 (conformtest-headers-UNIX98): Likewise.
1361 (conformtest-headers-XOPEN2K): Likewise.
1362 (conformtest-headers-POSIX2008): Likewise.
1363 (conformtest-headers-XOPEN2K8): Likewise.
1364 (conformtest-header-list-base): Likewise.
1365 (conformtest-header-list-tests): Likewise.
1366 (conformtest-header-base): Likewise.
1367 (conformtest-header-tests): Likewise.
1368 (tests-special): Add $(conformtest-header-list-tests). If
1369 [$(fast-check) && !$(cross-compiling)], add
1370 $(conformtest-header-tests) instead of
1371 $(objpfx)run-conformtest.out.
1372 (generated): Add $(conformtest-header-list-base). If
1373 [$(fast-check) && !$(cross-compiling)], add
1374 $(conformtest-header-base). Remove previous setting.
1375 ($(conformtest-header-list-tests)): New target.
1376 (test-xfail-run-conformtest): Remove variable.
1377 ($(objpfx)run-conformtest.out): Remove target.
1378 (test-xfail-ISO11/complex.h/conform): New variable.
1379 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1380 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1381 (test-xfail-XPG3/varargs.h/conform): Likewise.
1382 (test-xfail-XPG4/varargs.h/conform): Likewise.
1383 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1384 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1385 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1386 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1387 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1388 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1389 (test-xfail-XPG3/ftw.h/conform): Likewise.
1390 (test-xfail-XPG3/grp.h/conform): Likewise.
1391 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1392 (test-xfail-XPG3/limits.h/conform): Likewise.
1393 (test-xfail-XPG3/pwd.h/conform): Likewise.
1394 (test-xfail-XPG3/search.h/conform): Likewise.
1395 (test-xfail-XPG3/signal.h/conform): Likewise.
1396 (test-xfail-XPG3/stdio.h/conform): Likewise.
1397 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1398 (test-xfail-XPG3/string.h/conform): Likewise.
1399 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1400 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1401 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1402 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1403 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1404 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1405 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1406 (test-xfail-XPG3/termios.h/conform): Likewise.
1407 (test-xfail-XPG3/time.h/conform): Likewise.
1408 (test-xfail-XPG3/unistd.h/conform): Likewise.
1409 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1410 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1411 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1412 (test-xfail-XPG4/netdb.h/conform): Likewise.
1413 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1414 (test-xfail-XPG4/signal.h/conform): Likewise.
1415 (test-xfail-XPG4/stdio.h/conform): Likewise.
1416 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1417 (test-xfail-XPG4/stropts.h/conform): Likewise.
1418 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1419 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1420 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1421 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1422 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1423 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1424 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1425 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1426 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1427 (test-xfail-XPG4/termios.h/conform): Likewise.
1428 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1429 (test-xfail-XPG4/unistd.h/conform): Likewise.
1430 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1431 (test-xfail-POSIX/sched.h/conform): Likewise.
1432 (test-xfail-POSIX/signal.h/conform): Likewise.
1433 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1434 (test-xfail-POSIX/tar.h/conform): Likewise.
1435 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1436 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1437 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1438 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1439 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1440 (test-xfail-UNIX98/sched.h/conform): Likewise.
1441 (test-xfail-UNIX98/signal.h/conform): Likewise.
1442 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1443 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1444 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1445 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1446 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1447 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1448 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1449 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1450 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1451 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1452 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1453 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1454 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1455 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1456 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1457 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1458 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1459 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1460 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1461 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1462 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1463 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1464 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1465 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1466 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1467 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1468 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1469 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1470 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1471 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1472 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1473 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1474 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1475 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1476 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1477 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1478 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1479 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1480 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1481 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1482 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1483 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1484 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1485 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1486 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1487 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1488 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1489 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1490 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1491 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1492 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1493 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1494 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1495 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1496 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1497 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1498 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1499 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1500 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1501 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1502 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1503 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1504 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1505 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1506 (conformtest-cc-flags): Likewise.
1507 ($(conformtest-header-tests): New target.
1508 * conform/check-header-lists.sh: New file.
1509 * conform/run-conformtest.sh: Remove.
1510
a00f522a
JM
1511 * conform/conformtest.pl: Allow ' and \ in values given for
1512 constants.
1513 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1514 inclusion.
1515 [POSIX] (sys/types.h): Likewise.
1516 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1517 inclusion.
1518 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1519 inclusion.
1520 * conform/data/signal.h-data (SIGIO): Remove expectation.
1521 [XPG3] (SIGBUS): Do not expect.
1522 [POSIX || XPG3] (SIGPOLL): Likewise.
1523 [POSIX || XPG3] (SIGPROF): Likewise.
1524 [POSIX || XPG3] (SIGSYS): Likewise.
1525 [XPG3] (SIGTRAP): Likewise.
1526 [POSIX || XPG3] (SIGURG): Likewise.
1527 [POSIX || XPG3] (SIGVTALRM): Likewise.
1528 [POSIX || XPG3] (SIGXCPU): Likewise.
1529 [POSIX || XPG3] (SIGXFSZ): Likewise.
1530 [POSIX] (SA_SIGINFO): Expect.
1531 [XPG3] (siginfo_t): Do not expect type or contents.
1532 [POSIX] (si_pid): Do not expect element.
1533 [POSIX] (si_uid): Likewise.
1534 [POSIX] (si_addr): Likewise.
1535 [POSIX] (si_status): Likewise.
1536 [POSIX] (si_band): Likewise.
1537 [XPG4] (si_value): Likewise.
1538 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1539 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1540 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1541 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1542 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1543 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1544 [POSIX || XPG3] (ILL_COPROC): Likewise.
1545 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1546 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1547 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1548 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1549 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1550 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1551 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1552 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1553 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1554 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1555 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1556 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1557 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1558 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1559 [POSIX || XPG3] (CLD_EXITED): Likewise.
1560 [POSIX || XPG3] (CLD_KILLED): Likewise.
1561 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1562 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1563 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1564 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1565 [POSIX || XPG3] (POLL_IN): Likewise.
1566 [POSIX || XPG3] (POLL_OUT): Likewise.
1567 [POSIX || XPG3] (POLL_MSG): Likewise.
1568 [POSIX || XPG3] (POLL_ERR): Likewise.
1569 [POSIX || XPG3] (POLL_PRI): Likewise.
1570 [POSIX || XPG3] (POLL_HUP): Likewise.
1571 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1572 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1573 (SIG*): Do not allow.
1574 [XPG3] (si_*): Likewise.
1575 [XPG3] (SI_*): Likewise.
1576 [XPG3 || XPG4] (sigev_*): Likewise.
1577 [XPG3 || XPG4] (SIGEV_*): Likewise.
1578 [XPG3 || XPG4] (sival_*): Likewise.
1579 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1580 [POSIX || XPG3] (BUS_*): Likewise.
1581 [POSIX || XPG3] (CLD_*): Likewise.
1582 [POSIX || XPG3] (FPE_*): Likewise.
1583 [POSIX || XPG3] (ILL_*): Likewise.
1584 [POSIX || XPG3] (POLL_*): Likewise.
1585 [POSIX || XPG3] (SEGV_*): Likewise.
1586 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1587 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1588 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1589 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1590 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1591 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1592 Specify type and value.
1593 (TVERSLEN): Likewise.
1594 (REGTYPE): Likewise.
1595 (AREGTYPE): Likewise.
1596 (LNKTYPE): Likewise.
1597 (SYMTYPE): Likewise.
1598 (CHRTYPE): Likewise.
1599 (BLKTYPE): Likewise.
1600 (DIRTYPE): Likewise.
1601 (FIFOTYPE): Likewise.
1602 (CONTTYPE): Likewise.
1603 (TSUID): Likewise.
1604 (TSGID): Likewise.
1605 (TSVTX): Likewise.
1606 (TUREAD): Likewise.
1607 (TUWRITE): Likewise.
1608 (TUEXEC): Likewise.
1609 (TGREAD): Likewise.
1610 (TGWRITE): Likewise.
1611 (TGEXEC): Likewise.
1612 (TOREAD): Likewise.
1613 (TOWRITE): Likewise.
1614 (TOEXEC): Likewise.
1615 [POSIX] (TSVTX): Expect constant.
1616
aa97dee1
JM
16172014-03-06 Joseph Myers <joseph@codesourcery.com>
1618
f214606a
JM
1619 * Makefile (tests): Change dependencies to ....
1620 (tests-special): ... additions to this variable.
1621 (tests): Depend on $(tests-special).
1622 * Makerules (check-abi-list): New variable.
1623 (check-abi): Depend on $(check-abi-list).
1624 [$(subdir) = elf] (tests-special): Add
1625 $(objpfx)check-abi-libc.out.
1626 [$(build-shared) = yes && subdir] (tests-special): Add
1627 $(check-abi-list).
1628 [$(build-shared) = yes && subdir] (tests): Do not depend on
1629 check-abi.
1630 * Rules (tests): Depend on $(tests-special).
1631 (xtests): Depend on $(xtests-special).
1632 * catgets/Makefile (tests): Change dependencies to ....
1633 (tests-special): ... additions to this variable.
1634 * conform/Makefile (tests): Change dependencies to ....
1635 (tests-special): ... additions to this variable.
1636 * elf/Makefile (tests): Change dependencies to ....
1637 (tests-special): ... additions to this variable.
1638 * grp/Makefile (tests): Change dependencies to ....
1639 (tests-special): ... additions to this variable.
1640 * iconv/Makefile (xtests): Change dependencies to ....
1641 (xtests-special): ... additions to this variable.
1642 * iconvdata/Makefile (tests): Change dependencies to ....
1643 (tests-special): ... additions to this variable.
1644 * intl/Makefile (tests): Change dependencies to ....
1645 (tests-special): ... additions to this variable. Also add
1646 $(objpfx)tst-gettext.out.
1647 * io/Makefile (tests): Change dependencies to ....
1648 (tests-special): ... additions to this variable.
1649 * libio/Makefile (tests): Change dependencies to ....
1650 (tests-special): ... additions to this variable.
1651 * malloc/Makefile (tests): Change dependencies to ....
1652 (tests-special): ... additions to this variable.
1653 * misc/Makefile (tests): Change dependencies to ....
1654 (tests-special): ... additions to this variable.
1655 * nptl/Makefile (tests): Change dependencies to ....
1656 (tests-special): ... additions to this variable.
1657 * nptl_db/Makefile (tests): Change dependencies to ....
1658 (tests-special): ... additions to this variable.
1659 * posix/Makefile (tests): Change dependencies to ....
1660 (tests-special): ... additions to this variable.
1661 (xtests): Change dependencies to ....
1662 (xtests-special): ... additions to this variable.
1663 * resolv/Makefile (tests): Change dependencies to ....
1664 (tests-special): ... additions to this variable.
1665 (xtests): Change dependencies to ....
1666 (xtests-special): ... additions to this variable.
1667 * stdio-common/Makefile (tests): Change dependencies to ....
1668 (tests-special): ... additions to this variable.
1669 (do-tst-unbputc): Remove target.
1670 (do-tst-printf): Likewise.
1671 * stdlib/Makefile (tests): Change dependencies to ....
1672 (tests-special): ... additions to this variable.
1673 * string/Makefile (tests): Change dependencies to ....
1674 (tests-special): ... additions to this variable.
1675 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1676 (tests-special): ... additions to this variable.
1677
81700b53
JM
1678 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1679 whole file.
1680 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1681 whole file.
1682 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1683 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1684
2ea18461
JM
1685 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1686 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1687 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1688 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1689 * conform/data/libgen.h-data [XPG3]: Likewise.
1690 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1691 * conform/data/ndbm.h-data [XPG3]: Likewise.
1692 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1693 * conform/data/netdb.h-data [XPG3]: Likewise.
1694 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1695 * conform/data/poll.h-data [XPG3]: Likewise.
1696 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1697 * conform/data/strings.h-data [XPG3]: Likewise.
1698 * conform/data/stropts.h-data [XPG3]: Likewise.
1699 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1700 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1701 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1702 Likewise.
1703 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1704 * conform/data/sys/time.h-data [XPG3]: Likewise.
1705 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1706 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1707 * conform/data/sys/un.h-data [XPG3]: Likewise.
1708 * conform/data/syslog.h-data [XPG3]: Likewise.
1709 * conform/data/ucontext.h-data [XPG3]: Likewise.
1710 * conform/data/utmpx.h-data [XPG3]: Likewise.
1711 * conform/data/varargs.h-data [UNIX98]: Enable file.
1712
355bc986
JM
1713 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1714
215db402
JM
1715 * math/libm-test.inc (struct test_f_f_data): Move expected results
1716 into structure for each rounding mode.
1717 (struct test_ff_f_data): Likewise.
1718 (struct test_ff_f_data_nexttoward): Likewise.
1719 (struct test_fi_f_data): Likewise.
1720 (struct test_fl_f_data): Likewise.
1721 (struct test_if_f_data): Likewise.
1722 (struct test_fff_f_data): Likewise.
1723 (struct test_c_f_data): Likewise.
1724 (struct test_f_f1_data): Likewise.
1725 (struct test_fF_f1_data): Likewise.
1726 (struct test_ffI_f1_data): Likewise.
1727 (struct test_c_c_data): Likewise.
1728 (struct test_cc_c_data): Likewise.
1729 (struct test_f_i_data): Likewise.
1730 (struct test_ff_i_data): Likewise.
1731 (struct test_f_l_data): Likewise.
1732 (struct test_f_L_data): Likewise.
1733 (struct test_fFF_11_data): Likewise.
1734 (RM_): New macro.
1735 (RM_FE_DOWNWARD): Likewise.
1736 (RM_FE_TONEAREST): Likewise.
1737 (RM_FE_TOWARDZERO): Likewise.
1738 (RM_FE_UPWARD): Likewise.
1739 (RUN_TEST_LOOP_f_f): Update references to expected results.
1740 (RUN_TEST_LOOP_2_f): Likewise.
1741 (RUN_TEST_LOOP_fff_f): Likewise.
1742 (RUN_TEST_LOOP_c_f): Likewise.
1743 (RUN_TEST_LOOP_f_f1): Likewise.
1744 (RUN_TEST_LOOP_fF_f1): Likewise.
1745 (RUN_TEST_LOOP_fI_f1): Likewise.
1746 (RUN_TEST_LOOP_ffI_f1): Likewise.
1747 (RUN_TEST_LOOP_c_c): Likewise.
1748 (RUN_TEST_LOOP_cc_c): Likewise.
1749 (RUN_TEST_LOOP_f_i): Likewise.
1750 (RUN_TEST_LOOP_f_i_tg): Likewise.
1751 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1752 (RUN_TEST_LOOP_f_b): Likewise.
1753 (RUN_TEST_LOOP_f_b_tg): Likewise.
1754 (RUN_TEST_LOOP_f_l): Likewise.
1755 (RUN_TEST_LOOP_f_L): Likewise.
1756 (RUN_TEST_LOOP_fFF_11): Likewise.
1757 * math/gen-libm-test.pl (parse_args): Output four copies of
1758 expected results for each test.
1759
67737b8f
JM
1760 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1761 (__ASSUME_UTIMES): Remove.
1762 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1763 (__ASSUME_UTIMES): Likewise.
1764
aa97dee1
JM
1765 * math/gen-auto-libm-tests.c: Update comment on output format.
1766 (output_for_one_input_case): Generate before-rounding and
1767 after-rounding information as conditions on output flags not
1768 floating-point format.
1769 * math/auto-libm-test-out: Regenerated.
1770 * math/gen-libm-test.pl (cond_value): New function.
1771 (or_cond_value): Use cond_value.
1772 (generate_testfile): Handle conditional exceptions.
1773
e6b6a857
JM
17742014-03-05 Joseph Myers <joseph@codesourcery.com>
1775
2f0a0f44
JM
1776 * math/libm-test.inc (max_valid_error): New variable.
1777 (init_max_error): Take new argument specifying whether function
1778 results are exactly determined. Set max_valid_error and bound
1779 other variables for errors based on this argument.
1780 (set_max_error): Do not record results above max_valid_error.
1781 (check_float_internal): Only accept errors of up to 0.5ulps if
1782 also at most max_valid_error.
1783 (START): Take new argument EXACT and pass it to init_max_error.
1784 (acos_test): Update call to START.
1785 (acos_test_tonearest): Likewise.
1786 (acos_test_towardzero): Likewise.
1787 (acos_test_downward): Likewise.
1788 (acos_test_upward): Likewise.
1789 (acosh_test): Likewise.
1790 (asin_test): Likewise.
1791 (asin_test_tonearest): Likewise.
1792 (asin_test_towardzero): Likewise.
1793 (asin_test_downward): Likewise.
1794 (asin_test_upward): Likewise.
1795 (asinh_test): Likewise.
1796 (atan_test): Likewise.
1797 (atanh_test): Likewise.
1798 (atan2_test): Likewise.
1799 (cabs_test): Likewise.
1800 (cacos_test): Likewise.
1801 (cacosh_test): Likewise.
1802 (carg_test): Likewise.
1803 (casin_test): Likewise.
1804 (casinh_test): Likewise.
1805 (catan_test): Likewise.
1806 (catanh_test): Likewise.
1807 (cbrt_test): Likewise.
1808 (ccos_test): Likewise.
1809 (ccosh_test): Likewise.
1810 (ceil_test): Likewise.
1811 (cexp_test): Likewise.
1812 (cimag_test): Likewise.
1813 (clog_test): Likewise.
1814 (clog10_test): Likewise.
1815 (conj_test): Likewise.
1816 (copysign_test): Likewise.
1817 (cos_test): Likewise.
1818 (cos_test_tonearest): Likewise.
1819 (cos_test_towardzero): Likewise.
1820 (cos_test_downward): Likewise.
1821 (cos_test_upward): Likewise.
1822 (cosh_test): Likewise.
1823 (cosh_test_tonearest): Likewise.
1824 (cosh_test_towardzero): Likewise.
1825 (cosh_test_downward): Likewise.
1826 (cosh_test_upward): Likewise.
1827 (cpow_test): Likewise.
1828 (cproj_test): Likewise.
1829 (creal_test): Likewise.
1830 (csin_test): Likewise.
1831 (csinh_test): Likewise.
1832 (csqrt_test): Likewise.
1833 (ctan_test): Likewise.
1834 (ctan_test_tonearest): Likewise.
1835 (ctan_test_towardzero): Likewise.
1836 (ctan_test_downward): Likewise.
1837 (ctan_test_upward): Likewise.
1838 (ctanh_test): Likewise.
1839 (ctanh_test_tonearest): Likewise.
1840 (ctanh_test_towardzero): Likewise.
1841 (ctanh_test_downward): Likewise.
1842 (ctanh_test_upward): Likewise.
1843 (erf_test): Likewise.
1844 (erfc_test): Likewise.
1845 (exp_test): Likewise.
1846 (exp_test_tonearest): Likewise.
1847 (exp_test_towardzero): Likewise.
1848 (exp_test_downward): Likewise.
1849 (exp_test_upward): Likewise.
1850 (exp10_test): Likewise.
1851 (exp10_test_tonearest): Likewise.
1852 (exp10_test_towardzero): Likewise.
1853 (exp10_test_downward): Likewise.
1854 (exp10_test_upward): Likewise.
1855 (pow10_test): Likewise.
1856 (exp2_test): Likewise.
1857 (expm1_test): Likewise.
1858 (expm1_test_tonearest): Likewise.
1859 (expm1_test_towardzero): Likewise.
1860 (expm1_test_downward): Likewise.
1861 (expm1_test_upward): Likewise.
1862 (fabs_test): Likewise.
1863 (fdim_test): Likewise.
1864 (floor_test): Likewise.
1865 (fma_test): Likewise.
1866 (fma_test_towardzero): Likewise.
1867 (fma_test_downward): Likewise.
1868 (fma_test_upward): Likewise.
1869 (fmax_test): Likewise.
1870 (fmin_test): Likewise.
1871 (fmod_test): Likewise.
1872 (fpclassify_test): Likewise.
1873 (frexp_test): Likewise.
1874 (hypot_test): Likewise.
1875 (ilogb_test): Likewise.
1876 (isfinite_test): Likewise.
1877 (finite_test): Likewise.
1878 (isgreater_test): Likewise.
1879 (isgreaterequal_test): Likewise.
1880 (isinf_test): Likewise.
1881 (isless_test): Likewise.
1882 (islessequal_test): Likewise.
1883 (islessgreater_test): Likewise.
1884 (isnan_test): Likewise.
1885 (isnormal_test): Likewise.
1886 (issignaling_test): Likewise.
1887 (isunordered_test): Likewise.
1888 (j0_test): Likewise.
1889 (j1_test): Likewise.
1890 (jn_test): Likewise.
1891 (ldexp_test): Likewise.
1892 (lgamma_test): Likewise.
1893 (gamma_test): Likewise.
1894 (lrint_test): Likewise.
1895 (lrint_test_tonearest): Likewise.
1896 (lrint_test_towardzero): Likewise.
1897 (lrint_test_downward): Likewise.
1898 (lrint_test_upward): Likewise.
1899 (llrint_test): Likewise.
1900 (llrint_test_tonearest): Likewise.
1901 (llrint_test_towardzero): Likewise.
1902 (llrint_test_downward): Likewise.
1903 (llrint_test_upward): Likewise.
1904 (log_test): Likewise.
1905 (log10_test): Likewise.
1906 (log1p_test): Likewise.
1907 (log2_test): Likewise.
1908 (logb_test): Likewise.
1909 (logb_test_downward): Likewise.
1910 (lround_test): Likewise.
1911 (llround_test): Likewise.
1912 (modf_test): Likewise.
1913 (nearbyint_test): Likewise.
1914 (nextafter_test): Likewise.
1915 (nexttoward_test): Likewise.
1916 (pow_test): Likewise.
1917 (pow_test_tonearest): Likewise.
1918 (pow_test_towardzero): Likewise.
1919 (pow_test_downward): Likewise.
1920 (pow_test_upward): Likewise.
1921 (remainder_test): Likewise.
1922 (drem_test): Likewise.
1923 (remainder_test_tonearest): Likewise.
1924 (drem_test_tonearest): Likewise.
1925 (remainder_test_towardzero): Likewise.
1926 (drem_test_towardzero): Likewise.
1927 (remainder_test_downward): Likewise.
1928 (drem_test_downward): Likewise.
1929 (remainder_test_upward): Likewise.
1930 (drem_test_upward): Likewise.
1931 (remquo_test): Likewise.
1932 (rint_test): Likewise.
1933 (rint_test_tonearest): Likewise.
1934 (rint_test_towardzero): Likewise.
1935 (rint_test_downward): Likewise.
1936 (rint_test_upward): Likewise.
1937 (round_test): Likewise.
1938 (scalb_test): Likewise.
1939 (scalbn_test): Likewise.
1940 (scalbln_test): Likewise.
1941 (signbit_test): Likewise.
1942 (sin_test): Likewise.
1943 (sin_test_tonearest): Likewise.
1944 (sin_test_towardzero): Likewise.
1945 (sin_test_downward): Likewise.
1946 (sin_test_upward): Likewise.
1947 (sincos_test): Likewise.
1948 (sinh_test): Likewise.
1949 (sinh_test_tonearest): Likewise.
1950 (sinh_test_towardzero): Likewise.
1951 (sinh_test_downward): Likewise.
1952 (sinh_test_upward): Likewise.
1953 (sqrt_test): Likewise.
1954 (sqrt_test_tonearest): Likewise.
1955 (sqrt_test_towardzero): Likewise.
1956 (sqrt_test_downward): Likewise.
1957 (sqrt_test_upward): Likewise.
1958 (tan_test): Likewise.
1959 (tan_test_tonearest): Likewise.
1960 (tan_test_towardzero): Likewise.
1961 (tan_test_downward): Likewise.
1962 (tan_test_upward): Likewise.
1963 (tanh_test): Likewise.
1964 (tgamma_test): Likewise.
1965 (trunc_test): Likewise.
1966 (y0_test): Likewise.
1967 (y1_test): Likewise.
1968 (yn_test): Likewise.
1969 (significand_test): Likewise.
1970
e6b6a857
JM
1971 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1972 individual tests in comment.
1973 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1974 (prev_max_error): New variable.
1975 (prev_real_max_error): Likewise.
1976 (prev_imag_max_error): Likewise.
1977 (compare_ulp_data): Don't refer to test names in comment.
1978 (find_test_ulps): Remove function.
1979 (find_function_ulps): Likewise.
1980 (find_complex_function_ulps): Likewise.
1981 (init_max_error): Take function name as argument. Look up ulps
1982 for that function.
1983 (print_ulps): Remove function.
1984 (print_max_error): Use prev_max_error instead of calling
1985 find_function_ulps.
1986 (print_complex_max_error): Use prev_real_max_error and
1987 prev_imag_max_error instead of calling find_complex_function_ulps.
1988 (check_float_internal): Take max_ulp parameter instead of calling
1989 find_test_ulps. Don't call print_ulps.
1990 (check_float): Update call to check_float_internal.
1991 (check_complex): Update calls to check_float_internal.
1992 (START): Pass argument to init_max_error.
1993 * math/gen-libm-test.pl (%results): Don't include "kind"
1994 information.
1995 (parse_ulps): Don't handle ulps of individual tests.
1996 (print_ulps_file): Likewise.
1997 (output_ulps): Likewise.
1998 * math/README.libm-test: Update.
1999 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2000 individual tests.
2001 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2002 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2003 * sysdeps/arm/libm-test-ulps: Likewise.
2004 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2005 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2006 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2007 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2008 * sysdeps/microblaze/libm-test-ulps: Likewise.
2009 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2010 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2011 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2012 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2013 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2014 * sysdeps/sh/libm-test-ulps: Likewise.
2015 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2016 * sysdeps/tile/libm-test-ulps: Likewise.
2017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2018
45adef3c
JM
20192014-03-04 Joseph Myers <joseph@codesourcery.com>
2020
2021 * math/libm-test.inc (print_complex_max_error): Check separately
2022 whether real and imaginary errors are within allowed range and
2023 pass 0 to print_complex_function_ulps instead of value within
2024 allowed range.
2025
000232b9
SP
20262014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2027
d4b17258
SP
2028 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2029 formatting.
2030 (get_handles_fopen): Likewise.
2031 (do_write_test): Likewise.
2032
091eff71
SP
2033 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2034
fa3cd248
SP
2035 * libio/fileops.c (do_ftell): Use cached offset when
2036 available.
2037 * libio/iofwide.c (do_ftell_wide): Likewise.
2038 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2039 _IO_file_attach.
2040 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2041
000232b9
SP
2042 [BZ #16532]
2043 * libio/libioP.h (get_file_offset): New function.
2044 * libio/fileops.c (get_file_offset): Likewise.
2045 (do_ftell): Likewise.
2046 (_IO_new_file_seekoff): Split out ftell logic.
2047 * libio/wfileops.c (do_ftell_wide): Likewise.
2048 (_IO_wfile_seekoff): Split out ftell logic.
2049 * libio/tst-ftell-active-handler.c: New test case.
2050 * libio/Makefile (tests): Add it.
2051
116f4d1a
RM
20522014-03-03 Roland McGrath <roland@hack.frob.com>
2053
2054 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2055 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2056
532a6035
SP
20572014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2058
2059 [BZ #16639]
2060 * nscd/connections.c (nscd_init): Call do_exit.
2061 (start_threads): Call do_exit and notify_parent.
2062 (begin_drop_privileges): Call do_exit.
2063 (finish_drop_privileges): Likewise.
2064 * nscd/selinux.c (preserve_capabilities): Likewise.
2065 (install_real_capabilities): Likewise.
2066 (nscd_selinux_enabled): Likewise.
2067 (avc_create_thread): Likewise.
2068 (avc_alloc_lock): Likewise.
2069 (nscd_avc_init): Likewise.
2070 * nscd/nscd.c (parent_fd): New static variable.
2071 (main): Create a pipe between parent and child processes.
2072 Skip closing parent_fd.
2073 (monitor_child): New function.
2074 (do_exit): Likewise.
2075 (notify_parent): Likewise.
2076 * nscd/nscd.h (notify_parent): Likewise.
2077 (do_exit): Likewise.
2078
d6285c9f
CD
20792014-03-03 Carlos O'Donell <carlos@redhat.com>
2080
2081 * malloc/malloc.c (__libc_calloc): Revert last change.
2082
2b85d2a0
AZ
20832014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2084
2085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2086
c7debbdf
RS
20872014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2088
2089 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2091 implementation.
2092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2093 (__libc_ifunc_impl_list): Likewise.
2094 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2095 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2096 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2097 * string/strrchr.c: Define STRRCHR.
2098
235eed86
OB
20992014-02-28 Ondřej Bílka <neleai@seznam.cz>
2100
2101 * benchtest/bench-strtok.c (simple_strtok): Delete.
2102 (strtok_string): Use as benchmark.
2103 * string/strtok (STRTOK): New macro.
2104
8e25d1e7
CD
21052014-02-28 Carlos O'Donell <carlos@redhat.com>
2106
ef563f92
CD
2107 * manual/threads.texi: Add header and standard comments to all
2108 functions.
2109
8e25d1e7
CD
2110 * elf/dl-lookup.c (check_match): New function.
2111 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2112 (do_lookup_x): Remove nested function check_match. Use non-nested
2113 function check_match.
2114
ff71cc37
RM
21152014-02-28 Roland McGrath <roland@hack.frob.com>
2116
f08e9a26
RM
2117 * csu/Makefile (generated, before-compile): Use += rather than =.
2118 * catgets/Makefile (generated, generated-dirs): Likewise.
2119 * debug/Makefile (generated): Likewise.
2120 * dlfcn/Makefile (generated): Likewise.
2121 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2122 * iconvdata/Makefile (before-compile, generated): Likewise.
2123 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2124 * libio/Makefile (generated): Likewise.
2125 * malloc/Makefile (generated): Likewise.
2126 * manual/Makefile (generated, generated-dirs): Likewise.
2127 * misc/Makefile (generated): Likewise.
2128 * posix/Makefile (generated): Likewise.
2129 * resolv/Makefile (generated): Likewise.
2130 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2131 * timezone/Makefile (generated, generated-dirs): Likewise.
2132
ff71cc37
RM
2133 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2134
fe13a20c
AZ
21352014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2138 implementation.
2139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2140 POWER8 llround ifunc implementation.
2141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2142 POWER8 implementation.
2143 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2144 POWER8 llround implementation.
2145
1ad8950a
AZ
21462014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147
2148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2149 implementation.
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2151 POWER8 llrint ifunc implementation.
2152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2153 POWER8 implementation.
2154 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2155 POWER8 llrint implementation.
2156
cac626d6
AZ
21572014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158
2159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2160 implementation.
2161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2162 POWER8 finite ifunc implementation.
2163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2164 POWER8 implementation.
2165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2166 Likewise.
2167 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2168 POWER8 finite implementation.
2169 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2170
4393fc11
AZ
21712014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2172
2173 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2174 implementation.
2175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2176 POWER8 isinf ifunc implementation.
2177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2178 POWER8 implementation.
2179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2180 Likewise.
2181 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2182 POWER8 isinf implementation.
2183 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2184
487972ae
AZ
21852014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186
2187 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2188 Add hwcap2 initialization.
2189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2190 implementation.
2191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2192 POWER8 isnan ifunc implementation.
2193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2194 POWER8 implementation.
2195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2196 Likewise.
2197 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2198 POWER8 isnan implementation.
2199 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2200
7d92b787
JY
22012014-02-27 Joey Ye <joey.ye@arm.com>
2202
2203 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2204 (_FP_NANFRAC_Q): Set to zero.
2205
1cadc858
SP
22062014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2207
2208 [BZ #16623]
2209 * math/auto-libm-test-in: New test inputs.
2210 * math/auto-libm-test-out: Regenerate.
2211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2212 and DA.
2213 (__cos): Likewise.
2214 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2215
f8c17e79
JM
22162014-02-27 Joseph Myers <joseph@codesourcery.com>
2217
2218 * scripts/evaluate-test.sh: Take new argument indicating whether
2219 failure is expected.
2220 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2221 indicating whether failure is expected.
2222 * conform/Makefile (test-xfail-run-conformtest): New variable.
2223 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2224 level.
2225 * posix/Makefile (test-xfail-annexc): New variable.
2226 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2227
a5f891ac
JM
22282014-02-26 Joseph Myers <joseph@codesourcery.com>
2229
2230 * argp/Makefile: Include Makeconfig immediately after defining
2231 subdir.
2232 * assert/Makefile: Likewise.
2233 * benchtests/Makefile: Likewise.
2234 * catgets/Makefile: Likewise.
2235 * conform/Makefile: Likewise.
2236 * crypt/Makefile: Likewise.
2237 * csu/Makefile: Likewise.
2238 (all): Remove target.
2239 * ctype/Makefile: Include Makeconfig immediately after defining
2240 subdir.
2241 * debug/Makefile: Likewise.
2242 * dirent/Makefile: Likewise.
2243 * dlfcn/Makefile: Likewise.
2244 * gmon/Makefile: Likewise.
2245 * gnulib/Makefile: Likewise.
2246 * grp/Makefile: Likewise.
2247 * gshadow/Makefile: Likewise.
2248 * hesiod/Makefile: Likewise.
2249 * hurd/Makefile: Likewise.
2250 (all): Remove target.
2251 * iconvdata/Makefile: Include Makeconfig immediately after
2252 defining subdir.
2253 * inet/Makefile: Likewise.
2254 * intl/Makefile: Likewise.
2255 * io/Makefile: Likewise.
2256 * libio/Makefile: Likewise.
2257 (all): Remove target.
2258 * locale/Makefile: Include Makeconfig immediately after defining
2259 subdir.
2260 * login/Makefile: Likewise.
2261 * mach/Makefile: Likewise.
2262 (all): Remove target.
2263 * malloc/Makefile: Include Makeconfig immediately after defining
2264 subdir.
2265 (all): Remove target.
2266 * manual/Makefile: Include Makeconfig immediately after defining
2267 subdir.
2268 * math/Makefile: Likewise.
2269 * misc/Makefile: Likewise.
2270 * nis/Makefile: Likewise.
2271 * nss/Makefile: Likewise.
2272 * po/Makefile: Likewise.
2273 (all): Remove target.
2274 * posix/Makefile: Include Makeconfig immediately after defining
2275 subdir.
2276 * pwd/Makefile: Likewise.
2277 * resolv/Makefile: Likewise.
2278 * resource/Makefile: Likewise.
2279 * rt/Makefile: Likewise.
2280 * setjmp/Makefile: Likewise.
2281 * shadow/Makefile: Likewise.
2282 * signal/Makefile: Likewise.
2283 * socket/Makefile: Likewise.
2284 * soft-fp/Makefile: Likewise.
2285 * stdio-common/Makefile: Likewise.
2286 * stdlib/Makefile: Likewise.
2287 * streams/Makefile: Likewise.
2288 * string/Makefile: Likewise.
2289 * sunrpc/Makefile: Likewise.
2290 (all): Remove target.
2291 * sysvipc/Makefile: Include Makeconfig immediately after defining
2292 subdir.
2293 * termios/Makefile: Likewise.
2294 * time/Makefile: Likewise.
2295 * timezone/Makefile: Likewise.
2296 (all): Remove target.
2297 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2298 subdir.
2299 * wctype/Makefile: Likewise.
2300
5b456e9d
SE
23012014-02-26 Steve Ellcey <sellcey@mips.com>
2302
2303 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2304 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2305 (libc_feholdexcept_setround_mips): Ditto.
2306 (libc_feholdsetround): New.
2307 (libc_feholdsetroundf): New.
2308 (libc_feholdsetroundl): New.
2309 (libc_feupdateenv_test_mips): New.
2310 (libc_feupdateenv_test): New.
2311 (libc_feupdateenv_testf): New.
2312 (libc_feupdateenv_testl): New.
2313 (libc_feresetround): New.
2314 (libc_feresetroundf): New.
2315 (libc_feresetroundl): New.
2316 (libc_fetestexcept_mips): New.
2317 (libc_fetestexcept): New.
2318 (libc_fetestexceptf): New.
2319 (libc_fetestexceptl): New.
2320 (HAVE_RM_CTX): New.
2321 (libc_feholdexcept_setround_mips_ctx): New.
2322 (libc_feholdexcept_setround_ctx): New.
2323 (libc_feholdexcept_setroundf_ctx): New.
2324 (libc_feholdexcept_setroundl_ctx): New.
2325 (libc_fesetenv_mips_ctx): New.
2326 (libc_fesetenv_ctx): New.
2327 (libc_fesetenv_ctxf): New.
2328 (libc_fesetenv_ctxl): New.
2329 (libc_feupdateenv_mips_ctx): New.
2330 (libc_feupdateenv_ctx): New.
2331 (libc_feupdateenvf_ctx): New.
2332 (libc_feupdateenvl_ctx): New.
2333 (libc_feholdsetround_mips_ctx): New.
2334 (libc_feholdsetround_ctx): New.
2335 (libc_feholdsetroundf_ctx): New.
2336 (libc_feholdsetroundl_ctx): New.
2337 (libc_feresetround_mips_ctx): New.
2338 (libc_feresetround_ctx): New.
2339 (libc_feresetroundf_ctx): New.
2340 (libc_feresetroundl_ctx): New.
2341
085d0e35
CD
23422014-02-26 Carlos O'Donell <carlos@redhat.com>
2343
f067bf1f
CD
2344 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2345
085d0e35
CD
2346 * manual/ipc.texi: New file.
2347 * manual/Makefile (chapters): Add ipc.
2348 * manual/job.texi: Add "Inter-Process Communication" to next.
2349 * manual/process.texi: Add "Inter-Process Communication" to prev.
2350
86e58c08
AZ
23512014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2352
2353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2354
4248f0da
OB
23552014-02-26 Ondřej Bílka <neleai@seznam.cz>
2356
2357 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2358
cf822e3c
OB
2359 * manual/arith.texi: Fix spaces after sentences.
2360 * manual/charset.texi: Likewise.
2361 * manual/errno.texi: Likewise.
2362 * manual/install.texi: Likewise.
2363 * manual/llio.texi: Likewise.
2364 * manual/locale.texi: Likewise.
2365 * manual/maint.texi: Likewise.
2366 * manual/math.texi: Likewise.
2367 * manual/memory.texi: Likewise.
2368 * manual/message.texi: Likewise.
2369 * manual/probes.texi: Likewise.
2370 * manual/resource.texi: Likewise.
2371 * manual/signal.texi: Likewise.
2372 * manual/socket.texi: Likewise.
2373 * manual/stdio.texi: Likewise.
2374 * manual/string.texi: Likewise.
2375 * manual/time.texi: Likewise.
2376 * manual/users.texi: Likewise.
2377
ade40b10
CD
23782014-02-25 Carlos O'Donell <carlos@redhat.com>
2379
2380 [BZ #16632]
2381 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2382 _DEFAULT_SOURCE is defined.
2383
d0503676
CD
23842014-02-25 Ulrich Drepper <drepper@gmail.com>
2385 Carlos O'Donell <carlos@redhat.com>
2386
2387 [BZ #16613]
2388 * elf/dl-tls.c (_dl_count_modids): New function.
2389 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2390 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2391 audit library and increment generation counter.
2392 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2393 * elf/tst-audit9.c: New file.
2394 * elf/tst-auditmod9a.c: New file.
2395 * elf/tst-auditmod9b.c: New file.
2396 * elf/Makefile: Add rules to build and run tst-audit9.
2397
4cbf380c
FW
23982014-02-25 Florian Weimer <fweimer@redhat.com>
2399
2400 [BZ #15347]
2401 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2402
80a56cc3
WN
24032014-02-25 Will Newton <will.newton@linaro.org>
2404
2405 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2406 (__longjmp): Restore sp and lr before restoring callee
2407 saved registers. Add longjmp and longjmp_target
2408 SystemTap probe point.
2409 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2410 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2411 Define to zero to match jmpbuf layout.
2412 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2413 (__sigsetjmp): Save sp and lr before saving callee
2414 saved registers. Add setjmp SystemTap probe point.
2415
3ea0f74e
SL
24162014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2417
2418 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2419
b04acb26
AS
24202014-02-24 Andreas Schwab <schwab@suse.de>
2421
2422 [BZ #15804]
2423 * elf/pldd.c (wait_for_ptrace_stop): New function.
2424 (main): Call it after attaching.
2425
098ad55c
RM
24262014-02-22 Roland McGrath <roland@hack.frob.com>
2427
d4ec6ae1
RM
2428 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2429 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2430 Versions files is now verboten.
2431 * hurd/Versions (libc: GLIBC_2.0):
2432 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2433 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2434 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2435 * mach/Versions: Likewise.
2436
098ad55c
RM
2437 * csu/Versions: Remove unused %include.
2438 * resolv/Versions: Likewise.
2439
acd7f096
JM
24402014-02-21 Joseph Myers <joseph@codesourcery.com>
2441
f0881698
JM
2442 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2443 ($(objpfx)check-local-headers.out): Likewise.
2444 ($(objpfx)begin-end-check.out): Likewise.
2445 * Makerules (check-abi-%.out): Likewise.
2446 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2447 ($(objpfx)test2.cat): Likewise.
2448 ($(objpfx)de/libc.cat): Likewise.
2449 ($(objpfx)test-gencat.out): Likewise.
2450 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2451 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2452 ($(objpfx)noload-mem): Likewise.
2453 ($(objpfx)tst-pathopt.out): Likewise.
2454 ($(objpfx)tst-rtld-load-self.out): Likewise.
2455 ($(objpfx)tst-array1-cmp.out): Likewise.
2456 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2457 ($(objpfx)tst-array2-cmp.out): Likewise.
2458 ($(objpfx)tst-array3-cmp.out): Likewise.
2459 ($(objpfx)tst-array4-cmp.out): Likewise.
2460 ($(objpfx)tst-array5-cmp.out): Likewise.
2461 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2462 ($(objpfx)check-textrel.out): Likewise.
2463 ($(objpfx)check-execstack.out): Likewise.
2464 ($(objpfx)check-localplt.out): Likewise.
2465 ($(objpfx)order2-cmp.out): Likewise.
2466 ($(objpfx)tst-leaks1-mem): Likewise.
2467 ($(objpfx)tst-leaks1-static-mem): Likewise.
2468 ($(objpfx)tst-initorder-cmp.out): Likewise.
2469 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2470 ($(objpfx)tst-unused-dep.out): Likewise.
2471 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2472 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2473 * iconv/Makefile (test-iconvconfig): Likewise.
2474 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2475 ($(objpfx)iconv-test.out): Likewise.
2476 ($(objpfx)tst-tables.out): Likewise.
2477 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2478 ($(objpfx)tst-gettext.out): Likewise.
2479 ($(objpfx)tst-translit.out): Likewise.
2480 ($(objpfx)tst-gettext2.out): Likewise.
2481 ($(objpfx)tst-gettext4.out): Likewise.
2482 ($(objpfx)tst-gettext6.out): Likewise.
2483 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2484 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2485 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2486 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2487 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2488 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2489 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2490 ($(objpfx)wordexp-tst.out): Likewise.
2491 ($(objpfx)annexc.out): Likewise.
2492 ($(objpfx)tst-fnmatch-mem): Likewise.
2493 ($(objpfx)bug-regex2-mem): Likewise.
2494 ($(objpfx)bug-regex14-mem): Likewise.
2495 ($(objpfx)bug-regex21-mem): Likewise.
2496 ($(objpfx)bug-regex31-mem): Likewise.
2497 ($(objpfx)tst-vfork3-mem): Likewise.
2498 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2499 ($(objpfx)tst-pcre-mem): Likewise.
2500 ($(objpfx)tst-boost-mem): Likewise.
2501 ($(objpfx)tst-getconf.out): Likewise.
2502 ($(objpfx)bug-ga2-mem): Likewise.
2503 ($(objpfx)bug-glob2-mem): Likewise.
2504 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2505 ($(objpfx)mtrace-tst-leaks2): Likewise.
2506 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2507 ($(objpfx)tst-printf.out): Likewise.
2508 ($(objpfx)tst-setvbuf1.out): Likewise.
2509 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2510 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2511 ($(objpfx)tst-fmtmsg.out): Likewise.
2512 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2513 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2514
acd7f096
JM
2515 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2516 * bits/sigaction.h [__USE_MISC]: Likewise.
2517 * bits/waitstatus.h: Update #endif comments.
2518 * ctype/ctype.h: Likewise.
2519 * dirent/dirent.h: Likewise.
2520 [__USE_MISC]: Remove redundant conditionals.
2521 * grp/grp.h: Update #endif comments.
2522 [__USE_GNU]: Remove redundant conditionals.
2523 [__USE_MISC]: Likewise.
2524 * inet/netinet/in.h [__USE_GNU]: Likewise.
2525 * io/sys/stat.h [__USE_MISC]: Likewise.
2526 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2527 * libio/bits/stdio.h: Update #endif comments.
2528 [__USE_MISC]: Remove redundant conditionals.
2529 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2530 * libio/stdio.h: Update #endif comments.
2531 [__USE_MISC]: Remove redundant conditionals.
2532 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2533 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2534 * math/math.h: Update #else and #endif comments.
2535 [__USE_MISC]: Remove redundant conditionals.
2536 * misc/sys/uio.h: Update #endif comments.
2537 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2538 * posix/glob.h [__USE_MISC]: Likewise.
2539 * posix/sys/types.h: Update #endif comments.
2540 [__USE_MISC]: Remove redundant conditionals.
2541 * posix/sys/wait.h: Update #endif comments.
2542 [__USE_MISC]: Remove redundant conditionals.
2543 * posix/unistd.h: Update #endif comments.
2544 [__USE_MISC]: Remove redundant conditionals.
2545 * pwd/pwd.h [__USE_GNU]: Likewise.
2546 [__USE_MISC]: Likewise.
2547 * resolv/netdb.h [__USE_GNU]: Likewise.
2548 * signal/signal.h: Update #endif comments.
2549 [__USE_MISC]: Remove redundant conditionals.
2550 * stdlib/stdlib.h: Update #else and #endif comments.
2551 [__USE_MISC]: Remove redundant conditionals.
2552 [__USE_GNU]: Likewise.
2553 * string/bits/string2.h [__USE_MISC]: Likewise.
2554 * string/string.h: Update #endif comments.
2555 [__USE_MISC]: Remove redundant conditionals.
2556 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2557 Likewise.
2558 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2559 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2560 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2561 Likewise.
2562 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2563 Likewise.
2564 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2565 comments.
2566 [__USE_MISC]: Remove redundant conditionals.
2567 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2568 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2569 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2570 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2571 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2572 Likewise.
2573 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2574 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2575 Likewise.
2576 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2577 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2578 Likewise.
2579 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2580 Likewise.
2581 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2582 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2583 Likewise.
2584 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2585 Likewise.
2586 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2587 * sysdeps/x86/bits/string.h: Update #endif comments.
2588 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2589 conditionals.
2590 * time/sys/time.h: Update #endif comments.
2591 * time/time.h: Likewise.
2592 [__USE_MISC]: Remove redundant conditionals.
2593
a5d82e4e
YG
25942014-02-21 Yury Gribov <y.gribov@samsung.com>
2595
2596 [BZ #16600]
2597 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2598
9a80491d
AS
25992014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2600
2601 * Versions.def (librt): Add GLIBC_2.17.
2602
105fa381
AC
26032014-02-21 Adam Conrad <adconrad@0c3.net>
2604
2605 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2606 synonym for _SYS_AUXV_H to allow direct inclusion.
2607 * sysdeps/sparc/bits/hwcap.h: Likewise.
2608 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2609 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2610 * sysdeps/sparc/sysdep.h: Likewise.
2611
b8cd1c4e
SP
26122014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2613
2614 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2615
bd939d23
RS
26162014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2617
2618 * benchtests/bench-strrchr.c: Print length instead of position.
2619
5d7b57ca
JM
26202014-02-20 Joseph Myers <joseph@codesourcery.com>
2621
bc688c10
JM
2622 [BZ #16611]
2623 * sysdeps/unix/sysv/linux/kernel-features.h
2624 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2625 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2626 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2627 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2628 Likewise.
2629 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2630 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2631 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2632 (__ASSUME_SENDMMSG): Define instead of using previous
2633 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2634 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2635 (__ASSUME_SENDMMSG_SYSCALL): Define.
2636 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2637 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2638 Likewise.
2639 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2640 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2641 Likewise.
2642 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2643 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2644 Likewise.
2645 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2646 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2647 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2648 [__ASSUME_SENDMMSG]: Change conditionals to
2649 [__ASSUME_SENDMMSG_SOCKETCALL].
2650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2651 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2652 Define.
2653 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2654 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2655 Likewise.
2656 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2657 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2658 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2659 [!__ASSUME_SENDMMSG]: Change conditional to
2660 [!__ASSUME_SENDMMSG_SOCKETCALL].
2661 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2662 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2663 Define.
2664
0e31b18c
JM
2665 [BZ #16610]
2666 * sysdeps/unix/sysv/linux/kernel-features.h
2667 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2668 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2669 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2670 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2671 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2672 [__i386__ || __sparc__]
2673 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2674 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2675 (__ASSUME_RECVMMSG): Define instead of using previous
2676 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2677 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2678 (__ASSUME_RECVMMSG_SYSCALL): Define.
2679 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2680 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2681 Likewise.
2682 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2683 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2684 Likewise.
2685 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2686 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2687 Likewise.
2688 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2689 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2690 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2691 [__ASSUME_RECVMMSG]: Change condition to
2692 [__ASSUME_RECVMMSG_SOCKETCALL].
2693 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2694 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2695 Define.
2696 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2697 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2698 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2699 Likewise.
2700 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2701 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2702 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2703 [!__ASSUME_RECVMMSG]: Change condition to
2704 [!__ASSUME_RECVMMSG_SOCKETCALL].
2705 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2706 (__ASSUME_RECVMMSG_SYSCALL): Define.
2707
dd481ccf
JM
2708 [BZ #16609]
2709 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2710 __powerpc__ || __s390__ || __sh__ || __sparc__]
2711 (__ASSUME_SOCKETCALL): Define.
2712 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2713 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2714 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2715 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2716 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2717 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2718 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2719 (__ASSUME_ACCEPT4): Define instead of using previous
2720 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2721 __powerpc__ || __sparc__ || __s390__)] condition.
2722 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2723 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2724 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2725 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2726 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2727 [!__ASSUME_ACCEPT4]: Change condition to
2728 [!__ASSUME_ACCEPT4_SOCKETCALL].
2729 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2730 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2731 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2732 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2733 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2734 __ASSUME_ACCEPT4_SYSCALL.
2735 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2736 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2737 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2738 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2739 __ASSUME_ACCEPT4_SYSCALL.
2740 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2741 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2742 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2743 [__ASSUME_ACCEPT4]: Change condition to
2744 [__ASSUME_ACCEPT4_SOCKETCALL].
2745 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2746 (__ASSUME_SOCKETCALL): Define.
2747 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2749 (__ASSUME_SOCKETCALL): Define.
2750 (__ASSUME_ACCEPT4): Remove.
2751 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2752 Define.
2753 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2754 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2755 Likewise.
2756 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2757 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2758
5d7b57ca
JM
2759 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2760 macro.
2761 (HWCAP_ARM_LPAE): Likewise.
2762 (HWCAP_ARM_EVTSTRM): Likewise.
2763 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2764 Add vpfd32, lpae and evtstrm.
2765 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2766 Increase to 22.
2767
63689d61
JM
27682014-02-19 Joseph Myers <joseph@codesourcery.com>
2769
2770 * math/auto-libm-test-in: Add tests of clog10.
2771 * math/auto-libm-test-out: Regenerated.
2772 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2773 * sysdeps/i386/fpu/libm-test-ulps: Update.
2774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2775
ab09bf61
AS
27762014-02-18 Andreas Schwab <schwab@suse.de>
2777
2778 [BZ #16574]
2779 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2780 Store non-zero if the second buffer was newly allocated.
2781 (send_dg): Likewise.
2782 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2783 to send_vc and send_dg.
2784 (res_nsend): Pass NULL for ansp2_malloced.
2785 * resolv/res_query.c (__libc_res_nquery): Add parameter
2786 answerp2_malloced and pass it down to __libc_res_nsend.
2787 (res_nquery): Pass additional NULL to __libc_res_nquery.
2788 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2789 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2790 second answer buffer if answerp2_malloced was set.
2791 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2792 (__libc_res_nquerydomain): Add parameter
2793 answerp2_malloced and pass it down to __libc_res_nquery.
2794 (res_nquerydomain): Pass additional NULL to
2795 __libc_res_nquerydomain.
2796 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2797 additional NULL to __libc_res_nsend and __libc_res_nquery.
2798 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2799 additional NULL to __libc_res_nsearch.
2800 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2801 parameter of __libc_res_nsearch to check for separately allocated
2802 second buffer.
2803 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2804 __libc_res_nquery.
2805 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2806 additional NULL to __libc_res_nquery.
2807 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2808 __libc_res_nsearch.
2809 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2810 * include/resolv.h: Update prototypes of __libc_res_nquery,
2811 __libc_res_nsearch, __libc_res_nsend.
2812
a4fb7861
JM
28132014-02-18 Joseph Myers <joseph@codesourcery.com>
2814
c6af2d89
JM
2815 * math/auto-libm-test-in: Add tests of fma.
2816 * math/auto-libm-test-out: Regenerated.
2817 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2818 (fma_towardzero_test_data): Likewise.
2819 (fma_downward_test_data): Likewise.
2820 (fma_upward_test_data): Likewise.
2821 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2822 mpc_mode.
2823 (rounding_modes): Add values for new field.
2824 (func_calc_method): Add value mpfr_fff_f.
2825 (func_calc_desc): Add mpfr_fff_f union field.
2826 (test_function): Add field exact_args.
2827 (FUNC): Add macro argument EXACT_ARGS.
2828 (FUNC_mpfr_f_f): Update call to FUNC.
2829 (FUNC_mpfr_f_f): Likewise.
2830 (FUNC_mpfr_ff_f): Likewise.
2831 (FUNC_mpfr_if_f): Likewise.
2832 (FUNC_mpc_c_f): Likewise.
2833 (FUNC_mpc_c_c): Likewise.
2834 (test_functions): Add fma. Update calls to FUNC.
2835 (handle_input_arg): Add argument exact_args.
2836 (add_test): Update call to handle_input_arg.
2837 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2838 (output_for_one_input_case): Update call to calc_generic_results.
2839 Recalculate exact zero results in each rounding mode.
2840
a4fb7861
JM
2841 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2842 non-negative before setting low bit.
2843 * math/auto-libm-test-in: Mark one asin test possibly having
2844 spurious underflow.
2845 * math/auto-libm-test-out: Regenerated.
2846 * sysdeps/i386/fpu/libm-test-ulps: Update.
2847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848
ef114eaf
DH
28492014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2850
2b7f4f2c
SP
2851 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2852 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2853 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2854 * README: Add missing listing for microblaze*-*-linux-gnu.
2855
c70a4b1d
MF
28562014-02-16 Mike Frysinger <vapier@gentoo.org>
2857
2858 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2859 * sysdeps/unix/sysv/linux/ia64: Move directory from
2860 ports/sysdeps/unix/sysv/linux/ia64.
2861 * README: Update listing for ia64-*-linux-gnu.
2862
591aeaf7
TD
28632014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2864 Joseph Myers <joseph@codesourcery.com>
2865
2866 * Makeconfig (test-name): New variable.
2867 (evaluate-test): Likewise.
2868 * Makerules (do-test-clean): Remove .test-result files.
2869 (common-mostlyclean): Likewise.
2870 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2871 * scripts/evaluate-test.sh: New file.
2872
6e89caf1
JM
28732014-02-14 Joseph Myers <joseph@codesourcery.com>
2874
7f98f180
JM
2875 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2876 separate $(objpfx)tst-fopenloc-cmp.out and
2877 $(objpfx)tst-fopenloc-mem.out targets.
2878 (tests): Update dependencies.
2879 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2880 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2881 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2882 (tst-rxspencer-no-utf8-ARGS): New variable.
2883 (tst-rxspencer-no-utf8-ENV): Likewise.
2884 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2885 instead of $(objpfx)tst-rxspencer-mem.
2886 ($(objpfx)tst-rxspencer-mem): Change target to
2887 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2888 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2889 * posix/tst-rxspencer-no-utf8.c: New file.
2890
6e89caf1
JM
2891 * elf/Makefile ($(objpfx)order.out): Remove rule.
2892 [$(run-built-tests) = yes] (tests): Depend on
2893 $(objpfx)order-cmp.out.
2894 ($(objpfx)order-cmp.out): New rule.
2895 [$(run-built-tests) = yes] (tests): Depend on
2896 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2897 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2898 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2899 $(objpfx)tst-array5-static-cmp.out.
2900 ($(objpfx)tst-array1.out): Remove rule.
2901 ($(objpfx)tst-array1-cmp.out): New rule.
2902 ($(objpfx)tst-array1-static.out): Remove rule.
2903 ($(objpfx)tst-array1-static-cmp.out): New rule.
2904 ($(objpfx)tst-array2.out): Remove rule.
2905 ($(objpfx)tst-array2-cmp.out): New rule.
2906 ($(objpfx)tst-array3.out): Remove rule.
2907 ($(objpfx)tst-array3-cmp.out): New rule.
2908 ($(objpfx)tst-array4.out): Remove rule.
2909 ($(objpfx)tst-array4-cmp.out): New rule.
2910 ($(objpfx)tst-array5.out): Remove rule.
2911 ($(objpfx)tst-array5-cmp.out): New rule.
2912 ($(objpfx)tst-array5-static.out): Remove rule.
2913 ($(objpfx)tst-array5-static-cmp.out): New rule.
2914 [$(run-built-tests) = yes] (tests): Depend on
2915 $(objpfx)order2-cmp.out.
2916 ($(objpfx)order2.out): Remove rule.
2917 ($(objpfx)order2-cmp.out): New rule.
2918 ($(objpfx)tst-initorder.out): Remove rule.
2919 [$(run-built-tests) = yes] (tests): Depend on
2920 $(objpfx)tst-initorder-cmp.out.
2921 ($(objpfx)tst-initorder-cmp.out): New rule.
2922 ($(objpfx)tst-initorder2.out): Remove rule.
2923 [$(run-built-tests) = yes] (tests): Depend on
2924 $(objpfx)tst-initorder2-cmp.out.
2925 ($(objpfx)tst-initorder2-cmp.out): New rule.
2926 [$(run-built-tests) = yes] (tests): Depend on
2927 $(objpfx)tst-unused-dep-cmp.out.
2928 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2929 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2930 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2931 on $(objpfx)tst-setvbuf1-cmp.out.
2932 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2933 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2934 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2935 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2936 ($(objpfx)tst-svc.out): Remove rule.
2937 ($(objpfx)tst-svc-cmp.out): New rule.
2938
ed9a38e2
JM
29392014-02-13 Joseph Myers <joseph@codesourcery.com>
2940
2941 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2942 * ctype/ctype.h [__USE_MISC]: Likewise.
2943 * dirent/dirent.h [__USE_MISC]: Likewise.
2944 * grp/grp.h [__USE_MISC]: Likewise.
2945 * io/fcntl.h [__USE_MISC]: Likewise.
2946 * io/sys/stat.h [__USE_MISC]: Likewise.
2947 * libio/stdio.h [__USE_MISC]: Likewise.
2948 * posix/unistd.h [__USE_MISC]: Likewise.
2949 * pwd/pwd.h [__USE_MISC]: Likewise.
2950 * stdlib.h [__USE_MISC]: Likewise.
2951 * string/bits/string2.h [__USE_MISC]: Likewise.
2952 * string/string.h [__USE_MISC]: Likewise.
2953 * time/time.h [__USE_MISC]: Likewise.
2954
d6680619
AS
29552014-02-13 Andreas Schwab <schwab@suse.de>
2956
2957 [BZ #16574]
2958 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2959 second answer buffer if it was separately allocated.
2960
ace614b8
JM
29612014-02-12 Joseph Myers <joseph@codesourcery.com>
2962
743151ae
JM
2963 * sysdeps/mips/math-tests.h: Include <features.h>.
2964 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2965 (ROUNDING_TESTS_long_double): Do not define.
2966 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2967 (EXCEPTION_TESTS_long_double): Likewise.
2968 * sysdeps/mips/mips64/libm-test-ulps: Update.
2969
498afc54
JM
2970 * include/features.h (__USE_BSD): Remove macro definitions.
2971 (__USE_SVID): Likewise.
2972 (_BSD_SOURCE): Likewise.
2973 (_SVID_SOURCE): Likewise.
2974 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2975 from definition of _DEFAULT_SOURCE.
2976 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2977 [_DEFAULT_SOURCE].
2978 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2979 * bits/mman.h [__USE_BSD]: Likewise.
2980 * bits/termios.h [__USE_BSD]: Likewise.
2981 * bits/waitstatus.h [__USE_BSD]: Likewise.
2982 * ctype/ctype.h [__USE_SVID]: Likewise.
2983 * dirent/dirent.h [__USE_BSD]: Likewise.
2984 * grp/grp.h [__USE_SVID]: Likewise.
2985 [__USE_BSD]: Likewise.
2986 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2987 * io/fcntl.h [__USE_BSD]: Likewise.
2988 * io/ftw.h [__USE_BSD]: Likewise.
2989 * io/sys/stat.h [__USE_BSD]: Likewise.
2990 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2991 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2992 * libio/stdio.h [__USE_SVID]: Likewise.
2993 [__USE_BSD]: Likewise.
2994 * math/math.h [__USE_SVID]: Likewise.
2995 [__USE_BSD]: Likewise.
2996 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2997 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2998 * misc/search.h [__USE_SVID]: Likewise.
2999 * misc/sys/mman.h [__USE_BSD]: Likewise.
3000 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3001 * misc/sys/uio.h [__USE_BSD]: Likewise.
3002 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3003 * posix/glob.h [__USE_BSD]: Likewise.
3004 * posix/regex.h [__USE_BSD]: Likewise.
3005 * posix/sys/types.h [__USE_BSD]: Likewise.
3006 [__USE_SVID]: Likewise.
3007 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3008 * posix/sys/wait.h [__USE_BSD]: Likewise.
3009 [__USE_SVID]: Likewise.
3010 * posix/unistd.h [__USE_BSD]: Likewise.
3011 [__USE_SVID]: Likewise.
3012 * pwd/pwd.h [__USE_SVID]: Likewise.
3013 * resolv/netdb.h [__USE_BSD]: Likewise.
3014 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3015 * signal/signal.h [__USE_BSD]: Likewise.
3016 [__USE_SVID]: Likewise.
3017 * socket/sys/socket.h [__USE_BSD]: Likewise.
3018 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3019 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3020 [__USE_SVID]: Likewise.
3021 * string/bits/string2.h [__USE_BSD]: Likewise.
3022 [__USE_SVID]: Likewise.
3023 * string/bits/string3.h [__USE_BSD]: Likewise.
3024 * string/endian.h [__USE_BSD]: Likewise.
3025 * string/string.h [__USE_SVID]: Likewise.
3026 [__USE_BSD]: Likewise.
3027 * string/strings.h [__USE_BSD]: Likewise.
3028 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3029 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3030 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3031 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3032 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3033 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3034 Likewise.
3035 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3036 Likewise.
3037 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3038 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3039 Likewise.
3040 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3041 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3042 Likewise.
3043 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3044 Likewise.
3045 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3046 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3048 Likewise.
3049 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3050 Likewise.
3051 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3052 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3053 * termios/termios.h [__USE_BSD]: Likewise.
3054 * time/sys/time.h [__USE_BSD]: Likewise.
3055 * time/time.h [__USE_BSD]: Likewise.
3056 [__USE_SVID]: Likewise.
3057
dd7b064c
JM
3058 * Makefile (subdir_targets): Remove subdir_lint.out.
3059
a2c4c199
JM
3060 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3061 (do-tst-printf): Likewise.
3062 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3063 $(objpfx)tst-printf.out.
3064
8756f740
JM
3065 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3066
1b6dd3f1
JM
3067 * Makerules (check-abi-%): Change target to
3068 $(objpfx)check-abi-%.out.
3069 (check-abi target): Update dependencies.
3070 (check-abi-pattern variable): Redirect output of diff to $@.
3071 (check-abi variable): Likewise.
3072 * elf/Makefile (check-abi): Update dependencies.
3073
ace614b8
JM
3074 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3075 unused.
3076 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3077 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3078 subnormal range.
3079 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3080 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3081 value has largest subnormal exponent.
3082 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3083 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3084 * sysdeps/aarch64/soft-fp/sfp-machine.h
3085 (_FP_TININESS_AFTER_ROUNDING): New macro.
3086 * sysdeps/alpha/soft-fp/sfp-machine.h
3087 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3088 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3089 Likewise.
3090 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3091 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3092 * sysdeps/mips/soft-fp/sfp-machine.h
3093 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3094 * sysdeps/powerpc/soft-fp/sfp-machine.h
3095 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3096 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3097 Likewise.
3098 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3099 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3100 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3101 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3102 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3103 Likewise.
3104
fbfdf9cb
DAS
31052014-02-12 Dylan Alex Simon <dylan@dylex.net>
3106
3107 [BZ #16545]
3108 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3109 model 1.
3110
68b7efaa
RH
31112014-02-12 Richard Henderson <rth@redhat.com>
3112
c70a4b1d 3113 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3114 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3115 * sysdeps/unix/sysv/linux/alpha: Move directory from
3116 ports/sysdeps/unix/sysv/linux/alpha.
3117 * README: Update listing for alpha-*-linux-gnu.
3118
cb4a2928
JM
31192014-02-11 Joseph Myers <joseph@codesourcery.com>
3120
c941736c
JM
3121 * include/features.h: Update comment documenting feature test
3122 macros.
3123 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3124 _DEFAULT_SOURCE.
3125 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3126 (_SVID_SOURCE): Likewise.
3127 (_DEFAULT_SOURCE): Update description of default features.
3128 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3129 with _GNU_SOURCE.
3130 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3131 (S_ISVTX): Likewise.
3132 * manual/math.texi (Mathematical Constants): Likewise.
3133 * manual/signal.texi (Interrupted Primitives): Likewise.
3134 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3135 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3136 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3137 Don't refer to _SVID_SOURCE in warning text.
3138
e8d8d7ec
JM
3139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3140
cb4a2928
JM
3141 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3142 already defined.
3143 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3144 * sysdeps/mips/dl-lookup.c: Remove.
3145 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3146
7e6424e3
AK
31472014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3148
3149 [BZ #16447]
3150 * math/auto-libm-test-in: Add testcase for expl.
3151 * math/auto-libm-test-out: Regenerate.
3152 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3153 calculation of unsafe.
3154 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3155
75eff3fe
MS
31562014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3157
3158 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3159 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3160 ports/sysdeps/unix/sysv/linux/aarch64.
3161 * README: Update listing for aarch64*-*-linux-gnu.
3162
d35f1e80
WN
31632014-02-11 Will Newton <will.newton@linaro.org>
3164
3165 * manual/probes.texi (Mathematical Function Probes): Use
3166 "triggered" instead of "hit".
3167
7b3436d4
WN
31682014-02-11 Will Newton <will.newton@linaro.org>
3169
3170 * manual/probes.texi (Internal Probes): Add documentation
3171 of setjmp, longjmp and longjmp_target probes.
3172
b4f12ca3
WN
31732014-02-11 Will Newton <will.newton@linaro.org>
3174
3175 * include/stap-probe.h: Add comment about probe argument
3176 format.
3177
c13a72b7
WN
31782014-02-11 Will Newton <will.newton@linaro.org>
3179
3180 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3181 definition. (tr_where, tr_freehook, tr_mallochook,
3182 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3183
195b8165
DM
31842014-02-11 David S. Miller <davem@davemloft.net>
3185
3186 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3187 processing int_tests.
3188
2ad7600b
JM
31892014-02-10 Joseph Myers <joseph@codesourcery.com>
3190
3191 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3192 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3193 * sysdeps/unix/sysv/linux/mips: Move directory from
3194 ports/sysdeps/unix/sysv/linux/mips.
3195 * README: Update listing for mips-*-linux-gnu and
3196 mips64-*-linux-gnu.
3197
73588a72
AS
31982014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3199
3200 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3201 * sysdeps/unix/sysv/linux/m68k: Move directory from
3202 ports/sysdeps/unix/sysv/linux/m68k.
3203 * README: Update listing for m68k-*-linux-gnu.
3204
4372980f
CM
32052014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3206
3207 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3208 * sysdeps/unix/sysv/linux/generic: Move directory from
3209 ports/sysdeps/unix/sysv/linux/generic.
3210 * sysdeps/unix/sysv/linux/tile: Move directory from
3211 ports/sysdeps/unix/sysv/linux/tile.
3212 * README: Update listing for tile*-*-linux-gnu.
3213
a1ffb40e
OB
32142014-02-10 Ondřej Bílka <neleai@seznam.cz>
3215
3216 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3217 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3218 * catgets/open_catalog.c (__open_catalog): Likewise.
3219 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3220 * debug/confstr_chk.c: Likewise.
3221 * debug/fread_chk.c (__fread_chk): Likewise.
3222 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3223 * debug/getgroups_chk.c: Likewise.
3224 * debug/mbsnrtowcs_chk.c: Likewise.
3225 * debug/mbsrtowcs_chk.c: Likewise.
3226 * debug/mbstowcs_chk.c: Likewise.
3227 * debug/memcpy_chk.c: Likewise.
3228 * debug/memmove_chk.c: Likewise.
3229 * debug/mempcpy_chk.c: Likewise.
3230 * debug/memset_chk.c: Likewise.
3231 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3232 * debug/strcat_chk.c (__strcat_chk): Likewise.
3233 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3234 * debug/strncat_chk.c (__strncat_chk): Likewise.
3235 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3236 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3237 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3238 * debug/wcpncpy_chk.c: Likewise.
3239 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3240 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3241 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3242 * debug/wcsncpy_chk.c: Likewise.
3243 * debug/wcsnrtombs_chk.c: Likewise.
3244 * debug/wcsrtombs_chk.c: Likewise.
3245 * debug/wcstombs_chk.c: Likewise.
3246 * debug/wmemcpy_chk.c: Likewise.
3247 * debug/wmemmove_chk.c: Likewise.
3248 * debug/wmempcpy_chk.c: Likewise.
3249 * debug/wmemset_chk.c: Likewise.
3250 * dirent/scandirat.c (SCANDIRAT): Likewise.
3251 * dlfcn/dladdr1.c (dladdr1): Likewise.
3252 * dlfcn/dladdr.c (dladdr): Likewise.
3253 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3254 * dlfcn/dlerror.c (__dlerror): Likewise.
3255 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3256 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3257 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3258 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3259 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3260 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3261 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3262 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3263 Likewise.
3264 * elf/dl-conflict.c: Likewise.
3265 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3266 * elf/dl-dst.h: Likewise.
3267 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3268 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3269 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3270 * elf/dl-init.c (call_init, _dl_init): Likewise.
3271 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3272 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3273 _dl_map_object_from_fd, open_verify, open_path,
3274 _dl_map_object): Likewise.
3275 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3276 Likewise.
3277 * elf/dl-minimal.c (__libc_memalign): Likewise.
3278 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3279 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3280 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3281 * elf/dl-sym.c (do_sym): Likewise.
3282 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3283 _dl_tls_get_addr_soft): Likewise.
3284 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3285 * elf/dl-writev.h (_dl_writev): Likewise.
3286 * elf/ldconfig.c (search_dir): Likewise.
3287 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3288 dl_main): Likewise.
3289 * elf/setup-vdso.h (setup_vdso): Likewise.
3290 * grp/compat-initgroups.c (compat_call): Likewise.
3291 * grp/fgetgrent.c (fgetgrent): Likewise.
3292 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3293 * grp/putgrent.c (putgrent): Likewise.
3294 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3295 Likewise.
3296 * hurd/hurdinit.c: Likewise.
3297 * iconvdata/8bit-gap.c (struct): Likewise.
3298 * iconvdata/ansi_x3.110.c : Likewise.
3299 * iconvdata/big5.c : Likewise.
3300 * iconvdata/big5hkscs.c : Likewise.
3301 * iconvdata/cp1255.c: Likewise.
3302 * iconvdata/cp1258.c : Likewise.
3303 * iconvdata/cp932.c : Likewise.
3304 * iconvdata/euc-cn.c: Likewise.
3305 * iconvdata/euc-jisx0213.c : Likewise.
3306 * iconvdata/euc-jp.c: Likewise.
3307 * iconvdata/euc-jp-ms.c : Likewise.
3308 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3309 * iconvdata/gb18030.c : Likewise.
3310 * iconvdata/gbbig5.c (const): Likewise.
3311 * iconvdata/gbgbk.c: Likewise.
3312 * iconvdata/gbk.c : Likewise.
3313 * iconvdata/ibm1364.c : Likewise.
3314 * iconvdata/ibm930.c : Likewise.
3315 * iconvdata/ibm932.c: Likewise.
3316 * iconvdata/ibm933.c : Likewise.
3317 * iconvdata/ibm935.c : Likewise.
3318 * iconvdata/ibm937.c : Likewise.
3319 * iconvdata/ibm939.c : Likewise.
3320 * iconvdata/ibm943.c: Likewise.
3321 * iconvdata/iso_11548-1.c: Likewise.
3322 * iconvdata/iso-2022-cn.c : Likewise.
3323 * iconvdata/iso-2022-cn-ext.c : Likewise.
3324 * iconvdata/iso-2022-jp-3.c: Likewise.
3325 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3326 * iconvdata/iso-2022-kr.c : Likewise.
3327 * iconvdata/iso646.c (gconv_end): Likewise.
3328 * iconvdata/iso_6937-2.c : Likewise.
3329 * iconvdata/iso_6937.c : Likewise.
3330 * iconvdata/iso8859-1.c: Likewise.
3331 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3332 * iconvdata/shift_jisx0213.c : Likewise.
3333 * iconvdata/sjis.c : Likewise.
3334 * iconvdata/t.61.c : Likewise.
3335 * iconvdata/tcvn5712-1.c : Likewise.
3336 * iconvdata/tscii.c: Likewise.
3337 * iconvdata/uhc.c : Likewise.
3338 * iconvdata/unicode.c (gconv_end): Likewise.
3339 * iconvdata/utf-16.c (gconv_end): Likewise.
3340 * iconvdata/utf-32.c (gconv_end): Likewise.
3341 * iconvdata/utf-7.c (base64): Likewise.
3342 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3343 * iconv/gconv_close.c (__gconv_close): Likewise.
3344 * iconv/gconv_open.c (__gconv_open): Likewise.
3345 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3346 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3347 internal_ucs4le_loop_single, ucs4le_internal_loop,
3348 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3349 * iconv/iconv.c (iconv): Likewise.
3350 * iconv/iconv_close.c: Likewise.
3351 * iconv/loop.c (SINGLE): Likewise.
3352 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3353 * include/atomic.h: Likewise.
3354 * inet/inet6_option.c (option_alloc): Likewise.
3355 * intl/bindtextdom.c (set_binding_values): Likewise.
3356 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3357 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3358 * intl/localealias.c (read_alias_file): Likewise.
3359 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3360 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3361 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3362 * libio/fmemopen.c (fmemopen): Likewise.
3363 * libio/iofgets.c (_IO_fgets): Likewise.
3364 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3365 * libio/iofgetws.c (fgetws): Likewise.
3366 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3367 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3368 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3369 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3370 * locale/findlocale.c (_nl_find_locale): Likewise.
3371 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3372 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3373 Likewise.
3374 * locale/setlocale.c (setlocale): Likewise.
3375 * login/programs/pt_chown.c (main): Likewise.
3376 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3377 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3378 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3379 mmap, mmap64, mremap, munmap): Likewise.
3380 * math/e_exp2l.c: Likewise.
3381 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3382 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3383 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3384 * math/s_catan.c (__catan): Likewise.
3385 * math/s_catanf.c (__catanf): Likewise.
3386 * math/s_catanh.c (__catanh): Likewise.
3387 * math/s_catanhf.c (__catanhf): Likewise.
3388 * math/s_catanhl.c (__catanhl): Likewise.
3389 * math/s_catanl.c (__catanl): Likewise.
3390 * math/s_ccosh.c (__ccosh): Likewise.
3391 * math/s_ccoshf.c (__ccoshf): Likewise.
3392 * math/s_ccoshl.c (__ccoshl): Likewise.
3393 * math/s_cexp.c (__cexp): Likewise.
3394 * math/s_cexpf.c (__cexpf): Likewise.
3395 * math/s_cexpl.c (__cexpl): Likewise.
3396 * math/s_clog10.c (__clog10): Likewise.
3397 * math/s_clog10f.c (__clog10f): Likewise.
3398 * math/s_clog10l.c (__clog10l): Likewise.
3399 * math/s_clog.c (__clog): Likewise.
3400 * math/s_clogf.c (__clogf): Likewise.
3401 * math/s_clogl.c (__clogl): Likewise.
3402 * math/s_csin.c (__csin): Likewise.
3403 * math/s_csinf.c (__csinf): Likewise.
3404 * math/s_csinh.c (__csinh): Likewise.
3405 * math/s_csinhf.c (__csinhf): Likewise.
3406 * math/s_csinhl.c (__csinhl): Likewise.
3407 * math/s_csinl.c (__csinl): Likewise.
3408 * math/s_csqrt.c (__csqrt): Likewise.
3409 * math/s_csqrtf.c (__csqrtf): Likewise.
3410 * math/s_csqrtl.c (__csqrtl): Likewise.
3411 * math/s_ctan.c (__ctan): Likewise.
3412 * math/s_ctanf.c (__ctanf): Likewise.
3413 * math/s_ctanh.c (__ctanh): Likewise.
3414 * math/s_ctanhf.c (__ctanhf): Likewise.
3415 * math/s_ctanhl.c (__ctanhl): Likewise.
3416 * math/s_ctanl.c (__ctanl): Likewise.
3417 * math/w_pow.c: Likewise.
3418 * math/w_powf.c: Likewise.
3419 * math/w_powl.c: Likewise.
3420 * math/w_scalb.c (sysv_scalb): Likewise.
3421 * math/w_scalbf.c (sysv_scalbf): Likewise.
3422 * math/w_scalbl.c (sysv_scalbl): Likewise.
3423 * misc/error.c (error_tail): Likewise.
3424 * misc/pselect.c (__pselect): Likewise.
3425 * nis/nis_callback.c (__nis_create_callback): Likewise.
3426 * nis/nis_call.c (__nisfind_server): Likewise.
3427 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3428 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3429 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3430 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3431 * nis/nis_lookup.c (nis_lookup): Likewise.
3432 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3433 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3434 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3435 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3436 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3437 internal_getgrgid_r): Likewise.
3438 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3439 Likewise.
3440 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3441 internal_getpwuid_r): Likewise.
3442 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3443 internal_getspnam_r): Likewise.
3444 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3445 _nss_nis_getaliasbyname_r): Likewise.
3446 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3447 _nss_nis_getntohost_r): Likewise.
3448 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3449 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3450 Likewise.
3451 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3452 internal_nis_gethostent_r, internal_gethostbyname2_r,
3453 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3454 _nss_nis_gethostbyname4_r): Likewise.
3455 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3456 initgroups_netid): Likewise.
3457 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3458 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3459 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3460 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3461 _nss_nis_getprotobynumber_r): Likewise.
3462 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3463 _nss_nis_getsecretkey): Likewise.
3464 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3465 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3466 Likewise.
3467 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3468 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3469 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3470 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3471 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3472 _nss_nis_getspnam_r): Likewise.
3473 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3474 Likewise.
3475 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3476 _nss_nisplus_getntohost_r): Likewise.
3477 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3478 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3479 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3480 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3481 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3482 Likewise.
3483 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3484 _nss_nisplus_getnetbyaddr_r): Likewise.
3485 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3486 _nss_nisplus_getprotobynumber_r): Likewise.
3487 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3488 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3489 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3490 Likewise.
3491 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3492 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3493 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3494 _nss_nisplus_getspnam_r): Likewise.
3495 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3496 * nscd/aicache.c (addhstaiX): Likewise.
3497 * nscd/cache.c (cache_search, prune_cache): Likewise.
3498 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3499 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3500 * nscd/grpcache.c (addgrbyX): Likewise.
3501 * nscd/hstcache.c (addhstbyX): Likewise.
3502 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3503 * nscd/mem.c (gc, mempool_alloc): Likewise.
3504 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3505 Likewise.
3506 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3507 Likewise.
3508 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3509 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3510 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3511 Likewise.
3512 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3514 * nscd/nscd_helper.c (__readvall, open_socket,
3515 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3516 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3517 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3518 * nscd/pwdcache.c (addpwbyX): Likewise.
3519 * nscd/selinux.c (preserve_capabilities): Likewise.
3520 * nscd/servicescache.c (addservbyX): Likewise.
3521 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3522 * posix/fnmatch.c (fnmatch): Likewise.
3523 * posix/getopt.c (_getopt_internal_r): Likewise.
3524 * posix/glob.c (glob, glob_in_dir): Likewise.
3525 * posix/wordexp.c (exec_comm_child): Likewise.
3526 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3527 gaih_getanswer_slice): Likewise.
3528 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3529 * resolv/res_init.c: Likewise.
3530 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3531 * resolv/res_query.c (__libc_res_nquery): Likewise.
3532 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3533 Likewise.
3534 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3535 * stdio-common/perror.c (perror): Likewise.
3536 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3537 * stdio-common/tmpnam.c (tmpnam): Likewise.
3538 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3539 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3540 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3541 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3542 * stdlib/putenv.c (putenv): Likewise.
3543 * stdlib/setenv.c (__add_to_environ): Likewise.
3544 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3545 * stdlib/strtol_l.c (INTERNAL): Likewise.
3546 * string/memmem.c (memmem): Likewise.
3547 * string/strerror.c (strerror): Likewise.
3548 * string/strnlen.c (__strnlen): Likewise.
3549 * string/test-memmem.c (simple_memmem): Likewise.
3550 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3551 * sunrpc/pm_getport.c (__get_socket): Likewise.
3552 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3553 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3554 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3555 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3556 Likewise.
3557 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3558 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3559 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3560 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3561 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3562 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3563 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3564 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3565 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3566 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3567 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3568 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3570 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3571 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3572 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3573 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3574 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3575 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3576 Likewise.
3577 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3578 Likewise.
3579 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3580 Likewise.
3581 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3584 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3585 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3586 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3587 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3590 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3591 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3594 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3597 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3598 Likewise.
3599 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3600 Likewise.
3601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3602 Likewise.
3603 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3604 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3605 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3606 Likewise.
3607 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3608 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3609 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3610 * sysdeps/posix/sleep.c: Likewise.
3611 * sysdeps/posix/tempname.c: Likewise.
3612 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3613 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3614 Likewise.
3615 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3616 elf_machine_rela): Likewise.
3617 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3619 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3620 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3621 Likewise.
3622 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3623 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3624 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3625 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3626 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3627 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3628 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3629 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3630 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3631 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3633 elf_machine_lazy_rel): Likewise.
3634 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3635 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3636 elf_machine_lazy_rel): Likewise.
3637 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3638 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3639 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3640 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3641 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3642 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3643 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3644 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3645 Likewise.
3646 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3647 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3648 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3649 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3650 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3651 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3652 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3653 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3654 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3655 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3656 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3657 Likewise.
3658 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3659 (__posix_fallocate64_l64): Likewise.
3660 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3661 (posix_fallocate): Likewise.
3662 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3663 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3664 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3665 getifaddrs_internal): Likewise.
3666 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3667 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3668 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3669 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3670 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3671 (__posix_fallocate64_l64): Likewise.
3672 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3673 Likewise.
3674 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3675 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3676 Likewise.
3677 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3678 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3679 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3680 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3682 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3683 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3684 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3685 Likewise.
3686 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3687 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3688 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3689 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3690 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3691 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3692 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3695 (posix_fallocate): Likewise.
3696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3697 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3698 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3699 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3700 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3701 Likewise.
3702 * time/asctime.c (asctime_internal): Likewise.
3703 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3704 * time/tzset.c (__tzset_parse_tz): Likewise.
3705 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3706 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3707 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3708 * wcsmbs/wcsmbsload.h: Likewise.
3709
f3d338c9
OB
37102014-02-10 Ondřej Bílka <neleai@seznam.cz>
3711
3712 [BZ #15894]
3713 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3714
bdfe308a
OB
37152014-02-10 Ondřej Bílka <neleai@seznam.cz>
3716
3717 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3718 arena_get2): Remove THREAD_STATS conditionals.
3719 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3720 __malloc_stats, int): Likewise.
3721
d674667c
MF
37222014-02-08 Mike Frysinger <vapier@gentoo.org>
3723
3724 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3725 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3726
6349768c
MF
37272014-02-08 Mike Frysinger <vapier@gentoo.org>
3728
3729 * manual/setjmp.texi: Fix typos/grammar errors.
3730
0b7c7473
MF
37312014-02-08 Mike Frysinger <vapier@gentoo.org>
3732
3733 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3734 Only return early when n is <= 0. Delete unused return statement.
3735
ac8cc9e3
MF
37362014-02-08 Mike Frysinger <vapier@gentoo.org>
3737
3738 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3739 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3740 * debug/tst-longjmp_chk3.c: New file.
3741
c5bb8e23
MF
37422014-02-08 Mike Frysinger <vapier@gentoo.org>
3743
3744 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3745 (test_main): Replace code with set_fortify_handler call.
3746 * debug/test-strcpy_chk.c: Likewise.
3747 * debug/tst-chk1.c: Likewise.
3748 * debug/tst-longjmp_chk.c: Likewise.
3749 * test-skeleton.c: Include fcntl.h & paths.h
3750 (set_fortify_handler): Define.
3751
10444e42
MF
37522014-02-08 Mike Frysinger <vapier@gentoo.org>
3753
3754 * debug/tst-longjmp_chk.c: Add header comment and include
3755 ../test-skeleton.c.
3756 (do_test): Mark static.
3757 (TEST_FUNCTION): Define.
3758
1e805e8d
MF
37592014-02-08 Mike Frysinger <vapier@gentoo.org>
3760
3761 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3762 (IP_PMTUDISC_INTERFACE): Likewise.
3763 (IP_MULTICAST_IF): Likewise.
3764 (IP_MULTICAST_TTL): Likewise.
3765 (IP_MULTICAST_LOOP): Likewise.
3766 (IP_ADD_MEMBERSHIP): Likewise.
3767 (IP_DROP_MEMBERSHIP): Likewise.
3768 (IP_UNBLOCK_SOURCE): Likewise.
3769 (IP_BLOCK_SOURCE): Likewise.
3770 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3771 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3772 (IP_MSFILTER): Likewise.
3773 (MCAST_JOIN_GROUP): Likewise.
3774 (MCAST_BLOCK_SOURCE): Likewise.
3775 (MCAST_UNBLOCK_SOURCE): Likewise.
3776 (MCAST_LEAVE_GROUP): Likewise.
3777 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3778 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3779 (MCAST_MSFILTER): Likewise.
3780 (IP_MULTICAST_ALL): Likewise.
3781 (IP_UNICAST_IF): Likewise.
3782
73f79bb7
MF
37832014-02-08 Mike Frysinger <vapier@gentoo.org>
3784
3785 * timezone/Makefile: Delete $(have-ksh) check.
3786 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3787 * timezone/tzselect.ksh: Add +x mode bits.
3788
8da79b60
MF
37892014-02-08 Mike Frysinger <vapier@gentoo.org>
3790
3791 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3792 (ANON_INODE_FS_MAGIC): Likewise.
3793 (BDEVFS_MAGIC): Likewise.
3794 (BINFMTFS_MAGIC): Likewise.
3795 (BTRFS_TEST_MAGIC): Likewise.
3796 (CRAMFS_MAGIC_WEND): Likewise.
3797 (DEBUGFS_MAGIC): Likewise.
3798 (ECRYPTFS_SUPER_MAGIC): Likewise.
3799 (EXT3_SUPER_MAGIC): Likewise.
3800 (EXT4_SUPER_MAGIC): Likewise.
3801 (FUTEXFS_SUPER_MAGIC): Likewise.
3802 (HOSTFS_SUPER_MAGIC): Likewise.
3803 (HUGETLBFS_MAGIC): Likewise.
3804 (MINIX3_SUPER_MAGIC): Likewise.
3805 (MTD_INODE_FS_MAGIC): Likewise.
3806 (NILFS_SUPER_MAGIC): Likewise.
3807 (OPENPROM_SUPER_MAGIC): Likewise.
3808 (PIPEFS_MAGIC): Likewise.
3809 (PSTOREFS_MAGIC): Likewise.
3810 (QNX6_SUPER_MAGIC): Likewise.
3811 (RAMFS_MAGIC): Likewise.
3812 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3813 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3814 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3815 (SECURITYFS_MAGIC): Likewise.
3816 (SELINUX_MAGIC): Likewise.
3817 (SMACK_MAGIC): Likewise.
3818 (SOCKFS_MAGIC): Likewise.
3819 (SQUASHFS_MAGIC): Likewise.
3820 (STACK_END_MAGIC): Likewise.
3821 (TMPFS_MAGIC): Likewise.
3822 (USBDEVICE_SUPER_MAGIC): Likewise.
3823 (V9FS_MAGIC): Likewise.
3824 (XENFS_SUPER_MAGIC): Likewise.
3825 (CRAMFS_MAGIC): Fix typo in comment.
3826 (EXT2_SUPER_MAGIC): Update comment.
3827 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3828
464263cc
JM
38292014-02-08 Joseph Myers <joseph@codesourcery.com>
3830
c6bfe5c4
JM
3831 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3832 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3833 * sysdeps/unix/sysv/linux/arm: Move directory from
3834 ports/sysdeps/unix/sysv/linux/arm.
3835 * README: Update listing for arm-*-linux-gnueabi.
3836
464263cc
JM
3837 * README: Remove mention of am33.
3838
32749f6c
RM
38392014-02-07 Roland McGrath <roland@hack.frob.com>
3840
3841 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3842 than the comma operator, to avoid "rhs of comma has no effect"
3843 compiler warnings.
3844 (__sigfillset, __sigandset, __sigorset): Likewise.
3845 * include/signal.h (__sigemptyset): Likewise.
3846 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3847
d5b396c1
AM
38482014-02-07 Allan McRae <allan@archlinux.org>
3849
3850 * version.h (RELEASE): Set to "development".
3851 (VERSION): Set to "2.19.90"
3852 * NEWS: Add 2.20 section.
3853
3bfff2ed
CD
38542014-02-06 Carlos O'Donell <carlos@redhat.com>
3855
3856 [BZ #16529]
3857 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3858
ee7cc385
SP
38592014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3860
3861 * manual/contrib.texi: Update entry for Carlos O'Donell,
3862 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3863
f877c4f2
CD
38642014-02-05 Carlos O'Donell <carlos@rehdat.com>
3865
27e839f6
CD
3866 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3867
f877c4f2
CD
3868 * sysdeps/unix/sysv/linux/kernel-features.h
3869 [__LINUX_KERNEL_VERSION >= 0x020621]
3870 (__ASSUME_PROC_PID_TASK_COMM): Define.
3871
68159946
SP
38722014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3873
ba17cdbd
SP
3874 [BZ #16398]
3875 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3876 conversion when destination buffer does not have enough space.
3877 * libio/tst-ftell-partial-wide.c: New test case.
3878 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3879
68159946
SP
3880 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3881 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3882 Leonard and Allan McRae.
3883
2b528732
DM
38842014-02-04 David S. Miller <davem@davemloft.net>
3885
3886 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3887 32-bit.
3888
0ff82463
AZ
38892014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3890
c01603f7
AZ
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3892 file
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3894 New file
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3896 file.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3898 file.
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3900 New file.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3902 file.
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3904 file.
3905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3906 New file.
3907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3908 New file.
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3910 New file.
3911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3912 New file.
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3914 New file.
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3916 New file.
3917
39182014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3919
0ff82463
AZ
3920 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3921 * shlib-versions: Likewise.
3922
1695c773
AZ
39232014-02-04 Roland McGrath <roland@hack.frob.com>
3924 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3925
3926 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3927 (abilist-pattern): New variable, set to %-le.abilist.
3928
3929 * Makerules (abilist-pattern): New variable.
3930 (vpath): Use $(abilist-pattern) in place of %.abilist.
3931 (check-abi-% pattern rule): Likewise.
3932 (check-abi, update-abi): Likewise.
3933
6c0ce4b4
EW
39342014-02-04 Eric Wong <normalperson@yhbt.net>
3935
3936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3937
dc98b8f5
EW
39382014-02-04 Eric Wong <normalperson@yhbt.net>
3939
3940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3941
481e3524
CD
39422014-02-03 Carlos O'Donell <carlos@redhat.com>
3943
3944 * manual/startup.texi: Add next, previous, and top entries for
3945 the `Program Arguments' and `Environment Variables' nodes.
3946
375592d3
AO
39472014-02-03 Alexandre Oliva <aoliva@redhat.com>
3948
3949 * manual/macros.texi: Add comments before MTASC-safety macros.
3950
f54838ba
AO
3951 * manual/users.texi: Document MTASC-safety properties.
3952
909e12ad
AO
3953 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3954 pthread_getspecific, pthread_setspecific): Format with
3955 @deftypefun, and add @safety note.
3956 * manual/signal.texi: Move comments that analyze the above
3957 functions to their home place.
3958
fd3daba4
AM
39592014-02-03 Allan McRae <allan@archlinux.org>
3960
3961 * po/sl.po: Update Slovenian translation from translation project.
3962
597636d7
AO
39632014-02-02 Alexandre Oliva <aoliva@redhat.com>
3964
3965 * manual/time.texi (timegm): Add missing blank after @c.
3966 Reported by Joseph Myers <joseph@codesourcery.com>.
3967
ee196e3c
AO
39682014-02-01 Alexandre Oliva <aoliva@redhat.com>
3969
3970 * manual/check-safety.sh: New.
3971 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3972
f8d529d5
AO
3973 * manual/terminal.texi: Document MTASC-safety properties.
3974
de55fdf4
AO
3975 * manual/filesys.texi: Document MTASC-safety properties.
3976
c3299c08
AO
3977 * manual/errno.texi: Document MTASC-safety properties.
3978
06e90b14
AO
3979 * manual/intro.texi: Document safety identifiers and
3980 conditionals.
3981
1acd4371
AO
3982 * manual/string.texi (wcstok): Fix prototype.
3983 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3984
23e5b8cb
AO
3985 * manual/time.texi: Document MTASC-safety properties.
3986
11087373
AO
3987 * manual/string.texi: Document MTASC-safety properties.
3988
5da2c93d
AO
3989 * manual/threads.texi: Document MTASC-safety properties.
3990
171e9210
AO
3991 * manual/stdio.texi: Document MTASC-safety properties.
3992
d9e02532
AO
3993 * manual/syslog.texi: Document MTASC-safety properties.
3994
6af8bab7
AO
3995 * manual/sysinfo.texi: Document MTASC-safety properties.
3996
663b02d7
AO
3997 * manual/startup.texi: Document MTASC-safety properties.
3998
973f180b
AO
3999 * manual/socket.texi: Document MTASC-safety properties.
4000
8f3c25c8
AO
4001 * manual/signal.texi: Document MTASC-safety properties.
4002
542210fb
AO
40032014-01-31 Alexandre Oliva <aoliva@redhat.com>
4004
4005 * manual/setjmp.texi: Document MTASC-safety properties.
4006
433c45a2
AO
4007 * manual/search.texi: Document MTASC-safety properties.
4008
c8ce789c
AO
4009 * manual/resource.texi: Document MTASC-safety properties.
4010
19f5d29c
AO
4011 * manual/process.texi: Document MTASC-safety properties.
4012
e2dfb7f4
AO
4013 * manual/platform.texi: Document MTASC-safety properties.
4014
8c1413f5
AO
4015 * manual/pipe.texi: Document MTASC-safety properties.
4016
03483ada
AO
4017 * manual/pattern.texi: Document MTASC-safety properties.
4018
29e7e2df
AO
4019 * manual/message.texi: Document MTASC-safety properties.
4020
9f529d7c
AO
4021 [BZ #12751]
4022 * manual/memory.texi: Document MTASC-safety properties.
4023
27aaa791
AO
4024 * manual/math.texi: Document MTASC-safety properties.
4025
f2d58726
AO
4026 * manual/locale.texi: Document MTASC-safety properties.
4027
2cc3615c
AO
4028 * manual/llio.texi: Document MTASC-safety properties.
4029
d9f0ec97
AO
4030 * manual/libdl.texi: New.
4031
e7c4409a
AO
4032 * manual/lang.texi: Document MTASC-safety properties.
4033
27bdc63c
AO
4034 * manual/job.texi: Document MTASC-safety properties.
4035
a7b90ea9
AO
4036 * manual/getopt.texi: Document MTASC-safety properties.
4037
c49130e3
AO
4038 * manual/ctype.texi: Document MTASC-safety properties.
4039
0d23a5c1
MR
40402014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4041
4042 [BZ #16046]
4043 * csu/libc-tls.c (static_map): Remove variable.
4044 (__libc_setup_tls): Use main executable's link map for TLS data.
4045 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4046 casing for LM_ID_BASE and GL(dl_nns).
4047 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4048 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4049 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4050 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4051 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4052 member.
4053 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4054 l_phnum members.
4055
0037bb60
AO
40562014-01-30 Alexandre Oliva <aoliva@redhat.com>
4057
4058 * manual/debug.texi: Document MTASC-safety properties.
4059
409e00bd
L
40602014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4061
4062 [BZ #16510]
4063 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4064 of __x86_64__ when disabling x87 inline functions.
4065
86e60666
AO
40662014-01-29 Alexandre Oliva <aoliva@redhat.com>
4067
4068 * manual/charset.texi: Document MTASC-safety properties.
4069
76167637
AO
4070 * manual/crypt.texi: Document MTASC-safety properties.
4071
e567f2a0
AO
4072 * manual/conf.texi: Document MTASC-safety properties.
4073
b719dafd
AO
4074 * manual/arith.texi: Document MTASC-safety properties.
4075
4a16c662
AO
4076 * manual/argp.texi: Document MTASC-safety properties.
4077
0a57b83e
AO
4078 * manual/macros.texi: Introduce macros to document multi
4079 thread, asynchronous signal and asynchronous cancellation
4080 safety properties.
4081 * manual/intro.texi: Introduce the properties themselves.
4082
feab2397
KK
40832014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4084
4085 * sysdeps/sh/sh4/Makefile: New file.
4086
1c0d11bc
AS
40872014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4088
4089 * math/gen-libm-test.pl ($srcdir): New variable.
4090 ($auto_input): Use it.
4091
af37a8a3
SP
40922014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4093
d7b00f98
SP
4094 [BZ #16506]
4095 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4096 access beyond array bounds when parsing netgroups file.
4097
af37a8a3
SP
4098 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4099 the old buffer before realloc.
4100
0c00f062
AM
41012014-01-27 Allan McRae <allan@archlinux.org>
4102
4103 * po/fr.po: Update French translation from translation project.
4104
7d69a1b0
KK
41052014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4106
4107 * sysdeps/sh/libm-test-ulps: Regenerate.
4108
6e697ff7
DM
41092014-01-24 David S. Miller <davem@davemloft.net>
4110
4111 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4112
9cadb35c
KK
41132014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4114
4115 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4116 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4117
5d41dadf
SP
41182013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4119
4120 [BZ #16474]
4121 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4122 string pointers after reallocation.
4123
0bad441c
KK
41242014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4125
4126 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4127 __SH4A__ instead of __SH_FPU_ANY__.
4128
7007c661
KK
41292014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4130
4131 * sysdeps/sh/fpu_control.h: New file.
4132 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4133 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4134 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4135 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4136 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4137 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4138 * sysdeps/sh/sys/ucontext.h: Remove.
4139 * sysdeps/sh/sys: Remove directory.
4140
0f0c35e4
AK
41412014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4142
4143 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4144 s390/sys/ucontext.h.
4145 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4146 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4147
4959e284
L
41482014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4149
4150 [BZ #15605]
4151 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4152
d98720e0
AZ
41532014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154
4155 [BZ#16431]
4156 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4157 Adjust the vDSO correctly for internal calls.
4158 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4159
91cbd0bc
AM
41602014-01-20 Allan McRae <allan@archlinux.org>
4161
4162 * po/ca.po: Update Catalan translation from translation project.
4163
7a02cfad
MF
41642014-01-16 Mike Frysinger <vapier@gentoo.org>
4165
4166 * sysdeps/s390/sotruss-lib.c: New file.
4167
736c304a
AZ
41682014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169
4170 [BZ#16430]
6e077ee5 4171 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4172 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4173 local calls issues by not having a PLT stub required for IFUNC calls.
4174 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4175
94d0cea0
JM
41762014-01-16 Joseph Myers <joseph@codesourcery.com>
4177
4178 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4179 * math/test-fpucw-static.c: Likewise.
4180
980cb518
SP
41812013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4182
4183 [BZ #16453]
4184 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4185
2393fc01
AZ
41862014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4187
4188 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4189 implementation for powerpc.
4190
d359bcc2
OB
41912014-01-15 Ondřej Bílka <neleai@seznam.cz>
4192
4193 [BZ #14782]
4194 * sysdeps/posix/system.c (__libc_system): Do not enable
4195 asynchronous cancellation.
4196
7beb48cb
AK
41972014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4198
4199 [BZ #16427]
4200 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4201 handling only for numbers special also in the IEEE case.
4202
c20d5bf5
AK
42032014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4204
4205 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4206
e83bd4ee
AM
42072014-01-11 Allan McRae <allan@archlinux.org>
4208
76d0ea69
AM
4209 * po/bg.po: Update Bulgarian translation from translation project.
4210
e83bd4ee
AM
4211 * po/de.po: Update German translation from translation project.
4212
bc2ba20a
RM
42132014-01-10 Roland McGrath <roland@hack.frob.com>
4214
4215 * sysdeps/generic/gcc-compat.h: New file.
4216
649ecea2
SP
42172014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4218
4219 * benchtests/asin-inputs: Correct slow inputs.
4220 * benchtests/acos-inputs: Likewise.
4221
1b19c006
AM
42222014-01-10 Allan McRae <allan@archlinux.org>
4223
a46dab08
AM
4224 * po:sv.po: Update Swedish translation from translation project.
4225
421df74a
AM
4226 * po/vi.po: Update Vietnamese translation from translation project.
4227
d61c51a7
AM
4228 * po/eo.po: Update Esperanto translation from translation project.
4229
0339a319
AM
4230 * po/cs.po: Update Czech translation from translation project.
4231
94ad3e99
AM
4232 * po/nl.po: Update Dutch translation from translation project.
4233
e349ca71
AM
4234 * po/pl.po: Update Polish translation from translation project.
4235
ddf930c1
AM
4236 * po/ru.po: Update Russian translation from translation project.
4237
1b19c006
AM
4238 * po/uk.po: Update Ukrainian translation from translation project.
4239
9f236c49
BM
42402014-01-08 Brooks Moses <bmoses@google.com>
4241
4242 * elf/dl-load.c: Fix comment typo.
4243
cd6701cf
CD
42442014-01-08 Carlos O'Donell <carlos@redhat.com>
4245
4246 * po/header.pot: Rename to...
4247 * po/pot.header: ... this.
4248 * po/Makefile: Use pot.header.
4249
66671c84
YK
42502014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4251 Maxim Kuvyrkov <maxim@kugelworks.com>
4252
4253 [BZ #16394]
cd6701cf
CD
4254 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4255 SRC and DEST against LEN.
66671c84 4256
38f34581
AZ
42572014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4258
4259 [BZ #16414]
4260 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4261 implementation.
4262 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4263
42642014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4265
4266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4267
4c327f2a
JM
42682014-01-08 Joseph Myers <joseph@codesourcery.com>
4269
4270 [BZ #16408]
4271 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4272 for large positive arguments.
4273
b821f414
JM
42742014-01-07 Joseph Myers <joseph@codesourcery.com>
4275
1f0f2067
JM
4276 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4277
a5a326f6
JM
4278 * math/auto-libm-test-in: Mark various tests with
4279 xfail-rounding:ldbl-128ibm.
4280 * math/auto-libm-test-out: Regenerated.
4281
b821f414
JM
4282 [BZ #16407]
4283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4284 Increase overflow threshold.
4285
94c8a4bc
OB
42862014-01-07 Ondřej Bílka <neleai@seznam.cz>
4287
4288 [BZ #14286]
4289 * stdio-common/vfprintf.c: Check for integer overflow.
4290
87ded0c3
AK
42912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4292
4293 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4294 the first argument and return value of __tls_get_addr_internal.
4295
c5eebdd0
AK
42962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4297
4298 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4299 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4300
05d138ef
AK
43012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4302
4303 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4304 * sysdeps/s390/rtld-global-offsets.sym: New file.
4305 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4306 GLIBC_2.19 symbol.
4307 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4308 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4309 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4310 ... this.
4311 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4312 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4313 ... this.
4314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4315 Regenerate.
4316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4317 Regenerate.
4318 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4319 halfs of GPRs for high_gprs contexts.
4320 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4321 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4322 field.
4323 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4324 uc_flags field.
4325 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4326 64 bit versions:
4327 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4328 for high GPRs (uc_high_gprs) and for future extensions
4329 (__reserved).
4330 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4331 for future extensions (__reserved).
4332 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4333 64 bit versions:
4334 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4335 SC_HIGHGPRS offset definition.
4336 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4337 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4338
93a45ff1
AK
43392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4340
4341 * Versions.def: Add GLIBC_2.19 for libpthread.
4342 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4343 siglongjmp for libpthread with GLIBC_2.19 symver.
4344 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4345 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4346 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4347 * sysdeps/s390/__longjmp.c: New file.
4348 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4349 * sysdeps/s390/longjmp.c: New file.
4350 * sysdeps/s390/setjmp.S: New file.
4351 * sysdeps/s390/sigjmp.S: New file.
4352 * sysdeps/s390/v1-longjmp.c: New file.
4353 * sysdeps/s390/v1-setjmp.h: New file.
4354 * sysdeps/s390/v1-sigjmp.c: New file.
4355 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4356 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4357 GLIBC_2.19 version.
4358 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4359 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4360 versioned symbols for ____longjmp_chk.
4361 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4362 Likewise.
4363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4364 Regenerate.
4365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4366 Regenerate.
4367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4368 Regenerate.
4369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4370 Regenerate.
4371 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4372 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4373 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4374 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4375 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4376 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4377 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4378 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4379 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4380 * sysdeps/s390/rtld-__longjmp.c: New file.
4381 * sysdeps/s390/rtld-setjmp.S: New file.
4382
eb3fc44b
JM
43832014-01-06 Joseph Myers <joseph@codesourcery.com>
4384
4385 [BZ #16400]
4386 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4387 Return -__logl (x) for small positive arguments without evaluating
4388 a polynomial.
4389
9341dde4
MF
43902014-01-06 Mike Frysinger <vapier@gentoo.org>
4391
4392 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4393 Rename to ...
4394 (__ptrace_peeksiginfo_args): ... this.
4395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4398
4cff0293
AM
43992014-01-06 Allan McRae <allan@archlinux.org>
4400
4401 * inet/netinet/in.h: Fix typo in comment.
4402
75595dcf
AJ
44032014-01-05 Andreas Jaeger <aj@suse.de>
4404
4405 * sysdeps/i386/fpu/libm-test-ulps: Update.
4406
79c1e109
AM
44072014-01-05 Allan McRae <allan@archlinux.org>
4408
dd804818
AM
4409 * po/libc.pot: Regenerated.
4410
79c1e109
AM
4411 * malloc/memusagestat.c: Fix gettext call formatting.
4412
0c813d1f
SK
44132014-01-04 Sami Kerola <kerolasa@iki.fi>
4414
4415 * nscd/nscd.c: Improve usage() output.
4416
20f4a8d9
MF
44172014-01-04 Mike Frysinger <vapier@gentoo.org>
4418
4419 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4420 * sysdeps/unix/sysv/linux/configure: Regenerated.
4421 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4422 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4423
22562bb2
JM
44242014-01-03 Joseph Myers <joseph@codesourcery.com>
4425
4426 [BZ #16390]
4427 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4428 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4429
d7ad2d9b
AZ
44302014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4431
4432 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4433 extra tokens at end of #undef directive.
4434 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4435 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4436 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4437
7dd009d8
JM
44382014-01-03 Joseph Myers <joseph@codesourcery.com>
4439
24db925a
JM
4440 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4441
7dd009d8
JM
4442 * math/auto-libm-test-in: Mark various tests with
4443 xfail-rounding:ldbl-128ibm.
4444 * math/auto-libm-test-out: Regenerated.
4445
396e3ecf
JM
44462014-01-02 Joseph Myers <joseph@codesourcery.com>
4447
819e5d50
JM
4448 [BZ #16386]
4449 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4450 numbers with subnormal high part when calculating exponent.
4451
90b6a1e5
JM
4452 [BZ #16385]
4453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4454 fabs.
4455
396e3ecf
JM
4456 [BZ #16384]
4457 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4458 M_LN2l.
4459 (__ieee754_acoshl): Use __log1pl not __log1p.
4460
6c8dbf00
OB
44612013-01-02 Ondřej Bílka <neleai@seznam.cz>
4462
4463 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4464 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4465 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4466 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4467 Convert to GNU style.
4468 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4469 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4470 memalign_check, __malloc_set_state): Likewise.
4471 * malloc/mallocbug.c (main): Likewise.
4472 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4473 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4474 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4475 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4476 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4477 * malloc/malloc.h: Likewise.
4478 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4479 memalignhook, reallochook, mabort): Likewise.
4480 * malloc/mcheck.h: Likewise.
4481 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4482 mmap64, mremap, munmap, dest): Likewise.
4483 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4484 * malloc/morecore.c (__default_morecore): Likewise.
4485 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4486 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4487 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4488 print_and_abort): Likewise.
4489 * malloc/obstack.h: Likewise.
4490 * malloc/set-freeres.c (__libc_freeres): Likewise.
4491 * malloc/tst-mallocstate.c (main): Likewise.
4492 * malloc/tst-mtrace.c (main): Likewise.
4493 * malloc/tst-realloc.c (do_test): Likewise.
4494
d4124212
SP
44952013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4496
9a3c6a6f
SP
4497 [BZ #16366]
4498 * nscd/netgroupcache.c (do_notfound): New function.
4499 (addgetnetgrentX): Use it.
4500
d4124212
SP
4501 [BZ # 16365]
4502 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4503 NSS_STATUS_NOTFOUND.
4504
97b9a009
JM
45052014-01-01 Joseph Myers <joseph@codesourcery.com>
4506
4507 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4509
d4697bc9
AM
45102014-01-01 Allan McRae <allan@archlinux.org>
4511
ddb3687f
AM
4512 * scripts/update-copyrights: Update configure input file suffix.
4513
88726d48
AM
4514 * NEWS: Update copyright year.
4515 * catgets/gencat.c: Likewise.
4516 * csu/version.c: Likewise.
4517 * debug/catchsegv.sh: Likewise.
4518 * debug/pcprofiledump.c: Likewise.
4519 * debug/xtrace.sh: Likewise.
4520 * elf/ldconfig.c: Likewise.
4521 * elf/ldd.bash.in: Likewise.
4522 * elf/pldd.c: Likewise.
4523 * elf/sotruss.ksh: Likewise.
4524 * elf/sprof.c: Likewise.
4525 * iconv/iconv_prog.c: Likewise.
4526 * iconv/iconvconfig.c: Likewise.
4527 * locale/programs/locale.c: Likewise.
4528 * locale/programs/localedef.c: Likewise.
4529 * login/programs/pt_chown.c: Likewise.
4530 * malloc/memusage.sh: Likewise.
4531 * malloc/memusagestat.c: Likewise.
4532 * malloc/mtrace.pl: Likewise.
4533 * manual/libc.texinfo: Likewise.
4534 * nscd/nscd.c: Likewise.
4535 * nss/getent.c: Likewise.
4536 * nss/makedb.c: Likewise.
4537 * posix/getconf.c: Likewise.
4538 * scripts/test-installation.pl: Likewise.
4539
d4697bc9
AM
4540 * All files with FSF copyright notices: Update copyright dates
4541 using scripts/update-copyrights.
4542 * intl/plural.c: Regenerated.
4543 * locale/programs/charmap-kw.h: Likewise.
4544 * locale/programs/locfile-kw.h: Likewise.
4545
c8590f9d
MF
45462013-12-31 Mike Frysinger <vapier@gentoo.org>
4547
4548 * sysdeps/unix/sysv/linux/configure: Regenerated.
4549 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4550 the linux/fanotify.h header.
4551 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4552 HAVE_LINUX_FANOTIFY_H is defined.
4553
b19221b9
SP
45542013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4555
dd1d85e5
SP
4556 * benchtests/cos-inputs: New inputs.
4557 * benchtests/sin-inputs: Likewise.
4558
1acbb90f
SP
4559 * benchtests/atan-inputs: New inputs. Fix name of multiple
4560 precision fallback inputs.
4561
4c012ed3
SP
4562 * benchtests/atanh-inputs: New inputs.
4563 * benchtests/tanh-inputs: Likewise.
4564
eff98324
SP
4565 * benchtests/acosh-inputs: New inputs.
4566 * benchtests/asinh-inputs: Likewise.
4567
ce641152
SP
4568 * benchtests/cosh-inputs: New inputs.
4569 * benchtests/sinh-inputs: Likewise.
4570
b19221b9
SP
4571 * benchtests/acos-inputs: Add more inputs.
4572 * benchtests/asin-inputs: Likewise.
4573
030a4976 45742013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4575
030a4976 4576 [BZ #16375]
9dcc8f11
VS
4577 * manual/arith.texi: Fix spelling.
4578 * manual/charset.texi: Likewise.
4579 * manual/errno.texi: Likewise.
4580 * manual/filesys.texi: Likewise.
4581 * manual/lang.texi: Likewise.
4582 * manual/llio.texi: Likewise.
4583 * manual/locale.texi: Likewise.
4584 * manual/message.texi: Likewise.
4585 * manual/resource.texi: Likewise.
4586 * manual/search.texi: Likewise.
4587 * manual/setjmp.texi: Likewise.
4588 * manual/stdio.texi: Likewise.
4589 * manual/string.texi: Likewise.
4590 * manual/sysinfo.texi: Likewise.
4591 * manual/time.texi: Likewise.
4592
11520a57
CD
45932013-12-27 Carlos O'Donell <carlos@redhat.com>
4594
4595 * po/sl.po: New file.
4596
471103ae
MF
45972013-12-27 Mike Frysinger <vapier@gentoo.org>
4598
4599 * .gitignore: Add core/.gdbinit/.gdb_history.
4600
6c9642ed
AM
46012013-12-27 Allan McRae <allan@archlinux.org>
4602
4603 [BZ #16369]
4604 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4605 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4606
3f637079
BM
46072013-12-24 Brooks Moses <bmoses@google.com>
4608
4609 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4610 all compilers that claim C++98 compliance, not just GCC.
4611 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4612 Likewise.
4613
abc26e99
MK
46142013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4615
4616 * NEWS: Restore accidentally deleted bug-fix entries.
4617
362b47fe
MK
46182013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4619 Ondřej Bílka <neleai@seznam.cz>
4620
4621 [BZ #15073]
4622 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4623 have_lock.
362b47fe 4624
b9bcbbcb
OB
46252013-12-23 Ondřej Bílka <neleai@seznam.cz>
4626
4627 [BZ #12986]
4628 * manual/stdio.texi (String Input Conversions): Clarify that character
4629 classes are not supported.
4630
fb55fcd2
AZ
46312013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4632
4633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4634
ef7344f0
JM
46352013-12-22 Joseph Myers <joseph@codesourcery.com>
4636
4f40e4b3
JM
4637 [BZ #16337]
4638 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4639 Calculate results for small negative arguments directly rather
4640 than using reflection formula with special underflow handling.
4641
ef7344f0
JM
4642 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4643 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4644 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4645 (fchflags): Likewise.
4646 (revoke): Likewise.
4647 (setlogin): Likewise.
4648 (sigaltstack): Likewise.
4649 (wait4): Likewise.
4650 (sigblock): Remove.
4651 (sigsetmask): Likewise.
4652 (wait3): Likewise.
4653 (waitpid): Likewise.
4654 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4655 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4656 file.
4657 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4658 * sysdeps/unix/bsd/Makefile: ... here.
4659 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4660 * sysdeps/unix/bsd/Versions: ... here.
4661 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4662 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4663 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4664 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4665 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4666 * sysdeps/unix/bsd/sigblock.c: ... here.
4667 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4668 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4669 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4670 * sysdeps/unix/bsd/sigvec.c: ... here.
4671 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4672 * sysdeps/unix/bsd/tcdrain.c: ... here.
4673 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4674 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4675 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4676 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4677 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4678 * sysdeps/unix/bsd/wait.c: ... here.
4679 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4680 * sysdeps/unix/bsd/wait3.c: ... here.
4681 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4682 * sysdeps/unix/bsd/waitpid.c: ... here.
4683
5b0626b9
JM
46842013-12-21 Joseph Myers <joseph@codesourcery.com>
4685
4686 [BZ #16356]
4687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4688 round-to-nearest for [!USE_AS_EXPM1L].
4689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4690 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4691 more tests of exp and exp10. Expect some exp10 tests to miss
4692 exceptions or fail in directed rounding modes.
4693 * math/auto-libm-test-out: Regenerated.
4694 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4695 (exp10_test_tonearest): New function.
4696 (exp10_towardzero_test_data): New array.
4697 (exp10_test_towardzero): New function.
4698 (exp10_downward_test_data): New array.
4699 (exp10_test_downward): New function.
4700 (exp10_upward_test_data): New array.
4701 (exp10_test_upward): New function.
4702 (main): Call the new functions.
4703 * sysdeps/i386/fpu/libm-test-ulps: Update.
4704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4705
7fda5682
JM
47062013-12-20 Joseph Myers <joseph@codesourcery.com>
4707
31e3a405
JM
4708 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4709 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4710 * math/auto-libm-test-out: Regenerated.
4711 * math/libm-test.inc (acosh_test_data): Add more tests.
4712 (atanh_test_data): Likewise.
4713 (ceil_test_data): Likewise.
4714 (copysign_test_data): Likewise.
4715 * sysdeps/i386/fpu/libm-test-ulps: Update.
4716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4717
85bff96a
JM
4718 * timezone/checktab.awk: Update from tzcode 2013i.
4719 * timezone/private.h: Likewise.
4720 * timezone/scheck.c: Likewise.
4721 * timezone/tzfile.h: Likewise.
4722 * timezone/tzselect.ksh: Likewise.
4723 * timezone/zdump.c: Likewise.
4724 * timezone/zic.c: Likewise.
4725
b7867a3b
JM
4726 * math/auto-libm-test-in: Add tests of cpow.
4727 * math/auto-libm-test-out: Regenerated.
4728 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4729 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4730 mpc_cc_c.
4731 (func_calc_desc): Add mpc_cc_c union field.
4732 (test_functions): Add cpow.
4733 (special_fill_2pi): New function.
4734 (special_real_inputs): Add 2pi.
4735 (calc_generic_results): Handle mpc_cc_c.
4736 * sysdeps/i386/fpu/libm-test-ulps: Update.
4737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4738
7fda5682
JM
4739 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4740 csqrt, ctan and ctanh.
4741 * math/auto-libm-test-out: Regenerated.
4742 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4743 (TEST_COND_x86): Likewise.
4744 (ccos_test_data): Use AUTO_TESTS_c_c.
4745 (ccosh_test_data): Likewise.
4746 (cexp_test_data): Likewise.
4747 (clog_test_data): Likewise.
4748 (csqrt_test_data): Likewise.
4749 (ctan_test_data): Likewise.
4750 (ctan_tonearest_test_data): Likewise.
4751 (ctan_towardzero_test_data): Likewise.
4752 (ctan_downward_test_data): Likewise.
4753 (ctan_upward_test_data): Likewise.
4754 (ctanh_test_data): Likewise.
4755 (ctanh_tonearest_test_data): Likewise.
4756 (ctanh_towardzero_test_data): Likewise.
4757 (ctanh_downward_test_data): Likewise.
4758 (ctanh_upward_test_data): Likewise.
4759 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4760 mpc_c_c.
4761 (func_calc_desc): Add mpc_c_c union field.
4762 (FUNC_mpc_c_c): New macro.
4763 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4764 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4765 ctanh.
4766 (special_fill_min_subnorm_p120): New function.
4767 (special_real_inputs): Add min_subnorm_p120.
4768 (calc_generic_results): Handle mpc_c_c.
4769 * sysdeps/i386/fpu/libm-test-ulps: Update.
4770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4771
5ff8d60e
SP
47722013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4773
392dd2de
SP
4774 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4775 do_sin_slow): New functions.
4776 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4777 cslow2, csloww1, csloww2): Use the new functions.
4778
84ba214c
SP
4779 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4780 Use M to change sign of result instead of X. Assume X is
4781 positive.
4782 (csloww1): Likewise.
4783 (__sin): Adjust.
4784 (__cos): Adjust.
4785
975195e4
SP
4786 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4787 arguments A and DA.
4788 (__sin): Adjust.
4789 (__cos): Likewise.
4790
5ff8d60e
SP
4791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4792 (__cos): Likewise.
4793 (sloww1): Don't adjust sign of DX.
4794 (csloww1): Likewise.
4795 (sloww2): Use X directly and don't adjust sign of DX.
4796 (csloww2): Likewise.
4797
eb983568
JM
47982013-12-19 Joseph Myers <joseph@codesourcery.com>
4799
64a17f1a
JM
4800 * math/auto-libm-test-in: Add tests of cabs and carg.
4801 * math/auto-libm-test-out: Regenerated.
4802 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4803 (carg_test_data): Likewise.
4804 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4805 mpc_c_f.
4806 (func_calc_desc): Add mpc_c_f union field.
4807 (test_functions): Add cabs and carg.
4808 (calc_generic_results): Handle mpc_c_f.
4809
eb983568
JM
4810 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4811 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4812 as a macro and a compat symbol.
4813 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4814 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4815 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4816 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4817 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4818 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4819 not use .hidden.
4820 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4821 Likewise.
4822 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4823 Likewise.
4824 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4825 Likewise.
4826 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4827 Likewise.
4828 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4829 Likewise.
4830 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4831 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4832 from GLIBC_2.3.2.
4833
6eeb678a
AZ
48342013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4835
4836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4837
6f6fc482
JM
48382013-12-19 Joseph Myers <joseph@codesourcery.com>
4839
21fea2e2
JM
4840 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4841 trailing whitespace removed.
4842 * scripts/config.guess: Update to version 2013-11-29.
4843 * scripts/config.sub: Update to version 2013-10-01.
4844
6f6fc482
JM
4845 * math/auto-libm-test-in: Add tests of sincos.
4846 * math/auto-libm-test-out: Regenerated.
4847 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4848 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4849 mpfr_f_11.
4850 (func_calc_desc): Add mpfr_f_11 union field.
4851 (test_functions): Add sincos.
4852 (calc_generic_results): Handle mpfr_f_11.
4853 * sysdeps/i386/fpu/libm-test-ulps: Update.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4855
83f5c32d
AS
48562013-12-19 Andreas Schwab <schwab@suse.de>
4857
4858 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4859 CALL_MCOUNT.
4860 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4861 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4862 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4863
c688b419
JM
48642013-12-19 Joseph Myers <joseph@codesourcery.com>
4865
335ee092
JM
4866 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4867 * sysdeps/i386/fpu/libm-test-ulps: Update.
4868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4869
f88acd39
JM
4870 [BZ #16293]
4871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4872 round-to-nearest mode when using frndint.
4873 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4874 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4876 Likewise.
4877 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4878 sinh test to fail.
4879 * math/auto-libm-test-out: Regenerated.
4880 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4881 (TEST_COND_x86): Likewise.
4882 (expm1_tonearest_test_data): New array.
4883 (expm1_test_tonearest): New function.
4884 (expm1_towardzero_test_data): New array.
4885 (expm1_test_towardzero): New function.
4886 (expm1_downward_test_data): New array.
4887 (expm1_test_downward): New function.
4888 (expm1_upward_test_data): New array.
4889 (expm1_test_upward): New function.
4890 (main): Run the new test functions.
4891 * sysdeps/i386/fpu/libm-test-ulps: Update.
4892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4893
c688b419
JM
4894 * include/features.h: Update comment documenting feature test
4895 macros. Mention _DEFAULT_SOURCE in comment.
4896 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4897 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4898 _BSD_SOURCE and _SVID_SOURCE.
4899 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4900 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4901 !_SVID_SOURCE]: Likewise.
4902 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4903 (__USE_POSIX_IMPLICITLY): Define.
4904 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4905 (_POSIX_SOURCE): Undefine and redefine.
4906 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4907 (_POSIX_C_SOURCE): Likewise.
4908 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4909 (Feature Test Macros): Update documentation of default features.
4910
9f6e964c
RS
49112013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4912
4913 * benchtests/Makefile: Add bench-strtok.
4914 * benchtests/bench-strtok.c: New file: strtok benchtest.
4915
ee0a148a
AM
49162013-12-19 Allan McRae <allan@archlinux.org>
4917
4918 * manual/install.texi: Suppress menu for plain text output.
4919 * INSTALL: Regenerated.
4920
b9ab448f
BM
49212013-12-18 Brooks Moses <bmoses@google.com>
4922
4923 [BZ #15846]
4924 * misc/getauxval.c: Include errno.h.
4925 (__getauxval): Set errno to ENOENT if the requested type is not
4926 found.
4927 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4928 don't declare with __attribute_const__.
4929 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4930 * manual/startup.texi: Document that getauxval sets errno.
4931
23776487
JM
49322013-12-18 Joseph Myers <joseph@codesourcery.com>
4933
f889953b
JM
4934 * math/auto-libm-test-in: Add tests of jn and yn.
4935 * math/auto-libm-test-out: Regenerated.
4936 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4937 (yn_test_data): Likewise.
4938 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4939 mpfr_if_f.
4940 (func_calc_desc): Add mpfr_if_f union field.
4941 (FUNC_mpfr_if_f): New macro.
4942 (test_functions): Add jn and yn.
4943 (calc_generic_results): Assert type of second input for
4944 mpfr_ff_f. Handle mpfr_if_f.
4945 (output_for_one_input_case): Disable all checking for arguments
4946 fitting floating-point types in case of an integer argument.
4947 * sysdeps/i386/fpu/libm-test-ulps: Update.
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4949
23776487
JM
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4951 Don't expect fegetround reference in libm.so.
4952
cb756c6d
MS
49532013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4954
4955 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4956 $(config-cflags-nofma).
4957
2dec468f
JM
49582013-12-18 Joseph Myers <joseph@codesourcery.com>
4959
5953eb3a
JM
4960 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4961 * math/auto-libm-test-out: Regenerated.
4962
2dec468f
JM
4963 [BZ #16338]
4964 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4965 to determine exponent and adjust argument to have exponent of -1.
4966 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4967 log2.
4968 * math/auto-libm-test-out: Regenerated.
4969 * sysdeps/i386/fpu/libm-test-ulps: Update.
4970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4971
4d84e6ad
OB
49722013-12-18 Ondřej Bílka <neleai@seznam.cz>
4973
4974 * manual/probes.texi: Remove cases when per-thread arenas are
4975 disabled.
4976
1818483b
AS
49772013-12-18 Andreas Schwab <schwab@suse.de>
4978
4979 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4980 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4981 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4982 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4983 * sysdeps/i386/i686/multiarch/Makefile: Update.
4984 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4985
25de95bf
JM
49862013-12-17 Joseph Myers <joseph@codesourcery.com>
4987
4988 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4989 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4990
674762d9
PE
49912013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4992
ed27ed83 4993 [BZ #15968]
0748546f
PE
4994 Support TZ transition times < 00:00:00.
4995 This is needed for version-3 tz-format files; it supports time
4996 stamps past 2037 for America/Godthab (the only entry in the tz
4997 database for which this change is relevant).
4998 * manual/time.texi (TZ Variable): Document transition times
4999 from -167:59:59 through -00:00:01.
5000 * time/tzset.c (tz_rule): Time of day is now signed.
5001 (__tzset_parse_tz): Parse negative time of day.
5002
4480e934
PE
5003 Document TZ transition times >= 25:00:00.
5004 * manual/time.texi (TZ Variable): Document transition times from
5005 25:00:00 through 167:59:59. These are already supported, and this
5006 support will help with version-3 tz-format files.
5007
69947401
PE
5008 * manual/time.texi (TZ Variable): Modernize North America example
5009 to reflect current (i.e., 2007-and-later) daylight saving rules.
5010
674762d9
PE
5011 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5012
7011c262
JM
50132013-12-17 Joseph Myers <joseph@codesourcery.com>
5014
2fc6557e
JM
5015 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5016 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5019 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5020 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5021 * sysdeps/unix/bsd/clock.c: Likewise.
5022 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5023 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5024 * sysdeps/unix/bsd/init-posix.c: Likewise.
5025 * sysdeps/unix/bsd/poll.c: Likewise.
5026 * sysdeps/unix/bsd/ptsname.c: Likewise.
5027 * sysdeps/unix/bsd/seekdir.c: Likewise.
5028 * sysdeps/unix/bsd/setegid.c: Likewise.
5029 * sysdeps/unix/bsd/seteuid.c: Likewise.
5030 * sysdeps/unix/bsd/setgid.c: Likewise.
5031 * sysdeps/unix/bsd/setrgid.c: Likewise.
5032 * sysdeps/unix/bsd/setruid.c: Likewise.
5033 * sysdeps/unix/bsd/setsid.c: Likewise.
5034 * sysdeps/unix/bsd/setuid.c: Likewise.
5035 * sysdeps/unix/bsd/sigaction.c: Likewise.
5036 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5037 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5038 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5039 * sysdeps/unix/bsd/telldir.c: Likewise.
5040 * sysdeps/unix/bsd/times.c: Likewise.
5041 * sysdeps/unix/bsd/usleep.c: Likewise.
5042
029c7b25
JM
5043 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5044 ($(objpfx)libbsd-compat.a): Remove rule.
5045
7011c262
JM
5046 * include/features.h (__FAVOR_BSD): Do not define.
5047 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5048 features conflicting with POSIX.
5049 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5050 (_BSD_SOURCE): Remove description of not being a subset of other
5051 feature test macros.
5052 * manual/job.texi (getpgrp): Do not document BSD version.
5053 (getpgid): Do not document by reference to BSD getpgrp.
5054 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5055 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5056 * signal/signal.h [__FAVOR_BSD]: Likewise.
5057 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5058 instead of making contents conditional on [__FAVOR_BSD].
5059 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5060
affb6f78
AZ
50612013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5062
5063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5064
c88769dd
JM
50652013-12-17 Joseph Myers <joseph@codesourcery.com>
5066
6432a540
JM
5067 [BZ #16314]
5068 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5069 values below 2**-450, not 2**-500.
5070 * math/auto-libm-test-in: Don't allow spurious underflow from
5071 hypot.
5072 * math/auto-libm-test-out: Regenerated.
5073
c88769dd
JM
5074 [BZ #16316]
5075 [BZ #16330]
5076 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5077 values of ha and hb and sort them after adjusting subnormal
5078 arguments.
5079 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5080 Likewise.
5081 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5082 values of ea and eb and sort them after adjusting subnormal
5083 arguments.
5084 * math/auto-libm-test-in: Do not expect some hypot tests of
5085 subnormals to fail. Add more hypot tests.
5086 * math/auto-libm-test-out: Regenerated.
5087
29618f6b
KK
50882013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5089
5090 [BZ #13304]
5091 * sysdeps/sh/s_fma.c: New file.
5092 * sysdeps/sh/s_fmaf.c: New file.
5093 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5094 version.
5095 * sysdeps/sh/Implies: Add sh/soft-fp.
5096
eacfdfbf
RM
50972013-12-16 Roland McGrath <roland@hack.frob.com>
5098
5099 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5100 level of indirection to members `objname', `errstring', `malloced'.
5101 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5102 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5103 it as the __longjmp argument (just pass 1 instead).
5104 (_dl_catch_error): Initialize C with argument pointers and address of
5105 volatile local ERRCODE rather than copying values out of C at return.
5106
ff362e5b
JM
51072013-12-16 Joseph Myers <joseph@codesourcery.com>
5108
5109 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5110 * math/auto-libm-test-out: Regenerated.
5111 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5112 (hypot_test_data): Likewise.
5113 (pow_test_data): Likewise.
5114 (pow_tonearest_test_data): Likewise.
5115 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5116 mpfr_ff_f.
5117 (func_calc_desc): Add mpfr_ff_f union field.
5118 (FUNC_mpfr_ff_f): New macro.
5119 (test_functions): Add atan2, hypot and pow.
5120 (special_fill_min): New function.
5121 (special_fill_minus_min): Likewise.
5122 (special_fill_min_subnorm): Likewise.
5123 (special_fill_minus_min_subnorm): Likewise.
5124 (special_real_inputs): Add min, -min, min_subnorm and
5125 -min_subnorm.
5126 (calc_generic_results): Handle mpfr_ff_f.
5127 * sysdeps/i386/fpu/libm-test-ulps: Update.
5128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5129
5764c27f
WN
51302013-12-16 Will Newton <will.newton@linaro.org>
5131
5132 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5133 (Aligned Memory Blocks): Add documentation for aligned_alloc
5134 and suggest it as an alternative to posix_memalign.
5135 (Hooks for Malloc): Document __memalign_hook is also called
5136 for aligned_alloc. (Summary of Malloc): Add summary for
5137 aligned alloc. Document __memalign_hook is also called
5138 for aligned_alloc.
5139
0a096e44
WN
51402013-12-16 Will Newton <will.newton@linaro.org>
5141
5142 * manual/memory.texi (Malloc Examples): Clarify default
5143 alignment documentation. Suggest posix_memalign rather
5144 than memalign or valloc.
5145 (Aligned Memory Blocks): Remove suggestion to use memalign
5146 or valloc. Remove obsolete comment about BSD.
5147 Document memalign errno values and mark the function obsolete.
5148 Document posix_memalign returned error codes. Mark valloc
5149 as obsolete. (Hooks for Malloc): __memalign_hook is also
5150 called for posix_memalign and valloc.
5151 (Summary of Malloc): Add posix_memalign to function summary.
5152 __memalign_hook is also called for posix_memalign and valloc.
5153
8d561986
SP
51542013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5155
5156 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5157 TAYLOR_SIN.
5158 (__sin): Adjust.
5159 (__cos): Likewise.
5160 (sloww): Use mynumber union. Expand ternary operator into
5161 if-else statements.
5162 (cslow): use mynumber union.
5163
73616a74
AM
51642013-12-16 Allan McRae <allan@archlinux.org>
5165
9e8ac24b
AM
5166 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5167 * configure: Regenerated.
5168
6f8e37eb
AM
5169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5170
8894bad3
AM
5171 [BZ #14120]
5172 * configure.ac: Added --enable-maintainer-mode. Check for
5173 autoconf when enabled.
5174 * configure: Regenerated.
5175
73616a74
AM
5176 * nscd/nscd.service: New file.
5177 * nscd/nscd.tmpfiles: New file.
5178
584b18eb
OB
51792013-12-14 Ondřej Bílka <neleai@seznam.cz>
5180
5181 [BZ #12100]
5182 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5183 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5184 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5185 (strstr): Add __strstr_sse2_unaligned ifunc.
5186 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5187 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5188 (strcasestr): Remove __strcasestr_sse42 ifunc.
5189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5192
8a5c7897
KK
51932013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5194
5195 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5196 * sysdeps/sh/bits/fenv.h: ... here.
5197 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5198
fd712ef3
AZ
51992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5200
5201 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5202
42fcb46c
AZ
52032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5204
5205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5206 hypotf multiarch implementations.
5207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5210 multiarch hypot for PPC64.
5211 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5214 multiarch hypotf for PPC64.
5215
83efded4
AZ
52162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5219 modff multiarch implementations.
5220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5223 multiarch modf for PPC64.
5224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5227 multiarch modff for PPC64.
5228
43e246d2
AZ
52292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5230
5231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5232 and logl multiarch implementations.
5233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5236 multiarch logb for PPC64.
5237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5240 multiarch logb for PPC64.
5241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5244 multiarch logb for PPC64.
5245
8fdad123
AZ
52462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5247
5248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5249 isinff multiarch implementation.
5250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5251 file.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5254 multiarch isinf for PPC64.
5255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5256 file.
5257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5258 multiarch isinff for PPC64.
5259
1481d706
AZ
52602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5261
5262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5263 finitef multiarch implementation.
5264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5265 file.
5266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5268 multiarch finite for PPC64.
5269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5270 file.
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5272 multiarch finitef for PPC64.
5273
5ccd5fc8
AZ
52742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5275
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5277 lrint multiarch implementation.
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5279 file.
5280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5282 multiarch llrint for PPC64.
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5284 multiarch lrint for PPC64.
5285
2568f3fa
AZ
52862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287
5288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5289 copysignf multiarch implementation.
5290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5291 file.
5292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5293 file.
5294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5295 multiarch copysign for PPC64.
5296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5297 multiarch copysignf for PPC64.
5298
1cb341fd
AZ
52992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5300
5301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5302 multiarch implementation.
5303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5304 file.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5306 file.
5307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5308 file.
5309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5310 file.
5311 multiarch llround for PPC64.
5312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5313 multiarch trunc for PPC64.
5314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5315 multiarch truncf for PPC64.
5316
59a3e194
AZ
53172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5318
5319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5320 multiarch implementation.
5321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5322 file.
5323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5324 file.
5325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5326 file.
5327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5328 file.
5329 multiarch llround for PPC64.
5330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5331 multiarch round for PPC64.
5332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5333 multiarch roundf for PPC64.
5334
357fd3b4
AZ
53352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336
5337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5338 multiarch implementation.
5339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5340 file.
5341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5342 file.
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5344 file.
5345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5346 file.
5347 multiarch llround for PPC64.
5348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5349 multiarch floor for PPC64.
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5351 multiarch floorf for PPC64.
5352
96770f12
AZ
53532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5354
5355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5356 multiarch implementation.
5357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5358 file.
5359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5360 file.
5361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5362 file.
5363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5364 file.
5365 multiarch llround for PPC64.
5366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5367 multiarch ceil for PPC64.
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5369 multiarch ceilf for PPC64.
5370
c3627f6e
AZ
53712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5372
5373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5374 multiarch implementation.
5375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5376 file.
5377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5378 file.
5379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5380 file.
5381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5382 multiarch llround for PPC64.
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5384 multiarch lround for PPC64.
5385
b2284ad7
AZ
53862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5387
5388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5389 multiarch implementation.
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5393 file.
5394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5397 multiarch isnan for PPC64.
5398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5399 multiarch isnanf for PPC64.
5400
69bbc63d
AZ
54012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402
5403 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5404 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5405 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5406 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5407 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5409
c24517c9
AZ
54102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5411
5412 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5413 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5416
a52374e8
AZ
54172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5418
5419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5420 multiarch implementations.
5421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5422 (__libc_ifunc_impl_list): Likewise.
5423 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5424 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5425 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5426 multiarch stpcpy for PPC64.
5427
7f5ec113
AZ
54282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5429
5430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5431 multiarch implementations.
5432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5433 (__libc_ifunc_impl_list): Likewise.
5434 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5435 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5436 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5437 multiarch strcpy for PPC64.
5438
e28bcd42
AZ
54392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440
5441 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5442 redefine function name.
5443 (_wordcopy_fwd_dest_aligned): Likewise.
5444 (_wordcopy_bwd_aligned): Likewise.
5445 (_wordcopy_bwd_dest_aligned): Likewise.
5446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5447 multiarch implementations.
5448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5449 (__libc_ifunc_impl_list): Likewise.
5450 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5451 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5452 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5453 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5454 multiarch wcscpy for PPC64.
5455
92cacfce
AZ
54562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5457
5458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5459 multiarch implementations.
5460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5461 (__libc_ifunc_impl_list): Likewise.
5462 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5463 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5464 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5465 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5466 multiarch wcscpy for PPC64.
5467
7b714620
AZ
54682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5469
5470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5471 multiarch implementations.
5472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5473 (__libc_ifunc_impl_list): Likewise.
5474 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5475 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5476 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5477 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5478 multiarch wcsrchr for PPC64.
5479
16fd2ae3
AZ
54802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5483 multiarch implementations.
5484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5485 (__libc_ifunc_impl_list): Likewise.
5486 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5487 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5488 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5489 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5490 multiarch wcschr for PPC64.
5491
9ee2969b
AZ
54922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493
5494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5495 multiarch implementations.
5496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5497 (__libc_ifunc_impl_list): Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5499 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5501 multiarch strchrnul for PPC64.
5502
372dc060
AZ
55032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5504
5505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5506 implementations.
5507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5508 (__libc_ifunc_impl_list): Likewise.
5509 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5510 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5511 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5512 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5513 strchr for PPC64.
5514
24c2c3b9
AZ
55152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5516
5517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5518 implementations.
5519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5520 (__libc_ifunc_impl_list): Likewise.
5521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5524 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5525 strncmp for PPC64.
5526
1c92d9a0
AZ
55272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5528
5529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5530 multiarch implementations.
5531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5532 (__libc_ifunc_impl_list): Likewise.
5533 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5534 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5535 strncasecmp for PPC64.
5536 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5537 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5538 multiarch strncasecmp_l for PPC64.
5539
17de3ee3
AZ
55402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541
5542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5543 multiarch implementations.
5544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5545 (__libc_ifunc_impl_list): Likewise.
5546 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5547 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5548 multiarch strcasecmp for PPC64.
5549 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5550 file.
5551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5552 multiarch strcasecmp_l for PPC64.
5553
62982bf9
AZ
55542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5555
5556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5557 implementations.
5558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5559 (__libc_ifunc_impl_list): Likewise.
5560 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5561 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5562 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5563 strnlen for PPC64.
5564
a65f4904
AZ
55652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5566
5567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5568 implementations.
5569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5570 (__libc_ifunc_impl_list): Likewise.
5571 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5572 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5573 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5574 strlen for PPC64.
5575
1fd005ad
AZ
55762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5577
5578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5579 implementations.
5580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5581 (__libc_ifunc_impl_list): Likewise.
5582 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5583 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5584 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5585 rawmemrchr for PPC64.
5586
cd05ba91
AZ
55872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5588
5589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5590 implementation.
5591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5592 (__libc_ifunc_impl_list): Likewise.
5593 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5594 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5595 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5596 memrchr for PPC64.
5597
870f8676
AZ
55982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599
5600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5601 implementation.
5602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5603 (__libc_ifunc_impl_list): Likewise.
5604 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5605 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5606 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5607 memchr for PPC64.
5608
f00be62b
AZ
56092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5610
5611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5612 implementation.
5613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5614 (__libc_ifunc_impl_list): Likewise.
5615 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5616 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5617 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5618 mempcpy for PPC64.
5619
8a29a3d0
AZ
56202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5621
5622 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5623 avoid cretion of __bzero symbol.
5624 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5625 Likewise.
5626 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5627 Likewise.
5628 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5629 Likewise.
5630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5631 multiarch implementations.
5632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5633 (__libc_ifunc_impl_list): Likewise.
5634 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5636 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5637 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5638 bzero for PPC32.
5639 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5640 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5641 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5642 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5643 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5644 memset for PPC64.
5645 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5646
07253fcf
AZ
56472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5648
5649 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5651 implementations.
5652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5653 (__libc_ifunc_impl_list): Likewise.
5654 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5655 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5656 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5657 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5658 memcmp for PPC64.
5659
b5beafbc
AZ
56602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5661
5662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5663 multiarch for POWER/PPC64.
5664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5665 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5666 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5668 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5669 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5672 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5673 memcpy for PPC64.
5674
5e6a4d4b
AZ
56752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5676
5677 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5678 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5679 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5680 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5681 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5682 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5683 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5684 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5685 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5686 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5687 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5688 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5689 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5690 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5691 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5699
ddfab6dc
KK
57002013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5701
5702 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5703
19b5525e
SP
57042013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5705
5706 * benchtests/Makefile (bench): Add exp2 and log2.
5707 (LDLIBS-bench-exp2): Add -lm.
5708 (LDLIBS-bench-log2): Likewise.
5709 * benchtests/exp2-inputs: New inputs file.
5710 * benchtests/log2-inputs: New inputs file.
5711 * benchtests/log-inputs: Add new inputs.
5712 * benchtests/tan-inputs: Likewise.
5713
196f7f5d
SP
57142013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5715
7a74607f
SP
5716 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5717 definition...
5718 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5719 csloww1, csloww2): ... from here.
5720
196f7f5d
SP
5721 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5722 instead of structures.
5723 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5724 (POLYNOMIAL): Likewise.
5725 (TAYLOR_SLOW): Likewise.
5726 (__sin): Likewise.
5727 (__cos): Likewise.
5728 (slow1): Likewise.
5729 (slow2): Likewise.
5730 (sloww): Likewise.
5731 (sloww1); Likewise.
5732 (sloww2): Likewise.
5733 (bsloww1): Likewise.
5734 (bsloww2): Likewise.
5735 (cslow2): Likewise.
5736 (csloww): Likewise.
5737 (csloww1): Likewise.
5738 (csloww2): Likewise.
5739
0dfa665c
OB
57402013-12-10 Ondřej Bílka <neleai@seznam.cz>
5741
5742 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5743 (__malloc_assert, __libc_realloc, __libc_calloc,
5744 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5745 memcpy and memset.
5746 * malloc/hooks.c (realloc_check): Likewise.
5747
5782a80f
OB
57482013-12-10 Ondřej Bílka <neleai@seznam.cz>
5749
5750 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5751 * malloc/arena.c: Remove PER_THREAD conditional.
5752 [!PER_THREAD]: Remove code.
5753 (ptmalloc_unlock_all2): Likewise.
5754 (ptmalloc_init): Likewise.
5755 (_int_new_arena): Likewise.
5756 (arena_get2): Likewise.
5757 * malloc/hooks.c (__malloc_get_state): Likewise.
5758 (__malloc_set_state): Likewise.
5759 * malloc/malloc.c: Likewise.
5760 (struct malloc_state): Likewise.
5761 (struct malloc_par): Likewise.
5762 (__libc_realloc): Likewise.
5763 (__libc_mallopt): Likewise.
5764
aeb95445
AZ
57652013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5766
5767 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5768
e8349efd
OB
57692013-12-09 Ondřej Bílka <neleai@seznam.cz>
5770
5771 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5772 macro to a function. Check for zero perturb_byte.
5773 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5774
f3eeb3fc
OB
57752013-12-09 Ondřej Bílka <neleai@seznam.cz>
5776
5777 * malloc/malloc.c: (force_reg): Remove.
5778 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5779 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5780 force_reg by atomic_forced_read.
5781 * malloc/arena.c (ptmalloc_init): Likewise.
5782 * malloc/hooks.c (top_check): Likewise.
5783
be2f9009
AZ
57842013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785
5786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5787
e7b914bd
MT
57882013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5789
5790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5791
9f0be4f8
JM
57922013-12-08 Joseph Myers <joseph@codesourcery.com>
5793
5794 * math/auto-libm-test-in: Add tests of lgamma.
5795 * math/auto-libm-test-out: Regenerated.
5796 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5797 (M_LOG_2_SQRT_PIl): Likewise.
5798 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5800 mpfr_f_f1.
5801 (func_calc_desc): Add mpfr_f_f1 union field.
5802 (ARGS1): New macro.
5803 (ARGS2): Likewise.
5804 (ARGS3): Likewise.
5805 (ARGS4): Likewise.
5806 (RET1): Likewise.
5807 (RET2): Likewise.
5808 (CALC): Likewise.
5809 (FUNC): Likewise.
5810 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5811 (test_functions): Add lgamma.
5812 (calc_generic_results): Handle mpfr_f_f1.
5813 * sysdeps/i386/fpu/libm-test-ulps: Update.
5814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5815
24eeafdb
AZ
58162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5817
5818 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5819 __mpn_add_n for PowerPC64/POWER7.
5820 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5821 __mpn_sub_n for PowerPC64/POWER7.
5822
4a2c0fd4
AZ
58232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5824
5825 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5826 __mpn_addmul_1 for PowerPC64.
5827 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5828 __mpn_submul_1 for PowerPC64.
5829 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5830 for PowerPC64.
5831 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5832 for PowerPC64.
5833
4b5b548c
FS
58342013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5835
5836 [BZ #15089]
5837 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5838
0a3ac0aa
AZ
58392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5840
5841 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5842
ccdc8438
AZ
58432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5844
5845 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5846 add multiarch folders.
5847 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5848 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5849 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5850 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5851 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5852 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5853 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5854 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5855 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5856 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5857 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5864
2e973d99
AZ
58652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866
5867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5868 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5870 New file.
5871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5872 New file.
5873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5874 multiarch __ieee754_hypot for PowerPC32.
5875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5876 New file.
5877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5878 New file.
5879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5880 multiarch __ieee754_hypotf for PowerPC32.
5881
2d9470b2
AZ
58822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5883
5884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5885 long_double_symbol only if __logbl is defined.
5886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5887 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5889 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5891 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5893 path for implementation.
5894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5895 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5897 logb, and logbl multiarch implementations for PowerPC32.
5898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5899 file.
5900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5901 file.
5902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5903 multiarch logb for PowerPC32.
5904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5905 file.
5906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5907 file.
5908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5909 multiarch logbf for PowerPC32.
5910 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5912 file.
5913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5914 multiarch logbl implementation for PowerPC32.
5915
5212ffce
AZ
59162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5917
5918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5919 and modff multiarch implementations.
5920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5921 New file.
5922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5923 New file.
5924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5925 multiarch modf for PowerPC32.
5926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5927 New file.
5928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5929 New file.
5930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5931 multiarch modff for PowerPC32.
5932
79dccf31
AZ
59332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934
5935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5936 and lrintf multiarch implementations.
5937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5938 New file.
5939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5940 New file.
5941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5942 multiarch lrint for PowerPC32.
5943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5944 file: multiarch lrintf for PowerPC32.
5945
deb66480
AZ
59462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5947
5948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5949 and lroundf multiarch implementations.
5950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5951 New file.
5952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5953 New file.
5954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5955 New file.
5956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5957 multiarch lround for PowerPC32.
5958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5959 file: multiarch lroundf for PowerPC32.
5960
264b036b
AZ
59612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5962
5963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5964 copysign and copysignf multiarch implementations.
5965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5966 New file.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5968 New file.
5969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5970 file: multiarch copysign for PowerPC32.
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5972 file: multiarch copysignf for PowerPC32.
5973
d47db6c9
AZ
59742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5975
5976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5977 and truncf multiarch implementations.
5978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5979 New file.
5980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5981 file.
5982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5983 multiarch trunc for PowerPC32.
5984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5985 New file.
5986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5987 New file.
5988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5989 multiarch truncf for PowerPC32.
5990
ddb60b5a
AZ
59912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5992
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5994 and roundf multiarch implementations.
5995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5996 New file.
5997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5998 file.
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6000 multiarch round for PowerPC32.
6001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6002 New file.
6003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6004 New file.
6005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6006 multiarch roundf for PowerPC32.
6007
bedcf49b
AZ
60082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6009
6010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6011 and floorf multiarch implementations.
6012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6013 New file.
6014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6015 file.
6016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6017 multiarch floor for PowerPC32.
6018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6019 New file.
6020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6021 New file.
6022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6023 multiarch floorf for PowerPC32.
6024
35ae5b40
AZ
60252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6028 and ceilf multiarch implementations.
6029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6030 New file.
6031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6032 file.
6033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6034 multiarch ceil for PowerPC32.
6035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6036 New file.
6037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6038 file.
6039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6040 multiarch ceilf for PowerPC32.
6041
ae1a4cd9
AZ
60422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6045 is defined.
6046 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6047 FINITEF is defined.
6048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6049 and finitef multiarch implementations.
6050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6051 New file.
6052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6053 file.
6054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6055 multiarch finite for PowerPC32.
6056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6057 New file.
6058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6059 file: multiarch finitef for PowerPC32.
6060
64fffd65
AZ
60612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062
6063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6064 and isinff multiarch implementations.
6065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6066 file.
6067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6068 file.
6069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6070 multiarch isinf for PowerPC32.
6071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6072 New file.
6073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6074 multiarch isinff for PowerPC32.
6075
8e4e7ba2
AZ
60762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6077
6078 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6079 alias when __isnan is defined.
6080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6081 and isnanf multiarch implementations.
6082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6083 file.
6084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6085 file.
6086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6087 file.
6088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6089 file.
6090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6091 multiarch isnan for PowerPC32.
6092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6093 New file.
6094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6095 New file.
6096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6097 multiarch isnanf for PowerPC32.
6098
ddba588e
AZ
60992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100
6101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6102 and sqrtf multiarch implementations.
6103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6104 file.
6105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6106 file.
6107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6108 multiarch sqrt for PowerPC32.
6109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6110 file.
6111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6112 file.
6113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6114 multiarch sqrtf for PowerPC32.
6115
0f96a2f0
AZ
61162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6117
6118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6119 and llroundf multiarch implementations.
6120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6121 New file.
6122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6123 New file.
6124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6125 New file.
6126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6127 file: multiarch llround for PowerPC32.
6128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6129 file: multiarch llroundf for PowerPC32.
6130
c9b5d79e
AZ
61312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132
6133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6134 multiarch PowerPC32 fpu implementations.
6135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6136 New file.
6137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6138 New file.
6139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6140 multiarch llrint for PowerPC32.
6141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6142 New file.
6143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6144 New file.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6146 file.
6147
9cbb3aab
AZ
61482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149
6150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6151
ea5a72f8
AZ
61522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153
6154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6155 file.
6156 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6157 file.
6158 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6159 file.
6160 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6161 multiarch wordcopy for PPC32.
6162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6163 wordcopy objects.
6164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6165 (__libc_ifunc_impl_list): Likewise.
6166 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6167 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6168 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6169 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6170 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6171 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6172
93be09e7
AZ
61732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174
6175 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6177 file.
6178 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6179 file.
6180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6181 file.
6182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6183 multiarch wcscpy for PPC32.
6184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6185 multiarch objects.
6186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6187 (__libc_ifunc_impl_list): Likewise.
6188 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6189 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6190 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6191 sysdeps/powerpc/power6/wcscpy.c.
6192
bb04e529
AZ
61932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194
6195 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6197 file.
6198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6199 file.
6200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6201 file.
6202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6203 multiarch wcsrchr for PPC32.
6204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6205 multiarch objects.
6206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6207 (__libc_ifunc_impl_list): Likewise.
6208 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6209 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6210 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6211 sysdeps/powerpc/power6/wcsrchr.c.
6212
05b5cd1c
AZ
62132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214
6215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6216 file.
6217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6218 file.
6219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6221 multiarch wcschr for PPc32.
6222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6223 multiarch objects.
6224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6225 (__libc_ifunc_impl_list): Likewise.
6226 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6227 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6228 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6229 sysdeps/powerpc/power6/wcschr.c.
6230
ba964147
AZ
62312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6232
6233 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6234 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6235 file.
6236 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6237 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6238 file: multiarch strchr for PPC32.
6239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6240 multiarch objects.
6241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6242 (__libc_ifunc_impl_list): Likewise.
6243
31c81aaa
AZ
62442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6245
6246 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6247 name.
6248 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6249 file.
6250 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6251 file.
6252 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6253 multiarch strchrnul for PPC32.
6254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6255 multiarch objects.
6256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6257 (__libc_ifunc_impl_list): Likewise.
6258
0d0607d9
AZ
62592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6260
6261 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6262 file.
6263 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6264 multiarch strncasecmp for PPC32.
6265 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6266 file.
6267 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6268 multiarch strncasecmp_l for PPC32.
6269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6270 strncasecmp multiarch objects.
6271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6272 (__libc_ifunc_impl_list): Likewise.
6273
4dfd5c86
AZ
62742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6275
6276 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6277 file.
6278 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6279 multiarch strncasecmp for PPC32.
6280 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6281 New file.
6282 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6283 multiarch strcasecmp_l for PPC32.
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6285 multiarch objects.
6286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6287 (__libc_ifunc_impl_list): Likewise.
6288
a19e01a3
AZ
62892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6290
6291 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6292 file.
6293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6294 file.
6295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6296 multiarch strncmp for PPC32.
6297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6298 multiarch objects.
6299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6300 (__libc_ifunc_impl_list): Likewise.
6301
ae9cf7a2
AZ
63022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6303
6304 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6305 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6306 file.
6307 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6308 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6310 multiarch objects.
6311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6312 (__libc_ifunc_impl_list): Likewise.
6313
3148bb7d
AZ
63142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6315
6316 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6317 file.
6318 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6319 file.
6320 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6322 multiarch objects.
6323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6324 (__libc_ifunc_impl_list): Likewise.
6325
7af8b946
AZ
63262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6327
6328 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6329 file.
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6331 file.
6332 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6333 multiarch rawmemchr for PPC32.
6334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6335 multiarch objects.
6336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6337 (__libc_ifunc_impl_list): Likewise.
6338
03a6aa6a
AZ
63392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6340
6341 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6342 file.
6343 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6344 file.
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6346 file: memrchr multiarch for PPC32.
6347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6348 multiarch objects.
6349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6350 (__libc_ifunc_impl_list): Likewise.
6351
1c62e6d9
AZ
63522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6353
6354 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6356 file.
6357 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6359 multiarch memchr for PPC32.
6360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6361 multiarch objects.
6362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6363 (__libc_ifunc_impl_list): Likewise.
6364
87da8bdb
AZ
63652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6366
6367 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6369 file.
6370 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6371 file.
6372 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6373 file: multiarch mempcpy for PPC32.
6374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6375 multiarch objects.
6376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6377 (__libc_ifunc_impl_list): Likewise.
6378
20ed4714
AZ
63792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6380
6381 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6382 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6383 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6384 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6385 multiarch bzero for PPC32.
6386 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6387 file.
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6389 file.
6390 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6391 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6392 file: multiarch memset for PPC32.
6393 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6395 memset multiarch objects.
6396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6397 (__libc_ifunc_impl_list): Likewise.
6398
ab3e3a46
AZ
63992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6400
6401 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6402 file.
6403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6405 memcmp for PPC32.
6406 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6408 multiarch objects.
6409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6410 (__libc_ifunc_impl_list): Likewise.
6411
930de6f0
AZ
64122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6413
6414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6416 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6417 file.
6418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6419 file.
6420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6421 file.
6422 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6423 multiarch memcpy for PPC32.
6424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6425 multiarch objects.
6426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6427 (__libc_ifunc_impl_list): Likewise.
6428
4c628e00
AZ
64292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430
6431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6432 support multiarch for POWER/PPC32.
6433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6434 Likewise.
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6437 Implies file to make multiarch folder appers before the fpu and
6438 default folder for power4 configuration.
6439
f4479220
SP
64402013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6441
6442 * scripts/bench.pl: Append volatile keyword to type.
6443
8517800f
KK
64442013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6445
6446 * sysdeps/sh/sotruss-lib.c: New file.
6447 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6448
180138f1
AZ
64492013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450
6451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6452
bbf37bdc
JM
64532013-12-05 Joseph Myers <joseph@codesourcery.com>
6454
e47cc4e0
JM
6455 [BZ #6810]
6456 * math/w_tgamma.c: Include <errno.h>.
6457 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6458 * math/w_tgammaf.c: Include <errno.h>.
6459 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6460 * math/w_tgammal.c: Include <errno.h>.
6461 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6462 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6463 underflow. Add more tgamma tests.
6464 * math/auto-libm-test-out: Regenerated.
6465 * sysdeps/i386/fpu/libm-test-ulps: Update.
6466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6467
bbf37bdc
JM
6468 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6469 sin, sinh, tan, tanh, tgamma, y0 and y1.
6470 * math/auto-libm-test-out: Regenerated.
6471 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6472 (TEST_COND_x86): Likewise.
6473 (M_E2l): Remove macro.
6474 (M_E3l): Likewise.
6475 (M_2_SQRT_PIl): Likewise.
6476 (M_SQRT_PIl): Likewise.
6477 (M_1_DIV_El): Likewise.
6478 (log_test_data): Use AUTO_TESTS_f_f.
6479 (log10_test_data): Likewise.
6480 (log1p_test_data): Likewise.
6481 (log2_test_data): Likewise.
6482 (sin_test_data): Likewise.
6483 (sin_tonearest_test_data): Likewise.
6484 (sin_towardzero_test_data): Likewise.
6485 (sin_downward_test_data): Likewise.
6486 (sin_upward_test_data): Likewise.
6487 (sinh_test_data): Likewise.
6488 (sinh_tonearest_test_data): Likewise.
6489 (sinh_towardzero_test_data): Likewise.
6490 (sinh_downward_test_data): Likewise.
6491 (sinh_upward_test_data): Likewise.
6492 (tan_test_data): Likewise.
6493 (tan_tonearest_test_data): Likewise.
6494 (tan_towardzero_test_data): Likewise.
6495 (tan_downward_test_data): Likewise.
6496 (tan_upward_test_data): Likewise.
6497 (tanh_test_data): Likewise.
6498 (tgamma_test_data): Likewise.
6499 (y0_test_data): Likewise.
6500 (y1_test_data): Likewise.
6501 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6502 (special_real_inputs): Add pi/4.
6503 * sysdeps/i386/fpu/libm-test-ulps: Update.
6504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6505
eb5ad6b9
AZ
65062013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507
6508 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6509 "longjmp_target" static probes.
6510 (__longjmp): Rename to __longjmp_symbol.
6511 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6512 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6513 on which longjmp to generate.
6514 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6515 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6516 probe.
6517 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6518 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6519 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6520 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6521 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6522 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6524 __longjmp_symbol based on which __longjmp to generate.
6525 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6526 probe.
6527 (setjmp): Rename to setjmp_symbol.
6528 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6529 (_setjmp): Rename to _setjmp_symbol.
6530 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6531 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6532 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6533 which setjmp to generate.
6534 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6535 "longjmp_target" static probes.
6536
d136c6dc
SP
65372013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
9298ecba
SP
6539 * benchtests/README: Add note about output arguments.
6540 * benchtests/bench-sincos.c: Remove file.
6541 * benchtests/sincos-inputs: New file.
6542 * scripts/bench.pl: Identify output arguments and define
6543 static variables for them.
6544
232983e9
SP
6545 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6546
d136c6dc
SP
6547 [BZ #15941]
6548 * Makefile (INSTALL): Add install-plain.texi as the primary
6549 dependency.
6550 * manual/install-plain.texi: New file.
6551 * manual/install.texi: Include node directive only for
6552 non-plaintext output.
6553
699ff837
JM
65542013-12-04 Joseph Myers <joseph@codesourcery.com>
6555
ab07cea8
JM
6556 * stdlib/longlong.h: Update from GCC.
6557
699ff837
JM
6558 [BZ #6807]
6559 [BZ #15901]
6560 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6561 * math/w_j0f.c (y0f): Likewise.
6562 * math/w_j0l.c (__y0l): Likewise.
6563 * math/w_j1.c (y1): Likewise.
6564 * math/w_j1f.c (y1f): Likewise.
6565 * math/w_j1l.c (__y1l): Likewise
6566 * math/w_jn.c (yn): Likewise.
6567 * math/w_jnf.c (ynf): Likewise.
6568 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6569 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6570 value for Bessel function domain errors outside _SVID_ mode.
6571 Adjust sign of return value for yn (negative integer, 0).
6572 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6573 by zero in return for negative x and set sign appropriately for
6574 negative n.
6575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6577 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6578 expectations in error cases.
6579 (y1_test_data): Likewise.
6580 (yn_test_data): Likewise.
6581 * sysdeps/i386/fpu/libm-test-ulps: Update.
6582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6583
5b118558
UW
65842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6585
6586 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6587 "64" to "64-v1". Add "64-v2".
6588 (abi-64-options): Rename to ...
6589 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6590 (abi-64-condition): Rename to ...
6591 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6592 (abi-64-ld-soname): Rename to ...
6593 (abi-64-v1-ld-soname): ... this.
6594 (abi-64-v2-options): Define.
6595 (abi-64-v2-condition): Likewise.
6596 (abi-64-v2-ld-soname): Likewise.
6597 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6598 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6602
61cd8fe4
UW
66032013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6604 Alan Modra <amodra@gmail.com>
6605
6606 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6607 New versions for use with the ELFv2 ABI.
6608 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6609 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6610 declaration.
6611 (struct La_ppc64v2_retval): Likewise.
6612 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6613 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6614 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6615 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6616 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6617 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6618 Do not save or restore CR.
6619 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6620 (_dl_profile_resolve): Do no save or restore CR. Support extended
6621 return values for ELFv2 ABI. Fix location of FPR return registers.
6622 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6623 updated values for _CALL_ELF == 2.
6624 (La_regs, La_retval, int_retval): Likewise.
6625
8b8a692c
UW
66262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6627
6628 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6629 (FRAME_MIN_SIZE_PARM): Likewise.
6630 (FRAME_BACKCHAIN): Likewise.
6631 (FRAME_CR_SAVE): Likewise.
6632 (FRAME_LR_SAVE): Likewise.
6633 (FRAME_TOC_SAVE): Likewise.
6634 (FRAME_PARM_SAVE): Likewise.
6635 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6636 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6637 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6638 (call_mcount_parm_offset): New macro.
6639 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6640 (PROF): Use symbolic stack frame offsets.
6641 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6642 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6643 Redefine in terms of FRAME_MIN_SIZE.
6644 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6645 (_dl_profile_resolve): Likewise. Update comment.
6646 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6647 symbols stack frame offsets.
6648 (__sigsetjmp): Likewise.
6649 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6650 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6651 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6652 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6653
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6655 (FRAME_BACKCHAIN): Remove.
6656 (FRAME_CR_SAVE): Likewise.
6657 (FRAME_LR_SAVE): Likewise.
6658 (FRAME_COMPILER_DW): Likewise.
6659 (FRAME_LINKER_DW): Likewise.
6660 (FRAME_TOC_SAVE): Likewise.
6661 (FRAME_PARM_SAVE): Likewise.
6662 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6663 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6664 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6666 (CHECK_SP): Use symbolic stack frame offsets.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6668 zone" instead of caller's parameter save area for temp storage.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6670 Likewise. Also, use symbolic stack frame offsets.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6672 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6673 our own stack frame instead of the caller's.
6674 (__socket): Use symbolic stack frame offsets.
6675
122b66de
UW
66762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6677 Alan Modra <amodra@gmail.com>
6678
6679 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6680 Define.
6681 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6682 PPC64_LOCAL_ENTRY_OFFSET): Define.
6683 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6684 New function.
6685 (elf_machine_fixup_plt): Call it.
6686 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6687 reloc arguments.
6688 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6689 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6690 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6691 r2 before calling target.
6692
696caf1d
UW
66932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6694 Alan Modra <amodra@gmail.com>
6695
6696 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6697 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6698 versions of macros to support ELFv2 ABI.
6699 (LOCALENTRY): New macro.
6700 (ENTRY, EALIGN): Use it.
6701 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6702 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6703 fall through into ENTRY entry point.
6704 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6705 Only define if _CALL_ELF != 2.
6706
6707 (elf_machine_matches_host): Verify ABI version matches.
6708 (RTLD_START): Use LOCALENTRY.
6709 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6710 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6711 (PLT_ENTRY_WORDS): New macro.
6712 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6713 (elf_machine_runtime_setup): Support ELFv2 ABI.
6714 (elf_machine_fixup_plt): Likewise.
6715 (elf_machine_plt_conflict): Likewise.
6716 (resolve_ifunc): Likewise.
6717 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6718 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6719 Likewise.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6721 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6723 (makecontext): Support ELFv2 ABI.
6724 * elf/elf.h (EF_PPC64_ABI): Define.
6725
d31beafa
UW
67262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6727
6728 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6729 New assembler macro.
6730 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6731 [ASSEMBLER] (ENTRY): ... but instead here ...
6732 [ASSEMBLER] (EALIGN): ... and here.
6733 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6734 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6735 [!ASSEMBLER] (ENTRY_2): Use it.
6736 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6737 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6738 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6739 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6740 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6742 Use PPC64_LOAD_FUNCPTR.
6743
b525166b
UW
67442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6745
6746 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6747
7ec07d9a
AM
67482013-12-04 Alan Modra <amodra@gmail.com>
6749
6750 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6751 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6752 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6753 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6754
6755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6756 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6757 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6758 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6759 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6760 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6761
5162e7dd
UW
67622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6763
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6765 (__makecontext): Fix incorrect CFI when backtracing out of
6766 context created via makecontext.
6767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6768 (__setcontext): Fix incorrect CFI during switch to new context.
6769 (__novec_setcontext): Likewise.
6770
19e3372b
OB
67712013-12-04 Ondřej Bílka <neleai@seznam.cz>
6772
6773 [BZ #4772]
6774 * time/strptime_l.c (__strptime_internal): Allow modifiers
6775 in strptime.
6776 * time/tst-strptime.c (day_tests): Add testcase.
6777
6778
ecaf142d
SP
67792013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6780
6781 * scripts/bench.pl: Skip over blank lines.
6782
fbf964ae
PE
67832013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6784
6785 [BZ #926]
6786 * manual/time.texi (Calendar Time): Clarify what timezone functions
6787 use.
6788
fa60a674
AZ
67892013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6790
6791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6792
d674f0ef
OB
67932013-12-04 Ondřej Bílka <neleai@seznam.cz>
6794
6795 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6796 implementation.
6797 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6798 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6799 * debug/memset_chk.c (__memset_chk): Likewise.
6800 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6801 * debug/strncpy_chk.c: Likewise.
6802
17dea188
JM
68032013-12-03 Joseph Myers <joseph@codesourcery.com>
6804
749008ff
JM
6805 [BZ #15268]
6806 [BZ #15425]
6807 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6808 (__ieee754_exp): For possibly underflowing results, check size of
6809 result and force underflow exception if required.
6810 * math/auto-libm-test-in: Add more tests of exp.
6811 * math/auto-libm-test-out: Regenerated.
6812 * sysdeps/i386/fpu/libm-test-ulps: Update.
6813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6814
17dea188
JM
6815 [BZ #16283]
6816 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6817 * math/w_exp2f.c (__exp2f): Likewise.
6818 * math/w_exp2l.c (__exp2l): Likewise.
6819 * math/auto-libm-test-in: Do not allow missing errno on exp2
6820 underflow.
6821 * math/auto-libm-test-out: Regenerated.
6822
b20de2c3
OB
68232013-12-03 Ondřej Bílka <neleai@seznam.cz>
6824
6825 [BZ #16274]
6826 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6827 handle filename validation.
6828 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6829 (do_open): Delete.
6830
d8e2dbe3
JM
68312013-12-03 Joseph Myers <joseph@codesourcery.com>
6832
34e16df5
JM
6833 [BZ #6786]
6834 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6835 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6836 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6837 <float.h>.
6838 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6839 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6840 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6841 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6842 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6843 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6844 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6845 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6846 Add more erfc tests.
6847 * math/auto-libm-test-out: Regenerated.
6848 * sysdeps/i386/fpu/libm-test-ulps: Update.
6849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6850
d8e2dbe3
JM
6851 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6852 exp2, expm1, j0 and j1.
6853 * math/auto-libm-test-out: Regenerated.
6854 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6855 (erfc_test_data): Likewise.
6856 (exp_test_data): Likewise.
6857 (exp_tonearest_test_data): Likewise.
6858 (exp_towardzero_test_data): Likewise.
6859 (exp_downward_test_data): Likewise.
6860 (exp_upward_test_data): Likewise.
6861 (exp10_test_data): Likewise.
6862 (exp2_test_data): Likewise.
6863 (expm1_test_data): Likewise.
6864 (j0_test_data): Likewise.
6865 (j1_test_data): Likewise.
6866 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6867 (input_flag_type): Add flag_xfail_rounding.
6868 (input_flags): Add xfail-rounding.
6869 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6870 (output_for_one_input_case): Handle flag_xfail_rounding.
6871 * sysdeps/i386/fpu/libm-test-ulps: Update.
6872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6873
18d14251
AJ
68742013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6875
3d2e6075 6876 [BZ #16289]
18d14251
AJ
6877 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6878 division by 0.
6879
520d437b
SP
68802013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6881
6882 [BZ #16195]
6883 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6884 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6885 (STAP_PROBE0): New macro.
6886 (STAP_PROBE1): Likewise.
6887 (STAP_PROBE2): Likewise.
6888 (STAP_PROBE3): Likewise.
6889 (STAP_PROBE4): Likewise.
6890
416e0145
OB
68912013-12-02 Ondřej Bílka <neleai@seznam.cz>
6892
6893 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6894
9d17796a
SE
68952013-12-02 Steve Ellcey <sellcey@mips.com>
6896
6897 * benchtests/Makefile (bench): Add sqrt.
6898 (LDLIBS-bench-sqrt): New.
6899 * benchtests/sqrt-input: New.
6900
f524d6a8
PS
69012013-12-02 Pavel Simerda <psimerda@redhat.com>
6902
639a0ef8
PS
6903 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6904 (GAIH_EAI): Likewise.
6905 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6906 (gaih_inet): Likewise.
6907 (getaddrinfo): Don't use GAIH_EAI.
6908
f524d6a8
PS
6909 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6910 (struct gaih): Remove definition.
6911
df3aedaf
SP
69122013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6913
6914 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6915 Use HERRNOP directly.
6916
1ab19dec
AZ
69172013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6918
b42ad38d 6919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6920
176b0c79
JM
69212013-11-30 Joseph Myers <joseph@codesourcery.com>
6922
6923 * math/gen-auto-libm-tests.c (test_functions): Add more
6924 single-argument functions.
6925 (special_fill_pi_2): New function.
6926 (special_fill_minus_pi_2): Likewise.
6927 (special_fill_pi_6): Likewise.
6928 (special_fill_minus_pi_6): Likewise.
6929 (special_fill_pi_3): Likewise.
6930 (special_fill_2pi_3): Likewise.
6931 (special_fill_e): Likewise.
6932 (special_fill_1_e): Likewise.
6933 (special_fill_e_minus_1): Likewise.
6934 (special_real_inputs): Add more special inputs.
6935 (output_for_one_input_case): Do not require ERANGE on underflow to
6936 zero if round-to-nearest result does not underflow to zero, unless
6937 exact results required.
6938 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6939 atan, atanh, cbrt, cos and cosh.
6940 * math/auto-libm-test-out: Regenerated.
6941 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6942 (acos_tonearest_test_data): Likewise.
6943 (acos_towardzero_test_data): Likewise.
6944 (acos_downward_test_data): Likewise.
6945 (acos_upward_test_data): Likewise.
6946 (acosh_test_data): Likewise.
6947 (asin_test_data): Likewise.
6948 (asin_tonearest_test_data): Likewise.
6949 (asin_towardzero_test_data): Likewise.
6950 (asin_upward_test_data): Likewise.
6951 (asinh_test_data): Likewise.
6952 (atan_test_data): Likewise.
6953 (atanh_test_data): Likewise.
6954 (cbrt_test_data): Likewise.
6955 (cos_test_data): Likewise.
6956 (cos_tonearest_test_data): Likewise.
6957 (cos_towardzero_test_data): Likewise.
6958 (cos_downward_test_data): Likewise.
6959 (cos_upward_test_data): Likewise.
6960 (cosh_test_data): Likewise.
6961 (cosh_tonearest_test_data): Likewise.
6962 (cosh_towardzero_test_data): Likewise.
6963 (cosh_downward_test_data): Likewise.
6964 (cosh_upward_test_data): Likewise.
6965 * sysdeps/i386/fpu/libm-test-ulps: Update.
6966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6967
ffb536d0
JM
69682013-11-29 Joseph Myers <joseph@codesourcery.com>
6969
2a77a467
JM
6970 [BZ #6787]
6971 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6972 * math/w_exp10f.c (__exp10f): Likewise.
6973 * math/w_exp10l.c (__exp10l): Likewise.
6974 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6975 errno settings in existing tests.
6976
ea3bc4e8
JM
6977 [BZ #14032]
6978 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6979 precision control set to double precision.
6980 * sysdeps/i386/fpu/w_sqrt.c: New file.
6981 * math/auto-libm-test-in: Add more tests.
6982 * math/auto-libm-test-out: Update.
6983
0712c9d8
JM
6984 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6985 (sqrt_test_tonearest): New function.
6986 (sqrt_towardzero_test_data): New variable.
6987 (sqrt_test_towardzero): New function.
6988 (sqrt_downward_test_data): New variable.
6989 (sqrt_test_downward): New function.
6990 (sqrt_upward_test_data): New variable.
6991 (sqrt_test_upward): New function.
6992 (main): Call the new functions.
6993
ffb536d0
JM
6994 * math/gen-auto-libm-tests.c: New file.
6995 * math/auto-libm-test-in: Likewise.
6996 * math/auto-libm-test-out: New generated file.
6997 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6998 variables.
6999 (%beautify): Add generated representations of zero.
7000 (top level): Set $auto_input and call parse_auto_input.
7001 (beautify): Remove trailing "f" from hex float constants.
7002 (parse_args): Handle XFAIL_TEST.
7003 (convert_condition): New function.
7004 (or_value): Likewise.
7005 (or_cond_value): Likewise.
7006 (generate_testfile): Handle AUTO_TESTS_* lines.
7007 (parse_auto_input): New function.
7008 * math/libm-test.inc (XFAIL_TEST): New macro.
7009 (ERRNO_UNCHANGED): Update value.
7010 (ERRNO_EDOM): Likewise.
7011 (ERRNO_ERANGE): Likewise.
7012 (IGNORE_RESULT): Likewise.
7013 (TEST_COND_flt_32): New macro.
7014 (TEST_COND_dbl_64): Likewise.
7015 (TEST_COND_ldbl_96_intel): Likewise.
7016 (TEST_COND_ldbl_96_m68k): Likewise.
7017 (TEST_COND_ldbl_128): Likewise.
7018 (TEST_COND_ldbl_128ibm): Likewise.
7019 (TEST_COND_long32): Likewise.
7020 (TEST_COND_long64): Likewise.
7021 (TEST_COND_before_rounding): Likewise.
7022 (TEST_COND_after_rounding): Likewise.
7023 (enable_test): Handle XFAIL_TEST flag.
7024 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7025 with finite results.
7026 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7027 auto-libm-test-out.
7028
acd98a8e
AK
70292013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7030 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7031
7032 [BZ #16214]
7033 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7034 __tls_get_addr_internal instead of __tls_get_offset in order to
7035 avoid GOT pointer dependency. Make rtld export
7036 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7037 __tls_get_addr since we are a __tls_get_offset platform.
7038 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7039 GOT pointer being set up before.
7040 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7041
3c1c46a6
JM
70422013-11-28 Joseph Myers <joseph@codesourcery.com>
7043
7475aef5
JM
7044 * manual/math.texi (Errors in Math Functions): Document accuracy
7045 goals.
7046
8bca7cd8
JM
7047 [BZ #15004]
7048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7049 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7050 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7052 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7053 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7054 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7057 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7058 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7059 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7060 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7061 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7062 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7063 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7064
91a1f3fe
JM
7065 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7066 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7067 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7068 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7069 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7070 Likewise.
7071 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7072 Likewise.
7073 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7074 Likewise.
7075 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7076 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7077 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7078 atomic-feupdateenv and flt-rounds.
7079 * sysdeps/powerpc/nofpu/Versions (libc): Add
7080 __atomic_feholdexcept, __atomic_feclearexcept,
7081 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7083 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7084 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7085 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7086 here.
7087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7088 Update.
7089
c5df7609
JM
7090 * manual/arith.texi (FP Exceptions): Document that exceptions may
7091 not be raised when matherr is used.
7092 (Math Error Reporting): Document overflow in directed rounding
7093 modes. Document that errno may not be set when finite values are
7094 returned on overflow. Document intent to set errno on underflow
7095 only for underflow to zero.
7096
3c1c46a6
JM
7097 [BZ #16271]
7098 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7099 round-to-nearest then adjust result for other rounding modes.
7100 * include/fenv.h (fegetround): Use libm_hidden_proto.
7101 * math/fegetround.c (fegetround): Use libm_hidden_def.
7102 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7103 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7104 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7105 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7106 Likewise.
7107 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7108 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7109 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7110 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7111
5a4c6d53
SP
71122013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7113
7114 [BZ #16077]
7115 * nss/Versions (libnss_files): Add
7116 _nss_files_gethostbyname3_r.
7117 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7118 New function.
7119 (HOST_DB_LOOKUP): Remove macro.
7120 (_nss_files_gethostbyname_r): Implement function without the
7121 HOST_DB_LOOKUP macro.
7122 (_nss_files_gethostbyname2_r): Likewise.
7123
897b98ba
OB
71242013-11-28 Ondřej Bílka <neleai@seznam.cz>
7125
7126 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7127
6f476861
UB
71282013-11-26 Uros Bizjak <ubizjak@gmail.com>
7129
7130 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7131 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7132 warning.
7133
bd12ab55
AZ
71342013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135
7136 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7137 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7138 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7139 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7140 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7141 __fe_nomask_env_priv and attribute_hidden.
7142 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7143 (libc_feupdateenv_test_ppc): Likewise.
7144 (libc_feresetround_ppc): Likewise.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7146 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7147 compat_symbol macro.
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7149 (__fe_nomask_env): Likewise.
7150 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7151
52bb6543
OB
71522013-11-26 Ondřej Bílka <neleai@seznam.cz>
7153
7154 * string/Makefile: Remove ifunc tests.
7155 * string/test-string.h: Define TEST_IFUNC.
7156 * string/test-bcopy-ifunc.c: Remove.
7157 * string/test-bzero-ifunc.c: Likewise.
7158 * string/test-memccpy-ifunc.c: Likewise.
7159 * string/test-memchr-ifunc.c: Likewise.
7160 * string/test-memcmp-ifunc.c: Likewise.
7161 * string/test-memcpy-ifunc.c: Likewise.
7162 * string/test-memmem-ifunc.c: Likewise.
7163 * string/test-memmove-ifunc.c: Likewise.
7164 * string/test-mempcpy-ifunc.c: Likewise.
7165 * string/test-memrchr-ifunc.c: Likewise.
7166 * string/test-memset-ifunc.c: Likewise.
7167 * string/test-rawmemchr-ifunc.c: Likewise.
7168 * string/test-stpcpy-ifunc.c: Likewise.
7169 * string/test-stpncpy-ifunc.c: Likewise.
7170 * string/test-strcasecmp-ifunc.c: Likewise.
7171 * string/test-strcasestr-ifunc.c: Likewise.
7172 * string/test-strcat-ifunc.c: Likewise.
7173 * string/test-strchr-ifunc.c: Likewise.
7174 * string/test-strchrnul-ifunc.c: Likewise.
7175 * string/test-strcmp-ifunc.c: Likewise.
7176 * string/test-strcpy-ifunc.c: Likewise.
7177 * string/test-strcspn-ifunc.c: Likewise.
7178 * string/test-strlen-ifunc.c: Likewise.
7179 * string/test-strncasecmp-ifunc.c: Likewise.
7180 * string/test-strncat-ifunc.c: Likewise.
7181 * string/test-strncmp-ifunc.c: Likewise.
7182 * string/test-strncpy-ifunc.c: Likewise.
7183 * string/test-strnlen-ifunc.c: Likewise.
7184 * string/test-strpbrk-ifunc.c: Likewise.
7185 * string/test-strrchr-ifunc.c: Likewise.
7186 * string/test-strspn-ifunc.c: Likewise.
7187 * string/test-strstr-ifunc.c: Likewise.
7188
ab260039 71892013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7190
7191 * benchtests/Makefile: Remove ifunc tests.
7192 * benchtests/bench-string.h: Define TEST_IFUNC.
7193 * benchtests/bench-bcopy-ifunc.c: Remove.
7194 * benchtests/bench-bzero-ifunc.c: Likewise.
7195 * benchtests/bench-memccpy-ifunc.c: Likewise.
7196 * benchtests/bench-memchr-ifunc.c: Likewise.
7197 * benchtests/bench-memcmp-ifunc.c: Likewise.
7198 * benchtests/bench-memcpy-ifunc.c: Likewise.
7199 * benchtests/bench-memmem-ifunc.c: Likewise.
7200 * benchtests/bench-memmove-ifunc.c: Likewise.
7201 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7202 * benchtests/bench-memrchr-ifunc.c: Likewise.
7203 * benchtests/bench-memset-ifunc.c: Likewise.
7204 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7205 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7206 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7207 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7208 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7209 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7210 * benchtests/bench-strcat-ifunc.c: Likewise.
7211 * benchtests/bench-strchr-ifunc.c: Likewise.
7212 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7213 * benchtests/bench-strcmp-ifunc.c: Likewise.
7214 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7215 * benchtests/bench-strcpy-ifunc.c: Likewise.
7216 * benchtests/bench-strcspn-ifunc.c: Likewise.
7217 * benchtests/bench-strlen-ifunc.c: Likewise.
7218 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7219 * benchtests/bench-strncat-ifunc.c: Likewise.
7220 * benchtests/bench-strncmp-ifunc.c: Likewise.
7221 * benchtests/bench-strncpy-ifunc.c: Likewise.
7222 * benchtests/bench-strnlen-ifunc.c: Likewise.
7223 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7224 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7225 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7226 * benchtests/bench-strspn-ifunc.c: Likewise.
7227 * benchtests/bench-strstr-ifunc.c: Likewise.
7228
72292013-11-26 Ondřej Bílka <neleai@seznam.cz>
7230
ab260039
OB
7231 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7232
d1d9eaf4 72332013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7234
d1d9eaf4
OB
7235 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7236 * rt/aio.h: Likewise.
7237 * sysdeps/gnu/bits/utmp.h: Likewise.
7238 * sysdeps/gnu/bits/utmpx.h: Likewise.
7239 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7240 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7241 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7242 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7243 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7244 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7245 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7246 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7247 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7248 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7249 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7250 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7251 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7253 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7254 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7255 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7256 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7257 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7258 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7259 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7260 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7261 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7262 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7263 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7265 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7266 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7267 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7268 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7269 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7270 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7272 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7274 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7275 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7276 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7277 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7278 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7279 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7280 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7281
a7624ed9
CD
72822013-11-25 Carlos O'Donell <carlos@redhat.com>
7283
7284 [BZ #16245]
7285 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7286 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7287
63cfe52b
JM
72882013-11-25 Joseph Myers <joseph@codesourcery.com>
7289
7290 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7291 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7292 Likewise.
7293
41e8926a
AZ
72942013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7295
7296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7297 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7298 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7299 (__fesetround): Remove define.
7300 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7301 rounding and exceptions handling.
7302 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7303 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7304 (__fe_nomask_env): Likewise.
7305 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7306 __fegetround instead of fegetround.
7307 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7308 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7309
6851bd4d
RM
73102013-11-21 Roland McGrath <roland@hack.frob.com>
7311
070906ff
RM
7312 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7313 it's there.
7314
6851bd4d
RM
7315 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7316
84ae135d
MI
73172013-11-21 Meador Inge <meadori@codesourcery.com>
7318
7319 [BZ #11157]
7320 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7321 (encrypt_r): Likewise.
7322 * malloc/obstack.h (obstack_free): Likewise.
7323 * posix/unistd.h (encrypt): Likewise.
7324
daf75146
GM
73252013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7326
7327 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7328 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7329 DL_CALL_DT_FINI() that call the functions directly.
7330 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7331 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7332 * elf/dl-fini.c: Likewise.
7333
10ad46bc
OB
73342013-11-20 Ondřej Bílka <neleai@seznam.cz>
7335
7336 * malloc/hooks.c (memalign_check): Add alignment rounding.
7337 * malloc/malloc.c (_mid_memalign): New function.
7338 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7339 Implement by calling _mid_memalign.
7340 * manual/probes.texi (Memory Allocation Probes): Remove
7341 memory_valloc_retry and memory_pvalloc_retry.
7342
f3fd2628
SP
73432013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7344
4712799f
SP
7345 * locale/programs/locarchive.c (open_archive): Add const
7346 qualifier to ARCHIVEFNAME and copy default fname to
7347 DEFAULT_FNAME.
7348
0417b20f
SP
7349 [BZ #15601]
7350 * libio/tst-widetext.input: Rename Oriya to Odia.
7351 * locale/iso-639.def: Likewise.
7352
f3fd2628
SP
7353 * manual/probes.texi (Mathematical Function Probes): Add
7354 documentation for sin, cos, asin and acos probes.
7355 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7356 (__sin32): Add slowasin probe.
7357 (__cos32): Add slowacos probe.
7358 (__mpsin): Add slowsin probe.
7359 (__mpcos): Add slowcos probe.
7360
73c1ce4f
JM
73612013-11-19 Joseph Myers <joseph@codesourcery.com>
7362
7363 [BZ #15483]
7364 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7365 thread-local __sim_exceptions_thread and global
7366 __sim_exceptions_global.
7367 (__sim_disabled_exceptions): Change to thread-local
7368 __sim_disabled_exceptions_thread and global
7369 __sim_disabled_exceptions_global.
7370 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7371 and global __sim_round_mode_global.
7372 (__simulate_exceptions): Use thread-local floating-point state and
7373 set global state from it as needed.
7374 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7375 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7376 __sim_round_mode_thread.
7377 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7378 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7379 and global __sim_exceptions_global.
7380 (__sim_disabled_exceptions): Change to thread-local
7381 __sim_disabled_exceptions_thread and global
7382 __sim_disabled_exceptions_global.
7383 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7384 and global __sim_round_mode_global.
7385 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7386 (SIM_SET_GLOBAL): Likewise.
7387 * sysdeps/powerpc/soft-fp/sfp-machine.h
7388 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7389 __sim_round_mode_thread.
7390 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7391 __sim_disabled_exceptions_thread.
7392 (__sim_exceptions): Change to __sim_exceptions_thread.
7393 (__sim_disabled_exceptions): Change to
7394 __sim_disabled_exceptions_thread.
7395 (__sim_round_mode): Change to __sim_round_mode_thread.
7396 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7397 thread-local floating-point state and set global state from it as
7398 needed.
7399 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7400 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7401 (__sim_disabled_exceptions): Remove extern declaration.
7402 (feenableexcept): Use thread-local floating-point state and set
7403 global state from it as needed.
7404 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7405 extern declaration.
7406 (__sim_disabled_exceptions): Likewise.
7407 (__sim_round_mode): Likewise.
7408 (__fegetenv): Use thread-local floating-point state.
7409 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7410 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7411 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7412 floating-point state and set global state from it as needed.
7413 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7414 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7415 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7416 Likewise.
7417 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7418 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7419 Likewise.
7420 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7421 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7422 Use __sim_round_mode_thread.
7423 * math/test-fenv-tls.c: New file.
7424 * math/Makefile (tests): Add test-fenv-tls.
7425 ($(objpfx)test-fenv-tls): Depend on
7426 $(common-objpfx)nptl/libpthread.so.
7427
b5449b12
AS
74282013-11-19 Andreas Schwab <schwab@suse.de>
7429
7430 * locale/programs/locale.c (show_info): Decode wordarray elements.
7431 * locale/categories.def (LC_MONETARY): Add element for
7432 _NL_MONETARY_CRNCYSTR.
7433 * locale/C-monetary.c (conversion_rate): New variable.
7434 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7435 element.
7436
e186536b
CM
74372013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7438
7439 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7440 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7441
5c349950
PP
74422013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7443
7444 * elf/Makefile (tst-auxv): New test.
7445 * elf/tst-auxv.c: New
7446 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7447
699df45b
JM
74482013-11-18 Joseph Myers <joseph@codesourcery.com>
7449
7450 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7451 (hidden_proto): Caller changed.
7452 (hidden_tls_proto): New macro.
7453 (libc_hidden_tls_proto): Likewise.
7454 (rtld_hidden_tls_proto): Likewise.
7455 (libm_hidden_tls_proto): Likewise.
7456 (libresolv_hidden_tls_proto): Likewise.
7457 (librt_hidden_tls_proto): Likewise.
7458 (libdl_hidden_tls_proto): Likewise.
7459 (libnss_files_hidden_tls_proto): Likewise.
7460 (libnsl_hidden_tls_proto): Likewise.
7461 (libnss_nisplus_hidden_tls_proto): Likewise.
7462 (libutil_hidden_tls_proto): Likewise.
7463
b7589107
OB
74642013-11-18 Ondřej Bílka <neleai@seznam.cz>
7465
7466 [BZ #10253]
7467 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7468 (decompose_rpath): Defer expansion to fillin_rpath.
7469 (_dl_init_paths): Pass linkmap to fillin_rpath.
7470
250c23bd
RS
74712013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7472
7473 * benchtests/Makefile: Add strsep.
7474 * benchtests/bench-strsep.c: New file: strsep benchtest.
7475 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7476
a7931fcf
AS
74772013-11-18 Andreas Schwab <schwab@suse.de>
7478
7479 * locale/programs/locale.c (show_info) [case byte]: Check for
7480 '\377' instead of '\177'.
7481 * locale/C-monetary.c (not_available): Always use "\377".
7482 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7483 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7484 detect unavailable sign_posn locale elements.
7485 * locale/localeconv.c (__localeconv): For grouping and
7486 mon_grouping handle "\177" and "\377" like no grouping.
7487 (INT_ELEM): New macro. Use it to set all numeric members.
7488 * locale/programs/ld-monetary.c (monetary_read)
7489 <tok_mon_grouping>: Normalize single -1 to the empty string.
7490 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7491 Likewise.
7492
728dab0e
OB
74932013-11-07 Ondřej Bílka <neleai@seznam.cz>
7494
7495 [BZ #16055]
7496 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7497 when we match (nil).
7498 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7499
66294491
JM
75002013-11-16 Joseph Myers <joseph@codesourcery.com>
7501
ce665817
JM
7502 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7503 (NO_TEST_INLINE): Update value.
7504 (ERRNO_UNCHANGED): Likewise.
7505 (ERRNO_EDOM): Likewise.
7506 (ERRNO_ERANGE): Likewise.
7507 (IGNORE_RESULT): Likewise.
7508 (check_float_internal): Check signs of NaN results if
7509 TEST_NAN_SIGN used.
7510 (check_complex): Pass TEST_NAN_SIGN flag through to second
7511 check_float_internal call.
7512 (copysign_test_data): Add tests with quiet NaNs as second
7513 argument. Use TEST_NAN_SIGN.
7514 (fabs_test_data): Add test of negative quiet NaN argument. Use
7515 TEST_NAN_SIGN.
7516 (signbit_test_data): Add tests of quiet NaN argument.
7517 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7518
ee1466a9
JM
7519 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7520 $ignore_result.
7521 (parse_args): Handle function results specified as IGNORE.
7522 * math/libm-test.inc (IGNORE_RESULT): New macro.
7523 (check_float_internal): Do not check numerical result if flag
7524 IGNORE_RESULT set.
7525 (check_complex): Pass through IGNORE_RESULT to second
7526 check_float_internal call.
7527 (check_int): Do not check numerical result if flag IGNORE_RESULT
7528 set.
7529 (check_long): Likewise.
7530 (check_bool): Likewise.
7531 (check_longlong): Likewise.
7532 (lrint_test_data): Add tests of infinite and NaN arguments.
7533 (lrint_tonearest_test_data): Likewise.
7534 (lrint_towardzero_test_data): Likewise.
7535 (lrint_downward_test_data): Likewise.
7536 (lrint_upward_test_data): Likewise.
7537 (llrint_test_data): Likewise.
7538 (llrint_tonearest_test_data): Likewise.
7539 (llrint_towardzero_test_data): Likewise.
7540 (llrint_downward_test_data): Likewise.
7541 (llrint_upward_test_data): Likewise.
7542 (lround_test_data): Likewise.
7543 (llround_test_data): Likewise.
7544
14407b7e
JM
7545 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7546 (ERRNO_UNCHANGED): Update value.
7547 (ERRNO_EDOM): Likewise.
7548 (ERRNO_ERANGE): Likewise.
7549 (NO_TEST_INLINE_FLOAT): New macro.
7550 (NO_TEST_INLINE_DOUBLE): Likewise.
7551 (enable_test): New function.
7552 (RUN_TEST_f_f): Check enable_test before running test.
7553 (RUN_TEST_2_f): Likewise.
7554 (RUN_TEST_fff_f): Likewise.
7555 (RUN_TEST_c_f): Likewise.
7556 (RUN_TEST_f_f1): Likewise.
7557 (RUN_TEST_fF_f1): Likewise.
7558 (RUN_TEST_fI_f1): Likewise.
7559 (RUN_TEST_ffI_f1): Likewise.
7560 (RUN_TEST_c_c): Likewise.
7561 (RUN_TEST_cc_c): Likewise.
7562 (RUN_TEST_f_i): Likewise.
7563 (RUN_TEST_f_i_tg): Likewise.
7564 (RUN_TEST_ff_i_tg): Likewise.
7565 (RUN_TEST_f_b): Likewise.
7566 (RUN_TEST_f_b_tg): Likewise.
7567 (RUN_TEST_f_l): Likewise.
7568 (RUN_TEST_f_L): Likewise.
7569 (RUN_TEST_fFF_11): Likewise.
7570 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7571 conditionals.
7572 (cosh_test_data): Likewise.
7573 (exp_test_data): Likewise.
7574 (expm1_test_data): Likewise.
7575 (hypot_test_data): Likewise.
7576 (pow_test_data): Likewise.
7577 (sinh_test_data): Likewise.
7578 (tanh_test_data): Likewise.
7579 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7580 flags argument.
7581
ca07f197
JM
7582 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7583 tests with quiet NaN input and output.
7584 (acosh_test_data): Likewise.
7585 (asin_test_data): Likewise.
7586 (asinh_test_data): Likewise.
7587 (atan_test_data): Likewise.
7588 (atanh_test_data): Likewise.
7589 (atan2_test_data): Likewise.
7590 (cbrt_test_data): Likewise.
7591 (cos_test_data): Likewise.
7592 (cosh_test_data): Likewise.
7593 (erf_test_data): Likewise.
7594 (erfc_test_data): Likewise.
7595 (exp_test_data): Likewise.
7596 (exp10_test_data): Likewise.
7597 (exp2_test_data): Likewise.
7598 (expm1_test_data): Likewise.
7599 (hypot_test_data): Likewise.
7600 (j0_test_data): Likewise.
7601 (j1_test_data): Likewise.
7602 (jn_test_data): Likewise.
7603 (lgamma_test_data): Likewise.
7604 (log_test_data): Likewise.
7605 (log10_test_data): Likewise.
7606 (log1p_test_data): Likewise.
7607 (log2_test_data): Likewise.
7608 (pow_test_data): Likewise.
7609 (scalb_test_data): Likewise.
7610 (sin_test_data): Likewise.
7611 (sincos_test_data): Likewise.
7612 (sinh_test_data): Likewise.
7613 (tan_test_data): Likewise.
7614 (tanh_test_data): Likewise.
7615 (tgamma_test_data): Likewise.
7616 (y0_test_data): Likewise.
7617 (y1_test_data): Likewise.
7618 (yn_test_data): Likewise.
7619
66294491
JM
7620 [BZ #16167]
7621 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7622 argument being NaN and avoid computations with second argument in
7623 that case.
7624 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7625 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7626 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7627
1820b143
CL
76282013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7629
7630 * locale/iso-639.def: Add Chitwani Tharu (the).
7631
714bd261
AS
76322013-11-14 Andreas Schwab <schwab@suse.de>
7633
7634 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7635 word instead of empty string.
7636
7ab44563
AZ
76372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7638
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7640 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7642 (__fe_nomask_env): Likewise.
7643
e8470ea2
SE
76442013-11-13 Steve Ellcey <sellcey@mips.com>
7645
7646 * benchtests/bench-timing.h: Include time.h.
7647
17c1d9f0
L
76482013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7649
7650 [BZ #15997]
7651 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7652 to 3.4.0 for x32.
7653 * sysdeps/unix/sysv/linux/configure: Regenerated.
7654
9310c284
JM
76552013-11-13 Joseph Myers <joseph@codesourcery.com>
7656
7657 [BZ #16151]
7658 * stdlib/strtod_l.c (round_and_return): Do not consider
7659 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7660 exponent one less than half the least subnormal exponent.
7661 * stdlib/test-strtod-round-data: Add more tests.
7662 * stdlib/tst-strtod-round.c (tests): Regenerated.
7663
7a2ad8cf
AZ
76642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7665
7666 [BZ #14143]
7667 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7668 (__fe_mask_env): Likewise.
7669 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7670 libm_hidden_proto and add function prototype.
7671 (__fe_mask_env): Add function prototype.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7673 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7675 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7677 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7678
50727aa7
MS
76792013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7680
b2f386c1 7681 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7682 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7683
a615be46
MS
76842013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7685
7686 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7687 of htab_find_slot().
7688
7ddace62
DM
76892013-11-11 David S. Miller <davem@davemloft.net>
7690
7691 [BZ #16150]
7692 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7693 symbol in the non-vis3 case in static builds.
7694 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7695 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7696 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7697 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7698
9182aa67
JK
76992013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7700
7701 [BZ #387]
7702 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7703 it is empty.
7704
450a2e2d
AZ
77052013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7706
b2f386c1
SP
7707 * benchtests/Makefile: Add bench-strtod.
7708 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7709
8ec3f656
AS
77102013-11-11 Andreas Schwab <schwab@suse.de>
7711
7712 [BZ #16153]
7713 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7714 terminating NUL in key length.
7715
76a9b998
AZ
77162013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7717
7718 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7719 Add artificial ODP entry for vDSO symbol for PPC64.
7720 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7721 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7722
e4368156
OB
77232013-11-07 Ondřej Bílka <neleai@seznam.cz>
7724
7725 [BZ #15374]
7726 * nss/getent.c (services_keys): Recognize services starting with digit.
7727
8d6bb57c
DM
77282013-11-06 David S. Miller <davem@davemloft.net>
7729
7730 [BZ #15985]
7731 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7732 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7733
e256c421
WN
77342013-11-06 Will Newton <will.newton@linaro.org>
7735
7736 * manual/memory.texi (Malloc Examples): Remove register
7737 keyword from examples.
7738
f6e12daa 77392013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7740
f6e12daa 7741 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7742
9d880655
AS
77432013-11-04 Joseph Myers <joseph@codesourcery.com>
7744
fd2f9486 7745 [BZ #6981]
9d880655
AS
7746 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7747 depending on [__GCC_IEC_559 > 0].
7748 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7749 depending on [__GCC_IEC_559_COMPLEX > 0].
7750
ae129d3c
CL
77512013-11-03 Chris Leonard <cjl@sugarlabs.org>
7752
7753 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7754 to iso-639.def.
7755
4a15c2a4 77562013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7757
7758 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7759
8b35e35d
OB
77602013-11-01 Ondřej Bílka <neleai@seznam.cz>
7761
7762 [BZ #16112]
7763 * malloc/malloc (malloc_info): Do not handle first bin as
7764 special case.
7765
1d70fd6c
CL
77662013-11-01 Chris Leonard <cjl@sugarlabs.org>
7767
7768 * locale/iso-639.def: Add Central Nahuatl (nhn).
7769
8c5c2600
BH
77702013-11-01 Bruno Haible <bruno@clisp.org>
7771
7772 [BZ #7003]
7773 * manual/math.texi (BSD Random): Specify range upper bound as
7774 in POSIX.
7775
da5579c2
CL
77762013-10-31 Chris Leonard <cjl@sugarlabs.org>
7777
7778 * locale/iso-639.def: Add Meadow Mari (mhr).
7779
5d30d853
OB
77802013-10-31 Ondřej Bílka <neleai@seznam.cz>
7781
7782 [BZ #14752], [BZ #15763]
7783 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7784 Validate name.
7785 * rt/tst_shm.c: Add test for escaping directory.
7786
a4966c61
AS
77872013-10-31 Andreas Schwab <schwab@suse.de>
7788
8a43e768 7789 [BZ #15917]
a4966c61
AS
7790 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7791 followed by 'x' as part of digit sequence.
7792 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7793
28d708c4
MAP
77942013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7795
7796 [BZ #16037]
7797 * configure.ac: allow GNU Make 4.0 and greater.
7798 * configure: Regenerated.
7799
a56ee40b
WN
78002013-10-30 Will Newton <will.newton@linaro.org>
7801
7802 [BZ #16038]
7803 * malloc/hooks.c (memalign_check): Limit alignment to the
7804 maximum representable power of two.
7805 * malloc/malloc.c (__libc_memalign): Likewise.
7806 * malloc/tst-memalign.c (do_test): Add test for very
7807 large alignment values.
7808 * malloc/tst-posix_memalign.c (do_test): Likewise.
7809
c6e4925d
OB
78102013-10-30 Ondřej Bílka <neleai@seznam.cz>
7811
7812 [BZ #11087]
7813 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7814 (munmap_chunk): Likewise.
7815 (mremap_chunk): Likewise.
7816
78172013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7818
8a43e768 7819 [BZ #15799]
bbea82f7
OB
7820 * stdlib/div.c (div): Remove obsolete code.
7821 * stdlib/ldiv.c (ldiv): Likewise.
7822 * stdlib/lldiv.c (lldiv): Likewise.
7823
977f4b31
SP
78242013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7825
7826 [BZ #16071]
7827 * nss/nss_files/files-XXX.c (get_contents_ret): New
7828 enumerator.
7829 (get_contents): New function.
7830 (internal_getent): Use it. Expand size of LINEBUFLEN.
7831
cb8a6dbd
MF
78322013-10-30 Mike Frysinger <vapier@gentoo.org>
7833
7834 * configure.in: Moved to ...
7835 * configure.ac: ... here. Change reference to configure.in
7836 to configure.ac.
7837 * sysdeps/arm/preconfigure.ac: ... here.
7838 configure.in to configure.ac.
7839 * sysdeps/gnu/configure.in: Moved to ...
7840 * sysdeps/gnu/configure.ac: ... here.
7841 * sysdeps/i386/configure.in: Moved to ...
7842 * sysdeps/i386/configure.ac: ... here.
7843 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7844 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7845 * sysdeps/mach/configure.in: Moved to ...
7846 * sysdeps/mach/configure.ac: ... here.
7847 * sysdeps/mach/hurd/configure.in: Moved to ...
7848 * sysdeps/mach/hurd/configure.ac: ... here.
7849 * sysdeps/powerpc/configure.in: Moved to ...
7850 * sysdeps/powerpc/configure.ac: ... here.
7851 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7852 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7853 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7854 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7855 * sysdeps/s390/s390-32/configure.in: Moved to ...
7856 * sysdeps/s390/s390-32/configure.ac: ... here.
7857 * sysdeps/s390/s390-64/configure.in: Moved to ...
7858 * sysdeps/s390/s390-64/configure.ac: ... here.
7859 * sysdeps/sh/configure.in: Moved to ...
7860 * sysdeps/sh/configure.ac: ... here.
7861 * sysdeps/sparc/configure.in: Moved to ...
7862 * sysdeps/sparc/configure.ac: ... here.
7863 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7864 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7865 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7866 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7867 * sysdeps/x86_64/configure.in: Moved to ...
7868 * sysdeps/x86_64/configure.ac: ... here.
7869 * sysdeps/x86_64/preconfigure.in: Moved to ...
7870 * sysdeps/x86_64/preconfigure.ac: ... here.
7871 * aclocal.m4: Change reference to configure.in to configure.ac.
7872 * config.h.in: Likewise.
7873 * manual/install.texi: Likewise.
7874 * manual/maint.texi: Likewise.
7875 * Makefile: Likewise.
7876 * malloc/Makefile: Likewise.
7877 * nscd/Makefile: Likewise.
7878 * Makeconfig: Change reference to configure.in and
7879 preconfigure.in to configure.ac and preconfigure.ac
7880 respectively.
7881 * INSTALL: Regenerated.
7882 * configure: Likewise.
7883 * sysdeps/gnu/configure: Likewise.
7884 * sysdeps/i386/configure: Likewise.
7885 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7886 * sysdeps/mach/configure: Likewise.
7887 * sysdeps/mach/hurd/configure: Likewise.
7888 * sysdeps/powerpc/configure: Likewise.
7889 * sysdeps/powerpc/powerpc32/configure: Likewise.
7890 * sysdeps/powerpc/powerpc64/configure: Likewise.
7891 * sysdeps/s390/s390-32/configure: Likewise.
7892 * sysdeps/s390/s390-64/configure: Likewise.
7893 * sysdeps/sh/configure: Likewise.
7894 * sysdeps/sparc/configure: Likewise.
7895 * sysdeps/unix/sysv/linux/configure: Likewise.
7896 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7897 * sysdeps/x86_64/configure: Likewise.
7898 * sysdeps/x86_64/preconfigure: Likewise.
7899
36a4953a
AS
79002013-10-29 Andreas Schwab <schwab@suse.de>
7901
7902 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7903
c79a1204
SP
79042013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7905
dfa1b402
SP
7906 * benchtests/pow-inputs: Add new inputs.
7907
54f73d9c
SP
7908 * benchtests/exp-inputs: Add new inputs.
7909
c79a1204
SP
7910 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7911 conditional check for return value.
7912 (__cos32): Likewise.
7913
67beb545 79142013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7915
7916 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7917 to provide a boost for large inputs with word alignment.
7918 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7919 implementation based on optimized PPC64 strcpy.
7920 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7921 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7922 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7923 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7924
151659f6
OB
79252013-10-25 Ondřej Bílka <neleai@seznam.cz>
7926
482a077e 7927 [BZ #2801]
151659f6
OB
7928 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7929
10b0f26b
OB
79302013-10-25 Ondřej Bílka <neleai@seznam.cz>
7931
7932 [BZ #14876]
7933 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7934 * time/tst-strptime.c (day_tests): Add testcase.
7935
ca42d35e
OB
79362013-10-25 Ondřej Bílka <neleai@seznam.cz>
7937
482a077e 7938 [BZ #14029]
ca42d35e
OB
7939 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7940
52e6d801
FB
79412013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7942
7943 [BZ #16074]
7944 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7945 MAP_FAILED on error.
7946
7cbcdb36
SP
79472013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7948
7949 [BZ #16072]
7950 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7951 heap for large requests.
7952
894f3f10
AM
79532013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7954
7955 [BZ #9954]
7956 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7957 result if the result has no associated interface.
7958 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7959 interface for all 127.X.Y.Z addresses.
7960
b85545a6
CL
79612013-10-24 Chris Leonard <cjl@sugarlabs.org>
7962
7963 * locale/iso-639.def: Add Ligurian (lij)
7964
d1f23d46
OB
79652013-10-21 Ondřej Bílka <neleai@seznam.cz>
7966
7967 [BZ #15825]
7968 * sunrpc/rpc_main.c: Document rpcgen -5.
7969
4db5b08f
MS
79702013-10-19 Michael Stahl <mstahl@redhat.com>
7971
7972 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7973
a471e96a
OB
79742013-10-19 Ondřej Bílka <neleai@seznam.cz>
7975
d1f23d46 7976 [BZ #10278]
a471e96a
OB
7977 * posix/glob.c: Match only directories when trailing slash is present.
7978 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7979 (main): Add testcase.
7980
45c30c61
OB
79812013-10-19 Ondřej Bílka <neleai@seznam.cz>
7982
7983 [BZ #15670]
7984 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7985
484c12fb
CD
79862013-10-18 Carlos O'Donell <carlos@redhat.com>
7987
3d7dc513
CD
7988 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7989 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7990 AUTH_DES and cindex for FIPS 140-2.
7991 (DES Encryption): Add cindex FIPS 46-3.
7992
484c12fb
CD
7993 * locale/locarchive.h (struct locarhandle): Add fname.
7994 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7995 if an optional argument was specified to --list-archive,
7996 otherwise NULL.
7997 * locale/programs/locarchive.c (show_archive_content): Take new
7998 argument fname and pass it via ah.fname to open_archive.
7999 * locale/programs/localedef.h: Update decl.
8000 (open_archive): If AH->fname is non-null, open that file
8001 rather than the default file name, and don't ignore ENOENT.
8002 (create_archive): Set AH.fname to NULL.
8003 (delete_locales_from_archive): Likewise.
8004 (add_locales_to_archive): Likewise.
8005 * locale/programs/locfile.c (write_all_categories): Likewise.
8006
3c8325fb
JM
80072013-10-18 Joseph Myers <joseph@codesourcery.com>
8008 Aldy Hernandez <aldyh@redhat.com>
8009
8010 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8011 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8012 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8013 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8014 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8015 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8016 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8017 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8018 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8019 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8020 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8021 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8022 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8023 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8024 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8025 Likewise.
8026 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8027 Likewise.
8028 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8029 Likewise.
8030 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8031 Likewise.
8032 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8033 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8034 Likewise.
8035 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8036 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8037 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8038 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8039 Likewise.
8040 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8041 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8042 * sysdeps/powerpc/preconfigure: Likewise.
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8044 Likewise.
8045 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8046 Replace contents of file by #include of <fenv_libc.h>.
8047 * sysdeps/powerpc/soft-fp/sfp-machine.h
8048 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8049 and <sys/prctl.h>.
8050 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8051 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8052 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8053 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8054 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8055 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8057 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8058 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8059 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8060 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8061 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8063 Allow copysignl PLT reference to be missing.
8064
5abe0682
RS
80652013-10-18 Richard Sandiford <richard@codesourcery.com>
8066 Joseph Myers <joseph@codesourcery.com
8067
8068 [BZ #15948]
8069 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8070 single character.
8071 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8072
c7738d08
SP
80732013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8074
8075 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8076 * elf/tst-tls1.c: Likewise.
8077 * elf/tst-tls10.h: Likewise.
8078 * elf/tst-tls14.c: Likewise.
8079 * elf/tst-tls2.c: Likewise.
8080 * elf/tst-tls3.c: Likewise.
8081 * elf/tst-tls4.c: Likewise.
8082 * elf/tst-tls5.c: Likewise.
8083 * elf/tst-tls6.c: Likewise.
8084 * elf/tst-tls7.c: Likewise.
8085 * elf/tst-tls8.c: Likewise.
8086 * elf/tst-tls9.c: Likewise.
8087 * elf/tst-tlsmod1.c: Likewise.
8088 * elf/tst-tlsmod13.c: Likewise.
8089 * elf/tst-tlsmod13a.c: Likewise.
8090 * elf/tst-tlsmod14a.c: Likewise.
8091 * elf/tst-tlsmod16a.c: Likewise.
8092 * elf/tst-tlsmod16b.c: Likewise.
8093 * elf/tst-tlsmod2.c: Likewise.
8094 * elf/tst-tlsmod3.c: Likewise.
8095 * elf/tst-tlsmod4.c: Likewise.
8096 * elf/tst-tlsmod5.c: Likewise.
8097 * elf/tst-tlsmod6.c: Likewise.
8098
0bfcf2c7
OB
80992013-10-18 Ondřej Bílka <neleai@seznam.cz>
8100
8101 [BZ #12486]
8102 * malloc/malloc.c: remove checks for statistics.
8103
264aad1e
OB
81042013-10-17 Ondřej Bílka <neleai@seznam.cz>
8105
8106 [BZ #15277]
8107 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8108 * inet/tst-network.c: Add testcase.
8109
b957ced8
AS
81102013-10-17 Andreas Schwab <schwab@suse.de>
8111
8112 [BZ #15218]
8113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8114 to determine canonical name.
8115
c5d5d574
OB
81162013-10-17 Ondřej Bílka <neleai@seznam.cz>
8117
8118 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8119 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8142 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8143 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8148 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8176
e5c2c2d0
JM
81772013-10-17 Joseph Myers <joseph@codesourcery.com>
8178
8179 [BZ #16041]
8180 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8181 make result into a quiet NaN.
8182
51ca9e29
JM
81832013-10-16 Joseph Myers <joseph@codesourcery.com>
8184
8185 * soft-fp/adddf3.c: Fix horizontal whitespace.
8186 * soft-fp/addsf3.c: Likewise.
8187 * soft-fp/addtf3.c: Likewise.
8188 * soft-fp/divdf3.c: Likewise.
8189 * soft-fp/divsf3.c: Likewise.
8190 * soft-fp/divtf3.c: Likewise.
8191 * soft-fp/double.h: Likewise.
8192 * soft-fp/eqdf2.c: Likewise.
8193 * soft-fp/eqsf2.c: Likewise.
8194 * soft-fp/eqtf2.c: Likewise.
8195 * soft-fp/extenddftf2.c: Likewise.
8196 * soft-fp/extended.h: Likewise.
8197 * soft-fp/extendsfdf2.c: Likewise.
8198 * soft-fp/extendsftf2.c: Likewise.
8199 * soft-fp/extendxftf2.c: Likewise.
8200 * soft-fp/fixdfdi.c: Likewise.
8201 * soft-fp/fixdfsi.c: Likewise.
8202 * soft-fp/fixdfti.c: Likewise.
8203 * soft-fp/fixsfdi.c: Likewise.
8204 * soft-fp/fixsfsi.c: Likewise.
8205 * soft-fp/fixsfti.c: Likewise.
8206 * soft-fp/fixtfdi.c: Likewise.
8207 * soft-fp/fixtfsi.c: Likewise.
8208 * soft-fp/fixtfti.c: Likewise.
8209 * soft-fp/fixunsdfdi.c: Likewise.
8210 * soft-fp/fixunsdfsi.c: Likewise.
8211 * soft-fp/fixunsdfti.c: Likewise.
8212 * soft-fp/fixunssfdi.c: Likewise.
8213 * soft-fp/fixunssfsi.c: Likewise.
8214 * soft-fp/fixunssfti.c: Likewise.
8215 * soft-fp/fixunstfdi.c: Likewise.
8216 * soft-fp/fixunstfsi.c: Likewise.
8217 * soft-fp/fixunstfti.c: Likewise.
8218 * soft-fp/floatdidf.c: Likewise.
8219 * soft-fp/floatdisf.c: Likewise.
8220 * soft-fp/floatditf.c: Likewise.
8221 * soft-fp/floatsidf.c: Likewise.
8222 * soft-fp/floatsisf.c: Likewise.
8223 * soft-fp/floatsitf.c: Likewise.
8224 * soft-fp/floattidf.c: Likewise.
8225 * soft-fp/floattisf.c: Likewise.
8226 * soft-fp/floattitf.c: Likewise.
8227 * soft-fp/floatundidf.c: Likewise.
8228 * soft-fp/floatundisf.c: Likewise.
8229 * soft-fp/floatunditf.c: Likewise.
8230 * soft-fp/floatunsidf.c: Likewise.
8231 * soft-fp/floatunsisf.c: Likewise.
8232 * soft-fp/floatunsitf.c: Likewise.
8233 * soft-fp/floatuntidf.c: Likewise.
8234 * soft-fp/floatuntisf.c: Likewise.
8235 * soft-fp/floatuntitf.c: Likewise.
8236 * soft-fp/fmadf4.c: Likewise.
8237 * soft-fp/fmasf4.c: Likewise.
8238 * soft-fp/fmatf4.c: Likewise.
8239 * soft-fp/gedf2.c: Likewise.
8240 * soft-fp/gesf2.c: Likewise.
8241 * soft-fp/getf2.c: Likewise.
8242 * soft-fp/ledf2.c: Likewise.
8243 * soft-fp/lesf2.c: Likewise.
8244 * soft-fp/letf2.c: Likewise.
8245 * soft-fp/muldf3.c: Likewise.
8246 * soft-fp/mulsf3.c: Likewise.
8247 * soft-fp/multf3.c: Likewise.
8248 * soft-fp/negdf2.c: Likewise.
8249 * soft-fp/negsf2.c: Likewise.
8250 * soft-fp/negtf2.c: Likewise.
8251 * soft-fp/op-1.h: Likewise.
8252 * soft-fp/op-2.h: Likewise.
8253 * soft-fp/op-4.h: Likewise.
8254 * soft-fp/op-8.h: Likewise.
8255 * soft-fp/op-common.h: Likewise.
8256 * soft-fp/quad.h: Likewise.
8257 * soft-fp/single.h: Likewise.
8258 * soft-fp/soft-fp.h: Likewise.
8259 * soft-fp/sqrtdf2.c: Likewise.
8260 * soft-fp/sqrtsf2.c: Likewise.
8261 * soft-fp/sqrttf2.c: Likewise.
8262 * soft-fp/subdf3.c: Likewise.
8263 * soft-fp/subsf3.c: Likewise.
8264 * soft-fp/subtf3.c: Likewise.
8265 * soft-fp/truncdfsf2.c: Likewise.
8266 * soft-fp/trunctfdf2.c: Likewise.
8267 * soft-fp/trunctfsf2.c: Likewise.
8268 * soft-fp/trunctfxf2.c: Likewise.
8269 * soft-fp/unorddf2.c: Likewise.
8270 * soft-fp/unordsf2.c: Likewise.
8271 * soft-fp/unordtf2.c: Likewise.
8272
9ebb0332
JM
82732013-10-15 Joseph Myers <joseph@codesourcery.com>
8274
8275 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8276 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8277
4b1a6d8b
OB
82782013-10-15 Ondřej Bílka <neleai@seznam.cz>
8279
8280 * elf/dl-libc.c: Clear initfini list after freeing.
8281
1e145589
JM
82822013-10-14 Joseph Myers <joseph@codesourcery.com>
8283
8284 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8285 * soft-fp/addsf3.c: Likewise.
8286 * soft-fp/addtf3.c: Likewise.
8287 * soft-fp/divdf3.c: Likewise.
8288 * soft-fp/divsf3.c: Likewise.
8289 * soft-fp/divtf3.c: Likewise.
8290 * soft-fp/double.h: Likewise.
8291 * soft-fp/eqdf2.c: Likewise.
8292 * soft-fp/eqsf2.c: Likewise.
8293 * soft-fp/eqtf2.c: Likewise.
8294 * soft-fp/extenddftf2.c: Likewise.
8295 * soft-fp/extended.h: Likewise.
8296 * soft-fp/extendsfdf2.c: Likewise.
8297 * soft-fp/extendsftf2.c: Likewise.
8298 * soft-fp/extendxftf2.c: Likewise.
8299 * soft-fp/fixdfdi.c: Likewise.
8300 * soft-fp/fixdfsi.c: Likewise.
8301 * soft-fp/fixdfti.c: Likewise.
8302 * soft-fp/fixsfdi.c: Likewise.
8303 * soft-fp/fixsfsi.c: Likewise.
8304 * soft-fp/fixsfti.c: Likewise.
8305 * soft-fp/fixtfdi.c: Likewise.
8306 * soft-fp/fixtfsi.c: Likewise.
8307 * soft-fp/fixtfti.c: Likewise.
8308 * soft-fp/fixunsdfdi.c: Likewise.
8309 * soft-fp/fixunsdfsi.c: Likewise.
8310 * soft-fp/fixunsdfti.c: Likewise.
8311 * soft-fp/fixunssfdi.c: Likewise.
8312 * soft-fp/fixunssfsi.c: Likewise.
8313 * soft-fp/fixunssfti.c: Likewise.
8314 * soft-fp/fixunstfdi.c: Likewise.
8315 * soft-fp/fixunstfsi.c: Likewise.
8316 * soft-fp/fixunstfti.c: Likewise.
8317 * soft-fp/floatdidf.c: Likewise.
8318 * soft-fp/floatdisf.c: Likewise.
8319 * soft-fp/floatditf.c: Likewise.
8320 * soft-fp/floatsidf.c: Likewise.
8321 * soft-fp/floatsisf.c: Likewise.
8322 * soft-fp/floatsitf.c: Likewise.
8323 * soft-fp/floattidf.c: Likewise.
8324 * soft-fp/floattisf.c: Likewise.
8325 * soft-fp/floattitf.c: Likewise.
8326 * soft-fp/floatundidf.c: Likewise.
8327 * soft-fp/floatundisf.c: Likewise.
8328 * soft-fp/floatunsidf.c: Likewise.
8329 * soft-fp/floatunsisf.c: Likewise.
8330 * soft-fp/floatuntidf.c: Likewise.
8331 * soft-fp/floatuntisf.c: Likewise.
8332 * soft-fp/floatuntitf.c: Likewise.
8333 * soft-fp/fmadf4.c: Likewise.
8334 * soft-fp/fmasf4.c: Likewise.
8335 * soft-fp/fmatf4.c: Likewise.
8336 * soft-fp/gedf2.c: Likewise.
8337 * soft-fp/gesf2.c: Likewise.
8338 * soft-fp/getf2.c: Likewise.
8339 * soft-fp/ledf2.c: Likewise.
8340 * soft-fp/lesf2.c: Likewise.
8341 * soft-fp/letf2.c: Likewise.
8342 * soft-fp/muldf3.c: Likewise.
8343 * soft-fp/mulsf3.c: Likewise.
8344 * soft-fp/multf3.c: Likewise.
8345 * soft-fp/negdf2.c: Likewise.
8346 * soft-fp/negsf2.c: Likewise.
8347 * soft-fp/negtf2.c: Likewise.
8348 * soft-fp/op-1.h: Likewise.
8349 * soft-fp/op-2.h: Likewise.
8350 * soft-fp/op-4.h: Likewise.
8351 * soft-fp/op-8.h: Likewise.
8352 * soft-fp/op-common.h: Likewise.
8353 * soft-fp/quad.h: Likewise.
8354 * soft-fp/single.h: Likewise.
8355 * soft-fp/soft-fp.h: Likewise.
8356 * soft-fp/sqrtdf2.c: Likewise.
8357 * soft-fp/sqrtsf2.c: Likewise.
8358 * soft-fp/sqrttf2.c: Likewise.
8359 * soft-fp/subdf3.c: Likewise.
8360 * soft-fp/subsf3.c: Likewise.
8361 * soft-fp/subtf3.c: Likewise.
8362 * soft-fp/truncdfsf2.c: Likewise.
8363 * soft-fp/trunctfdf2.c: Likewise.
8364 * soft-fp/trunctfsf2.c: Likewise.
8365 * soft-fp/trunctfxf2.c: Likewise.
8366 * soft-fp/unorddf2.c: Likewise.
8367 * soft-fp/unordsf2.c: Likewise.
8368 * soft-fp/unordtf2.c: Likewise.
8369
17c48a60
OB
83702013-10-14 Ondřej Bílka <neleai@seznam.cz>
8371
8372 [BZ #15672]
8373 * misc/error.c (error_tail): Fix possible buffer overflow.
8374
cabba934
OB
83752013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8376
8377 [BZ #13028]
8378 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8379 address.
8380
94bf958a
PM
83812013-10-14 P. J. McDermott <pj@pehjota.net>
8382
8383 [BZ #832]
8384 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8385 testing pipefail option.
8386
71b4dea7
JM
83872013-10-12 Joseph Myers <joseph@codesourcery.com>
8388
8389 * soft-fp/double.h: Indent preprocessor directives inside #if.
8390 * soft-fp/extended.h: Likewise.
8391 * soft-fp/op-2.h: Likewise.
8392 * soft-fp/op-4.h: Likewise.
8393 * soft-fp/op-common.h: Likewise.
8394 * soft-fp/quad.h: Likewise.
8395 * soft-fp/single.h: Likewise.
8396 * soft-fp/soft-fp.h: Likewise.
8397
55602758
YC
83982013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8399
8400 * iconv/iconv_prog.c: Fix typos.
8401 * stdio-common/psiginfo-data.h: Likewise.
8402
9cd83302
RT
84032013-10-12 Reuben Thomas <rrt@sc3d.org>
8404
8405 [BZ #15764]
8406 * locale/setlocale.c: Fix typo.
8407
99fd9f47
JM
84082013-10-12 Joseph Myers <joseph@codesourcery.com>
8409
b7ea74f0
JM
8410 [BZ #16036]
8411 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8412 signaling NaN arguments.
8413 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8414 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8415
8a509447
JM
8416 [BZ #14910]
8417 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8418 unordered operands.
8419 * soft-fp/gesf2.c (__gesf2): Likewise.
8420 * soft-fp/getf2.c (__getf2): Likewise.
8421 * soft-fp/ledf2.c (__ledf2): Likewise.
8422 * soft-fp/lesf2.c (__lesf2): Likewise.
8423 * soft-fp/letf2.c (__letf2): Likewise.
8424
98998e9f
JM
8425 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8426 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8427 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8428 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8429 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8430 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8431 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8432 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8433 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8434 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8435 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8436 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8437 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8438 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8439 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8440 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8441 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8442 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8443 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8444 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8445 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8446 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8447 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8448 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8449 * soft-fp/floattidf.c (__floattidf): Likewise.
8450 * soft-fp/floattisf.c (__floattisf): Likewise.
8451 * soft-fp/floattitf.c (__floattitf): Likewise.
8452 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8453 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8454 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8455 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8456 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8457 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8458 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8459 * soft-fp/gesf2.c (__gesf2): Likewise.
8460 * soft-fp/getf2.c (__getf2): Likewise.
8461 * soft-fp/ledf2.c (__ledf2): Likewise.
8462 * soft-fp/lesf2.c (__lesf2): Likewise.
8463 * soft-fp/letf2.c (__letf2): Likewise.
8464
8edc4a11
JM
8465 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8466 Undefine and redefine.
8467 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8468 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8469 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8470 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8471 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8472 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8473 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8474 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8475 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8476 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8477 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8478 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8479 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8480 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8481 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8482
8399acaf
JM
8483 [BZ #16032]
8484 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8485 without decrementing exponent if mantissa >= that for the
8486 denominator, not >.
8487 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8488 denominator, not >. Decrement exponent in < case instead of
8489 incrementing in >= case.
8490 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8491 without decrementing exponent if mantissa >= that for the
8492 denominator, not >.
8493
99fd9f47
JM
8494 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8495 computing saturated result for unsigned overflow.
8496
10e1cf6b
SP
84972013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8498 Jeff Law <law@redhat.com>
8499
8500 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8501 (atan2Mp): Add systemtap probe marker.
8502 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8503 (__ieee754_log): Add systemtap probe marker.
8504 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8505 (atanMp): Add systemtap probe marker.
8506 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8507 (tanMp): Add systemtap probe marker.
8508 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8509 (__slowexp): Add systemtap probe marker.
8510 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8511 (__slowpow): Add systemtap probe marker.
8512 * manual/probes.texi: Document probes.
8513
3d110c7c
EB
85142013-10-11 Eric Biggers <ebiggers3@gmail.com>
8515
8516 [BZ #15362]
8517 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8518 written.
8519 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8520 written.
8521 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8522 written to buffer but not flushed.
8523 * libio/iofwrite_u.c: Likewise.
8524 * libio/iopadn.c: Return bytes returned even if EOF was
8525 encountered.
8526 * libio/iowpadn.c: Likewise.
8527 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8528 if _IO_padn does not write the whole buffer.
8529 [!COMPILE_WPRINTF] (PAD): Likewise.
8530
75b4202a
DM
85312013-10-10 David S. Miller <davem@davemloft.net>
8532
8533 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8534 directory block.
8535
6c6352e6
JM
85362013-10-10 Joseph Myers <joseph@codesourcery.com>
8537
33b853c3
JM
8538 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8539 instead of FSF address.
8540 * soft-fp/fixdfti.c: Likewise.
8541 * soft-fp/fixsfti.c: Likewise.
8542 * soft-fp/fixtfti.c: Likewise.
8543 * soft-fp/fixunsdfti.c: Likewise.
8544 * soft-fp/fixunssfti.c: Likewise.
8545 * soft-fp/fixunstfti.c: Likewise.
8546 * soft-fp/floattidf.c: Likewise.
8547 * soft-fp/floattisf.c: Likewise.
8548 * soft-fp/floattitf.c: Likewise.
8549 * soft-fp/floatuntidf.c: Likewise.
8550 * soft-fp/floatuntisf.c: Likewise.
8551 * soft-fp/floatuntitf.c: Likewise.
8552 * soft-fp/trunctfxf2.c: Likewise.
8553
6c6352e6
JM
8554 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8555 * soft-fp/fixdfti.c: Likewise.
8556 * soft-fp/fixsfti.c: Likewise.
8557 * soft-fp/fixtfti.c: Likewise.
8558 * soft-fp/fixunsdfti.c: Likewise.
8559 * soft-fp/fixunssfti.c: Likewise.
8560 * soft-fp/fixunstfti.c: Likewise.
8561 * soft-fp/floattidf.c: Likewise.
8562 * soft-fp/floattisf.c: Likewise.
8563 * soft-fp/floattitf.c: Likewise.
8564 * soft-fp/floatuntidf.c: Likewise.
8565 * soft-fp/floatuntisf.c: Likewise.
8566 * soft-fp/floatuntitf.c: Likewise.
8567 * soft-fp/trunctfxf2.c: Likewise.
8568
3bf78b71
DM
85692013-10-10 David S. Miller <davem@davemloft.net>
8570
8571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8572
6f10289e
JM
85732013-10-10 Joseph Myers <joseph@codsourcery.com>
8574
bd878fc0
JM
8575 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8576 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8577 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8582
6f10289e
JM
8583 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8584 for NaNs before doing comparisons on argument.
8585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8586 Likewise.
8587
321e2684
WN
85882013-10-10 Will Newton <will.newton@linaro.org>
8589
8590 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8591 passed to _int_memalign does not overflow.
8592
40fefba1
TR
85932013-10-10 Torvald Riegel <triegel@redhat.com>
8594
8595 * scripts/bench.pl: Add include-sources directive.
8596 * benchtests/README: Update documentation.
8597
2ae21ed2
JM
85982013-10-10 Joseph Myers <joseph@codesourcery.com>
8599
dcc2dd3f
JM
8600 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8601 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8602 instead of FP_INIT_ROUNDMODE.
8603 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8604 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8605
2ae21ed2
JM
8606 [BZ #16034]
8607 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8608 copy class of input value.
8609 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8610 not handle exceptions.
8611 * soft-fp/negsf2.c (__negsf2): Likewise.
8612 * soft-fp/negtf2.c (__negtf2): Likewise.
8613 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8614
cb8f9562
JM
86152013-10-09 Joseph Myers <joseph@codesourcery.com>
8616
8617 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8618 semicolon. From Linux kernel.
8619
5b60c59d
AB
86202013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8621
8622 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8623
b86835ca
YC
86242013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8625
8626 [BZ #156]
8627 * manual/socket.texi: Added statement about buffer
8628 for gethostbyname2_r.
8629
e7044ea7
OB
86302013-10-08 Ondřej Bílka <neleai@seznam.cz>
8631
8632 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8633 Use .p2align directive instead, throughout.
8634 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8635 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8636 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8637 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8638 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8639 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8640 * sysdeps/x86_64/strchr.S: Likewise.
8641 * sysdeps/x86_64/strrchr.S: Likewise.
8642
09544cbc
SP
86432013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8644
88576635
SP
8645 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8646
e7b2d1dd
SP
8647 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8648
09544cbc
SP
8649 * sysdeps/generic/math_private.h (__mpsin1): Remove
8650 declaration.
8651 (__mpcos1): Likewise.
8652 (__mpsin): New argument __range_reduce.
8653 (__mpcos): Likewise.
8654 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8655 (slow): Use __mpsin and __mpcos.
8656 (slow1): Likewise.
8657 (slow2): Likewise.
8658 (sloww): Likewise.
8659 (sloww1): Likewise.
8660 (sloww2): Likewise.
8661 (bsloww): Likewise.
8662 (bsloww1): Likewise.
8663 (bsloww2): Likewise.
8664 (cslow2): Likewise.
8665 (csloww): Likewise.
8666 (csloww1): Likewise.
8667 (csloww2): Likewise.
8668 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8669 range_reduce. Merge in __mpsin1.
8670 (__mpcos): Likewise.
8671 (__mpsin1): Remove.
8672 (__mpcos1): Likewise.
8673
7602d070
JM
86742013-10-07 Joseph Myers <joseph@codesourcery.com>
8675
8676 * locale/loadlocale.c (_nl_intern_locale_data): Use
8677 LOCFILE_ALIGNED_P.
8678 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8679 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8680 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8681 obstack data is appropriately aligned.
8682 (obstack_int32_grow_fast): Likewise.
8683 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8684 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8685 (add_locale_uint32_array): Likewise.
8686
a357259b
SP
86872013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8688
8689 * benchtests/Makefile: Remove ARGLIST and RET variables.
8690 ($(objpfx)bench-%.c): Pass only function name to the script.
8691 * benchtests/README: Update documentation.
8692 * benchtests/acos-inputs: Add new directives.
8693 * benchtests/acosh-inputs: Likewise.
8694 * benchtests/asin-inputs: Likewise.
8695 * benchtests/asinh-inputs: Likewise.
8696 * benchtests/atan-inputs: Likewise.
8697 * benchtests/atanh-inputs: Likewise.
8698 * benchtests/cos-inputs: Likewise.
8699 * benchtests/cosh-inputs: Likewise.
8700 * benchtests/exp-inputs: Likewise.
8701 * benchtests/log-inputs: Likewise.
8702 * benchtests/pow-inputs: Likewise.
8703 * benchtests/rint-inputs: Likewise.
8704 * benchtests/sin-inputs: Likewise.
8705 * benchtests/sinh-inputs: Likewise.
8706 * benchtests/tan-inputs: Likewise.
8707 * benchtests/tanh-inputs: Likewise.
8708 * scripts/bench.pl: Add support for new directives.
8709
9ec1b13d
AM
87102013-10-07 Alan Modra <amodra@gmail.com>
8711
8712 * README: Fix careless merge.
8713
8b7d57cd
AM
87142013-10-05 Alan Modra <amodra@gmail.com>
8715
8716 * NEWS: Mention powerpc64le support and bugs fixed.
8717 * README: Both big-endian and little-endian powerpc64 supported.
8718
7b7bab13
ST
87192013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8720
8721 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8722 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8723 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8724 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8725
d39baad1
RA
87262013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8727
8728 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8729 match prototype.
8730
cd78f7e7
JM
87312013-10-04 Joseph Myers <joseph@codesourcery.com>
8732
29d73d86
JM
8733 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8734 Move -mhard-float appending from
8735 ports/sysdeps/powerpc/powerpc32/Makefile.
8736 [$(with-fp) = yes] (ASFLAGS): Likewise.
8737 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8738 * sysdeps/powerpc/nofpu: Move directory from
8739 ports/sysdeps/powerpc/nofpu.
8740 * sysdeps/powerpc/soft-fp: Move directory from
8741 ports/sysdeps/powerpc/soft-fp.
8742 * sysdeps/powerpc/powerpc32/405: Move directory from
8743 ports/sysdeps/powerpc/powerpc32/405.
8744 * sysdeps/powerpc/powerpc32/440: Move directory from
8745 ports/sysdeps/powerpc/powerpc32/440.
8746 * sysdeps/powerpc/powerpc32/464: Move directory from
8747 ports/sysdeps/powerpc/powerpc32/464.
8748 * sysdeps/powerpc/powerpc32/476: Move directory from
8749 ports/sysdeps/powerpc/powerpc32/476.
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8751 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8753 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8755 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8757 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8759 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8760 * README: Update for powerpc-*-linux-gnu software floating point
8761 support in libc.
8762
e246b347
JM
8763 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8764 case to powerpc/powerpc32*.
8765 * sysdeps/unix/sysv/linux/configure: Regenerated.
8766
89c2003e
JM
8767 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8768 (_FPU_MASK_OM): Define as 0x04.
8769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8771 0x00c10080.
8772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8773 0x0000003c.
8774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8775
cd78f7e7
JM
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8777 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8778 getcontext_e500.
8779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8780 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8781 setcontext_e500.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8783 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8784 and setcontext_e500.
8785
c755294d
CL
87862013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8787
8788 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8789
e16d221c
SP
87902013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8791
8792 * manual/threads.texi (Default Thread Attributes): Fix typo.
8793
215c7d43
WN
87942013-10-04 Will Newton <will.newton@linaro.org>
8795
8796 * malloc/Makefile: Add tst-memalign.
8797 * malloc/tst-memalign.c: New file.
8798
27d0461b
WN
8799 * malloc/tst-posix_memalign.c: Add comments.
8800 (do_test): Add comments and call free on all potentially
8801 allocated pointers. Add space after cast.
8802
1bc92709
WN
8803 * malloc/tst-pvalloc.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
66a9be9d
WN
8808 * malloc/tst-valloc.c: Add comments.
8809 (do_test): Add comments and call free on all potentially
8810 allocated pointers. Remove duplicate check for NULL pointer.
8811 Add space after cast.
8812
4cb81307
AM
88132013-10-04 Alan Modra <amodra@gmail.com>
8814
8815 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8816 Use stdint types in rather than __attribute__((mode())).
8817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8818
f8e3e9f3
AM
88192013-10-04 Alan Modra <amodra@gmail.com>
8820
8821 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8822 Correct handling of unaligned relocs for little-endian.
8823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8824
8f9ebb08
AM
88252013-10-04 Alan Modra <amodra@gmail.com>
8826
8827 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8828 * configure: Regenerate.
8829 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8830 * shlib-versions: Likewise.
8831
0edf96c2
AM
88322013-10-04 Alan Modra <amodra@gmail.com>
8833
8834 * string/tester.c (test_memrchr): Increment reported test cycle.
8835
e0f7a380
AM
88362013-10-04 Alan Modra <amodra@gmail.com>
8837
8838 * string/test-memcpy.c (do_one_test): When reporting errors, print
8839 string address and don't overrun end of string.
8840
466b0393
AM
88412013-10-04 Alan Modra <amodra@gmail.com>
8842
8843 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8844 insrdi. Make better use of reg selection to speed exit slightly.
8845 Schedule entry path a little better. Remove useless "are we done"
8846 checks on entry to main loop. Handle wrapping around zero address.
8847 Correct main loop count. Handle single left-over word from main
8848 loop inline rather than by using loop_small. Remove extra word
8849 case in loop_small caused by wrong loop count. Add little-endian
8850 support.
8851 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8852 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8853 cache hint.
8854 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8855 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8856 support. Avoid rlwimi.
8857 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8858
3be87c77
AM
88592013-10-04 Alan Modra <amodra@gmail.com>
8860
8861 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8862 insrdi. Formatting.
3be87c77
AM
8863 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8864 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8865 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8866 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8867 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8868 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8869
759cfef3
AM
88702013-10-04 Alan Modra <amodra@gmail.com>
8871
8872 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8873 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8874 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8875 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8876 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8877 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8879 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8880 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8881 use of regs. Use power7 mtocrf. Tidy function tails.
8882
fe6e95d7
AM
88832013-10-04 Alan Modra <amodra@gmail.com>
8884
8885 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8886 Formatting. Consistently use rXXX register defines or rN defines.
8887 Use early exit labels that avoid restoring unused non-volatile regs.
8888 Make cr field use more consistent with rWORDn compares. Rename
8889 regs used as shift registers for unaligned loop, using rN defines
8890 for short lifetime/multiple use regs.
8891 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8892 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8893 addi 1,1,64 to pop stack frame. Simplify return value code.
8894 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8895
664318c3
AM
88962013-10-04 Alan Modra <amodra@gmail.com>
8897
8898 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8899 support. Correct typos, formatting. Optimize tail. Use insrdi
8900 rather than rlwimi.
8901 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8902 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8903 little-endian support. Correct typos.
8904 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8905 rather than rlwimi.
8906 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8907 in loop and entry code to keep "and." results.
8908 (strchr): Add little-endian support. Comment. Move cntlzd
8909 earlier in tail.
8910 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8911
43b84013
AM
89122013-10-04 Alan Modra <amodra@gmail.com>
8913
8914 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8915 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8916 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8917 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8918
8a7413f9
AM
89192013-10-04 Alan Modra <amodra@gmail.com>
8920
8921 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8922 (rTMP): Define as r11.
8923 (strcmp): Add little-endian support. Optimise tail.
8924 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8925 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8926 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8927 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8928 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8929 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8930 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8931
33ee81de
AM
89322013-10-04 Alan Modra <amodra@gmail.com>
8933
8934 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8935 little-endian support. Remove unnecessary "are we done" tests.
8936 Handle "s" wrapping around zero and extremely large "size".
8937 Correct main loop count. Handle single left-over word from main
8938 loop inline rather than by using small_loop. Correct comments.
8939 Delete "zero" tail, use "end_max" instead.
8940 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8941
db9b4570
AM
89422013-10-04 Alan Modra <amodra@gmail.com>
8943
8944 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8945 support. Don't branch over align.
8946 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8947 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8948 support. Rearrange tmp reg use to suit. Comment.
8949 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8950
f7c399cf
AM
89512013-10-04 Alan Modra <amodra@gmail.com>
8952
8953 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8954
0b2c2ace
AM
89552013-10-04 Alan Modra <amodra@gmail.com>
8956
8957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8958 conditional form of branch and link when obtaining pc.
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8960
02f04a6c
AM
89612013-10-04 Alan Modra <amodra@gmail.com>
8962
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8964 HIWORD/LOWORD.
8965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8967
9b874b2f
AM
89682013-10-04 Alan Modra <amodra@gmail.com>
8969
8970 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8971 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8972 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8973 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8974 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8975 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8976 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8977 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8978 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8979 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8980
be1e5d31
AB
89812013-10-04 Anton Blanchard <anton@au1.ibm.com>
8982 Alistair Popple <alistair@ozlabs.au.ibm.com>
8983 Alan Modra <amodra@gmail.com>
8984
8985 [BZ #15723]
8986 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8987 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8988 _dl_hwcap access for little-endian.
8989 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8990 destroy vmx regs when saving unaligned.
8991 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8992 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8993 destroy vmx regs when saving unaligned.
8994
fef13a78
AM
89952013-10-04 Alan Modra <amodra@gmail.com>
8996
8997 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8998 Don't use a union to pack hi/low value.
8999
76a66d51
AB
90002013-10-04 Anton Blanchard <anton@au1.ibm.com>
9001
9002 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9003 for little-endian.
9004 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9006 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9007 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9008 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9009
6a31fe7f
AM
90102013-10-04 Alan Modra <amodra@gmail.com>
9011
9012 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9013 constants to usual value for .cst8 section, and remove redundant
9014 high address load.
9015 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9016 constant for 0x1p52. Load little-endian words of double from
9017 correct stack offsets.
9018
7b88401f
AM
90192013-10-04 Alan Modra <amodra@gmail.com>
9020
9021 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9022 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9023 words of double from correct stack offsets.
9024 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9025 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9026 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9029 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9030 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9031 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9032 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9033 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9034 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9035 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9036 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9037 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9038 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9039 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9040 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9041
9c008155
AM
90422013-10-04 Alan Modra <amodra@gmail.com>
9043
9044 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9045 64-bit int/double union.
9046 (_FPU_SETCW): Likewise.
9047 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9048 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9049
da13146d
AM
90502013-10-04 Alan Modra <amodra@gmail.com>
9051
9052 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9053 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9054
603e8410
AM
90552013-10-04 Alan Modra <amodra@gmail.com>
9056
9057 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9058 use vector int constants.
9059 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9060
4a28b3ca
AB
90612013-10-04 Anton Blanchard <anton@au1.ibm.com>
9062
9063 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9064 array with long long.
9065 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9066 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9067 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9068 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9069 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9070 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9071 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9072 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9073 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9074 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9075 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9076 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9077 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9078
2ca85d2b
AB
90792013-10-04 Anton Blanchard <anton@au1.ibm.com>
9080
9081 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9082 (__signbit): Likewise. Correct for little-endian.
9083 (__signbitl): Call __signbit.
9084 (lrint): Correct for little-endian.
9085 (lrintf): Call lrint.
9086
62a728ae
AM
90872013-10-04 Alan Modra <amodra@gmail.com>
9088
9089 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9090 union 32-bit int array member with 64-bit int array.
9091 (t515, tm256): Double rather than long double.
9092 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9093
32c301df
AM
90942013-10-04 Alan Modra <amodra@gmail.com>
9095
9096 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9097 Delete.
9098 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9099 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9100 version of math_ldbl.h.
9101
650ef4bd
AM
91022013-10-04 Alan Modra <amodra@gmail.com>
9103
9104 [BZ #15734], [BZ #15735]
9105 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9106 all uses of ieee875 long double macros and unions. Simplify test
9107 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9108 ldbl_extract_mantissa value for ix,iy exponents. Properly
9109 normalize after ldbl_extract_mantissa, and don't add hidden bit
9110 already handled. Don't treat low word of ieee854 mantissa like
9111 low word of IBM long double and mask off bit when testing for
9112 zero.
9113 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9114 all uses of ieee875 long double macros and unions. Simplify tests
9115 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9116 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9117 two1022, instead use their values. Recognise that tests for large
9118 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9119 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9120 Rewrite all uses of ieee875 long double macros and unions. Simplify
9121 test for 0.0L and nan. Correct negation.
9122 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9123 ieee875 long double macros and unions. Correct output for large
9124 magnitude x. Correct absolute value calculation.
9125 (__erfcl): Likewise.
9126 * math/libm-test.inc: Add tests for errors discovered in IBM long
9127 double versions of fmodl, remainderl, erfl and erfcl.
9128
765714ca
AM
91292013-10-04 Alan Modra <amodra@gmail.com>
9130
9131 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9132 all uses of ieee854 long double macros and unions. Simplify tests
9133 for long doubles that are fully specified by the high double.
9134 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9135 Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9137 Remove dead code too.
9138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9139 (__ieee754_ynl): Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9143 Remove dead code too.
9144 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9145 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9148 Simplify.
9149 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9150 Simplify.
9151 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9152 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9154 Comment on variable precision.
9155 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9156 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9157 Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9159 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9161 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9162 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9163
4ebd120c
AM
91642013-10-04 Alan Modra <amodra@gmail.com>
9165
9166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9168 all uses of ieee854 long double macros and unions.
9169 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9171 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9173 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9174 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9175 Likewise.
9176 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9178 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9179 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9182 Simplify sign and nan test too.
9183 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9185 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9186 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9187 Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9190 Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9197
1b6adf88
AM
91982013-10-04 Alan Modra <amodra@gmail.com>
9199
9200 * stdio-common/printf_size.c (__printf_size): Don't use
9201 union ieee854_long_double in fpnum union.
9202 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9203 signbit macro to retrieve sign from long double.
9204 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9205 retrieve sign from long double.
9206 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9207 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9209 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9210 * math/test-misc.c (main): Don't use union ieee854_long_double.
9211
4cf69995
AM
92122013-10-04 Alan Modra <amodra@gmail.com>
9213
9214 [BZ #15680]
9215 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9216 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9217 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9218 calculation. Remove unnecessary test for denormal exponent.
9219 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9220 Correct handling of denormals. Avoid undefined shift behaviour.
9221 Correct normalisation of low mantissa when low double is denormal.
9222 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9223 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9224 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9225 Correct normalisation of low mantissa. Test for overflow of high
9226 mantissa and normalise.
9227 (ldbl_nearbyint): Use more readable constant for two52.
9228 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9229 (__mpn_construct_long_double): Fix test for overflow of high
9230 mantissa and correct normalisation. Avoid undefined shift.
9231
9605ca6c
AM
92322013-10-04 Alan Modra <amodra@gmail.com>
9233
9234 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9235 (union ibm_extended_long_double): Define as an array of ieee754_double.
9236 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9237 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9238 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9239 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9246 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9247
975569d0
JM
92482013-10-03 Joseph Myers <joseph@codesourcery.com>
9249
d3d23756
JM
9250 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9251 page size instead of calling getpagesize.
9252
975569d0
JM
9253 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9254 (LOCFILE_ALIGN_MASK): Likewise.
9255 (LOCFILE_ALIGN_UP): Likewise.
9256 (LOCFILE_ALIGNED_P): Likewise.
9257 * locale/programs/ld-collate.c (collate_output): Use the new
9258 macros instead of __alignof__ (int32_t).
9259 * locale/weight.h (findidx): Likewise.
9260
b1fe1f2b
OB
92612013-10-03 Ondřej Bílka <neleai@seznam.cz>
9262
9263 [BZ #431]
9264 * manual/string.texi: Fix strncat and wcsncat.
9265
5f855e35
BM
92662013-10-03 Brooks Moses <bmoses@google.com>
9267
9268 [BZ #15915]
9269 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9270 * Makerules: ...here, and adjust associated comments.
9271
3cef6009
WN
92722013-10-02 Will Newton <will.newton@linaro.org>
9273
9274 * malloc/Makefile: Add tst-pvalloc.
9275 * malloc/tst-pvalloc.c: New file.
9276
7815420b
WN
92772013-10-02 Will Newton <will.newton@linaro.org>
9278
9279 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9280 improve test coverage.
9281
4868b204
WN
92822013-10-02 Will Newton <will.newton@linaro.org>
9283
9284 * malloc/Makefile: Add tst-posix_memalign.
9285 * malloc/tst-posix_memalign.c: New file.
9286
29c793b3
EB
92872013-10-01 Eric Blake <eblake@redhat.com>
9288
9289 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9290 Use __THROWNL rather than __THROW on static functions.
9291
fd967522
PM
92922013-09-30 Petr Machata <pmachata@redhat.com>
9293
9294 * elf/elf.h (R_AARCH64_ABS16): New macro.
9295 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9296 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9297 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9298 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9299 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9300 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9301 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9302 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9303 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9304 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9305 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9306 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9307 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9308 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9309 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9310 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9311 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9312 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9313 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9314 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9315 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9316 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9317 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9318 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9319 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9320 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9321 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9322 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9323 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9324 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9325 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9326 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9327 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9328 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9329 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9330 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9331 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9332 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9333 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9334 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9335 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9336 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9337 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9338 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9339 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9340 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9341 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9342 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9343 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9344 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9345 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9346 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9347 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9348 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9349 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9350 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9351 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9352 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9353 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9354 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9355 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9356 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9357 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9358 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9359 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9360 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9361 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9362 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9363 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9364 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9365 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9366 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9367 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9368 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9369 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9370 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9371 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9372 (R_AARCH64_TLSDESC_LDR): Likewise.
9373 (R_AARCH64_TLSDESC_ADD): Likewise.
9374 (R_AARCH64_TLSDESC_CALL): Likewise.
9375
b2179107
AS
93762013-09-30 Andreas Schwab <schwab@suse.de>
9377
9378 [BZ #15048]
9379 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9380 the nss database lookup.
9381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9383
47f28d0a
MF
93842013-09-28 Mike Frysinger <vapier@gentoo.org>
9385
9386 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9387
93882013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9389
9390 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9391 ${Bash-specific parameter/pattern/string} parameter expansion.
9392 * sysdeps/unix/make-syscalls.sh: Likewise.
9393
f4518a17
KK
93942013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9395
9396 * sysdeps/sh/stackguard-macros.h: New file.
9397
dc1a95c7
OB
93982013-09-26 Ondřej Bílka <neleai@seznam.cz>
9399
9400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9402 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9403 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9404 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9405 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9406
5ebbff8f
AZ
94072013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9408
9409 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9410 Fix thread ID register.
9411
4fd2cf9f
JM
94122013-09-25 Joseph Myers <joseph@codesourcery.com>
9413
9414 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9415 [POSIX || UNIX98]: Require rather than permitting all symbols from
9416 <time.h>.
9417 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9418 element of struct sched_param.
9419 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9420 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9421 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9422 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9423 constant.
9424
12c22bc4
OL
94252013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9426
9427 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9428 argument calculation.
9429
a03d8ea7
JM
94302013-09-24 Joseph Myers <joseph@codesourcery.com>
9431
9432 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9433 Expect macro.
9434 [POSIX] (pthread_attr_t): Do not require type.
9435 [POSIX] (pthread_cond_t): Likewise.
9436 [POSIX] (pthread_condattr_t): Likewise.
9437 [POSIX] (pthread_key_t): Likewise.
9438 [POSIX] (pthread_mutex_t): Likewise.
9439 [POSIX] (pthread_mutexattr_t): Likewise.
9440 [POSIX] (pthread_once_t): Likewise.
9441 [POSIX] (pthread_t): Likewise.
9442 [POSIX-based standards] (pthread_atfork): Expect function.
9443
6055173a
JM
94442013-09-24 Joseph Myers <joseph@codesourcery.com>
9445 Richard Sandiford <richard@codesourcery.com>
9446
9447 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9448 (swap_endianness_p): New extern variable.
9449 (set_big_endian): New inline function.
9450 (maybe_swap_uint32): Likewise.
9451 (maybe_swap_uint32_array): Likewise.
9452 (maybe_swap_uint32_obstack): Likewise.
9453 * locale/programs/locfile.c: Include <stdbool.h>.
9454 (swap_endianness_p): New variable.
9455 (add_locale_uint32): Call maybe_swap_uint32.
9456 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9457 (write_locale_data): Call maybe_swap_uint32_array.
9458 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9459 maybe_swap_uint32.
9460 (obstack_int32_grow_fast): Likewise.
9461 (output_weightwc): Call maybe_swap_uint32_obstack.
9462 (collate_output): Likewise.
9463 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9464 (OPT_LITTLE_ENDIAN): Likewise.
9465 (options): Add --little-endian and --big-endian options.
9466 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9467 * locale/programs/locarchive.c: Include "locfile.h".
9468 (GET): New macro.
9469 (SET): Likewise.
9470 (INC): Likewise.
9471 (create_archive): Use the new macros to access fields of
9472 structures directly mapped from or written to locale archives.
9473 (oldlocrecentcmp): Likewise.
9474 (enlarge_archive): Likewise.
9475 (insert_name): Likewise.
9476 (add_alias): Likewise.
9477 (add_locale): Likewise.
9478 (delete_locales_from_archive): Likewise.
9479 (show_archive_content): Likewise.
9480 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9481 locale data.
9482
39bf0bb4
RM
94832013-09-24 Roland McGrath <roland@hack.frob.com>
9484
9485 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9486 http://www.gnu.org/doc/freemanuals.texi.
9487 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9488
f02eed10
WN
94892013-09-24 Will Newton <will.newton@linaro.org>
9490
9491 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9492 macro.
9493
a3a6c312
JM
94942013-09-23 Joseph Myers <joseph@codesourcery.com>
9495
9496 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9497 unsigned char.
9498
107375ac
MR
94992013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9500
9501 * manual/threads.texi (POSIX Threads): Fix a typo.
9502
141f3a77
SP
95032013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9504
303e567a
SP
9505 [BZ #14547]
9506 * string/tst-strcoll-overflow.c: New test case.
9507 * string/Makefile (xtests): Add tst-strcoll-overflow.
9508 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9509 cache if string sizes may cause integer overflow.
9510
141f3a77
SP
9511 [BZ #14547]
9512 * string/strcoll_l.c (coll_seq): New members rule, idx,
9513 save_idx and back_us.
9514 (get_next_seq_nocache): New function.
9515 (do_compare_nocache): New function.
9516 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9517 when malloc fails.
9518
c61b4d41
CD
95192013-09-23 Carlos O'Donell <carlos@redhat.com>
9520
0b1f8e35
CD
9521 [BZ #15754]
9522 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9523 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9524 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9525
c61b4d41
CD
9526 [BZ #15754]
9527 * elf/Makefile (tests): Add tst-ptrguard1.
9528 (tests-static): Add tst-ptrguard1-static.
9529 (tst-ptrguard1-ARGS): Define.
9530 (tst-ptrguard1-static-ARGS): Define.
9531 * elf/tst-ptrguard1.c: New file.
9532 * elf/tst-ptrguard1-static.c: New file.
9533 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9534 * sysdeps/i386/stackguard-macros.h: Likewise.
9535 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9536 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9537 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9538 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9539 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9540 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9541
95422013-09-23 Hector Marco <hecmargi@upv.es>
9543 Ismael Ripoll <iripoll@disca.upv.es>
9544 Carlos O'Donell <carlos@redhat.com>
9545
9546 [BZ #15754]
9547 * sysdeps/generic/stackguard-macros.h: Define
9548 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9549 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9550 Define __pointer_chk_guard_local.
9551 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9552 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9553
f5f4e7b4
VV
95542013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9555
9556 [BZ #15859]
9557 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9558
5bb43a43
AS
95592013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9560
9561 * include/string.h (__ffs): Declare as hidden.
9562 * string/ffs.c (__ffs): Define as hidden.
9563 * sysdeps/i386/ffs.c (__ffs): Likewise.
9564 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9565 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9566 * sysdeps/s390/ffs.c (__ffs): Likewise.
9567 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9568
3ea5be54
AO
95692013-09-20 Alexandre Oliva <aoliva@redhat.com>
9570
ffb89e53
AO
9571 * NEWS: Mention malloc probes.
9572
322dea08
AO
9573 * malloc/arena.c (new_heap): New memory_heap_new probe.
9574 (grow_heap): New memory_heap_more probe.
9575 (shrink_heap): New memory_heap_less probe.
9576 (heap_trim): New memory_heap_free probe.
9577 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9578 (systrim): New memory_sbrk_less probe.
9579 * manual/probes.texi: Document them.
9580
655673f3
AO
9581 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9582 * manual/probes.texi: Document it.
9583
35fed6f1
AO
9584 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9585 (__libc_realloc): Add memory_realloc_retry probe.
9586 (__libc_memalign): Add memory_memalign_retry probe.
9587 (__libc_valloc): Add memory_valloc_retry probe.
9588 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9589 (__libc_calloc): Add memory_calloc_retry probe.
9590 * manual/probes.texi: Document them.
9591
6999d38c
AO
9592 * malloc/arena.c (get_free_list): Add probe
9593 memory_arena_reuse_free_list.
9594 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9595 and memory_arena_reuse.
9596 (arena_get2) [!PER_THREAD]: Likewise.
9597 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9598 memory_arena_reuse_realloc.
9599 * manual/probes.texi: Document them.
9600
0653427f
AO
9601 * malloc/malloc.c (__libc_free): Add
9602 memory_mallopt_free_dyn_thresholds probe.
9603 (__libc_mallopt): Add multiple memory_mallopt probes.
9604 * manual/probes.texi: Document them.
9605
3ea5be54
AO
9606 * malloc/malloc.c: Include stap-probe.h.
9607 (__libc_mallopt): Add memory_mallopt probe.
9608 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9609 * manual/probes.texi: New.
9610 * manual/Makefile (chapters): Add probes.
9611 * manual/threads.texi: Set next node.
9612
e35696c3 96132013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9614
e35696c3
CL
9615 [BZ #15963, #13985]
9616 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9617 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9618 Add `Chinese' to `nan' entry name.
9619
4aafb73c
SP
96202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9621
9622 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9623 (POLYNOMIAL): Likewise.
9624 (TAYLOR_SINCOS): Likewise.
9625 (TAYLOR_SLOW): Likewise.
9626 (__sin): Use TAYLOR_SINCOS.
9627 (__cos): Likewise.
9628 (slow): Use TAYLOR_SLOW.
9629 (sloww): Likewise.
9630 (bsloww): Likewise.
9631 (csloww): Likewise.
9632
d84f25c7
LD
96332013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9634
9635 * stdlib/strtod_l.c: Fix buffer overrun.
9636
5eea0404
SP
96372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9638
7849ff93
SP
9639 * benchtests/Makefile (bench): Add sincos.
9640 * benchtests/bench-sincos.c: New file.
9641
cfa3c886
SP
9642 * math/libm-test.inc (cos_test_data): New test inputs.
9643 (sin_test_data): Likewise.
9644
b348e1e3
SP
9645 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9646 macro.
9647 (__sin): Use it.
9648 (__cos): Likewise.
9649 (slow1): Likewise.
9650 (slow2): Likewise.
9651 (sloww1): Likewise.
9652 (sloww2): Likewise.
9653 (bsloww1): Likewise.
9654 (bsloww2): Likewise.
9655 (cslow2): Likewise.
9656 (csloww1): Likewise.
9657 (csloww2): Likewise.
9658
6cce25f8
SP
9659 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9660 function.
9661 (__sin): Use it.
9662 (__cos): Likewise.
9663
5eea0404
SP
9664 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9665 gotos.
9666 (__cos): Likewise.
9667
9c21573c
MR
96682013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9669
9670 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9671 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9672 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9673 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9674 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9675 * elf/cache.c (print_entry): Handle the new cache flags.
9676
24d22e65
JM
96772013-09-18 Joseph Myers <joseph@codesourcery.com>
9678 Aldy Hernandez <aldyh@redhat.com>
9679
9680 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9681 Change condition to [_SOFT_FLOAT].
9682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9694 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9697 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9698 declaration.
9699
d13ef066
JM
97002013-09-18 Joseph Myers <joseph@codesourcery.com>
9701
2e071de0
JM
9702 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9703 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9704 (__longjmp): Use LOAD_GP to load saved GPRs.
9705 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9706 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9707 (__sigsetjmp): Use SAVE_GP to save GPRs.
9708
d13ef066
JM
9709 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9710 Do not append -msoft-float.
9711 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9712
97a0650b
SP
97132013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9714
9715 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9716
11ca09e9
JM
97172013-09-17 Joseph Myers <joseph@codesourcery.com>
9718
9719 [BZ #15966]
9720 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9721 (_FPU_GETCW): Use initial "__" on variable and field names but not
9722 on macro parameter name.
9723 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9724 parentheses around reference to macro parameter.
9725
08ffcf34
RS
97262013-09-13 Richard Sandiford <richard@codesourcery.com>
9727
9728 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9729 prototype.
9730 (ctype_startup): Use uint32_t in cast and sizeof for
9731 ctype->charnames.
9732
ae7080d3
JL
97332013-09-11 Jia Liu <proljc@gmail.com>
9734
9735 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9736 __daddr_t_defined.
9737 [__FreeBSD__]: Likewise.
9738
5905e7b3
OB
97392013-09-11 Ondřej Bílka <neleai@seznam.cz>
9740
9741 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9742 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9743 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9744 (strchr): Remove __strchr_sse42 ifunc selection.
9745 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9746 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9747
b987c776
WN
97482013-09-11 Will Newton <will.newton@linaro.org>
9749
9750 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9751 parameter to RES. Remove hardcoded 1000 value.
9752 * benchtests/bench-skeleton.c (main): Pass RES parameter
9753 to TIMING_INIT and multiply result by 1000.
9754
ddf985af
AZ
97552013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9756
9757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9758
ffdd3181
AS
97592013-09-11 Andreas Schwab <schwab@suse.de>
9760
9761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9762 if not defined.
9763 (O_TMPFILE) [__USE_GNU]: Define.
9764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9765 Define.
9766
b73ed247
WN
97672013-09-11 Will Newton <will.newton@linaro.org>
9768
9769 [BZ #15857]
9770 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9771 does not overflow.
9772
55e17aad
WN
97732013-09-11 Will Newton <will.newton@linaro.org>
9774
9775 [BZ #15856]
9776 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9777 does not overflow.
9778
1159a193
WN
97792013-09-11 Will Newton <will.newton@linaro.org>
9780
9781 [BZ #15855]
9782 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9783 does not overflow.
9784
5905e7b3 97852013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9786
9787 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9788 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9792
cdfc721b
AM
97932013-09-10 Allan McRae <allan@archlinux.org>
9794
aa04af00
AM
9795 [BZ #15748]
9796 * manual/arith.texi (Parsing of Floats): Clarify
9797 cross-reference.
9798
cdfc721b
AM
9799 [BZ #15849]
9800 * manual/install.texi (Running make install): Mention
9801 --enable-pt-chown.
9802 * INSTALL: Regenerated.
9803
95e7cf29
MR
98042013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9805
9806 * csu/init-first.c (_init): Remove the !SHARED condition around
9807 FPU control word initialization.
9808 * elf/dl-support.c (_dl_fpu_control): New variable.
9809 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9810 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9811 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9812 * math/test-fpucw-static.c: New file.
9813 * math/test-fpucw-ieee.c: New file.
9814 * math/test-fpucw-ieee-static.c: New file.
9815 * math/Makefile (tests): Add `test-fpucw-ieee' and
9816 `$(tests-static)'.
9817 (tests-static): New variable.
9818 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9819 dependency to...
9820 [($(build-shared),yes)]
9821 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9822 ... this.
9823 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9824 New dependency.
9825
83e43bf0
AM
98262013-09-09 Allan McRae <allan@archlinux.org>
9827
a9f5ce09
AM
9828 [BZ #15939]
9829 * manual/string.texi (Collation Functions): Fix typo in
9830 strcoll example.
9831 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9832
34829bc2
AM
9833 [BZ #15893]
9834 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9835
3932737d
AM
9836 [BZ #15892]
9837 * libio/memstream.c (open_memstream): Fix memory leak.
9838 * libio/wmemstream.c (open_wmemstream): Likewise.
9839
83e43bf0
AM
9840 [BZ #15895]
9841 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9842
0c66b8e9
WN
98432013-09-09 Will Newton <will.newton@linaro.org>
9844
9845 * malloc/Makefile: Add tst-realloc to tests.
9846 * malloc/tst-realloc.c: New file.
9847
f6b00fd1
AM
98482013-09-09 Allan McRae <allan@archlinux.org>
9849
9850 [BZ #15844]
9851 * COPYING: Update from GNU website to fix FSF address.
9852 * COPYING.LIB: Likewise.
9853
eec55e16
DM
98542013-09-06 David S. Miller <davem@davemloft.net>
9855
9856 * po/zh_TW.po: Update Chinese (traditional) translation from
9857 translation project.
9858
1ecbb381
RS
98592013-09-06 Richard Sandiford <richard@codesourcery.com>
9860 Joseph Myers <joseph@codesourcery.com>
9861
9862 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9863 "localeinfo.h".
9864 (obstack_chunk_alloc): New macro.
9865 (obstack_chunk_free): Likewise.
9866 (record_offset): New function.
9867 (init_locale_data): Likewise.
9868 (align_locale_data): Likewise.
9869 (add_locale_empty): Likewise.
9870 (add_locale_raw_data): Likewise.
9871 (add_locale_raw_obstack): Likewise.
9872 (add_locale_string): Likewise.
9873 (add_locale_wstring): Likewise.
9874 (add_locale_uint32): Likewise.
9875 (add_locale_uint32_array): Likewise.
9876 (add_locale_char): Likewise.
9877 (start_locale_structure): Likewise.
9878 (end_locale_structure): Likewise.
9879 (start_locale_prelude): Likewise.
9880 (end_locale_prelude): Likewise.
9881 (write_locale_data): Take locale_file structure rather than an
9882 iovec.
9883 * locale/programs/locfile.h: Include "obstack.h".
9884 (struct locale_file): Change to store locale file contents instead
9885 of header.
9886 (init_locale_data): New prototype.
9887 (align_locale_data): Likewise.
9888 (add_locale_empty): Likewise.
9889 (add_locale_raw_data): Likewise.
9890 (add_locale_raw_obstack): Likewise.
9891 (add_locale_string): Likewise.
9892 (add_locale_wstring): Likewise.
9893 (add_locale_uint32): Likewise.
9894 (add_locale_uint32_array): Likewise.
9895 (add_locale_char): Likewise.
9896 (start_locale_structure): Likewise.
9897 (end_locale_structure): Likewise.
9898 (start_locale_prelude): Likewise.
9899 (end_locale_prelude): Likewise.
9900 (write_locale_data): Update prototype.
9901 * locale/programs/3level.h (struct TABLE): Remove result field.
9902 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9903 Use new locale_file interface.
9904 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9905 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9906 * locale/programs/ld-address.c (address_output): Use new
9907 locale_file interface.
9908 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9909 NO_ADD_LOCALE.
9910 (collate_finish): Don't call collseq_table_finalize.
9911 (collate_output): Use new locale_file interface.
9912 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9913 in file.
9914 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9915 (TABLE): Move defines earlier in file.
9916 (ELEMENT): Likewise.
9917 (DEFAULT): Likewise.
9918 (wctrans_table_add): Move macro and inline function earlier in
9919 file.
9920 (struct wctype_table): Move type earlier in file.
9921 (add_locale_wctype_table): New static prototype.
9922 (struct locale_ctype_t): Use logical types instead of struct iovec
9923 pointers for members.
9924 (ctype_output): Use new locale_file interface.
9925 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9926 new locale_file interface.
9927 (allocate_arrays): Update for use of new locale_file interface.
9928 * locale/programs/ld-identification.c (identification_output): Use
9929 new locale_file interface.
9930 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9931 * locale/programs/ld-messages.c (messages_output): Likewise.
9932 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9933 * locale/programs/ld-name.c (name_output): Likewise.
9934 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9935 * locale/programs/ld-paper.c (paper_output): Likewise.
9936 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9937 * locale/programs/ld-time.c (time_output): Likewise.
9938
e029e2e5
AZ
99392013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9940
9941 * benchtests/Makefile: Add memrchr benchmark.
9942 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9943 benchmark as memrchr.
9944 * benchtests/bench-memrchr-ifunc.c: New file.
9945 * benchtests/bench-memrchr.c: New file.
9946
bbf6e8e4
WN
99472013-09-06 Will Newton <will.newton@linaro.org>
9948
9949 * benchtests/Makefile (string-bench): Add memcpy.
9950
6c82a2f8
CD
99512013-09-05 Carlos O'Donell <carlos@redhat.com>
9952 Cong Wang <amwang@redhat.com>
9953
e732c5f0 9954 [BZ #15850]
6c82a2f8
CD
9955 * sysdeps/unix/sysv/linux/bits/in.h
9956 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9957 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9958 before __USE_KERNEL_IPV6_DEFS uses.
9959 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9960 IPPROTO_BEETPH.
9961 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9962 sockaddr_in6, or ipv6_mreq.
9963
5430fc65
AZ
99642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9965
9966 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9967 memory access for final bytes in some large inputs.
9968 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9969
4660856c
AZ
99702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9971
9972 * string/test-memrchr.c: New file.
9973 * string/test-memrchr-ifunc.c: New file.
9974 * string/Makefile: Add new memrchr testcase.
9975
bb8ea713
MF
99762013-09-05 Mike Frysinger <vapier@gentoo.org>
9977
9978 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9979 fanotify_init returns EPERM.
9980
b92a20b5
JM
99812013-09-04 Joseph Myers <joseph@codesourcery.com>
9982
9983 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9984 errors.
9985 (top level): Treat second token from macro or constant entries for
9986 allowed headers as allowed.
9987 * include/complex.h: Condition internal declarations on
9988 [!_ISOMAC].
9989 * include/fenv.h: Condition include of <stdbool.h> and internal
9990 declarations on [!_ISOMAC].
7447ccd9
CL
9991
99922013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9993
3e181dda 9994 [BZ #15923]
7447ccd9
CL
9995 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9996
3f2e46a4
JM
99972013-09-04 Joseph Myers <joseph@codesourcery.com>
9998
9999 * configure.in (--enable-versioning): Remove configure option.
10000 (libc_cv_asm_symver_directive): Remove configure test.
10001 (libc_cv_ld_version_script_option): Likewise.
10002 (VERSIONING): Remove variable and AC_SUBST.
10003 (DO_VERSIONING): Remove AC_DEFINE.
10004 * configure: Regenerated.
10005 * config.h.in (DO_VERSIONING): Remove macro.
10006 * Makerules [$(versioning) = yes]: Change conditionals to
10007 [$(build-shared) = yes].
10008 * config.make.in (versioning): Remove variable.
10009 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10010 [$(build-shared) = yes].
10011 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10012 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10013 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10014 [$(build-shared) = yes].
10015 * extra-lib.mk [$(versioning) = yes]: Likewise.
10016 * hurd/Makefile [$(versioning) = yes]: Likewise.
10017 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10018 [SHARED].
10019 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10020 [SHARED].
10021 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10022 [SHARED && !NO_HIDDEN].
10023 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10024 [SHARED].
10025 [SHARED && DO_VERSIONING]: Likewise..
10026 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10027 [$(build-shared) = yes].
10028 * manual/install.texi (--disable-versioning): Remove
10029 documentation.
10030 * INSTALL: Regenerated.
10031 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10032 to [SHARED].
10033 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10034 [$(build-shared) = yes].
10035 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10036 * sysdeps/i386/i686/multiarch/strstr-c.c
10037 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10038 [SHARED && !NO_HIDDEN].
10039 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10040 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10041 * sysdeps/powerpc/powerpc32/dl-machine.c
10042 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10043 * sysdeps/powerpc/powerpc32/sysdep.h
10044 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10045 to [SHARED && PIC && !NO_HIDDEN].
10046 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10047 conditional to [SHARED].
10048
44558701
WN
100492013-09-04 Will Newton <will.newton@linaro.org>
10050
10051 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10052 * benchtests/bench-string.h: Include bench-timing.h instead
10053 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10054 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10055 call to HP_TIMING_DIFF_INIT.
10056 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10057 instead of hp-timing.h macros.
10058 * benchtests/bench-memchr.c: Likewise.
10059 * benchtests/bench-memcmp.c: Likewise.
10060 * benchtests/bench-memcpy.c: Likewise.
10061 * benchtests/bench-memmem.c: Likewise.
10062 * benchtests/bench-memmove.c: Likewise.
10063 * benchtests/bench-memset.c: Likewise.
10064 * benchtests/bench-rawmemchr.c: Likewise.
10065 * benchtests/bench-strcasecmp.c: Likewise.
10066 * benchtests/bench-strcasestr.c: Likewise.
10067 * benchtests/bench-strcat.c: Likewise.
10068 * benchtests/bench-strchr.c: Likewise.
10069 * benchtests/bench-strcmp.c: Likewise.
10070 * benchtests/bench-strcpy.c: Likewise.
10071 * benchtests/bench-strcpy_chk.c: Likewise.
10072 * benchtests/bench-strlen.c: Likewise.
10073 * benchtests/bench-strncasecmp.c: Likewise.
10074 * benchtests/bench-strncat.c: Likewise.
10075 * benchtests/bench-strncmp.c: Likewise.
10076 * benchtests/bench-strncpy.c: Likewise.
10077 * benchtests/bench-strnlen.c: Likewise.
10078 * benchtests/bench-strpbrk.c: Likewise.
10079 * benchtests/bench-strrchr.c: Likewise.
10080 * benchtests/bench-strspn.c: Likewise.
10081 * benchtests/bench-strstr.c: Likewise.
10082
cae16d66
WN
100832013-09-04 Will Newton <will.newton@linaro.org>
10084
10085 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10086
ffa3cd7f
JM
100872013-09-03 Joseph Myers <joseph@codesourcery.com>
10088
10089 [BZ #15427]
10090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10091 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10092 * math/libm-test.inc (lgamma_test_data): Add more tests.
10093 * sysdeps/i386/fpu/libm-test-ulps: Update.
10094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10095
8f02859f
OB
100962013-09-03 Ondřej Bílka <neleai@seznam.cz>
10097
10098 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10099 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10100 Add ifunc.
10101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10102 Add strcmp-sse2-unaligned
10103 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10104
18d43716
MF
101052013-09-02 Mike Frysinger <vapier@gentoo.org>
10106
10107 * Versions.def (libc): Add GLIBC_2.19.
10108
ac444012
MF
101092013-09-02 Mike Frysinger <vapier@gentoo.org>
10110
10111 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10112 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10113
b7835e32
JM
101142013-09-02 Joseph Myers <joseph@codesourcery.com>
10115
10116 [BZ #14155]
10117 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10118 intermediate calculations in recurrence.
10119 (__ieee754_ynf): Likewise.
10120 * math/libm-test.inc (jn_test_data): Do not allow spurious
10121 underflow exception. Add more tests.
10122 (yn_test_data): Add more tests.
10123 * sysdeps/i386/fpu/libm-test-ulps: Update.
10124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10125
8220f4f0
OB
101262013-09-02 Ondřej Bílka <neleai@seznam.cz>
10127
10128 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10129
f24a6d08
OB
101302013-08-30 Ondřej Bílka <neleai@seznam.cz>
10131
10132 * csu/init-first.c: Fix then/than typos.
10133 * locale/programs/ld-collate.c: Likewise.
10134 * locale/programs/linereader.h: Likewise.
10135 * manual/charset.texi: Likewise.
10136 * manual/filesys.texi: Likewise.
10137 * manual/stdio.texi: Likewise.
10138 * manual/string.texi: Likewise.
10139 * stdlib/fmtmsg.c: Likewise.
10140 * sysdeps/i386/stpncpy.S: Likewise.
10141 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10142 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10143 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10144 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10145
382466e0
OB
101462013-08-30 Ondřej Bílka <neleai@seznam.cz>
10147
10148 * elf/dl-open.c: Fix typos.
10149 * iconvdata/gbbig5.c: Likewise.
10150 * iconvdata/iso-2022-jp.c: Likewise.
10151 * iconv/gconv_int.h: Likewise.
10152 * iconv/loop.c: Likewise.
10153 * nis/rpcsvc/nis.h: Likewise.
10154 * resolv/ns_name.c: Likewise.
10155 * stdio-common/vfscanf.c: Likewise.
10156 * streams/stropts.h: Likewise.
10157 * sunrpc/rpc_thread.c: Likewise.
10158 * sysdeps/i386/strpbrk.S: Likewise.
10159 * sysdeps/ieee754/k_standard.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10162 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10163 * sysdeps/mach/hurd/profil.c: Likewise.
10164 * sysdeps/s390/dl-procinfo.h: Likewise.
10165 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10166 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10167 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10168 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10170
0186c6e9
OB
101712013-08-30 Ondřej Bílka <neleai@seznam.cz>
10172
10173 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10175
d4e16af1
OB
101762013-08-29 Ondřej Bílka <neleai@seznam.cz>
10177
10178 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10179 aix specific files.
10180 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10181 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10182 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10183 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10184 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10185 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10187 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10188
88335980
TS
101892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10190 Roland McGrath <roland@hack.frob.com>
10191
10192 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10193 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10194
ed479b02
ST
101952013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10196
10197 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10198 __executable_start symbol instead of _start.
10199
f1cc4c86
TS
102002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10201
d821f07c
TS
10202 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10203 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10204 Move macros to...
10205 * sysdeps/gnu/ldsodefs.h: ... this new file.
10206
c54290cf
TS
10207 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10208 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10209 instead of ELFOSABI_LINUX.
10210
0007fc9b 10211 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10212 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10213 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10214 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10215 Likewise.
10216 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10217 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10219 Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10221 (ibm_extended_long_double): Add ieee_nan member.
10222 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10223 (do_test): New function.
10224
f1cc4c86
TS
10225 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10226 TEST_TRUNC.
10227 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10228 functions, renamed from truncdfsf_test, trunctfsf_test,
10229 trunctfdf_test.
10230 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10231 functions.
10232 (do_test): Run all these.
10233
6f65e668
OB
102342013-08-29 Ondřej Bílka <neleai@seznam.cz>
10235
10236 * argp/argp-help.c: Fix typos.
10237 * argp/argp-parse.c: Likewise.
10238 * debug/backtracesyms.c: Likewise.
10239 * elf/elf.h: Likewise.
10240 * malloc/malloc.c: Likewise.
10241 * nis/nis_print.c: Likewise.
10242 * resolv/res_comp.c: Likewise.
10243 * stdlib/stdlib.h: Likewise.
10244 * sunrpc/clnt_tcp.c: Likewise.
10245 * sunrpc/clnt_udp.c: Likewise.
10246 * sunrpc/clnt_unix.c: Likewise.
10247 * sysdeps/unix/bsd/ptsname.c: Likewise.
10248 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10249 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10251 Likewise.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10253 Likewise.
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10255 Likewise.
6f65e668
OB
10256 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10257
3a309239
SP
102582013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10259
10260 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10262
3b813b29
MF
102632013-08-27 Mike Frysinger <vapier@gentoo.org>
10264
10265 [BZ #15897]
10266 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10267 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10268 ($(objpfx)bug-dl-leaf): New rule.
10269 ($(objpfx)bug-dl-leaf.so): Likewise.
10270 ($(objpfx)bug-dl-leaf.out): Likewise.
10271 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10272 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10273 * dlfcn/bug-dl-leaf.c: New test.
10274 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10275 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10276 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10277 (dlclose): Likewise.
10278 (dlmopen): Likewise.
10279
8cc3269f
RM
102802013-08-27 Roland McGrath <roland@hack.frob.com>
10281
7f9d0034
RM
10282 * include/netdb.h [!_ISOMAC]:
10283 Don't include <tls.h>.
10284 (h_errno, __libc_h_errno): Move declaration and macros out of
10285 [_LIBC_REENTRANT].
10286
fb431262
RM
10287 * include/resolv.h [_RESOLV_H_]:
10288 Don't include <tls.h>.
10289 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10290 * resolv/res_libc.c: Don't include <tls.h>.
10291 (_res): Use __attribute__ ((nocommon)) in place of
10292 __attribute__ ((section (".bss"))).
10293
bd81123a
RM
10294 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10295 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10296
c4e42566
RM
10297 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10298
f890a59b
RM
10299 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10300 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10301
10302 * resolv/res_mkquery.c: Include <sys/time.h>.
10303
5d1f0a09
RM
10304 * inet/ifreq.c: Moved to ...
10305 * sysdeps/unix/ifreq.c: ... here.
10306 * inet/ifreq.c: New file, true stub version.
10307
6fcf28b3
RM
10308 * socket/sa_len.c: New file.
10309 * socket/Makefile (aux): Add it.
10310 * sysdeps/unix/sysv/linux/Makefile
10311 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10312 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10313 and #include <socket/sa_len.c>.
10314 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10315 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10316
e041fb8b
RM
10317 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10318 * bits/socket.h: ... here.
10319
8cc3269f
RM
10320 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10321 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10322 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10323
5d228a43
AS
103242013-08-27 Andreas Schwab <schwab@suse.de>
10325
45b8accc
AS
10326 [BZ #15736]
10327 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10328 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10329 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10330 * string/test-strcasecmp.c (test_main): Run tests in several
10331 locales.
10332 * string/test-strncasecmp.c (test_main): Likewise.
10333
5d228a43
AS
10334 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10335 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10336 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10337 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10338 (__strncasecmp_ssse3) [PIC]: Likewise.
10339
59d112a4
RM
103402013-08-26 Roland McGrath <roland@hack.frob.com>
10341
53234cc3
RM
10342 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10343
59d112a4
RM
10344 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10345 instead of explicitly declaring xdecrypt.
10346 * nis/nss_nis/nis-publickey.c: Likewise.
10347
595aba70
SP
103482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10349
10350 [BZ #15890]
10351 * nscd/aicache.c: Include res_hconf.h.
10352 (addhstaiX): Initialize res_hconf.
10353
ffabd393
AS
103542013-08-26 Andreas Schwab <schwab@suse.de>
10355
10356 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10357 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10358
e0a69f5c
SP
103592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10360
10361 * nscd/aicache.c (addhstaiX): Fix indentation.
10362
8c12f01d
MF
103632013-08-25 Mike Frysinger <vapier@gentoo.org>
10364
10365 * configure.ac: Quote $build_pt_chown test.
10366 * configure: Regenerated.
10367
8fe89494
JM
103682013-08-23 Joseph Myers <joseph@codesourcery.com>
10369
10370 [BZ #15532]
10371 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10372 * math/s_cexpf.c (__cexpf): Likewise.
10373 * math/s_cexpl.c (__cexpl): Likewise.
10374 * math/libm-test.inc (cexp_test_data): Correct expected return
10375 value for NaN + i0. Add another test.
10376
75b181d6
DM
103772013-08-22 David S. Miller <davem@davemloft.net>
10378
10379 * po/ca.po: Update Catalan translation from translation project.
936241e4 10380 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10381
acd06bb1
JM
103822013-08-21 Joseph Myers <joseph@codesourcery.com>
10383
10384 [BZ #15797]
10385 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10386 is infinite, not alongside NaN test.
10387 * math/s_fdimf.c (__fdimf): Likewise.
10388 * math/s_fdiml.c (__fdiml): Likewise.
10389 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10390 errno is unchanged.
10391
c0c3f78a
OB
103922013-08-21 Ondřej Bílka <neleai@seznam.cz>
10393
10394 * argp/argp-help.c: Fix typos.
10395 * crypt/speeds.c: Likewise.
10396 * csu/check_fds.c: Likewise.
10397 * elf/dl-load.c: Likewise.
10398 * elf/dl-open.c: Likewise.
10399 * elf/reldep3.c: Likewise.
10400 * elf/reldep.c: Likewise.
10401 * elf/sprof.c: Likewise.
10402 * iconv/iconv_charmap.c: Likewise.
10403 * iconv/skeleton.c: Likewise.
10404 * iconv/strtab.c: Likewise.
10405 * io/lockf64.c: Likewise.
10406 * libio/libioP.h: Likewise.
10407 * resolv/gai_notify.c: Likewise.
10408 * resolv/ns_name.c: Likewise.
10409 * resolv/ns_samedomain.c: Likewise.
10410 * resolv/res_send.c: Likewise.
10411 * stdlib/random.c: Likewise.
10412 * sunrpc/rpc/xdr.h: Likewise.
10413 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10414 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10415 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10416 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10417 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10418 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10420 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10421 * sysdeps/mach/hurd/check_fds.c: Likewise.
10422 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10423 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10424 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10426 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10427 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10428 * sysdeps/pthread/aio_notify.c: Likewise.
10429 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10430 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10431 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10432 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10433 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10434
46ed1038
LD
104352013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10436
10437 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10438 version if bit_Slow_SSE4_2 is set.
10439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10441
d400dcac
AZ
104422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10443
10444 [BZ #15867]
10445 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10446 trampoline stack frame information.
10447 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10448 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10449 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10450 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10451 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10452 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10453 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10454 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10455 sa_flags value.
10456 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10457 interrupting a syscall and set with option SA_SIGINFO.
10458
42c8fdd8
JM
104592013-08-20 Joseph Myers <joseph@codesourcery.com>
10460
c980f2f4
JM
10461 [BZ #15531]
10462 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10463 argument is infinite.
10464 * math/s_cprojf.c (__cprojf): Likewise.
10465 * math/s_cprojl.c (__cprojl): Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10467 * math/libm-test.inc (cproj_test_data): Add more tests.
10468
0716c4fc
JM
10469 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10470
42c8fdd8
JM
10471 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10472 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10473 size. Use __ffs to determine corresponding shift.
10474
b31469d0
JM
104752013-08-20 Joseph Myers <joseph@codesourcery.com>
10476 Roland McGrath <roland@hack.frob.com>
10477
10478 * Makefile (INSTALL): Remove trailing blank lines from output of
10479 makeinfo.
10480
4e39af6e
AK
104812013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10482
10483 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10484 Align 32 bit compat elf_greg to 8 bytes.
10485
f315524e
AA
104862013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10487
10488 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10489
1326ba1a
SP
104902013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10491
10492 * string/strcoll_l.c (coll_seq): New structure.
10493 (get_next_seq_cached): New function.
10494 (get_next_seq): New function.
10495 (do_compare): New function.
10496 (STRCOLL): Use GNU style definition. Simplify implementation
10497 by using get_next_seq, get_next_seq_cached and do_compare.
10498
91ce4085
FW
104992013-08-16 Florian Weimer <fweimer@redhat.com>
10500
10501 [BZ #14699]
10502 CVE-2013-4237
10503 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10504 member.
10505 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10506 member.
10507 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10508 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10509 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10510 conditional.
10511 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10512 GETDENTS_64BIT_ALIGNED.
10513 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10514 * manual/filesys.texi (Reading/Closing Directory): Document
10515 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10516 strongly.
10517 * manual/conf.texi (Limits for Files): Add portability note to
10518 NAME_MAX, PATH_MAX.
10519 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10520
ca0a6bc4
AS
105212013-08-13 Andreas Schwab <schwab@suse.de>
10522
10523 [BZ #15749]
10524 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10525 of fabs.
10526 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10527 LDBL_MAX_EXP >= 16384]: Add tests for it.
10528
6c1fd795
DM
105292013-08-12 David S. Miller <davem@davemloft.net>
10530
10531 * version.h (RELEASE): Set to "development".
10532 (VERSION): Set to "2.18.90".
10533 * NEWS: Add 2.19 section.
10534
31ad488d
DM
105352013-08-03 David S. Miller <davem@davemloft.net>
10536
10537 * po/ko.po: Update Korean translation from translation project.
10538
db24e684
DM
105392013-08-01 David S. Miller <davem@davemloft.net>
10540
10541 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10542 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10543 Bilka.
10544
f723285b
DM
105452013-07-30 David S. Miller <davem@davemloft.net>
10546
10547 * po/fr.po: Update French translation from translation project.
10548
3cbc52db
DM
105492013-07-28 David S. Miller <davem@davemloft.net>
10550
30bbc0cc
DM
10551 * po/cs.po: Update Czech translation from translation project.
10552
3cbc52db
DM
10553 * po/sv.po: Update Swedish translation from translation project.
10554
d492e6d0
DM
105552013-07-27 David S. Miller <davem@davemloft.net>
10556
f1a7f492
DM
10557 * po/eo.po: Update Esperanto translation from translation project.
10558
90e62a4a
DM
10559 * po/vi.po: Update Vietnamese translation from translation project.
10560
d492e6d0
DM
10561 * po/de.po: Update German translation from translation project.
10562
d4baa62d
DM
105632013-07-26 David S. Miller <davem@davemloft.net>
10564
641aa7b4
DM
10565 * po/bg.po: Update Bulgarian translation from translation project.
10566
d4baa62d
DM
10567 * po/nl.po: Update Dutch translation from translation project.
10568 * po/pl.po: Update Polish translation from translation project.
10569 * po/ru.po: Update Russian translation from translation project.
10570
61a9dcb9
DM
105712013-07-24 David S. Miller <davem@davemloft.net>
10572
10573 * po/libc.pot: Update.
10574
7b1f8b58
AZ
105752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10576
10577 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10578 variable page size.
10579 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10580 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10581 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10582
a8fc7a03
AK
105832013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10584
10585 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10586
e4608715
CD
105872013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10588 Andreas Schwab <schwab@suse.de>
10589 Roland McGrath <roland@hack.frob.com>
10590 Joseph Myers <joseph@codesourcery.com>
10591 Carlos O'Donell <carlos@redhat.com>
10592
10593 [BZ #15755]
10594 * config.h.in: Define HAVE_PT_CHOWN.
10595 * config.make.in (build-pt-chown): New variable.
10596 * configure.in (--enable-pt_chown): New configure option.
10597 * configure: Regenerate.
10598 * login/Makefile: Include Makeconfig. Build pt_chown only if
10599 build-pt-chown is enabled.
10600 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10601 pt_chown to fix pty ownership.
10602 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10603 CLOSE_ALL_FDS.
10604 * manual/install.texi (Configuring and compiling): Mention
10605 --enable-pt_chown. Add @findex for grantpt.
10606 * INSTALL: Regenerate.
10607
da2d62df
DM
106082013-07-20 David S. Miller <davem@davemloft.net>
10609
10610 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10611 difference between 32-bit and 64-bit.
10612
d7e06450
CD
106132013-07-15 Carlos O'Donell <carlos@redhat.com>
10614
10615 [BZ #15711]
10616 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10617 Avoid system header dependency with -ffreestanding.
10618 ($(objpfx)bits/syscall%d): Likewise.
10619
f959cfd7
DM
106202013-07-13 David S. Miller <davem@davemloft.net>
10621
10622 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10623 underflows from atanl/atan2l due to bug 15319.
10624 (casinh_test_data): Likewise.
10625
c61f8513
DM
106262013-07-07 David S. Miller <davem@davemloft.net>
10627
10628 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10629
72c90ed0
JA
106302013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10631
10632 * sysdeps/i386/fpu/libm-test-ulps: Update.
10633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10634
52dfbe13
SP
106352013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10636
10637 * configure.in (--enable-lock-elision): Fix message text.
10638 * INSTALL: Regenerate.
10639 * configure: Regenerate.
10640
3f169543
AZ
106412013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10642
10643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10644
521c6785
AJ
106452013-07-03 Andreas Jaeger <aj@suse.de>
10646
10647 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10648 define.
10649 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10650 (ptrace_peeksiginfo_args): Add.
10651 (__ptrace_peeksiginfo_flags): Add.
10652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10653 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10654 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10655
d2cc15cb
AM
106562013-07-03 Allan McRae <allan@archlinux.org>
10657
10658 * sysdeps/i386/fpu/libm-test-ulps: Update.
10659
3aaeeca7
DM
106602013-07-02 David S. Miller <davem@davemloft.net>
10661
10662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10663
5314ed1a
MT
106642013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10665
10666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10667
67338156
JM
106682013-07-02 Joseph Myers <joseph@codesourcery.com>
10669
10670 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10672
1717da59
AK
106732013-07-02 Andi Kleen <ak@linux.intel.com>
10674
10675 * config.h.in (ENABLE_LOCK_ELISION): Add.
10676 * configure.in (--enable-lock-elision): Add option.
10677 * manual/install.texi: Document --enable lock elision.
10678 * configure: Regenerate
10679 * INSTALL: Regenerate.
10680
1c81621c
L
106812013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10682
10683 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10684 SSE4.2 strcasecmp for libc.a.
10685 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10686
77f01ab5
JM
106872013-07-02 Joseph Myers <joseph@codesourcery.com>
10688
10689 [BZ #13304]
10690 * soft-fp/op-common.h (_FP_FMA): New macro.
10691 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10692 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10693 (_FP_MUL_MEAT_1_imm): ... here.
10694 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10695 (_FP_MUL_MEAT_1_wide): ... here.
10696 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10697 (_FP_MUL_MEAT_1_hard): ... here.
10698 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10699 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10700 (_FP_MUL_MEAT_2_wide): ... here.
10701 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10702 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10703 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10704 (_FP_MUL_MEAT_2_gmp): ... here.
10705 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10706 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10707 (_FP_MUL_MEAT_4_wide): ... here.
10708 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10709 (_FP_MUL_MEAT_4_gmp): ... here.
10710 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10711 (_FP_WFRACBITS_DW_S): Likewise.
10712 (_FP_WFRACXBITS_DW_S): Likewise.
10713 (_FP_HIGHBIT_DW_S): Likewise.
10714 (FP_FMA_S): Likewise.
10715 (_FP_FRAC_HIGH_DW_S): Likewise.
10716 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10717 (_FP_WFRACBITS_DW_D): Likewise.
10718 (_FP_WFRACXBITS_DW_D): Likewise.
10719 (_FP_HIGHBIT_DW_D): Likewise.
10720 (FP_FMA_D): Likewise.
10721 (_FP_FRAC_HIGH_DW_D): Likewise.
10722 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10723 (_FP_WFRACBITS_DW_E): Likewise.
10724 (_FP_WFRACXBITS_DW_E): Likewise.
10725 (_FP_HIGHBIT_DW_E): Likewise.
10726 (FP_FMA_E): Likewise.
10727 (_FP_FRAC_HIGH_DW_E): Likewise.
10728 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10729 (_FP_WFRACBITS_DW_Q): Likewise.
10730 (_FP_WFRACXBITS_DW_Q): Likewise.
10731 (_FP_HIGHBIT_DW_Q): Likewise.
10732 (FP_FMA_Q): Likewise.
10733 (_FP_FRAC_HIGH_DW_Q): Likewise.
10734 * soft-fp/fmasf4.c: New file.
10735 * soft-fp/fmadf4.c: Likewise.
10736 * soft-fp/fmatf4.c: Likewise.
10737
6308fd9a
LD
107382013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10739
10740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10741 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10742 Silvermont.
10743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10744 macro.
10745 (index_Slow_SSE4_2): Likewise.
10746 (index_Prefer_PMINUB_for_stringop): Likewise.
10747 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10748 bit_Slow_SSE4_2 is set.
10749 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10750 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10751
89cd9569
RA
107522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10753
10754 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10755 rtld_global._dl_hwcap2.
10756 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10757 POWER8.
10758 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10759 POWER8 feature descriptions defined in _dl_hwcap2.
10760 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10761 string handling for POWER8 feature bits.
10762 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10763 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10764 _dl_powerpc_cap_flags.
10765 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10766 * sysdeps/powerpc/rtld-global-offsets.sym
10767 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10768 _dl_hwcap2 in the rtld_global_ro structure.
10769
1ae8bfe0
RA
107702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10771
10772 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10773 hardware capabilities in support of AT_HWCAP2.
10774 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10775 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10776 GLRO(dl_hwcap2).
10777 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10778 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10779 explicitly the unknown a_type display mechanism is used.
10780 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10781 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10782 struct member.
10783 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10784 to macro prototype for AT_HWCAP2 support.
10785 * sysdeps/i386/dl-procinfo.h: Likewise.
10786 * sysdeps/s390/dl-procinfo.h: Likewise.
10787 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10788 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10789 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10790 return -1 for unknown a_type display fallback.
10791 * sysdeps/sparc/dl-procinfo.h: Likewise.
10792 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10793 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10794
8fbec010
JM
107952013-06-28 Joseph Myers <joseph@codesourcery.com>
10796
10797 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10798 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10799
0432680e
PY
108002013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10801
10802 [BZ #12492]
10803 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10804 mprotect making __stack_prot writable.
10805
ce61a2ad
NF
108062013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10807 Joseph Myers <joseph@codesourcery.com>
10808
10809 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10810 as being properly aligned.
10811
f91f1c0f
MR
108122013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10813
3d0f5d0c
MR
10814 * dlfcn/modstatic5.c: New file.
10815 * dlfcn/tststatic5.c: New file.
10816 * dlfcn/Makefile (tests): Add tststatic5.
10817 (tests-static): Likewise.
10818 (modules-names): Add modstatic5.
10819 (tststatic5-ENV): New variable.
10820 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10821
f91f1c0f
MR
10822 [BZ #15022]
10823 * elf/dl-support.c (_dl_main_map): New variable.
10824 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10825 (_dl_nns, _dl_load_adds): Set to 1.
10826 (_dl_initial_searchlist): Refer to _dl_main_map.
10827 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10828 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10829 call to _dl_get_origin.
10830 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10831 around call_map.
10832 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10833 * dlfcn/modstatic3.c: New file.
10834 * dlfcn/tststatic3.c: New file.
10835 * dlfcn/tststatic4.c: New file.
10836 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10837 (tests-static): Likewise.
10838 (modules-names): Add modstatic3.
10839 (tststatic3-ENV, tststatic4-ENV): New variables.
10840 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10841 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10842
cbe7d24b
JM
108432013-06-26 Joseph Myers <joseph@codesourcery.com>
10844
10845 * configure.in (CC): Require GCC version 4.4 or later.
10846 * configure: Regenerated.
10847 * manual/install.texi (Tools for Compilation): Update GCC version
10848 requirement.
10849 * INSTALL: Regenerated.
10850
11b8a0e1
LD
108512013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10852
10853 [BZ #15674]
bb5bb87c
L
10854 * string/test-memcmp.c (check2): New.
10855 (main): Call check2.
10856
11b8a0e1
LD
10857 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10858
b0037103
MR
108592013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10860
10861 [BZ #15022]
10862 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10863 over to...
10864 (dl_open_worker) [!SHARED]: ... here.
10865
c18c701d
RA
108662013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10867
10868 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10869
1d17fa5f
RH
108702013-06-25 Richard Henderson <rth@redhat.com>
10871
10872 * locale/programs/locarchive.c: Include <libc-internal.h>
10873
8fcb833a
JM
108742013-06-25 Joseph Myers <joseph@codesourcery.com>
10875
10876 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10877 trailing whitespace removed.
10878
17db6e8d
MF
108792013-06-24 Mike Frysinger <vapier@gentoo.org>
10880
10881 [BZ #10283]
17db6e8d
MF
10882 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10883 * locale/programs/locarchive.c: Include libc-mmap.h.
10884 (prepare_address_space): Take two new outputs (the mmap base and len).
10885 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10886 values.
10887 (create_archive): Declare new mmap base and len values for
10888 prepare_address_space, and store the result in ah.
10889 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10890 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10891 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10892 Declare new mmap base and len values for
10893 prepare_address_space, and store the result in new_ah.
10894 (open_archive): Declare new mmap base and len values for
10895 prepare_address_space, and store the result in ah.
10896 (close_archive): If ah->mmap_base is not NULL, use that and
10897 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10898 * sysdeps/generic/libc-mmap.h: New file.
10899
d605071e
MF
109002013-06-24 Mike Frysinger <vapier@gentoo.org>
10901
10902 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10903 (ALIGN_UP): Likewise.
10904 (PTR_ALIGN_DOWN): Likewise.
10905 (PTR_ALIGN_UP): Likewise.
10906
2f063a6e
RA
109072013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10908
10909 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10910 entry mapped to PPC_PLATFORM_POWER8.
10911 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10912 POWER8.
10913 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10914 (_dl_string_platform): Add case for exporting platform position for
10915 POWER8.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10917 search path to sysdeps/powerpc/powerpc32/power8 directory.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10919 search path to sysdeps/powerpc/powerpc64/power8 directory.
10920 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10921 power7 directories.
10922 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10923 power7 directories.
10924
a31ee4b3
SP
109252013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10926
a74ca98f
SP
10927 * INSTALL: Regenerate.
10928
a31ee4b3
SP
10929 * nscd/connections.c (nscd_init): Fix comment.
10930
695c378f
JM
109312013-06-22 Joseph Myers <joseph@codesourcery.com>
10932
d8412221
JM
10933 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10934
695c378f
JM
10935 [BZ #15667]
10936 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10937 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10938
d1d54715
MR
109392013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10940
10941 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10942 DL_DST_REQ_STATIC.
10943 (DL_DST_REQ_STATIC): Remove macro.
10944
8fdda7af
JM
109452013-06-21 Joseph Myers <joseph@codesourcery.com>
10946
10947 [BZ #7006]
10948 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10949 with a shift of 0 bits.
10950
f3bc5e5a
MR
109512013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10952
10953 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10954 $(tststatic-ENV).
10955
be09e8c9
KK
109562013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10957
10958 [BZ #15655]
10959 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10960
85c2e611
AZ
109612013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10962
10963 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10964 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10965 accepts -fno-tree-loop-distribute-patterns.
10966 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10967 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10968 recursive call.
10969 * string/memset.c (memset): Likewise.
10970 * string/test-memmove.c (simple_memmove): Disable loop transformation
10971 to library calls.
10972 * string/test-memset.c (simple_memset): Likewise.
10973 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10974 * benchtests/bench-memset.c (simple_memset): Likewise.
10975 * configure: Regenerated.
10976
c91e0825
JM
109772013-06-20 Joseph Myers <joseph@codesourcery.com>
10978
b8c792af
JM
10979 * math/test-misc.c (main): Ignore fesetround failure when failures
10980 of subsequent rounding tests would be ignored.
10981
c91e0825
JM
10982 [BZ #15654]
10983 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10984 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10985 * math/fegetenv.c (__fegetenv): Return 0.
10986 * math/fegetexcept.c (fegetexcept): Return 0.
10987 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10988 FE_TONEAREST.
10989 * math/feholdexcpt.c (feholdexcept): Return 0.
10990 * math/fesetenv.c (__fesetenv): Return 0.
10991 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10992 argument FE_TONEAREST.
10993 * math/feupdateenv.c (__feupdateenv): Return 0.
10994 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10995
bfcacbde
RM
109962013-06-18 Roland McGrath <roland@hack.frob.com>
10997
10998 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10999 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11000 ($(objpfx)rtld-%.os rules): Use them.
11001
e55a9b25
AZ
110022013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11003
11004 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11005 fields.
11006
346d65b3
RM
110072013-06-17 Roland McGrath <roland@hack.frob.com>
11008
12086fb4
RM
11009 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11010 length of target pattern, then descending length of dependency pattern.
11011 * configure.in (AWK): Require gawk 3.1.2 or newer.
11012 * manual/install.texi (Tools for Compilation): Say that we do.
11013 * configure: Regenerated.
11014
346d65b3
RM
11015 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11016 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11017 * scripts/sysd-rules.awk: ... this new script.
11018 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11019 than a glob-style pattern.
11020
1a846317
JM
110212013-06-17 Joseph Myers <joseph@codesourcery.com>
11022
11023 * math/test-misc.c (main): Do not treat incorrectly rounded
11024 conversions as failure unless ROUNDING_TESTS passes.
11025
8fc75e6f
JM
110262013-06-15 Joseph Myers <joseph@codesourcery.com>
11027
3711a167
JM
11028 [BZ #15631]
11029 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11030 restore exception state around main square root computation, then
11031 check for inexactness explicitly.
11032
8fc75e6f
JM
11033 * math/libm-test.inc (fma_test_data): Add another test.
11034
61dd6208
SP
110352013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11036
adf23d2c
SP
11037 * manual/threads.texi (Non-POSIX Extensions): New document
11038 node. Document pthread_getattr_default_np and
11039 pthread_setattr_default_np.
11040
61dd6208
SP
11041 * Versions.def (libpthread): Add GLIBC_2.18.
11042 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11044 Likewise.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11046 Likewise.
11047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11048 Likewise.
11049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11050 Likewise.
11051 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11052 Likewise.
11053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11054 Likewise.
11055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11056 Likewise.
11057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11058 Likewise.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11060 Likewise.
11061
d086fc7b
LD
110622013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11063
11064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11065 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11066
747ef469
SP
110672013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11068 H.J. Lu <hjl.tools@gmail.com>
11069
11070 [BZ #15627]
11071 * sysdeps/x86_64/rtld-memset.c: Remove file.
11072 * sysdeps/x86_64/rtld-memset.S: New file.
11073
1b2feed2
JM
110742013-06-14 Joseph Myers <joseph@codesourcery.com>
11075
11076 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11077 (test_in_one_mode): Take arguments for whether the rounding mode
11078 is supported for each floating-point type.
11079 (do_test): Pass new arguments to test_in_one_mode using
11080 ROUNDING_TESTS.
11081
a58ad3f8
RM
110822013-06-13 Roland McGrath <roland@hack.frob.com>
11083
11084 * posix/tst-waitid.c (do_test): Distinguish different instances of
11085 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11086 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11087 before entering the kernel for waitpid.
11088
c204ab28
SP
110892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11090
11091 * NEWS: Fix note on clock function precision. Text by Roland
11092 McGrath.
11093
f4a29fba
RM
110942013-06-13 Roland McGrath <roland@hack.frob.com>
11095
11096 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11097 it into place only when and if the sanity check passes.
11098
1f24b9ad
JM
110992013-06-13 Joseph Myers <joseph@codesourcery.com>
11100
11101 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11102 output for whether conversion result is exact. Take argument
11103 indicating whether type is IBM long double.
11104 (round_for_all): Change need_exact field to ibm_ld.
11105 * stdlib/tst-strtod-round.c (struct exactness): New type.
11106 (struct test): Change bool ld_ok field to struct exactness exact.
11107 (TEST): Update all definitions for change to field.
11108 (tests): Regenerate array contents.
11109 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11110 field value. Check for IBM long double here.
11111 (do_test): Update calls to test_in_one_mode.
11112
58206c68
SP
111132013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11114
11115 [BZ #12515]
11116 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11117 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11118
2d6f4c5b 111192013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11120
11121 [BZ #15605]
11122 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11123 generated by the compiler on loop optimizations.
11124 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11125 general definitions.
11126
94f2c076
JM
111272013-06-12 Joseph Myers <joseph@codesourcery.com>
11128
11129 * math/bug-nextafter.c: Include <math-tests.h>.
11130 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11131 the relevant type.
11132 * math/bug-nexttoward.c: Include <math-tests.h>.
11133 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11134 the relevant type.
11135 * math/test-misc.c: Include <math-tests.h>.
11136 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11137 the relevant type.
11138
e0e50a0a
AJ
111392013-06-12 Andreas Jaeger <aj@suse.de>
11140
11141 * po/ia.po: Update Interlingua translation from translation
11142 project.
11143
25061094
SP
111442013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11145
11146 * include/fenv.h: Include stdbool.h.
11147 (struct rm_ctx): New structure.
11148 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11149 Define macro.
11150 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11151 (SET_RESTORE_ROUNDF): Likewise.
11152 (SET_RESTORE_ROUNDL): Likewise.
11153 (SET_RESTORE_ROUND_NOEX): Likewise.
11154 (SET_RESTORE_ROUND_NOEXF): Likewise.
11155 (SET_RESTORE_ROUND_NOEXL): Likewise.
11156 (SET_RESTORE_ROUND_53BIT): Likewise.
11157 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11158 (libc_feresetround_noexf_ctx): Likewise.
11159 (libc_feresetround_noexl_ctx): Likewise.
11160 (libc_feholdsetround_53bit_ctx): Likewise.
11161 (libc_feresetround_53bit_ctx): Likewise.
11162 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11163 (libc_feholdexcept_setround_sse_ctx): New function.
11164 (libc_fesetenv_sse_ctx): Likewise.
11165 (libc_feupdateenv_sse_ctx): Likewise.
11166 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11167 (libc_feholdexcept_setround_387_ctx): Likewise.
11168 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11169 (libc_feholdsetround_387_prec_ctx): Likewise.
11170 (libc_feholdsetround_387_ctx): Likewise.
11171 (libc_feholdsetround_387_53bit_ctx): Likewise.
11172 (libc_feholdsetround_sse_ctx): Likewise.
11173 (libc_feresetround_sse_ctx): Likewise.
11174 (libc_feresetround_387_ctx): Likewise.
11175 (libc_feupdateenv_387_ctx): Likewise.
11176 (libc_feholdexcept_setroundf_ctx): Define macro.
11177 (libc_fesetenvf_ctx): Likewise.
11178 (libc_feupdateenvf_ctx): Likewise.
11179 (libc_feholdsetroundf_ctx): Likewise.
11180 (libc_feresetroundf_ctx): Likewise.
11181 (libc_feholdexcept_setround_ctx): Likewise.
11182 (libc_fesetenv_ctx): Likewise.
11183 (libc_feupdateenv_ctx): Likewise.
11184 (libc_feholdsetround_ctx): Likewise.
11185 (libc_feresetround_ctx): Likewise.
11186 (libc_feholdexcept_setroundl_ctx): Likewise.
11187 (libc_feupdateenvl_ctx): Likewise.
11188 (libc_feholdsetroundl_ctx): Likewise.
11189 (libc_feresetroundl_ctx): Likewise.
11190 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11191 (libc_feresetround_53bit_ctx): Likewise.
11192
59b30555
SP
111932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11194
11195 * locale/iso-639.def: Convert to UTF-8.
11196
f1d73d30
JM
111972013-06-11 Joseph Myers <joseph@codesourcery.com>
11198
11199 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11200 (EXCEPTION_TESTS_double): Likewise.
11201 (EXCEPTION_TESTS_long_double): Likewise.
11202 (EXCEPTION_TESTS): Likewise.
11203 * math/libm-test.inc (test_exceptions): Only test exceptions if
11204 EXCEPTION_TESTS (FLOAT).
11205
94aca5e7
SP
112062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11207
11208 * benchtests/Makefile (string-bench): Add strcpy_chk and
11209 stpcpy_chk.
11210 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11211 * benchtests/bench-stpcpy_chk.c: New file.
11212 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11213 * benchtests/bench-strcpy_chk.c: New file.
11214 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11215 code.
11216 (do_test): Likewise.
11217
fac0c5f2
RA
112182013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11219
11220 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11221 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11222 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11223 with tabs where appropriate.
11224 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11225 dl-procinfo.h.
11226 [PPC_PLATFORM_PPC440]: Likewise.
11227 [PPC_PLATFORM_PPC464]: Likewise.
11228 [PPC_PLATFORM_PPC476]: Likewise.
11229 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11230 ppc464, and ppc476 platform strings merging from ports/
11231 dl-procinfo.h.
11232
f22bc486
AS
112332013-06-11 Andreas Schwab <schwab@suse.de>
11234
11235 [BZ #14991]
11236 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11237 (from_ucs4_idx): Regenerate.
11238 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11239 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11240 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11241 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11242 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11243 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11244 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11245 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11246 from FROM_LOOP and TO_LOOP specific macros.
11247 (BODY): Handle combining characters.
11248 * iconvdata/BIG5HKSCS.irreversible: Update.
11249 * iconvdata/BIG5HKSCS.precomposed: New file.
11250 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11251 characters.
11252 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11253
c1f75dc3
SP
112542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11255
4eacded2
SP
11256 * include/sys/time.h: Fix indentation and add copyright header.
11257
fec799f8
SP
11258 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11259 (do_test): Likewise.
11260 * string/test-memchr.c (do_one_test): Likewise.
11261 (do_test): Likewise.
11262 * string/test-memcmp.c (do_one_test): Likewise.
11263 (do_test): Likewise.
11264 * string/test-memcpy.c (do_one_test): Likewise.
11265 (do_test): Likewise.
11266 * string/test-memmem.c (do_one_test): Likewise.
11267 (do_test): Likewise.
11268 (do_random_tests): Likewise.
11269 * string/test-memmove.c (do_one_test): Likewise.
11270 (do_test): Likewise.
11271 * string/test-memset.c (do_one_test): Likewise.
11272 (do_test): Likewise.
11273 * string/test-rawmemchr.c (do_one_test): Likewise.
11274 (do_test): Likewise.
11275 * string/test-strcasecmp.c (do_one_test): Likewise.
11276 (do_test): Likewise.
11277 * string/test-strcasestr.c (do_one_test): Likewise.
11278 (do_test): Likewise.
11279 * string/test-strcat.c (do_one_test): Likewise.
11280 (do_test): Likewise.
11281 * string/test-strchr.c (do_one_test): Likewise.
11282 (do_test): Likewise.
11283 * string/test-strcmp.c (do_one_test): Likewise.
11284 (do_test): Likewise.
11285 * string/test-strcpy.c (do_one_test): Likewise.
11286 (do_test): Likewise.
11287 * string/test-string.h: Likewise.
11288 (test_init): Likewise.
11289 * string/test-strlen.c (do_one_test): Likewise.
11290 (do_test): Likewise.
11291 * string/test-strncasecmp.c (do_one_test): Likewise.
11292 (do_test): Likewise.
11293 * string/test-strncat.c (do_one_test): Likewise.
11294 (do_test): Likewise.
11295 * string/test-strncmp.c (do_one_test): Likewise.
11296 (do_test_limit): Likewise.
11297 (do_test): Likewise.
11298 * string/test-strncpy.c (do_one_test): Likewise.
11299 (do_test): Likewise.
11300 * string/test-strnlen.c (do_one_test): Likewise.
11301 (do_test): Likewise.
11302 * string/test-strpbrk.c (do_one_test): Likewise.
11303 (do_test): Likewise.
11304 * string/test-strrchr.c (do_one_test): Likewise.
11305 (do_test): Likewise.
11306 * string/test-strspn.c (do_one_test): Likewise.
11307 (do_test): Likewise.
11308 * string/test-strstr.c (do_one_test): Likewise.
11309 (do_test): Likewise.
11310
97020474
SP
11311 * benchtests/Makefile (string-bench): Add string benchmarks.
11312 * benchtests/bench-bcopy-ifunc.c: New file.
11313 * benchtests/bench-bcopy.c: New file.
11314 * benchtests/bench-bzero-ifunc.c: New file.
11315 * benchtests/bench-bzero.c: New file.
11316 * benchtests/bench-memccpy-ifunc.c: New file.
11317 * benchtests/bench-memccpy.c: New file.
11318 * benchtests/bench-memchr-ifunc.c: New file.
11319 * benchtests/bench-memchr.c: New file.
11320 * benchtests/bench-memcmp-ifunc.c: New file.
11321 * benchtests/bench-memcmp.c: New file.
11322 * benchtests/bench-memmem-ifunc.c: New file.
11323 * benchtests/bench-memmem.c: New file.
11324 * benchtests/bench-memmove-ifunc.c: New file.
11325 * benchtests/bench-memmove.c: New file.
11326 * benchtests/bench-mempcpy-ifunc.c: New file.
11327 * benchtests/bench-mempcpy.c: New file.
11328 * benchtests/bench-memset-ifunc.c: New file.
11329 * benchtests/bench-memset.c: New file.
11330 * benchtests/bench-rawmemchr-ifunc.c: New file.
11331 * benchtests/bench-rawmemchr.c: New file.
11332 * benchtests/bench-stpcpy-ifunc.c: New file.
11333 * benchtests/bench-stpcpy.c: New file.
11334 * benchtests/bench-stpncpy-ifunc.c: New file.
11335 * benchtests/bench-stpncpy.c: New file.
11336 * benchtests/bench-strcasecmp-ifunc.c: New file.
11337 * benchtests/bench-strcasecmp.c: New file.
11338 * benchtests/bench-strcasestr-ifunc.c: New file.
11339 * benchtests/bench-strcasestr.c: New file.
11340 * benchtests/bench-strcat-ifunc.c: New file.
11341 * benchtests/bench-strcat.c: New file.
11342 * benchtests/bench-strchr-ifunc.c: New file.
11343 * benchtests/bench-strchr.c: New file.
11344 * benchtests/bench-strchrnul-ifunc.c: New file.
11345 * benchtests/bench-strchrnul.c: New file.
11346 * benchtests/bench-strcmp-ifunc.c: New file.
11347 * benchtests/bench-strcmp.c: New file.
11348 * benchtests/bench-strcpy-ifunc.c: New file.
11349 * benchtests/bench-strcpy.c: New file.
11350 * benchtests/bench-strcspn-ifunc.c: New file.
11351 * benchtests/bench-strcspn.c: New file.
11352 * benchtests/bench-strlen-ifunc.c: New file.
11353 * benchtests/bench-strlen.c: New file.
11354 * benchtests/bench-strncasecmp-ifunc.c: New file.
11355 * benchtests/bench-strncasecmp.c: New file.
11356 * benchtests/bench-strncat-ifunc.c: New file.
11357 * benchtests/bench-strncat.c: New file.
11358 * benchtests/bench-strncmp-ifunc.c: New file.
11359 * benchtests/bench-strncmp.c: New file.
11360 * benchtests/bench-strncpy-ifunc.c: New file.
11361 * benchtests/bench-strncpy.c: New file.
11362 * benchtests/bench-strnlen-ifunc.c: New file.
11363 * benchtests/bench-strnlen.c: New file.
11364 * benchtests/bench-strpbrk-ifunc.c: New file.
11365 * benchtests/bench-strpbrk.c: New file.
11366 * benchtests/bench-strrchr-ifunc.c: New file.
11367 * benchtests/bench-strrchr.c: New file.
11368 * benchtests/bench-strspn-ifunc.c: New file.
11369 * benchtests/bench-strspn.c: New file.
11370 * benchtests/bench-strstr-ifunc.c: New file.
11371 * benchtests/bench-strstr.c: New file.
11372
c1f75dc3
SP
11373 * benchtests/Makefile: Disable parallel execution of targets.
11374 (string-bench): Add memcpy.
11375 (benchset): New variable to store a list of benchmark sets.
11376 (bench-func): Renamed from bench.
11377 (bench-set): New target.
11378 (bench): Depend on bench-func and bench-set.
11379 * benchtests/README: Add section on benchmark sets.
11380 * benchtests/bench-memcpy-ifunc.c: New file.
11381 * benchtests/bench-memcpy.c: New file.
11382 * benchtests/bench-string.h: New file.
11383
50fd745b
AS
113842013-06-11 Andreas Schwab <schwab@suse.de>
11385
11386 [BZ #15577]
11387 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11388 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11389 values in the triple.
11390 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11391 terminator in the group key.
11392
3ee7e9fe
AJ
113932013-06-11 Andreas Jaeger <aj@suse.de>
11394
11395 * po/zh_TW.po: Update Chinese (traditional) translation from
11396 translation project.
11397
89fb6835
SP
113982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11399
11400 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11401 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11402 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11403 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11404 (clock_getcpuclockid): Likewise.
11405 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11406 Add weak_alias and libc_hidden_def.
11407 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11408 * rt/clock_gettime.c (clock_gettime): Rename to
11409 __clock_gettime. Add weak_alias and libc_hidden_def.
11410 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11411 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11412 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11413 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11414 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11415 Likewise.
11416 * rt/clock_settime.c (clock_settime): Rename to
11417 __clock_settime. Add weak_alias and libc_hidden_def.
11418 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11419
0efa6f8b
JM
114202013-06-10 Joseph Myers <joseph@codesourcery.com>
11421
b8c61b4b
JM
11422 * mach/err_boot.sub: Remove trailing whitespace.
11423 * mach/err_ipc.sub: Likewise.
11424 * mach/err_mach.sub: Likewise.
11425
0efa6f8b
JM
11426 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11427 (ROUNDING_TESTS_double): Likewise.
11428 (ROUNDING_TESTS_long_double): Likewise.
11429 (ROUNDING_TESTS): Likewise.
11430 * math/libm-test.inc: Include <math-tests.h>.
11431 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11432 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11433 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11434 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11435
50b818bf
SP
114362013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11437
11438 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11439 of assigning.
11440
60d2f8f3
JM
114412013-06-08 Joseph Myers <joseph@codesourcery.com>
11442
4902d2c3
JM
11443 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11444 otherwise empty TRANS lines.
11445 * sysdeps/gnu/errlist.c: Regenerated.
11446
60d2f8f3
JM
11447 * catgets/gencat.c (error_print): Use (void) in function
11448 definition.
11449 * crypt/crypt_util.c (__init_des): Likewise.
11450 * crypt/speeds.c (Stop): Likewise.
11451 (main): Likewise.
11452 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11453 * inet/ruserpass.c (token): Likewise.
11454 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11455 * intl/localealias.c (extend_alias_table): Likewise.
11456 * intl/plural-exp.c (init_germanic_plural): Likewise.
11457 * libio/fcloseall.c (__fcloseall): Likewise.
11458 * libio/genops.c (_IO_flush_all): Likewise.
11459 (_IO_flush_all_linebuffered): Likewise.
11460 (_IO_cleanup): Likewise.
11461 (_IO_iter_begin): Likewise.
11462 (_IO_iter_end): Likewise.
11463 (_IO_list_lock): Likewise.
11464 (_IO_list_unlock): Likewise.
11465 (_IO_list_resetlock): Likewise.
11466 * libio/getchar.c (getchar): Likewise.
11467 * libio/getchar_u.c (getchar_unlocked): Likewise.
11468 * libio/getwchar.c (getwchar): Likewise.
11469 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11470 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11471 * login/getpt.c (__getpt): Likewise.
11472 * login/tst-utmp.c (main): Likewise.
11473 * malloc/hooks.c (__malloc_check_init): Likewise.
11474 * malloc/malloc.c (__malloc_stats): Likewise.
11475 * malloc/mtrace.c (tr_break): Likewise.
11476 (mtrace): Likewise.
11477 (muntrace): Likewise.
11478 * misc/fstab.c (endfsent): Likewise.
11479 * misc/getclktck.c (__getclktck): Likewise.
11480 * misc/getdtsz.c (__getdtablesize): Likewise.
11481 * misc/gethostid.c (gethostid): Likewise.
11482 * misc/getpagesize.c (__getpagesize): Likewise.
11483 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11484 (__get_nprocs): Likewise.
11485 (__get_phys_pages): Likewise.
11486 (__get_avphys_pages): Likewise.
11487 * misc/getttyent.c (getttyent): Likewise.
11488 (setttyent): Likewise.
11489 (endttyent): Likewise.
11490 * misc/getusershell.c (getusershell): Likewise.
11491 (endusershell): Likewise.
11492 (setusershell): Likewise.
11493 (initshells): Likewise.
11494 * misc/hsearch.c (__hdestroy): Likewise.
11495 * misc/sync.c (sync): Likewise.
11496 * misc/syslog.c (closelog_internal): Likewise.
11497 (closelog): Likewise.
11498 * misc/ttyslot.c (ttyslot): Likewise.
11499 * misc/vhangup.c (vhangup): Likewise.
11500 * posix/fork.c (__fork): Likewise.
11501 * posix/getegid.c (__getegid): Likewise.
11502 * posix/geteuid.c (__geteuid): Likewise.
11503 * posix/getgid.c (__getgid): Likewise.
11504 * posix/getpid.c (__getpid): Likewise.
11505 * posix/getppid.c (__getppid): Likewise.
11506 * posix/getuid.c (__getuid): Likewise.
11507 * posix/pause.c (pause): Likewise.
11508 * posix/setpgrp.c (setpgrp): Likewise.
11509 * posix/setsid.c (__setsid): Likewise.
11510 * posix/test-vfork.c (noop): Likewise.
11511 * resolv/gethnamaddr.c (_endhtent): Likewise.
11512 (_gethtent): Likewise.
11513 (ht_endhostent): Likewise.
11514 (gethostent): Likewise.
11515 (dns_service): Likewise.
11516 * stdlib/drand48.c (drand48): Likewise.
11517 * stdlib/lrand48.c (lrand48): Likewise.
11518 * stdlib/mrand48.c (mrand48): Likewise.
11519 * stdlib/rand.c (rand): Likewise.
11520 * stdlib/random.c (__random): Likewise.
11521 * stdlib/setenv.c (clearenv): Likewise.
11522 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11523 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11524 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11525 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11526 (__get_nprocs): Likewise.
11527 (__get_phys_pages): Likewise.
11528 (__get_avphys_pages): Likewise.
11529 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11530 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11531 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11532 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11533 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11534 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11535 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11536 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11537 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11538 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11539 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11540 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11541 * sysdeps/posix/clock.c (clock): Likewise.
11542 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11543 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11544 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11545 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11546 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11547 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11548 (__get_nprocs_conf): Likewise.
11549 (__get_phys_pages): Likewise.
11550 (__get_avphys_pages): Likewise.
11551 * time/clock.c (clock): Likewise.
11552 * time/tzset.c (__tzname_max): Likewise.
11553
2e09a79a
JM
115542013-06-07 Joseph Myers <joseph@codesourcery.com>
11555
11556 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11557 (__bswap_32): Do not use "register".
11558 * crypt/crypt.c (_ufc_doit_r): Likewise.
11559 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11560 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11561 * gmon/gmon.c (__monstartup): Likewise.
11562 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11563 * hurd/hurdmalloc.c (more_memory): Likewise.
11564 (malloc): Likewise.
11565 (free): Likewise.
11566 (realloc): Likewise.
11567 (malloc_fork_prepare): Likewise.
11568 (malloc_fork_parent): Likewise.
11569 (malloc_fork_child): Likewise.
11570 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11571 (_svcauth_des): Likewise.
11572 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11573 * inet/inet_net.c (inet_network): Likewise.
11574 * inet/inet_netof.c (inet_netof): Likewise.
11575 * inet/rcmd.c (__validuser2_sa): Likewise.
11576 * io/fts.c (fts_open): Likewise.
11577 (fts_load): Likewise.
11578 (fts_close): Likewise.
11579 (fts_read): Likewise.
11580 (fts_children): Likewise.
11581 (fts_build): Likewise.
11582 (fts_stat): Likewise.
11583 (fts_sort): Likewise.
11584 (fts_alloc): Likewise.
11585 (fts_lfree): Likewise.
11586 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11587 (_IO_file_xsgetn): Likewise.
11588 (_IO_file_xsgetn_mmap): Likewise.
11589 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11590 (_IO_cookie_write): Likewise.
11591 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11592 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11593 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11594 * malloc/obstack.c (_obstack_begin): Likewise.
11595 (_obstack_begin_1): Likewise.
11596 (_obstack_newchunk): Likewise.
11597 (_obstack_allocated_p): Likewise.
11598 (obstack_free): Likewise.
11599 (_obstack_memory_used): Likewise.
11600 * misc/getttyent.c (getttynam): Likewise.
11601 (getttyent): Likewise.
11602 (skip): Likewise.
11603 (value): Likewise.
11604 * misc/getusershell.c (initshells): Likewise.
11605 * misc/syslog.c (__vsyslog_chk): Likewise.
11606 * misc/ttyslot.c (ttyslot): Likewise.
11607 * nis/nis_hash.c (__nis_hash): Likewise.
11608 * posix/fnmatch_loop.c (FCT): Likewise.
11609 * posix/getconf.c (print_all): Likewise.
11610 (main): Likewise.
11611 * posix/getopt.c (exchange): Likewise.
11612 * posix/glob.c (globfree): Likewise.
11613 (prefix_array): Likewise.
11614 (__glob_pattern_type): Likewise.
11615 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11616 (NS_GET32): Likewise.
11617 (NS_PUT16): Likewise.
11618 (NS_PUT32): Likewise.
11619 * resolv/gethnamaddr.c (getanswer): Likewise.
11620 (gethostbyname2): Likewise.
11621 (gethostbyaddr): Likewise.
11622 (_gethtent): Likewise.
11623 (_gethtbyname2): Likewise.
11624 (_gethtbyaddr): Likewise.
11625 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11626 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11627 * resolv/res_init.c (__res_vinit): Likewise.
11628 (net_mask): Likewise.
11629 * resolv/res_mkquery.c (outchar): Likewise.
11630 (PRINT): Likewise.
11631 * stdio-common/printf_fp.c (outchar): Likewise.
11632 (PRINT): Likewise.
11633 * stdio-common/printf_fphex.c (outchar): Likewise.
11634 (PRINT): Likewise.
11635 * stdio-common/printf_size.c (outchar): Likewise.
11636 (PRINT): Likewise.
11637 * stdio-common/test_rdwr.c (main): Likewise.
11638 * stdio-common/tfformat.c (matches): Likewise.
11639 * stdio-common/vfprintf.c (outchar): Likewise.
11640 (printf_unknown): Likewise.
11641 (buffered_vfprintf): Likewise.
11642 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11643 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11644 (ReadFile): Likewise.
11645 * stdlib/qsort.c (SWAP): Likewise.
11646 (_quicksort): Likewise.
11647 * stdlib/setenv.c (__add_to_environ): Likewise.
11648 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11649 * stdlib/strtol_l.c (__strtol_l): Likewise.
11650 * stdlib/tst-strtod.c (main): Likewise.
11651 * stdlib/tst-strtol.c (main): Likewise.
11652 * stdlib/tst-strtoll.c (main): Likewise.
11653 * string/bits/string2.h (__strcmp_cc): Likewise.
11654 (__strcmp_cg): Likewise.
11655 (__strcspn_c1): Likewise.
11656 (__strcspn_c2): Likewise.
11657 (__strcspn_c3): Likewise.
11658 (__strspn_c1): Likewise.
11659 (__strspn_c2): Likewise.
11660 (__strspn_c3): Likewise.
11661 (__strsep_1c): Likewise.
11662 (__strsep_2c): Likewise.
11663 (__strsep_3c): Likewise.
11664 * string/memccpy.c (__memccpy): Likewise.
11665 * string/stpcpy.c (__stpcpy): Likewise.
11666 * string/strcmp.c (strcmp): Likewise.
11667 * string/strrchr.c (strrchr): Likewise.
11668 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11669 Likewise.
11670 * sysdeps/mach/hurd/getcwd.c
11671 (_hurd_canonicalize_directory_name_internal): Likewise.
11672 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11673 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11674 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11675 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11676 Likewise, in both definitions.
11677 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11678 definitions.
11679 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11680 64] (__bswap_64): Likewise.
11681 * time/test_time.c (main): Likewise.
11682 * time/tzfile.c (__tzfile_read): Likewise.
11683 (__tzfile_compute): Likewise.
11684 * time/tzset.c (__tzset_parse_tz): Likewise.
11685 (tzset_internal): Likewise.
11686 (compute_change): Likewise.
11687 * wcsmbs/wcscat.c (__wcscat): Likewise.
11688 * wcsmbs/wcschr.c (wcschr): Likewise.
11689 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11690 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11691 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11692 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11693 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11694 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11695 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11696 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11697 * wcsmbs/wmemset.c (wmemset): Likewise.
11698
9e54314b
JM
116992013-06-06 Joseph Myers <joseph@codesourcery.com>
11700
11701 * scripts/config.guess: Update to version 2013-05-16.
11702 * scripts/config.sub: Update to version 2013-04-24.
11703 * scripts/install-sh: Update to version 2011-11-20.07.
11704 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11705 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11706
350635a5
OB
117072013-06-06 Ondřej Bílka <neleai@seznam.cz>
11708
11709 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11710 * elf/sln.c: Likewise.
11711 * hurd/hurd/ioctl.h: Likewise.
11712 * hurd/hurdmalloc.c: Likewise.
11713 * hurd/xattr.c: Likewise.
11714 * include/shlib-compat.h: Likewise.
11715 * inet/ruserpass.c: Likewise.
11716 * libio/iofgets_u.c: Likewise.
11717 * libio/iofgetws_u.c: Likewise.
11718 * locale/programs/ld-identification.c: Likewise.
11719 * locale/programs/ld-time.c: Likewise.
11720 * mach/msg-destroy.c: Likewise.
11721 * nss/nss_files/files-netgrp.c: Likewise.
11722 * resolv/res_data.c: Likewise.
11723 * soft-fp/op-1.h: Likewise.
11724 * soft-fp/op-2.h: Likewise.
11725 * soft-fp/op-4.h: Likewise.
11726 * soft-fp/op-common.h: Likewise.
11727 * stdio-common/printf_fphex.c: Likewise.
11728 * stdlib/strtod_l.c: Likewise.
11729 * sunrpc/rpc/clnt.h: Likewise.
11730 * sysdeps/generic/framestate.c: Likewise.
11731 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11732 * sysdeps/i386/bsd-setjmp.S: Likewise.
11733 * sysdeps/i386/__longjmp.S: Likewise.
11734 * sysdeps/i386/setjmp.S: Likewise.
11735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11736 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11753 * sysdeps/ieee754/support.c: Likewise.
11754 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11755 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11756 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11757 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11758 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11759 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11760 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11761 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11762 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11763 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11764 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11765 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11766 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11767 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11768 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11769 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11770 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11772
44a988af
OB
117732013-06-05 Ondřej Bílka <neleai@seznam.cz>
11774
25506f09 11775 * posix/transbug.c: Remove executable mode.
44a988af 11776
9c84384c
JM
117772013-06-05 Joseph Myers <joseph@codesourcery.com>
11778
11779 * crypt/speeds.c: Remove trailing whitespace.
11780 * dlfcn/default.c: Likewise.
11781 * elf/ifuncdep2.c: Likewise.
11782 * elf/ifuncmain1.c: Likewise.
11783 * elf/ifuncmain1vis.c: Likewise.
11784 * elf/testobj.h: Likewise.
11785 * elf/tst-stackguard1.c: Likewise.
11786 * gmon/sys/gmon.h: Likewise.
11787 * hurd/hurdmsg.c: Likewise.
11788 * hurd/new-fd.c: Likewise.
11789 * hurd/ports-get.c: Likewise.
11790 * iconvdata/ibm1008_420.c: Likewise.
11791 * inet/tst-getni1.c: Likewise.
11792 * inet/tst-getni2.c: Likewise.
11793 * libio/ioungetc.c: Likewise.
11794 * libio/wfiledoalloc.c: Likewise.
11795 * manual/libm-err-tab.pl: Likewise.
11796 * math/w_dremf.c: Likewise.
11797 * misc/ftruncate.c: Likewise.
11798 * posix/bug-glob2.c: Likewise.
11799 * posix/tst-pcre.c: Likewise.
11800 * posix/wait4.c: Likewise.
11801 * resolv/README: Likewise.
11802 * resolv/res_debug.h: Likewise.
11803 * resolv/tst-inet_ntop.c: Likewise.
11804 * setjmp/bug269-setjmp.c: Likewise.
11805 * soft-fp/extended.h: Likewise.
11806 * soft-fp/op-1.h: Likewise.
11807 * soft-fp/op-2.h: Likewise.
11808 * soft-fp/op-4.h: Likewise.
11809 * soft-fp/op-8.h: Likewise.
11810 * soft-fp/testit.c: Likewise.
11811 * stdio-common/bug16.c: Likewise.
11812 * stdlib/random.c: Likewise.
11813 * sunrpc/rpcsvc/rquota.x: Likewise.
11814 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11815 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11816 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11817 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11818 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11819 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11820 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11821 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11822 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11823 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11824 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11825 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11826 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11827 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11828 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11829 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11832 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11833 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11834 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11835 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11836 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11837 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11838 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11839 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11841 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11842 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11843 * sysdeps/ieee754/s_lib_version.c: Likewise.
11844 * sysdeps/mach/hurd/check_fds.c: Likewise.
11845 * sysdeps/mach/hurd/getsockname.c: Likewise.
11846 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11847 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11848 * sysdeps/powerpc/bits/link.h: Likewise.
11849 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11850 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11851 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11852 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11853 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11854 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11855 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11856 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11857 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11858 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11859 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11860 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11861 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11862 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11863 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11864 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11865 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11866 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11867 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11869 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11870 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11871 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11872 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11873 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11875 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11876 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11877 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11878 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11879 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11880 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11882 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11883 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11884 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11885 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11886 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11887 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11888 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11889 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11890 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11891 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11892 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11893 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11894 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11895 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11896 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11897 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11898 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11900 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11901 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11902 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11903 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11904 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11905 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11906 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11907 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11908 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11909 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11910 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11911 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11912 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11913 * sysdeps/powerpc/sysdep.h: Likewise.
11914 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11915 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11916 * sysdeps/sh/dl-trampoline.S: Likewise.
11917 * sysdeps/sh/memset.S: Likewise.
11918 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11919 * sysdeps/sh/strlen.S: Likewise.
11920 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11921 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11922 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11923 * sysdeps/sparc/sparc32/rem.S: Likewise.
11924 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11925 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11926 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11927 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11928 * sysdeps/sparc/sparc32/urem.S: Likewise.
11929 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11930 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11931 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11932 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11933 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11934 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11935 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11936 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11937 * sysdeps/unix/bsd/times.c: Likewise.
11938 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11939 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11943 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11944 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11945 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11946 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11947 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11948 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11949 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11950 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11951 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11952 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11953 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11954 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11955 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11956 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11957 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11958 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11959 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11960 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11961 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11962 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11963 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11964 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11965 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11966 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11967 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11968 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11969 * sysdeps/x86_64/strcspn.S: Likewise.
11970
869378a5
RA
119712013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11972
11973 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11974 generated file. Regenerate properly from gen-translit.pl.
11975 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11976 locale/C-translit.h.
11977
840e2943
AS
119782013-06-05 Andreas Schwab <schwab@suse.de>
11979
11980 [BZ #15100]
11981 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11982 week as 6 instead of -1.
11983 * time/tst-strptime.c (day_tests): Add test case.
11984
4c60cb0c
SP
119852013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11986
11987 * sysdeps/generic/math_private.h
11988 (libc_feholdexcept_setround_53bit): Replace with
11989 libc_feholdsetround_53bit.
11990 (libc_feupdateenv_53bit): Replace with
11991 libc_feresetround_53bit.
11992 (SET_RESTORE_ROUND_53BIT): Adjust.
11993
d180203e
SP
119942013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11995
96df079a
SP
11996 * string/test-strchrnul.c: Add copyright header.
11997
d180203e
SP
11998 * posix/tst-getaddrinfo4.c: Increase test timeout.
11999
8b0ccb2d
CD
120002013-06-03 Carlos O'Donell <carlos@redhat.com>
12001
12002 [BZ #15536]
12003 * math/libm-test.inc (MAX_EXP): Remove
12004 (MIN_EXP): Define.
12005 (ulp): Use MIN_EXP - MANT_DIG.
12006 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12007
3b3c4d40
CD
120082013-05-31 Carlos O'Donell <carlos@redhat.com>
12009
12010 * po/be.po: Revert last change.
12011 * po/zh_CN.po: Likewise.
12012 * po/header.pot: Likewise.
12013
fab7ce3f
JM
120142013-05-31 Joseph Myers <joseph@codesourcery.com>
12015
12016 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12017 link-libc-deps to empty as target-specific variable.
12018 * Makerules (link-libc-args): New variable.
12019 (libc-for-link): Likewise.
12020 (link-libc-deps): Likewise.
12021 (lib%.so): Depend on $(link-libc-deps). Link with
12022 $(link-libc-args).
12023 (build-module): Link with $(link-libc-args).
12024 (build-module-asneeded): Likewise.
12025 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12026 list of objects.
12027 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12028 target-specific variable.
12029 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12030 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12031 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12032 libc.
12033 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12034 libc and ld.so.
12035 ($(objpfx)libpcprofile.so): Likewise.
12036 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12037 libc_nonshared.a.
12038 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12039 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12040 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12041 $(link-libc-deps).
12042 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12043 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12044 * login/Makefile ($(objpfx)libutil.so): Likewise.
12045 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12046 * math/Makefile ($(objpfx)libm.so): Likewise.
12047 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12048 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12049 variable instead of depending directly on libc.
12050 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12051 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12052 $(link-libc-deps).
12053 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12054 libc.
12055 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12056 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12057 ($(objpfx)libanl.so): Likewise.
12058 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12059 ld.so.
12060 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12061 $(link-libc-deps).
12062 * sysdeps/i386/fpu/Makefile: Remove file.
12063 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12064 ($(objpfx)libm.so): Remove dependency on ld.so.
12065
eca5920c
PF
120662013-05-30 Patsy Franklin <pfrankli@redhat.com>
12067
12068 [BZ # 15553]
12069 * nis/yp_xdr.c (XDRMAXNAME): Define.
12070 (XDRMAXRECORD): Define.
12071 (xdr_domainname): Use XDRMAXNAME.
12072 (xdr_mapname): Likewise.
12073 (xdr_peername): Likewise.
12074 (xdr_keydat): Use XDRMAXRECORD.
12075 (xdr_valdat): Likewise.
12076
120772013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12078
12079 [BZ #14256]
12080 * manual/errno.texi (ESTALE): Update to account for more than
12081 just NFS file systems.
12082 * sysdeps/gnu/errlist.c: Regenerated.
12083
b9375348
SP
120842013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12085
12086 [BZ #15465]
12087 * elf/Makefile (tests): Add tst-null-argv.
12088 (modules-names): Add tst-null-argv-lib.
12089 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12090 (tst-null-argv-ENV): Set environment for tst-null-argv.
12091 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12092 (RTLD_PROGNAME): New macro.
12093 * elf/tst-null-argv.c: New test case.
12094 * elf/tst-null-argv-lib.c: Library for test case.
12095 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12096 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12097 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12098 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12099 * elf/dl-init.c (call_init): Likewise.
12100 (_dl_init): Likewise.
12101 * elf/dl-load.c (print_search_path): Likewise.
12102 (_dl_map_object): Likewise.
12103 * elf/dl-lookup.c (do_lookup_x): Likewise.
12104 (add_dependency): Likewise.
12105 (_dl_lookup_symbol_x): Likewise.
12106 (_dl_debug_bindings): Likewise.
12107 * elf/dl-open.c (_dl_show_scope): Likewise.
12108 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12109 * elf/dl-version.c (match_symbol): Likewise.
12110 (_dl_check_map_versions): Likewise.
12111 * elf/rtld.c (dl_main): Likewise.
12112 (print_unresolved): Use RTLD_PROGNAME.
12113 (print_missing_version): Likewise.
12114 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12115 (elf_machine_rela): Likewise.
12116 * sysdeps/powerpc/powerpc32/dl-machine.c
12117 (__process_machine_rela): Likewise.
12118 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12119 Likewise.
12120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12121 Likewise.
12122 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12123 Likewise.
12124 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12126 Likewise.
12127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12128 Likewise.
12129 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12130
8a9f20c8
CD
121312013-05-28 Carlos O'Donell <carlos@redhat.com>
12132
12133 * po/be.po: Add descriptive title.
12134 * po/zh_CN.po: Likewise.
12135 * po/header.pot: Likewise.
12136
0e60d68e
MF
121372013-05-28 Mike Frysinger <vapier@gentoo.org>
12138
12139 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12140 error message.
12141 (enlarge_archive): Likewise.
12142
56b672e9
BN
121432013-05-28 Ben North <ben@redfrontdoor.org>
12144
12145 * manual/arith.texi (frexp): It is the magnitude of the return
12146 value which lies in [0.5, 1), not the return value itself.
12147
5e056687
AZ
121482013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12149
12150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12151
2b66ef5d
TS
121522013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12153
528c2405
TS
12154 * stdio-common/bug26.c (main): Correct fscanf template.
12155
07b4c13d
TS
12156 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12157 declare _dl_skip_args.
12158
ec9dd97c
TS
12159 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12160 Don't declare.
12161
2b66ef5d
TS
12162 * manual/platform.texi: Add missing @end deftypefun.
12163
4f8dfe27
JM
121642013-05-24 Joseph Myers <joseph@codesourcery.com>
12165
0323d086
JM
12166 [BZ #15529]
12167 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12168 bit of mantissa of 2^16382.
12169 * math/libm-test.inc (hypot_test_data): Add more tests.
12170
dd4259b9
JM
12171 * math/libm-test.inc: Add drem and pow10 to list of tested
12172 functions.
12173 (pow10_test): New function.
12174 (drem_test): Likewise.
12175 (drem_test_tonearest): Likewise.
12176 (drem_test_towardzero): Likewise.
12177 (drem_test_downward): Likewise.
12178 (drem_test_upward): Likewise.
12179 (main): Call the new functions.
12180
4f8dfe27
JM
12181 * math/libm-test.inc (finite_test_data): Remove.
12182 (finite_test): Run tests from isfinite_test_data.
12183 (gamma_test_data): Remove.
12184 (gamma_test): Run tests from lgamma_test_data.
12185 * sysdeps/i386/fpu/libm-test-ulps: Update.
12186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12187
d116b7c4
AZ
121882013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12189
12190 * manual/platform.texi: Add PowerPC PPR function set documentation.
12191 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12192 implementation.
12193
e96e3767
CD
121942013-05-24 Carlos O'Donell <carlos@redhat.com>
12195
12196 * math/libm-test.inc (MAX_EXP): Define.
12197 (ULPDIFF): Define.
12198 (ulp): New function.
12199 (check_float_internal): Use ULPDIFF.
12200 (cpow_test): Disable failing test.
12201 (check_ulp): Test ulp() implemetnation.
12202 (main): Call check_ulp before starting tests.
12203
b679a606
JM
122042013-05-24 Joseph Myers <joseph@codesourcery.com>
12205
e8bdba36
JM
12206 * math/gen-libm-test.pl (generate_testfile): Do not handle
12207 START_DATA and END_DATA.
12208 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12209 END_DATA.
12210 (acos_tonearest_test_data): Likewise.
12211 (acos_towardzero_test_data): Likewise.
12212 (acos_downward_test_data): Likewise.
12213 (acos_upward_test_data): Likewise.
12214 (acosh_test_data): Likewise.
12215 (asin_test_data): Likewise.
12216 (asin_tonearest_test_data): Likewise.
12217 (asin_towardzero_test_data): Likewise.
12218 (asin_downward_test_data): Likewise.
12219 (asin_upward_test_data): Likewise.
12220 (asinh_test_data): Likewise.
12221 (atan_test_data): Likewise.
12222 (atanh_test_data): Likewise.
12223 (atan2_test_data): Likewise.
12224 (cabs_test_data): Likewise.
12225 (cacos_test_data): Likewise.
12226 (cacosh_test_data): Likewise.
12227 (carg_test_data): Likewise.
12228 (casin_test_data): Likewise.
12229 (casinh_test_data): Likewise.
12230 (catan_test_data): Likewise.
12231 (catanh_test_data): Likewise.
12232 (cbrt_test_data): Likewise.
12233 (ccos_test_data): Likewise.
12234 (ccosh_test_data): Likewise.
12235 (ceil_test_data): Likewise.
12236 (cexp_test_data): Likewise.
12237 (cimag_test_data): Likewise.
12238 (clog_test_data): Likewise.
12239 (clog10_test_data): Likewise.
12240 (conj_test_data): Likewise.
12241 (copysign_test_data): Likewise.
12242 (cos_test_data): Likewise.
12243 (cos_tonearest_test_data): Likewise.
12244 (cos_towardzero_test_data): Likewise.
12245 (cos_downward_test_data): Likewise.
12246 (cos_upward_test_data): Likewise.
12247 (cosh_test_data): Likewise.
12248 (cosh_tonearest_test_data): Likewise.
12249 (cosh_towardzero_test_data): Likewise.
12250 (cosh_downward_test_data): Likewise.
12251 (cosh_upward_test_data): Likewise.
12252 (cpow_test_data): Likewise.
12253 (cproj_test_data): Likewise.
12254 (creal_test_data): Likewise.
12255 (csin_test_data): Likewise.
12256 (csinh_test_data): Likewise.
12257 (csqrt_test_data): Likewise.
12258 (ctan_test_data): Likewise.
12259 (ctan_tonearest_test_data): Likewise.
12260 (ctan_towardzero_test_data): Likewise.
12261 (ctan_downward_test_data): Likewise.
12262 (ctan_upward_test_data): Likewise.
12263 (ctanh_test_data): Likewise.
12264 (ctanh_tonearest_test_data): Likewise.
12265 (ctanh_towardzero_test_data): Likewise.
12266 (ctanh_downward_test_data): Likewise.
12267 (ctanh_upward_test_data): Likewise.
12268 (erf_test_data): Likewise.
12269 (erfc_test_data): Likewise.
12270 (exp_test_data): Likewise.
12271 (exp_tonearest_test_data): Likewise.
12272 (exp_towardzero_test_data): Likewise.
12273 (exp_downward_test_data): Likewise.
12274 (exp_upward_test_data): Likewise.
12275 (exp10_test_data): Likewise.
12276 (exp2_test_data): Likewise.
12277 (expm1_test_data): Likewise.
12278 (fabs_test_data): Likewise.
12279 (fdim_test_data): Likewise.
12280 (finite_test_data): Likewise.
12281 (floor_test_data): Likewise.
12282 (fma_test_data): Likewise.
12283 (fma_towardzero_test_data): Likewise.
12284 (fma_downward_test_data): Likewise.
12285 (fma_upward_test_data): Likewise.
12286 (fmax_test_data): Likewise.
12287 (fmin_test_data): Likewise.
12288 (fmod_test_data): Likewise.
12289 (fpclassify_test_data): Likewise.
12290 (frexp_test_data): Likewise.
12291 (gamma_test_data): Likewise.
12292 (hypot_test_data): Likewise.
12293 (ilogb_test_data): Likewise.
12294 (isfinite_test_data): Likewise.
12295 (isgreater_test_data): Likewise.
12296 (isgreaterequal_test_data): Likewise.
12297 (isinf_test_data): Likewise.
12298 (isless_test_data): Likewise.
12299 (islessequal_test_data): Likewise.
12300 (islessgreater_test_data): Likewise.
12301 (isnan_test_data): Likewise.
12302 (isnormal_test_data): Likewise.
12303 (issignaling_test_data): Likewise.
12304 (isunordered_test_data): Likewise.
12305 (j0_test_data): Likewise.
12306 (j1_test_data): Likewise.
12307 (jn_test_data): Likewise.
12308 (ldexp_test_data): Likewise.
12309 (lgamma_test_data): Likewise.
12310 (lrint_test_data): Likewise.
12311 (lrint_tonearest_test_data): Likewise.
12312 (lrint_towardzero_test_data): Likewise.
12313 (lrint_downward_test_data): Likewise.
12314 (lrint_upward_test_data): Likewise.
12315 (llrint_test_data): Likewise.
12316 (llrint_tonearest_test_data): Likewise.
12317 (llrint_towardzero_test_data): Likewise.
12318 (llrint_downward_test_data): Likewise.
12319 (llrint_upward_test_data): Likewise.
12320 (log_test_data): Likewise.
12321 (log10_test_data): Likewise.
12322 (log1p_test_data): Likewise.
12323 (log2_test_data): Likewise.
12324 (logb_test_data): Likewise.
12325 (logb_downward_test_data): Likewise.
12326 (lround_test_data): Likewise.
12327 (llround_test_data): Likewise.
12328 (modf_test_data): Likewise.
12329 (nearbyint_test_data): Likewise.
12330 (nextafter_test_data): Likewise.
12331 (nexttoward_test_data): Likewise.
12332 (pow_test_data): Likewise.
12333 (pow_tonearest_test_data): Likewise.
12334 (pow_towardzero_test_data): Likewise.
12335 (pow_downward_test_data): Likewise.
12336 (pow_upward_test_data): Likewise.
12337 (remainder_test_data): Likewise.
12338 (remainder_tonearest_test_data): Likewise.
12339 (remainder_towardzero_test_data): Likewise.
12340 (remainder_downward_test_data): Likewise.
12341 (remainder_upward_test_data): Likewise.
12342 (remquo_test_data): Likewise.
12343 (rint_test_data): Likewise.
12344 (rint_tonearest_test_data): Likewise.
12345 (rint_towardzero_test_data): Likewise.
12346 (rint_downward_test_data): Likewise.
12347 (rint_upward_test_data): Likewise.
12348 (round_test_data): Likewise.
12349 (scalb_test_data): Likewise.
12350 (scalbn_test_data): Likewise.
12351 (scalbln_test_data): Likewise.
12352 (signbit_test_data): Likewise.
12353 (sin_test_data): Likewise.
12354 (sin_tonearest_test_data): Likewise.
12355 (sin_towardzero_test_data): Likewise.
12356 (sin_downward_test_data): Likewise.
12357 (sin_upward_test_data): Likewise.
12358 (sincos_test_data): Likewise.
12359 (sinh_test_data): Likewise.
12360 (sinh_tonearest_test_data): Likewise.
12361 (sinh_towardzero_test_data): Likewise.
12362 (sinh_downward_test_data): Likewise.
12363 (sinh_upward_test_data): Likewise.
12364 (sqrt_test_data): Likewise.
12365 (tan_test_data): Likewise.
12366 (tan_tonearest_test_data): Likewise.
12367 (tan_towardzero_test_data): Likewise.
12368 (tan_downward_test_data): Likewise.
12369 (tan_upward_test_data): Likewise.
12370 (tanh_test_data): Likewise.
12371 (tgamma_test_data): Likewise.
12372 (trunc_test_data): Likewise.
12373 (y0_test_data): Likewise.
12374 (y1_test_data): Likewise.
12375 (yn_test_data): Likewise.
12376 (significand_test_data): Likewise.
12377
b679a606
JM
12378 * math/gen-libm-test.pl (@functions): Remove variable.
12379 (generate_testfile): Don't handle START and END lines.
12380 * math/libm-test.inc (START): New macro.
12381 (END): Likewise.
12382 (END_COMPLEX): Likewise.
12383 (acos_test): Use END macro without arguments.
12384 (acos_test_tonearest): Likewise.
12385 (acos_test_towardzero): Likewise.
12386 (acos_test_downward): Likewise.
12387 (acos_test_upward): Likewise.
12388 (acosh_test): Likewise.
12389 (asin_test): Likewise.
12390 (asin_test_tonearest): Likewise.
12391 (asin_test_towardzero): Likewise.
12392 (asin_test_downward): Likewise.
12393 (asin_test_upward): Likewise.
12394 (asinh_test): Likewise.
12395 (atan_test): Likewise.
12396 (atanh_test): Likewise.
12397 (atan2_test): Likewise.
12398 (cabs_test): Likewise.
12399 (cacos_test): Use END_COMPLEX macro without arguments.
12400 (cacosh_test): Likewise.
12401 (carg_test): Use END macro without arguments.
12402 (casin_test): Use END_COMPLEX macro without arguments.
12403 (casinh_test): Likewise.
12404 (catan_test): Likewise.
12405 (catanh_test): Likewise.
12406 (cbrt_test): Use END macro without arguments.
12407 (ccos_test): Use END_COMPLEX macro without arguments.
12408 (ccosh_test): Likewise.
12409 (ceil_test): Use END macro without arguments.
12410 (cexp_test): Use END_COMPLEX macro without arguments.
12411 (cimag_test): Use END macro without arguments.
12412 (clog_test): Use END_COMPLEX macro without arguments.
12413 (clog10_test): Likewise.
12414 (conj_test): Likewise.
12415 (copysign_test): Use END macro without arguments.
12416 (cos_test): Likewise.
12417 (cos_test_tonearest): Likewise.
12418 (cos_test_towardzero): Likewise.
12419 (cos_test_downward): Likewise.
12420 (cos_test_upward): Likewise.
12421 (cosh_test): Likewise.
12422 (cosh_test_tonearest): Likewise.
12423 (cosh_test_towardzero): Likewise.
12424 (cosh_test_downward): Likewise.
12425 (cosh_test_upward): Likewise.
12426 (cpow_test): Use END_COMPLEX macro without arguments.
12427 (cproj_test): Likewise.
12428 (creal_test): Use END macro without arguments.
12429 (csin_test): Use END_COMPLEX macro without arguments.
12430 (csinh_test): Likewise.
12431 (csqrt_test): Likewise.
12432 (ctan_test): Likewise.
12433 (ctan_test_tonearest): Likewise.
12434 (ctan_test_towardzero): Likewise.
12435 (ctan_test_downward): Likewise.
12436 (ctan_test_upward): Likewise.
12437 (ctanh_test): Likewise.
12438 (ctanh_test_tonearest): Likewise.
12439 (ctanh_test_towardzero): Likewise.
12440 (ctanh_test_downward): Likewise.
12441 (ctanh_test_upward): Likewise.
12442 (erf_test): Use END macro without arguments.
12443 (erfc_test): Likewise.
12444 (exp_test): Likewise.
12445 (exp_test_tonearest): Likewise.
12446 (exp_test_towardzero): Likewise.
12447 (exp_test_downward): Likewise.
12448 (exp_test_upward): Likewise.
12449 (exp10_test): Likewise.
12450 (exp2_test): Likewise.
12451 (expm1_test): Likewise.
12452 (fabs_test): Likewise.
12453 (fdim_test): Likewise.
12454 (finite_test): Likewise.
12455 (floor_test): Likewise.
12456 (fma_test): Likewise.
12457 (fma_test_towardzero): Likewise.
12458 (fma_test_downward): Likewise.
12459 (fma_test_upward): Likewise.
12460 (fmax_test): Likewise.
12461 (fmin_test): Likewise.
12462 (fmod_test): Likewise.
12463 (fpclassify_test): Likewise.
12464 (frexp_test): Likewise.
12465 (gamma_test): Likewise.
12466 (hypot_test): Likewise.
12467 (ilogb_test): Likewise.
12468 (isfinite_test): Likewise.
12469 (isgreater_test): Likewise.
12470 (isgreaterequal_test): Likewise.
12471 (isinf_test): Likewise.
12472 (isless_test): Likewise.
12473 (islessequal_test): Likewise.
12474 (islessgreater_test): Likewise.
12475 (isnan_test): Likewise.
12476 (isnormal_test): Likewise.
12477 (issignaling_test): Likewise.
12478 (isunordered_test): Likewise.
12479 (j0_test): Likewise.
12480 (j1_test): Likewise.
12481 (jn_test): Likewise.
12482 (ldexp_test): Likewise.
12483 (lgamma_test): Likewise.
12484 (lrint_test): Likewise.
12485 (lrint_test_tonearest): Likewise.
12486 (lrint_test_towardzero): Likewise.
12487 (lrint_test_downward): Likewise.
12488 (lrint_test_upward): Likewise.
12489 (llrint_test): Likewise.
12490 (llrint_test_tonearest): Likewise.
12491 (llrint_test_towardzero): Likewise.
12492 (llrint_test_downward): Likewise.
12493 (llrint_test_upward): Likewise.
12494 (log_test): Likewise.
12495 (log10_test): Likewise.
12496 (log1p_test): Likewise.
12497 (log2_test): Likewise.
12498 (logb_test): Likewise.
12499 (logb_test_downward): Likewise.
12500 (lround_test): Likewise.
12501 (llround_test): Likewise.
12502 (modf_test): Likewise.
12503 (nearbyint_test): Likewise.
12504 (nextafter_test): Likewise.
12505 (nexttoward_test): Likewise.
12506 (pow_test): Likewise.
12507 (pow_test_tonearest): Likewise.
12508 (pow_test_towardzero): Likewise.
12509 (pow_test_downward): Likewise.
12510 (pow_test_upward): Likewise.
12511 (remainder_test): Likewise.
12512 (remainder_test_tonearest): Likewise.
12513 (remainder_test_towardzero): Likewise.
12514 (remainder_test_downward): Likewise.
12515 (remainder_test_upward): Likewise.
12516 (remquo_test): Likewise.
12517 (rint_test): Likewise.
12518 (rint_test_tonearest): Likewise.
12519 (rint_test_towardzero): Likewise.
12520 (rint_test_downward): Likewise.
12521 (rint_test_upward): Likewise.
12522 (round_test): Likewise.
12523 (scalb_test): Likewise.
12524 (scalbn_test): Likewise.
12525 (scalbln_test): Likewise.
12526 (signbit_test): Likewise.
12527 (sin_test): Likewise.
12528 (sin_test_tonearest): Likewise.
12529 (sin_test_towardzero): Likewise.
12530 (sin_test_downward): Likewise.
12531 (sin_test_upward): Likewise.
12532 (sincos_test): Likewise.
12533 (sinh_test): Likewise.
12534 (sinh_test_tonearest): Likewise.
12535 (sinh_test_towardzero): Likewise.
12536 (sinh_test_downward): Likewise.
12537 (sinh_test_upward): Likewise.
12538 (sqrt_test): Likewise.
12539 (tan_test): Likewise.
12540 (tan_test_tonearest): Likewise.
12541 (tan_test_towardzero): Likewise.
12542 (tan_test_downward): Likewise.
12543 (tan_test_upward): Likewise.
12544 (tanh_test): Likewise.
12545 (tgamma_test): Likewise.
12546 (trunc_test): Likewise.
12547 (y0_test): Likewise.
12548 (y1_test): Likewise.
12549 (yn_test): Likewise.
12550 (significand_test): Likewise.
12551
bae143d2
OB
125522013-05-24 Ondřej Bílka <neleai@seznam.cz>
12553
12554 [BZ #15381]
12555 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12556
9323d39b
EM
125572013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12558
d4ea44a0 12559 [BZ #14894]
9323d39b
EM
12560 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12561 __ppc_mdoio and __ppc_mdoom.
12562 * manual/platform.texi: Document new functions __ppc_yield,
12563 __ppc_mdoio and __ppc_mdoom.
12564
13e23af7
CD
125652013-05-22 Carlos O'Donell <carlos@redhat.com>
12566
12567 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12568 (main): Mention "tls" pseudo-hwcap is legacy.
12569 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12570
351fe550
JM
125712013-05-22 Joseph Myers <joseph@codesourcery.com>
12572
12573 * math/gen-libm-test.pl (parse_args): Output only string of
12574 arguments as text for test name, not full call or descriptions of
12575 tests for extra outputs.
12576 (generate_testfile): Do not pass function name to parse_args.
12577 Generate this_func variable from START.
12578 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12579 field to arg_str.
12580 (struct test_ff_f_data): Likewise.
12581 (test_ff_f_data_nexttoward): Likewise.
12582 (struct test_fi_f_data): Likewise.
12583 (struct test_fl_f_data): Likewise.
12584 (struct test_if_f_data): Likewise.
12585 (struct test_fff_f_data): Likewise.
12586 (struct test_c_f_data): Likewise.
12587 (struct test_f_f1_data): Likewise. Remove field extra_name.
12588 (struct test_fF_f1_data): Likewise.
12589 (struct test_ffI_f1_data): Likewise.
12590 (struct test_c_c_data): Rename test_name field to arg_str.
12591 (struct test_cc_c_data): Likewise.
12592 (struct test_f_i_data): Likewise.
12593 (struct test_ff_i_data): Likewise.
12594 (struct test_f_l_data): Likewise.
12595 (struct test_f_L_data): Likewise.
12596 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12597 and extra2_name.
12598 (COMMON_TEST_SETUP): New macro.
12599 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12600 (COMMON_TEST_CLEANUP): Likewise.
12601 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12602 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12603 macros.
12604 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12605 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12606 macros.
12607 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12608 (RUN_TEST_fff_f): Take argument string. Call new setup and
12609 cleanup macros.
12610 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12611 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12612 macros.
12613 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12614 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12615 macros.
12616 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12617 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12618 cleanup macros.
12619 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12620 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12621 cleanup macros.
12622 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12623 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12624 cleanup macros.
12625 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12626 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12627 macros.
12628 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12629 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12630 macros.
12631 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12632 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12633 macros.
12634 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12635 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12636 cleanup macros.
12637 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12638 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12639 cleanup macros.
12640 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12641 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12642 macros.
12643 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12644 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12645 cleanup macros.
12646 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12647 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12648 macros.
12649 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12650 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12651 macros.
12652 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12653 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12654 cleanup macros.
12655 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12656
85118d4d
EBM
126572013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12658
12659 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12660 to _sifields.sigfault.
12661 (si_addr_lsb): Define new macro.
12662 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12663 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12664 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12665
7a44c18f
CD
126662013-05-03 Carlos O'Donell <carlos at redhat.com>
12667
12668 [BZ #15441]
12669 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12670 returns -1.
12671 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12672 null return -1.
12673 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12674 loading the domain.
12675
b50a7181
JM
126762013-05-22 Joseph Myers <joseph@codesourcery.com>
12677
12678 * math/gen-libm-test.pl (parse_args): Do not include expected
12679 result in test name.
12680 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12682 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12683 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12684 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12686
051063c8
SP
126872013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12688
3ce9e010
SP
12689 * benchtests/Makefile: Sort function entries.
12690
051063c8
SP
12691 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12692 tanh, asinh, acosh, atanh.
12693 * benchtests/acos-inputs: New file.
12694 * benchtests/acosh-inputs: New file.
12695 * benchtests/asin-inputs: New file.
12696 * benchtests/asinh-inputs: New file.
12697 * benchtests/atanh-inputs: New file.
12698 * benchtests/cosh-inputs: New file.
12699 * benchtests/log-inputs: New file.
12700 * benchtests/sinh-inputs: New file.
12701 * benchtests/tanh-inputs: New file.
12702
47c22455
DL
127032013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12704
12705 [BZ #15339]
12706 * posix/tst-getaddrinfo4.c: New test.
12707 * posix/Makefile (tests): Add it.
12708
3d04f5db
SP
127092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12710
12711 [BZ #15339]
12712 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12713 when no services were used.
12714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12715 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12716
d5dd6189
AS
127172013-05-21 Andreas Schwab <schwab@suse.de>
12718
12719 [BZ #15014]
12720 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12721 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12722 successful.
12723 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12724 redundant variable declarations and reallocation of buffer when
12725 parsing as IPv6 address. Always set NSS status when called from
12726 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12727 buffer too small. Correct computation of needed size.
12728 * nss/Makefile (tests): Add test-digits-dots.
12729 * nss/test-digits-dots.c: New test.
12730
fef94eab
SP
127312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12732
12733 * benchtests/Makefile: Remove instructions for adding
12734 benchmark tests.
12735 * benchtests/README: New file to explain how to execute and
12736 enhance the benchmark tests.
12737
e39adf43
AS
127382013-05-21 Andreas Schwab <schwab@suse.de>
12739
12740 [BZ #15493]
12741 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12742 * setjmp/tst-sigsetjmp.c: New test.
12743
b2b671b6
OB
127442013-05-20 Ondřej Bílka <neleai@seznam.cz>
12745
12746 * sysdeps/x86_64/memset.S (memset): New implementation.
12747 (__bzero): Likewise.
12748 (__memset_tail): New function.
12749
2d48b41c
OB
127502013-05-20 Ondřej Bílka <neleai@seznam.cz>
12751
12752 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12753 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12754 __memcpy_sse2_unaligned ifunc selection.
12755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12756 Add memcpy-sse2-unaligned.S.
12757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12758 Add: __memcpy_sse2_unaligned.
12759
f16cc3eb
JM
127602013-05-19 Joseph Myers <joseph@codesourcery.com>
12761
3e694268
JM
12762 [BZ #15490]
12763 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12764 math_force_eval before restoring floating-point envrionment.
12765 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12767 Likewise.
12768 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12769 <math_private.h>.
12770 (__nearbyintl): Use math_force_eval before restoring
12771 floating-point environment.
12772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12773
db62a907
JM
12774 * math/gen-libm-test.pl (special_functions): Remove.
12775 (parse_args): Don't handle TEST_extra. Handle functions with no
12776 return value.
12777 * math/libm-test.inc (struct test_sincos_data): Replace with
12778 struct test_fFF_11_data.
12779 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12780 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12781 (sincos_test_data): Change element type to struct
12782 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12783 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12784 RUN_TEST_LOOP_sincos.
12785 * math/README.libm-test: Don't mention special handling of
12786 individual functions.
12787 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12788 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12789 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12790 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12791 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12793
f16cc3eb
JM
12794 * math/gen-libm-test.pl (get_variable): Remove function.
12795 (parse_args): Don't show pointer parameters to call in test
12796 names. Use "extra output N" in test names for extra outputs
12797 rather than naming variables.
12798
3779b5b6
JM
127992013-05-18 Joseph Myers <joseph@codesourcery.com>
12800
2ee094ff
JM
12801 [BZ #15488]
12802 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12803 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12804 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12805 double tests.
12806 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12807 disable.
12808 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12809 check_long_double.
12810
3779b5b6
JM
12811 * math/gen-libm-test.pl (@tests): Remove variable.
12812 ($count): Likewise.
12813 (new_test): Remove function.
12814 (show_exceptions): New function.
12815 (special_functions): Use show_exceptions instead of new_test.
12816 (parse_args): Likewise.
12817 (generate_testfile): Pass only function name in generated call to
12818 print_max_error or print_complex_max_error.
12819 (get_ulps): Do not handle complex tests specially.
12820 (output_test): Rename to ...
12821 (get_all_ulps_for_test): ... this. Return a string rather than
12822 printing to a file. Require ulps to be present.
12823 (output_ulps): Generate arrays rather than #defines.
12824 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12825 (struct ulp_data): New type.
12826 (BUILD_COMPLEX_ULP): Remove macro.
12827 (compare_ulp_data): New function.
12828 (find_ulps): Likewise.
12829 (find_test_ulps): Likewise.
12830 (find_function_ulps): Likewise.
12831 (find_complex_function_ulps): Likewise.
12832 (print_max_error): Determine allowed ulps using
12833 find_function_ulps.
12834 (print_complex_max_error): Determine allowed ulps using
12835 find_complex_function_ulps.
12836 (check_float_internal): Determine max ulps using find_test_ulps.
12837 (check_float): Do not take max_ulp parameter. Update call to
12838 check_float_internal.
12839 (check_complex): Likewise.
12840 (check_int): Do not take max_ulp parameter.
12841 (check_long): Likewise.
12842 (check_bool): Likewise.
12843 (check_longlong): Likewise.
12844 (struct test_f_f_data): Remove max_ulp field.
12845 (struct test_ff_f_data): Likewise.
12846 (struct test_ff_f_data_nexttoward): Likewise.
12847 (struct test_fi_f_data): Likewise.
12848 (struct test_fl_f_data): Likewise.
12849 (struct test_if_f_data): Likewise.
12850 (struct test_fff_f_data): Likewise.
12851 (struct test_c_f_data): Likewise.
12852 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12853 (struct test_fF_f1_data): Likewise.
12854 (struct test_ffI_f1_data): Likewise.
12855 (struct test_c_c_data): Remove max_ulp field.
12856 (struct test_cc_c_data): Likewise.
12857 (struct test_f_i_data): Likewise.
12858 (struct test_ff_i_data): Likewise.
12859 (struct test_f_l_data): Likewise.
12860 (struct test_f_L_data): Likewise.
12861 (struct test_sincos_data): Likewise.
12862 (RUN_TEST_f_f): Do not handle ulps.
12863 (RUN_TEST_LOOP_f_f): Likewise.
12864 (RUN_TEST_2_f): Likewise.
12865 (RUN_TEST_LOOP_2_f): Likewise.
12866 (RUN_TEST_fff_f): Likewise.
12867 (RUN_TEST_LOOP_fff_f): Likewise.
12868 (RUN_TEST_c_f): Likewise.
12869 (RUN_TEST_LOOP_c_f): Likewise.
12870 (RUN_TEST_f_f1): Likewise.
12871 (RUN_TEST_LOOP_f_f1): Likewise.
12872 (RUN_TEST_fF_f1): Likewise.
12873 (RUN_TEST_LOOP_fF_f1): Likewise.
12874 (RUN_TEST_fI_f1): Likewise.
12875 (RUN_TEST_LOOP_fI_f1): Likewise.
12876 (RUN_TEST_ffI_f1): Likewise.
12877 (RUN_TEST_LOOP_ffI_f1): Likewise.
12878 (RUN_TEST_c_c): Likewise.
12879 (RUN_TEST_LOOP_c_c): Likewise.
12880 (RUN_TEST_cc_c): Likewise.
12881 (RUN_TEST_LOOP_cc_c): Likewise.
12882 (RUN_TEST_f_i): Likewise.
12883 (RUN_TEST_LOOP_f_i): Likewise.
12884 (RUN_TEST_f_i_tg): Likewise.
12885 (RUN_TEST_LOOP_f_i_tg): Likewise.
12886 (RUN_TEST_ff_i_tg): Likewise.
12887 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12888 (RUN_TEST_f_b): Likewise.
12889 (RUN_TEST_LOOP_f_b): Likewise.
12890 (RUN_TEST_f_b_tg): Likewise.
12891 (RUN_TEST_LOOP_f_b_tg): Likewise.
12892 (RUN_TEST_f_l): Likewise.
12893 (RUN_TEST_LOOP_f_l): Likewise.
12894 (RUN_TEST_f_L): Likewise.
12895 (RUN_TEST_LOOP_f_L): Likewise.
12896 (RUN_TEST_sincos): Likewise.
12897 (RUN_TEST_LOOP_sincos): Likewise.
12898
8269107f
JM
128992013-05-17 Joseph Myers <joseph@codesourcery.com>
12900
bb38759d
JM
12901 [BZ #15480]
12902 [BZ #15485]
12903 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12904 main case of finite arguments, set rounding mode to FE_TONEAREST
12905 and discard exceptions.
12906 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12907 exceptions.
12908 (remainder_tonearest_test_data): New variable.
12909 (remainder_test_tonearest): New function.
12910 (remainder_towardzero_test_data): New variable.
12911 (remainder_test_towardzero): New function.
12912 (remainder_downward_test_data): New variable.
12913 (remainder_test_downward): New function.
12914 (remainder_upward_test_data): New variable.
12915 (remainder_test_upward): New function.
12916 (main): Call the new test functions.
12917
a00bdcf0
JM
12918 * math/libm-test.inc (struct test_f_f1_data): Remove field
12919 extra_init.
12920 (struct test_fF_f1_data): Likewise.
12921 (struct test_ffI_f1_data): Likewise.
12922 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12923 based on value of EXTRA_EXPECTED.
12924 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12925 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12926 EXTRA_VAR based on value of EXTRA_EXPECTED.
12927 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12928 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12929 EXTRA_VAR based on value of EXTRA_EXPECTED.
12930 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12931 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12932 EXTRA_VAR based on value of EXTRA_EXPECTED.
12933 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12934 * math/gen-libm-test.pl (parse_args): Don't output initializers
12935 for extra output values.
12936
de407f79
JM
12937 * math/libm-test.inc (check_int): Expect result to be exactly
12938 equal to expected value and do not handle ulps.
12939 (check_long): Likewise.
12940 (check_longlong): Likewise.
12941
8269107f
JM
12942 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12943 exceptions.
12944 (cimag_test_data): Likewise.
12945 (conj_test_data): Likewise.
12946 (copysign_test_data): Likewise.
12947 (cproj_test_data): Likewise.
12948 (creal_test_data): Likewise.
12949 (fabs_test_data): Likewise.
12950 (fdim_test_data): Likewise.
12951 (finite_test_data): Likewise.
12952 (floor_test_data): Likewise.
12953 (fmax_test_data): Likewise.
12954 (fmin_test_data): Likewise.
12955 (fmod_test_data): Likewise.
12956 (fpclassify_test_data): Likewise.
12957 (frexp_test_data): Likewise.
12958 (ilogb_test_data): Likewise.
12959 (isfinite_test_data): Likewise.
12960 (isgreater_test_data): Likewise.
12961 (isgreaterequal_test_data): Likewise.
12962 (isinf_test_data): Likewise.
12963 (isless_test_data): Likewise.
12964 (islessequal_test_data): Likewise.
12965 (islessgreater_test_data): Likewise.
12966 (isnan_test_data): Likewise.
12967 (isnormal_test_data): Likewise.
12968 (issignaling_test_data): Likewise.
12969 (isunordered_test_data): Likewise.
12970 (ldexp_test_data): Likewise.
12971 (lrint_test_data): Likewise.
12972 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12973 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12974 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12975 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12976 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12977 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12978 test input.
12979 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12980 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12981 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12982 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12983 that test input.
12984 (lrint_downward_test_data): Test for "inexact" exceptions.
12985 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12986 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12987 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12988 test input.
12989 (lrint_upward_test_data): Test for "inexact" exceptions.
12990 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12991 test input.
12992 (llrint_test_data): Test for "inexact" exceptions.
12993 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12994 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12995 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12996 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12997 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12998 (llrint_downward_test_data): Test for "inexact" exceptions.
12999 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13000 (llrint_upward_test_data): Test for "inexact" exceptions.
13001 (logb_test_data): Likewise.
13002 (logb_downward_test_data): Likewise.
13003 (nextafter_test_data): Likewise.
13004 (nexttoward_test_data): Likewise.
13005 (remainder_test_data): Likewise.
13006 (remquo_test_data): Likewise.
13007 (scalbn_test_data): Likewise.
13008 (scalbln_test_data): Likewise.
13009 (signbit_test_data): Likewise.
13010 (sqrt_test_data): Likewise.
13011 (significand_test_data): Likewise.
13012
48a18de1
SP
130132013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13014
13015 [BZ #15424]
13016 * benchtests/bench-modf.c (struct args): Mark arg0 as
13017 volatile.
13018 * scripts/bench.pl: Mark members of struct args as volatile.
13019
13d3b41a
AZ
130202013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13021
68191c1d 13022 [BZ # 15497]
13d3b41a
AZ
13023 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13024 negative infinity on POWER6 or lower.
13025 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13026
2848b105
MR
130272013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13028
13029 [BZ #15442]
13030 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13031 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13032 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13033 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13034 (_FP_SETQNAN): New macro.
13035 (_FP_SETQNAN_SEMIRAW): Likewise.
13036 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13037 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13038 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13039 (FP_EXTEND): Use _FP_FRAC_SNANP.
13040 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13041 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13042 into account.
13043 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13044 New macro.
13045 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13046 Likewise.
13047
323e5cb7
JM
130482013-05-16 Joseph Myers <joseph@codesourcery.com>
13049
c58b274f
JM
13050 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13051 with DIVIDE_BY_ZERO_EXCEPTION.
13052 (gamma_test_data): Likewise.
13053 (lgamma_test_data): Likewise.
13054 (log_test_data): Likewise.
13055 (log10_test_data): Likewise.
13056 (log2_test_data): Likewise.
13057 (tgamma_test_data): Likewise.
13058
0ab34904
JM
13059 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13060 (acos_test_tonearest): Likewise.
13061 (acos_test_towardzero): Likewise.
13062 (acos_test_downward): Likewise.
13063 (acos_test_upward): Likewise.
13064 (acosh_test): Likewise.
13065 (asin_test): Likewise.
13066 (asin_test_tonearest): Likewise.
13067 (asin_test_towardzero): Likewise.
13068 (asin_test_downward): Likewise.
13069 (asin_test_upward): Likewise.
13070 (asinh_test): Likewise.
13071 (atan_test): Likewise.
13072 (atanh_test): Likewise.
13073 (atan2_test): Likewise.
13074 (cabs_test): Likewise.
13075 (cacos_test): Likewise.
13076 (cacosh_test): Likewise.
13077 (casin_test): Likewise.
13078 (casinh_test): Likewise.
13079 (catan_test): Likewise.
13080 (catanh_test): Likewise.
13081 (cbrt_test): Likewise.
13082 (ccos_test): Likewise.
13083 (ccosh_test): Likewise.
13084 (cexp_test): Likewise.
13085 (clog_test): Likewise.
13086 (clog10_test): Likewise.
13087 (cos_test): Likewise.
13088 (cos_test_tonearest): Likewise.
13089 (cos_test_towardzero): Likewise.
13090 (cos_test_downward): Likewise.
13091 (cos_test_upward): Likewise.
13092 (cosh_test): Likewise.
13093 (cosh_test_tonearest): Likewise.
13094 (cosh_test_towardzero): Likewise.
13095 (cosh_test_downward): Likewise.
13096 (cosh_test_upward): Likewise.
13097 (cpow_test): Likewise.
13098 (csin_test): Likewise.
13099 (csinh_test): Likewise.
13100 (csqrt_test): Likewise.
13101 (ctan_test): Likewise.
13102 (ctan_test_tonearest): Likewise.
13103 (ctan_test_towardzero): Likewise.
13104 (ctan_test_downward): Likewise.
13105 (ctan_test_upward): Likewise.
13106 (ctanh_test): Likewise.
13107 (ctanh_test_tonearest): Likewise.
13108 (ctanh_test_towardzero): Likewise.
13109 (ctanh_test_downward): Likewise.
13110 (ctanh_test_upward): Likewise.
13111 (erf_test): Likewise.
13112 (erfc_test): Likewise.
13113 (exp_test): Likewise.
13114 (exp_test_tonearest): Likewise.
13115 (exp_test_towardzero): Likewise.
13116 (exp_test_downward): Likewise.
13117 (exp_test_upward): Likewise.
13118 (exp10_test): Likewise.
13119 (exp2_test): Likewise.
13120 (expm1_test): Likewise.
13121 (fmod_test): Likewise.
13122 (gamma_test): Likewise.
13123 (hypot_test): Likewise.
13124 (j0_test): Likewise.
13125 (j1_test): Likewise.
13126 (jn_test): Likewise.
13127 (lgamma_test): Likewise.
13128 (log_test): Likewise.
13129 (log10_test): Likewise.
13130 (log1p_test): Likewise.
13131 (log2_test): Likewise.
13132 (logb_test_downward): Likewise.
13133 (pow_test): Likewise.
13134 (pow_test_tonearest): Likewise.
13135 (pow_test_towardzero): Likewise.
13136 (pow_test_downward): Likewise.
13137 (pow_test_upward): Likewise.
13138 (remainder_test): Likewise.
13139 (remquo_test): Likewise.
13140 (sin_test): Likewise.
13141 (sin_test_tonearest): Likewise.
13142 (sin_test_towardzero): Likewise.
13143 (sin_test_downward): Likewise.
13144 (sin_test_upward): Likewise.
13145 (sincos_test): Likewise.
13146 (sinh_test): Likewise.
13147 (sinh_test_tonearest): Likewise.
13148 (sinh_test_towardzero): Likewise.
13149 (sinh_test_downward): Likewise.
13150 (sinh_test_upward): Likewise.
13151 (sqrt_test): Likewise.
13152 (tan_test): Likewise.
13153 (tan_test_tonearest): Likewise.
13154 (tan_test_towardzero): Likewise.
13155 (tan_test_downward): Likewise.
13156 (tan_test_upward): Likewise.
13157 (tanh_test): Likewise.
13158 (tgamma_test): Likewise.
13159 (y0_test): Likewise.
13160 (y1_test): Likewise.
13161 (yn_test): Likewise.
13162
323e5cb7
JM
13163 * math/gen-libm-test.pl (adjust_arg): Remove function.
13164 (special_function): Remove argument $in_func. Only handle
13165 generating output for tables of tests, not inside functions.
13166 (parse_args): Likewise.
13167 (generate_testfile): Remove variable $in_func. Update call to
13168 parse_args.
13169 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13170 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13171 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13172 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13173 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13174 (MAX_VALUE_INIT): Rename macro to max_value.
13175 (MIN_VALUE_INIT): Rename macro to min_value.
13176 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13177 (plus_zero): Remove variable.
13178 (minus_zero): Likewise.
13179 (plus_infty): Likewise.
13180 (minus_infty): Likewise.
13181 (qnan_value): Likewise.
13182 (max_value): Likewise.
13183 (min_value): Likewise.
13184 (min_subnorm_value): Likewise.
13185
e054f494
RA
131862013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13187
13188 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13189 uint64_t or uint32_t usage.
13190 * crypt/sha256-block.c: Likewise.
13191 * crypt/sha256-crypt.c: Likewise.
13192 * crypt/sha256.c: Likewise.
13193 * crypt/sha512-block.c: Likewise.
13194 * crypt/sha512-crypt.c: Likewise.
13195 * crypt/sha512.c: Likewise.
13196 * debug/backtrace-tst.c: Likewise.
13197 * debug/pcprofiledump.c: Likewise.
13198 * elf/cache.c: Likewise.
13199 * elf/dl-cache.c: Likewise.
13200 * elf/dl-misc.c: Likewise.
13201 * elf/dl-profile.c: Likewise.
13202 * elf/dl-support.c: Likewise.
13203 * elf/ldconfig.c: Likewise.
13204 * elf/sprof.c: Likewise.
13205 * iconv/dummy-repertoire.c: Likewise.
13206 * iconv/iconv_charmap.c: Likewise.
13207 * iconv/skeleton.c: Likewise.
13208 * iconvdata/8bit-generic.c: Likewise.
13209 * iconvdata/cp737.h: Likewise.
13210 * iconvdata/cp775.h: Likewise.
13211 * iconvdata/ibm1008.h: Likewise.
13212 * iconvdata/ibm1025.h: Likewise.
13213 * iconvdata/ibm1046.h: Likewise.
13214 * iconvdata/ibm1097.h: Likewise.
13215 * iconvdata/ibm1112.h: Likewise.
13216 * iconvdata/ibm1122.h: Likewise.
13217 * iconvdata/ibm1123.h: Likewise.
13218 * iconvdata/ibm1124.h: Likewise.
13219 * iconvdata/ibm1129.h: Likewise.
13220 * iconvdata/ibm1130.h: Likewise.
13221 * iconvdata/ibm1132.h: Likewise.
13222 * iconvdata/ibm1133.h: Likewise.
13223 * iconvdata/ibm1137.h: Likewise.
13224 * iconvdata/ibm1140.h: Likewise.
13225 * iconvdata/ibm1141.h: Likewise.
13226 * iconvdata/ibm1142.h: Likewise.
13227 * iconvdata/ibm1143.h: Likewise.
13228 * iconvdata/ibm1144.h: Likewise.
13229 * iconvdata/ibm1145.h: Likewise.
13230 * iconvdata/ibm1146.h: Likewise.
13231 * iconvdata/ibm1147.h: Likewise.
13232 * iconvdata/ibm1148.h: Likewise.
13233 * iconvdata/ibm1149.h: Likewise.
13234 * iconvdata/ibm1153.h: Likewise.
13235 * iconvdata/ibm1154.h: Likewise.
13236 * iconvdata/ibm1155.h: Likewise.
13237 * iconvdata/ibm1156.h: Likewise.
13238 * iconvdata/ibm1157.h: Likewise.
13239 * iconvdata/ibm1158.h: Likewise.
13240 * iconvdata/ibm1160.h: Likewise.
13241 * iconvdata/ibm1161.h: Likewise.
13242 * iconvdata/ibm1162.h: Likewise.
13243 * iconvdata/ibm1163.h: Likewise.
13244 * iconvdata/ibm1164.h: Likewise.
13245 * iconvdata/ibm1166.h: Likewise.
13246 * iconvdata/ibm1167.h: Likewise.
13247 * iconvdata/ibm12712.h: Likewise.
13248 * iconvdata/ibm1390.h: Likewise.
13249 * iconvdata/ibm1399.h: Likewise.
13250 * iconvdata/ibm16804.h: Likewise.
13251 * iconvdata/ibm4517.h: Likewise.
13252 * iconvdata/ibm4899.h: Likewise.
13253 * iconvdata/ibm4909.h: Likewise.
13254 * iconvdata/ibm4971.h: Likewise.
13255 * iconvdata/ibm5347.h: Likewise.
13256 * iconvdata/ibm803.h: Likewise.
13257 * iconvdata/ibm856.h: Likewise.
13258 * iconvdata/ibm901.h: Likewise.
13259 * iconvdata/ibm902.h: Likewise.
13260 * iconvdata/ibm9030.h: Likewise.
13261 * iconvdata/ibm9066.h: Likewise.
13262 * iconvdata/ibm921.h: Likewise.
13263 * iconvdata/ibm922.h: Likewise.
13264 * iconvdata/ibm9448.h: Likewise.
13265 * iconvdata/isiri-3342.h: Likewise.
13266 * iconvdata/jis0201.h: Likewise.
13267 * include/link.h: Likewise.
13268 * include/netdb.h: Likewise.
13269 * inet/check_native.c: Likewise.
13270 * inet/check_pf.c: Likewise.
13271 * inet/getipv4sourcefilter.c: Likewise.
13272 * inet/getnameinfo.c: Likewise.
13273 * inet/getsourcefilter.c: Likewise.
13274 * inet/htonl.c: Likewise.
13275 * inet/setipv4sourcefilter.c: Likewise.
13276 * inet/setsourcefilter.c: Likewise.
13277 * inet/test-inet6_opt.c: Likewise.
13278 * inet/tst-network.c: Likewise.
13279 * locale/C-collate.c: Likewise.
13280 * locale/C-ctype.c: Likewise.
13281 * locale/C-time.c: Likewise.
13282 * locale/C-translit.h: Likewise.
13283 * locale/loadarchive.c: Likewise.
13284 * locale/programs/3level.h: Likewise.
13285 * locale/programs/charmap.c: Likewise.
13286 * locale/programs/charmap.h: Likewise.
13287 * locale/programs/ld-address.c: Likewise.
13288 * locale/programs/ld-collate.c: Likewise.
13289 * locale/programs/ld-ctype.c: Likewise.
13290 * locale/programs/ld-identification.c: Likewise.
13291 * locale/programs/ld-measurement.c: Likewise.
13292 * locale/programs/ld-messages.c: Likewise.
13293 * locale/programs/ld-monetary.c: Likewise.
13294 * locale/programs/ld-name.c: Likewise.
13295 * locale/programs/ld-numeric.c: Likewise.
13296 * locale/programs/ld-paper.c: Likewise.
13297 * locale/programs/ld-telephone.c: Likewise.
13298 * locale/programs/ld-time.c: Likewise.
13299 * locale/programs/linereader.c: Likewise.
13300 * locale/programs/locale.c: Likewise.
13301 * locale/programs/locarchive.c: Likewise.
13302 * locale/programs/locfile.h: Likewise.
13303 * locale/programs/repertoire.c: Likewise.
13304 * locale/programs/simple-hash.c: Likewise.
13305 * locale/programs/simple-hash.h: Likewise.
13306 * malloc/memusage.c: Likewise.
13307 * malloc/memusagestat.c: Likewise.
13308 * nis/nis_defaults.c: Likewise.
13309 * nis/nis_hash.c: Likewise.
13310 * nis/nis_print.c: Likewise.
13311 * nis/nis_xdr.c: Likewise.
13312 * nscd/connections.c: Likewise.
13313 * nscd/hstcache.c: Likewise.
13314 * nscd/nscd_gethst_r.c: Likewise.
13315 * nscd/nscd_getserv_r.c: Likewise.
13316 * nscd/nscd_helper.c: Likewise.
13317 * nscd/servicescache.c: Likewise.
13318 * nss/makedb.c: Likewise.
13319 * nss/nss_db/db-XXX.c: Likewise.
13320 * nss/nss_db/db-initgroups.c: Likewise.
13321 * nss/nss_db/db-netgrp.c: Likewise.
13322 * nss/nss_files/files-network.c: Likewise.
13323 * nss/nss_files/files-parse.c: Likewise.
13324 * posix/bug-regex5.c: Likewise.
13325 * posix/fnmatch_loop.c: Likewise.
13326 * posix/regcomp.c: Likewise.
13327 * posix/regexec.c: Likewise.
13328 * posix/tst-rfc3484-2.c: Likewise.
13329 * posix/tst-rfc3484-3.c: Likewise.
13330 * posix/tst-rfc3484.c: Likewise.
13331 * resolv/nss_dns/dns-canon.c: Likewise.
13332 * resolv/nss_dns/dns-network.c: Likewise.
13333 * resolv/res_init.c: Likewise.
13334 * resolv/res_mkquery.c: Likewise.
13335 * resolv/tst-aton.c: Likewise.
13336 * stdlib/cxa_atexit.c: Likewise.
13337 * stdlib/cxa_finalize.c: Likewise.
13338 * stdlib/gen-fpioconst.c: Likewise.
13339 * stdlib/strtol_l.c: Likewise.
13340 * string/tst-endian.c: Likewise.
13341 * sunrpc/auth_des.c: Likewise.
13342 * sunrpc/clnt_udp.c: Likewise.
13343 * sunrpc/rtime.c: Likewise.
13344 * sunrpc/svcauth_des.c: Likewise.
13345 * sunrpc/xdr.c: Likewise.
13346 * sunrpc/xdr_intXX_t.c: Likewise.
13347 * sunrpc/xdr_rec.c: Likewise.
13348 * sysdeps/generic/ldconfig.h: Likewise.
13349 * sysdeps/generic/ldsodefs.h: Likewise.
13350 * sysdeps/generic/memusage.h: Likewise.
13351 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13361 * sysdeps/posix/getaddrinfo.c: Likewise.
13362 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13363 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13364 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13365 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13366 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13367 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13368 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13369 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13370 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13372 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13373 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13374 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13375 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13376 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13377 * sysdeps/x86_64/dl-tls.h: Likewise.
13378 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13379 * time/alt_digit.c: Likewise.
13380 * time/era.c: Likewise.
13381 * wcsmbs/tst-c16c32-1.c: Likewise.
13382
8c75f674
JM
133832013-05-16 Joseph Myers <joseph@codesourcery.com>
13384
13385 * math/libm-test.inc (struct test_sincos_data): New type.
13386 (RUN_TEST_LOOP_sincos): New macro.
13387 (sincos_test_data): New variable.
13388 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13389
e6e49e59
RH
133902013-05-16 Richard Henderson <rth@redhat.com>
13391
13392 * math/atest-exp2.c (LIMB64): New macro.
13393 (CONSTSZ): New macro.
13394 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13395 (hexdig): Move ...
13396 (print_mpn_fp): ... to function scope.
13397 (read_mpn_hex): Remove.
13398 (get_log2): Remove.
13399 (exp2_mpn): Use mp_log2.
13400 (main): Use mp_exp1.
13401
15c7c18d
JM
134022013-05-16 Joseph Myers <joseph@codesourcery.com>
13403
105a07df
JM
13404 * math/libm-test.inc: Remove comment about not testing "inexact"
13405 exceptions.
13406 (INEXACT_EXCEPTION): New macro.
13407 (NO_INEXACT_EXCEPTION): Likewise.
13408 (INVALID_EXCEPTION_OK): Update value.
13409 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13410 (OVERFLOW_EXCEPTION_OK): Likewise.
13411 (UNDERFLOW_EXCEPTION_OK): Likewise.
13412 (IGNORE_ZERO_INF_SIGN): Likewise.
13413 (ERRNO_UNCHANGED): Likewise.
13414 (ERRNO_EDOM): Likewise.
13415 (ERRNO_ERANGE): Likewise.
13416 (test_exceptions): Handle testing "inexact" exceptions.
13417 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13418 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13419 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13420 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13421 INEXACT_EXCEPTION.
13422 (rint_towardzero_test_data): Likewise.
13423 (rint_downward_test_data): Likewise.
13424 (rint_upward_test_data): Likewise.
13425
e9eee333
JM
13426 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13427 with OVERFLOW_EXCEPTION.
13428 (exp10_test_data): Likewise.
13429 (exp2_test_data): Likewise.
13430 (expm1_test_data): Likewise.
13431 (lgamma_test_data): Likewise.
13432 (pow_test_data): Likewise.
13433 (tgamma_test_data): Likewise.
13434 (yn_test_data): Remove duplicate test of overflow.
13435
1c38ff73
JM
13436 * math/libm-test.inc (struct test_cc_c_data): New type.
13437 (RUN_TEST_LOOP_cc_c): New macro.
13438 (cpow_test_data): New variable.
13439 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13440
15c7c18d
JM
13441 * math/libm-test.inc (struct test_f_L_data): New type.
13442 (RUN_TEST_LOOP_f_L): New macro.
13443 (llrint_test_data): New variable.
13444 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13445 (llrint_tonearest_test_data): New variable.
13446 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13447 (llrint_towardzero_test_data): New variable.
13448 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13449 (llrint_downward_test_data): New variable.
13450 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13451 (llrint_upward_test_data): New variable.
13452 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13453 (llround_test_data): New variable.
13454 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13455
f137ff13
PC
134562013-05-13 Peter Collingbourne <pcc@google.com>
13457
13458 * math/atest-exp2.c (get_log2): Remove const attribute.
13459
3608cb24
JM
134602013-05-15 Joseph Myers <joseph@codesourcery.com>
13461
13462 * math/libm-test.inc (struct test_f_l_data): New type.
13463 (RUN_TEST_LOOP_f_l): New macro.
13464 (lrint_test_data): New variable.
13465 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13466 (lrint_tonearest_test_data): New variable.
13467 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13468 (lrint_towardzero_test_data): New variable.
13469 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13470 (lrint_downward_test_data): New variable.
13471 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13472 (lrint_upward_test_data): New variable.
13473 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13474 (lround_test_data): New variable.
13475 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13476
39b1f617
PC
134772013-05-15 Peter Collingbourne <pcc@google.com>
13478
1deff3dc
PC
13479 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13480 (EXTRACT_WORDS64) Use where appropriate.
13481 (INSERT_WORDS64) Likewise.
13482
791f3ba0
PC
13483 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13484 constraints with x constraints.
13485 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13486
39b1f617
PC
13487 * malloc/obstack.c (_obstack_compat): Add initializer.
13488
12fba011
EM
134892013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13490
13491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13492 si_trapno and add si_addr_lsb to _sifields.sigfault.
13493 (si_trapno): Remove macro.
13494 (si_addr_lsb): Define new macro.
13495 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13496
d369f531
JM
134972013-05-15 Joseph Myers <joseph@codesourcery.com>
13498
b861c6c4
JM
13499 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13500 instead of TEST_f_l.
13501 (llrint_test_tonearest): Likewise.
13502 (llrint_test_towardzero): Likewise.
13503 (llrint_test_downward): Likewise.
13504 (llrint_test_upward): Likewise.
13505 (llround_test): Likewise.
13506
7abeee12
JM
13507 * math/libm-test.inc (struct test_f_i_data): Add comment.
13508 (RUN_TEST_LOOP_f_b): New macro.
13509 (RUN_TEST_LOOP_f_b_tg): Likewise.
13510 (finite_test_data): New variable.
13511 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13512 (isfinite_test_data): New variable.
13513 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13514 (isinf_test_data): New variable.
13515 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13516 (isnan_test_data): New variable.
13517 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13518 (isnormal_test_data): New variable.
13519 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13520 (issignaling_test_data): New variable.
13521 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13522 (signbit_test_data): New variable.
13523 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13524
cbe8c4d3
JM
13525 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13526 with INVALID_EXCEPTION.
13527 (acosh_test_data): Likewise.
13528 (asin_test_data): Likewise.
13529 (atanh_test_data): Likewise.
13530 (fmod_test_data): Likewise.
13531 (log_test_data): Likewise.
13532 (log10_test_data): Likewise.
13533 (log2_test_data): Likewise.
13534 (pow_test_data): Likewise.
13535 (sqrt_test_data): Likewise.
13536 (y0_test_data): Likewise.
13537 (y1_test_data): Likewise.
13538 (yn_test_data): Likewise.
13539
5575c0e5
JM
13540 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13541 function contents.
13542
d369f531
JM
13543 * math/libm-test.inc (struct test_ff_i_data): New type.
13544 (RUN_TEST_LOOP_ff_i_tg): New macro.
13545 (isgreater_test_data): New variable.
13546 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13547 (isgreaterequal_test_data): New variable.
13548 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13549 (isless_test_data): New variable.
13550 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13551 (islessequal_test_data): New variable.
13552 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13553 (islessgreater_test_data): New variable.
13554 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13555 (isunordered_test_data): New variable.
13556 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13557
781fd748
DM
135582013-05-14 David S. Miller <davem@davemloft.net>
13559
13560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13561
87aa21df
JM
135622013-05-14 Joseph Myers <joseph@codesourcery.com>
13563
5e908270
JM
13564 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13565
f71172e5
JM
13566 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13567 extra_test to int.
13568 (struct test_f_i_data): Change type of max_ulp to int.
13569
8cfa635a
JM
13570 * math/libm-test.inc (test_ffI_f1_data): New type.
13571 (RUN_TEST_LOOP_ffI_f1): New macro.
13572 (remquo_test_data): New variable.
13573 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13574
2bcb36b2
JM
13575 * setjmp/tst-setjmp-fp.c: New file.
13576 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13577 (link-libm): New variable.
13578 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13579
acbd839a
JM
13580 * math/libm-test.inc (struct test_f_i_data): New type.
13581 (RUN_TEST_LOOP_f_i): New macro.
13582 (RUN_TEST_LOOP_f_i_tg): Likewise.
13583 (fpclassify_test_data): New variable.
13584 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13585 (ilogb_test_data): New variable.
13586 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13587
e414d745
JM
13588 * math/libm-test.inc (scalbln_test): Correct function name in END
13589 call.
13590
d9c2a0fd
JM
13591 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13592 (RUN_TEST_LOOP_fI_f1): New macro.
13593 (frexp_test_data): New variable.
13594 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13595
9dc9095d
JM
13596 * math/libm-test.inc (struct test_fF_f1_data): New type.
13597 (RUN_TEST_LOOP_fF_f1): New macro.
13598 (modf_test_data): New variable.
13599 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13600
87aa21df
JM
13601 * math/libm-test.inc (struct test_f_f1_data): New type.
13602 (RUN_TEST_LOOP_f_f1): New macro.
13603 (gamma_test_data): New variable.
13604 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13605 (lgamma_test_data): New variable.
13606 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13607
141af660
CD
136082013-05-13 Carlos O'Donell <carlos@redhat.com>
13609
13610 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13611 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13612 (main): Comment "tls" pseudo-hwcap.
13613
6d33265c
JM
136142013-05-13 Joseph Myers <joseph@codesourcery.com>
13615
68fc074c
JM
13616 * math/libm-test.inc (struct test_fl_f_data): New type.
13617 (RUN_TEST_LOOP_fl_f): New variable.
13618 (scalbln_test_data): New variable.
13619 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13620
243216e1
JM
13621 * math/libm-test.inc (struct test_fi_f_data): New type.
13622 (RUN_TEST_LOOP_fi_f): New macro.
13623 (ldexp_test_data): New variable.
13624 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13625 (scalbn_test_data): New variable.
13626 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13627
6a1992e2
JM
13628 * math/libm-test.inc (struct test_c_f_data): New type.
13629 (RUN_TEST_LOOP_c_f): New macro.
13630 (cabs_test_data): New variable.
13631 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13632 (carg_test_data): New variable.
13633 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13634 (cimag_test_data): New variable.
13635 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13636 (creal_test_data): New variable.
13637 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13638
0e400df5
JM
13639 * math/libm-test.inc (struct test_if_f_data): New type.
13640 (RUN_TEST_LOOP_if_f): New macro.
13641 (jn_test_data): New variable.
13642 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13643 (yn_test_data): New variable.
13644 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13645
6d33265c
JM
13646 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13647
f98ece5f
AZ
136482013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13649
13650 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13651 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13652
0f7d347b
SP
136532013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13654
43fe811b
SP
13655 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13656 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13657 (bench-deps): Add bench-timing.h.
13658 * benchtests-bench-skeleton.c: Include bench-timing.h.
13659 (main): Use TIMING_* macros instead of clock_gettime.
13660 * benchtests/bench-timing.h: New file.
13661
0f7d347b
SP
13662 [BZ #14582]
13663 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13664 Renamed from _LIB_VERSION.
13665 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13666
601a3a5f
JM
136672013-05-12 Joseph Myers <joseph@codesourcery.com>
13668
4f184d30
JM
13669 * math/libm-test.inc (struct test_fff_f_data): New type.
13670 (RUN_TEST_LOOP_fff_f): New macro.
13671 (fma_test_data): New variable.
13672 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13673 (fma_towardzero_test_data): New variable.
13674 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13675 (fma_downward_test_data): New variable.
13676 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13677 (fma_upward_test_data): New variable.
13678 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13679
08198877
JM
13680 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13681 (struct test_c_c_data): New type.
13682 (RUN_TEST_LOOP_c_c): New macro.
13683 (cacos_test_data): New variable.
13684 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13685 (cacosh_test_data): New variable.
13686 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13687 (casin_test_data): New variable.
13688 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13689 (casinh_test_data): New variable.
13690 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13691 (catan_test_data): New variable.
13692 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13693 (catanh_test_data): New variable.
13694 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13695 (ccos_test_data): New variable.
13696 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13697 (ccosh_test_data): New variable.
13698 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13699 (cexp_test_data): New variable.
13700 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13701 (clog_test_data): New variable.
13702 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13703 (clog10_test_data): New variable.
13704 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13705 (conj_test_data): New variable.
13706 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13707 (cproj_test_data): New variable.
13708 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13709 (csin_test_data): New variable.
13710 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13711 (csinh_test_data): New variable.
13712 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13713 (csqrt_test_data): New variable.
13714 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13715 (ctan_test_data): New variable.
13716 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13717 (ctan_tonearest_test_data): New variable.
13718 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13719 (ctan_towardzero_test_data): New variable.
13720 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13721 (ctan_downward_test_data): New variable.
13722 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13723 (ctan_upward_test_data): New variable.
13724 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13725 (ctanh_test_data): New variable.
13726 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13727 (ctanh_tonearest_test_data): New variable.
13728 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13729 (ctanh_towardzero_test_data): New variable.
13730 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13731 (ctanh_downward_test_data): New variable.
13732 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13733 (ctanh_upward_test_data): New variable.
13734 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13735 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13736 of BUILD_COMPLEX.
13737
601a3a5f
JM
13738 * math/libm-test.inc (struct test_ff_f_data): New type.
13739 (struct test_ff_f_data_nexttoward): Likewise.
13740 (RUN_TEST_LOOP_2_f): New macro.
13741 (RUN_TEST_LOOP_ff_f): Likewise.
13742 (atan2_test_data): New variable.
13743 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13744 (copysign_test_data): New variable.
13745 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13746 (fdim_test_data): New variable.
13747 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13748 (fmax_test_data): New variable.
13749 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13750 (fmin_test_data): New variable.
13751 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13752 (fmod_test_data): New variable.
13753 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13754 (hypot_test_data): New variable.
13755 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13756 (nextafter_test_data): New variable.
13757 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13758 (nexttoward_test_data): New variable.
13759 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13760 (pow_test_data): New variable.
13761 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13762 (pow_tonearest_test_data): New variable.
13763 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13764 (pow_towardzero_test_data): New variable.
13765 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13766 (pow_downward_test_data): New variable.
13767 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13768 (pow_upward_test_data): New variable.
13769 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13770 (remainder_test_data): New variable.
13771 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13772 (scalb_test_data): New variable.
13773 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13774 * sysdeps/i386/fpu/libm-test-ulps: Update.
13775
74c57478
JM
137762013-05-11 Joseph Myers <joseph@codesourcery.com>
13777
8329e4da
JM
13778 * math/libm-test.inc (fma_test): Use max_value instead of local
13779 variable fltmax.
13780 (nextafter_test): Likewise.
13781
74c57478
JM
13782 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13783 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13784 (acos_downward_test_data): New variable.
13785 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13786 (acos_upward_test_data): New variable.
13787 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13788 (acosh_test_data): New variable.
13789 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13790 (asin_test_data): New variable.
13791 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13792 (asin_tonearest_test_data): New variable.
13793 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13794 (asin_towardzero_test_data): New variable.
13795 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13796 (asin_downward_test_data): New variable.
13797 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13798 (asin_upward_test_data): New variable.
13799 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13800 (asinh_test_data): New variable.
13801 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13802 (atan_test_data): New variable.
13803 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13804 (atanh_test_data): New variable.
13805 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13806 (cbrt_test_data): New variable.
13807 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13808 (ceil_test_data): New variable.
13809 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13810 (cos_test_data): New variable.
13811 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13812 (cos_tonearest_test_data): New variable.
13813 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13814 (cos_towardzero_test_data): New variable.
13815 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13816 (cos_downward_test_data): New variable.
13817 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13818 (cos_upward_test_data): New variable.
13819 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13820 (cosh_test_data): New variable.
13821 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13822 (cosh_tonearest_test_data): New variable.
13823 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13824 (cosh_towardzero_test_data): New variable.
13825 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13826 (cosh_downward_test_data): New variable.
13827 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13828 (cosh_upward_test_data): New variable.
13829 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13830 (erf_test_data): New variable.
13831 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13832 (erfc_test_data): New variable.
13833 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13834 (exp_test_data): New variable.
13835 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13836 (exp_tonearest_test_data): New variable.
13837 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13838 (exp_towardzero_test_data): New variable.
13839 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13840 (exp_downward_test_data): New variable.
13841 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13842 (exp_upward_test_data): New variable.
13843 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13844 (exp10_test_data): New variable.
13845 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13846 (exp2_test_data): New variable.
13847 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13848 (expm1_test_data): New variable.
13849 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13850 (fabs_test_data): New variable.
13851 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13852 (floor_test_data): New variable.
13853 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13854 (j0_test_data): New variable.
13855 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13856 (j1_test_data): New variable.
13857 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13858 (log_test_data): New variable.
13859 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13860 (log10_test_data): New variable.
13861 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13862 (log1p_test_data): New variable.
13863 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13864 (log2_test_data): New variable.
13865 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13866 (logb_test_data): New variable.
13867 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13868 (logb_downward_test_data): New variable.
13869 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13870 (nearbyint_test_data): New variable.
13871 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13872 (rint_test_data): New variable.
13873 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13874 (rint_tonearest_test_data): New variable.
13875 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13876 (rint_towardzero_test_data): New variable.
13877 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13878 (rint_downward_test_data): New variable.
13879 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13880 (rint_upward_test_data): New variable.
13881 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13882 (round_test_data): New variable.
13883 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13884 (sin_test_data): New variable.
13885 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13886 (sin_tonearest_test_data): New variable.
13887 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13888 (sin_towardzero_test_data): New variable.
13889 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13890 (sin_downward_test_data): New variable.
13891 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13892 (sin_upward_test_data): New variable.
13893 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13894 (sinh_test_data): New variable.
13895 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13896 (sinh_tonearest_test_data): New variable.
13897 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13898 (sinh_towardzero_test_data): New variable.
13899 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13900 (sinh_downward_test_data): New variable.
13901 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13902 (sinh_upward_test_data): New variable.
13903 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13904 (sqrt_test_data): New variable.
13905 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13906 (tan_test_data): New variable.
13907 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13908 (tan_tonearest_test_data): New variable.
13909 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13910 (tan_towardzero_test_data): New variable.
13911 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13912 (tan_downward_test_data): New variable.
13913 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13914 (tan_upward_test_data): New variable.
13915 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13916 (tanh_test_data): New variable.
13917 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13918 (tgamma_test_data): New variable.
13919 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13920 (trunc_test_data): New variable.
13921 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13922 (y0_test_data): New variable.
13923 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13924 (y1_test_data): New variable.
13925 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13926 (significand_test_data): New variable.
13927 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13928
7187d844
CG
139292013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13930
13931 [BZ #12387]
13932 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13933
f63fae73
PT
139342013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13935
13936 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13937
8a67a4b3
AJ
139382013-05-10 Andreas Jaeger <aj@suse.de>
13939
13940 [BZ #15448]
13941 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13942 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13943
51df539d
JM
139442013-05-10 Joseph Myers <joseph@codesourcery.com>
13945
13946 * math/gen-libm-test.pl (adjust_arg): New function.
13947 (special_functions): Handle generating output in both functions
13948 and arrays.
13949 (parse_args): Likewise.
13950 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13951 $in_func argument to parse_args.
13952 * math/libm-test.inc (struct test_f_f_data): New type.
13953 (IF_ROUND_INIT_): New macro.
13954 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13955 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13956 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13957 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13958 (ROUND_RESTORE_): Likewise.
13959 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13960 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13961 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13962 (ROUND_RESTORE_FE_UPWARD): Likewise.
13963 (RUN_TEST_LOOP_f_f): New macro.
13964 (acos_test_data): New variable.
13965 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13966 (acos_tonearest_test_data): New variable.
13967 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13968
5c637fe5
SP
139692013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13970
13971 * benchtests/bench-skeleton.c (startup): Fix coding style.
13972
ab2b9461
JM
139732013-05-10 Joseph Myers <joseph@codesourcery.com>
13974
13975 [BZ #6809]
13976 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13977 negative infinity argument.
13978 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13979 negative infinity argument.
13980 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13981 negative infinity argument.
13982 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13983 domain errors.
13984
4c0fe6fe
FW
139852013-05-10 Florian Weimer <fweimer@redhat.com>
13986
13987 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13988 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13989 * iconv/iconv_prog.c (main): Likewise.
13990 * locale/programs/charmap-dir.c (charmap_readdir)
13991 (fopen_uncompressed): Likewise.
13992 * locale/programs/locfile.c (siblings_uncached)
13993 (write_locale_data): Use lstat64 instead of lstat.
13994 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13995 stat.
13996
a3375d29
AJ
139972013-05-10 Andreas Jaeger <aj@suse.de>
13998
13999 [BZ #15395]
14000 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14001 localization.
14002 Include <locale.h>.
14003
36129722
CD
140042013-05-09 Carlos O'Donell <carlos@redhat.com>
14005
14006 * elf/dl-close.c (_dl_close_worker): Add comments.
14007
faa7f811
JM
140082013-05-09 Joseph Myers <joseph@codesourcery.com>
14009
ed41ffef
JM
14010 [BZ #15359]
14011 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14012 high part of pi/2.
14013 (__ieee754_rem_pio2l): Update comments.
14014
d0213cd0
JM
14015 [BZ #15429]
14016 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14017 high part of pi/2.
14018 (__ieee754_rem_pio2l): Update comments.
14019
0d3e777a
JM
14020 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14021 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14022
24f56066
JM
14023 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14024 M_PI_4l.
14025
faa7f811
JM
14026 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14027 (M_PI_34_LOG10El): Likewise.
14028 (M_PI2_LOG10El): Likewise.
14029 (M_PI4_LOG10El): Likewise.
14030 (M_PI_LOG10El): Likewise.
14031
e9a5e0fd
AZ
140322013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14033
14034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14035
d8cd06db
JM
140362013-05-08 Joseph Myers <joseph@codesourcery.com>
14037
a0d9f9d7
JM
14038 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14039 (MINUS_ZERO_INIT): Likewise.
14040 (PLUS_INFTY_INIT): Likewise.
14041 (MINUS_INFTY_INIT): Likewise.
14042 (QNAN_VALUE_INIT): Likewise.
14043 (MAX_VALUE_INIT): Likewise.
14044 (MIN_VALUE_INIT): Likewise.
14045 (MIN_SUBNORM_VALUE_INIT): Likewise.
14046 (plus_zero): Initialize with PLUS_ZERO_INIT.
14047 (minus_zero): Initialize with MINUS_ZERO_INIT.
14048 (plus_infty): Initialize with PLUS_INFTY_INIT.
14049 (minus_infty): Initialize with MINUS_INFTY_INIT.
14050 (qnan_value): Initialize with QNAN_VALUE_INIT.
14051 (max_value): Initialize with MAX_VALUE_INIT.
14052 (min_value): Initialize with MIN_VALUE_INIT.
14053 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14054
ae08db3b
JM
14055 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14056 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14057 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14058 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14059
f44bf14a
JM
14060 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14061 (RUN_TEST_2_f): Likewise.
14062 (RUN_TEST_ff_f): Likewise.
14063 (RUN_TEST_fi_f): Likewise.
14064 (RUN_TEST_fl_f): Likewise.
14065 (RUN_TEST_fff_f): Likewise.
14066 (RUN_TEST_c_f): Likewise.
14067 (RUN_TEST_f_f1): Likewise.
14068 (RUN_TEST_fF_f1): Likewise.
14069 (RUN_TEST_fI_f1): Likewise.
14070 (RUN_TEST_ffI_f1): Likewise.
14071 (RUN_TEST_c_c): Likewise.
14072 (RUN_TEST_cc_c): Likewise.
14073 (RUN_TEST_f_i): Likewise.
14074 (RUN_TEST_f_i_tg): Likewise.
14075 (RUN_TEST_ff_i_tg): Likewise.
14076 (RUN_TEST_f_b): Likewise.
14077 (RUN_TEST_f_b_tg): Likewise.
14078 (RUN_TEST_f_l): Likewise.
14079 (RUN_TEST_f_L): Likewise.
14080 (RUN_TEST_sincos): Likewise.
14081 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14082 whether to show exceptions. Do not include ");\n" in return
14083 value.
14084 (special_functions): Output call to RUN_TEST_sincos instead of
14085 check_float calls. Update calls to new_test.
14086 (parse_args): Output call to single RUN_TEST_* macro instead of
14087 check_* calls and other assignments. Update calls to new_test.
14088
d8cd06db
JM
14089 [BZ #2546]
14090 [BZ #2560]
14091 [BZ #5159]
14092 [BZ #15426]
14093 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14094 input to result for tgamma overflow.
14095 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14096 (gamma_coeff): New variable.
14097 (NCOEFF): New macro.
14098 (gamma_positive): New function.
14099 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14100 underflow here. Use gamma_positive instead of exp (lgamma) for
14101 other arguments.
14102 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14103 (gamma_coeff): New variable.
14104 (NCOEFF): New macro.
14105 (gammaf_positive): New function.
14106 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14107 underflow here. Use gamma_positive instead of exp (lgamma) for
14108 other arguments.
14109 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14110 (gamma_coeff): New variable.
14111 (NCOEFF): New macro.
14112 (gammal_positive): New function.
14113 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14114 underflow here. Use gamma_positive instead of exp (lgamma) for
14115 other arguments.
14116 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14117 (gamma_coeff): New variable.
14118 (NCOEFF): New macro.
14119 (gammal_positive): New function.
14120 (__ieee754_gammal_r): Handle positive infinity, overflow and
14121 underflow here. Handle NaN the same as positive infinity. Remove
14122 check x < 0xffffffff for negative integers. Use gamma_positive
14123 instead of exp (lgamma) for other arguments.
14124 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14125 (gamma_coeff): New variable.
14126 (NCOEFF): New macro.
14127 (gammal_positive): New function.
14128 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14129 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14130 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14131 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14133 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14134 * sysdeps/generic/math_private.h (__gamma_productf): New
14135 prototype.
14136 (__gamma_product): Likewise.
14137 (__gamma_productl): Likewise.
14138 * math/Makefile (libm-calls): Add gamma_product.
14139 * math/libm-test.inc (tgamma_test): Add more tests.
14140 * sysdeps/i386/fpu/libm-test-ulps: Update.
14141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14142
bb7cf681
OB
141432013-05-08 Ondřej Bílka <neleai@seznam.cz>
14144
14145 * benchtests/bench-skeleton.c (main): Preheat CPU.
14146
ba853947
AJ
141472013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14148
14149 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14150
8347c74c
RM
141512013-05-07 Roland McGrath <roland@hack.frob.com>
14152
14153 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14154 and _dl_skip_args_internal.
14155
e8dd4791
CD
141562013-05-07 Carlos O'Donell <carlos@redhat.com>
14157
14158 * manual/message.texi (Message Translation): Talk about users.
14159 Message to key mapping impacts design.
14160
c7405830
RM
141612013-05-06 Roland McGrath <roland@hack.frob.com>
14162
a9173057
RM
14163 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14164
976e2f03
RM
14165 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14166
9723ffc5
RM
14167 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14168 * sysdeps/wordsize-64/glob64.c: ... here.
14169
962e6658
RM
14170 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14171 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14172 New macros.
14173
ee586a6d
RM
14174 * debug/getlogin_r_chk.c: Moved to ...
14175 * login/getlogin_r_chk.c: ... here.
14176 * debug/Makefile (routines): Move getlogin_r_chk to ...
14177 * login/Makefile (routines): ... here.
14178 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14179 * login/Versions (libc: GLIBC_2.4): ... here.
14180
355f9165
RM
14181 * io/poll.c (__poll): Renamed from poll.
14182 Add libc_hidden_def.
14183 (poll): Define as weak alias.
14184
bd9ffde6
RM
14185 * debug/ptsname_r_chk.c: Moved to ...
14186 * login/ptsname_r_chk.c: ... here.
14187 * debug/Makefile (routines): Move ptsname_r_chk to ...
14188 * login/Makefile (routines): ... here.
14189 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14190 * login/Versions (libc: GLIBC_2.4): ... here.
14191
8fb16a04
RM
14192 * posix/getlogin.c: Moved to ...
14193 * login/getlogin.c: ... here.
14194 * posix/getlogin_r.c: Moved to ...
14195 * login/getlogin_r.c: ... here.
14196 * posix/getlogin_r.c: Moved to ...
14197 * login/getlogin_r.c: ... here.
14198 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14199 * login/Makefile (routines): ... here.
14200 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14201 * login/Versions (libc: GLIBC_2.0): ... here.
14202
b99b892f
RM
14203 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14204 (setrlimit): Define as weak alias.
14205
c7405830
RM
14206 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14207 Call __ names for open, ftruncate, and close.
14208 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14209 (truncate): Define as weak alias.
14210
5bf96de5
JM
142112013-05-06 Joseph Myers <joseph@codesourcery.com>
14212
9ea3513c
JM
14213 * math/gen-libm-test.pl (parse_args): Initialize x before each
14214 test of frexp, modf and remquo.
14215
5bf96de5
JM
14216 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14217 test signgam value.
14218
16e616a7
AZ
142192013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14220
14221 [BZ #15418]
14222 [BZ #15419]
14223 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14224 internal tests.
14225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14226
d5e82754
RM
142272013-05-06 Roland McGrath <roland@hack.frob.com>
14228
14229 * elf/dl-writev.h: New file.
14230 * elf/dl-misc.c: Include it.
14231 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14232 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14233
a7548d41
JM
142342013-05-04 Joseph Myers <joseph@codesourcery.com>
14235
b7dab1e4
JM
14236 * math/libm-test.inc (noXFails): Remove variable.
14237 (noXPasses): Likewise.
14238 (BUILD_COMPLEX_INT): Remove macro.
14239 (print_screen): Remove xfail argument.
14240 (print_screen_max_error): Likewise.
14241 (update_stats): Likewise.
14242 (print_max_error): Likewise. Update calls to other affected
14243 functions.
14244 (print_complex_max_error): Likewise.
14245 (test_single_exception): Update calls to print_screen.
14246 (test_single_errno): Likewise.
14247 (check_float_internal): Remove xfail argument. Update calls to
14248 other affected functions.
14249 (check_float): Likewise.
14250 (check_complex): Likewise.
14251 (check_int): Likewise.
14252 (check_long): Likewise.
14253 (check_bool): Likewise.
14254 (check_longlong): Likewise.
14255 (main): Don't print noXFails and noXPasses.
14256 * math/gen-libm-test.pl (top level): Don't mention expected
14257 failure handling in comment.
14258 (new_test): Don't handle expected failures.
14259 (parse_args): Don't mention expected failure handling in comment.
14260 (generate_testfile): Don't handle expected failures.
14261 (parse_ulps): Likewise.
14262 (print_ulps_file): Likewise.
14263 (get_failure): Remove function.
14264 (output_test): Don't handle expected failures.
14265 * make/README.libm-test: Don't mention expected failure handling.
14266
a7548d41
JM
14267 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14268 (minus_zero): Likewise.
14269 (plus_infty): Likewise.
14270 (minus_infty): Likewise.
14271 (qnan_value): Likewise.
14272 (max_value): Likewise.
14273 (min_value): Likewise.
14274 (min_subnorm_value): Likewise.
14275 (initialize): Do not initialize those variables dynamically.
14276
60bfd54c
RM
142772013-05-03 Roland McGrath <roland@hack.frob.com>
14278
cc0e6ed8
RM
14279 * io/open.c (__open_2): Moved to ...
14280 * io/open_2.c: ... this new file.
14281 * io/open64.c (__open64_2): Moved to ...
14282 * io/open64_2.c: ... this new file.
14283 * io/openat.c (__openat_2): Moved to ...
14284 * io/openat_2.c: ... this new file.
14285 * io/openat64.c (__openat64_2): Moved to ...
14286 * io/openat64_2.c: ... this new file.
14287 * io/Makefile (routines): Add them.
14288 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14289 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14290 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14291 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14292 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14293 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14294 (__openat64): Add hidden_ver.
14295 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14296 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14297
60bfd54c
RM
14298 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14299 Separately conditionalize setting of GLRO(dl_sysinfo) so
14300 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14301 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14302
83e7640f
AZ
143032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14304
14305 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14306 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14307 definition.
14308 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14309 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14310 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14311 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14312 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14313
d5dc2af3
JM
143142013-05-03 Joseph Myers <joseph@codesourcery.com>
14315
c31a5b1e
JM
14316 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14317 test signgam value.
14318
d5dc2af3
JM
14319 * math/libm-test.inc (hypot_test): Do not use
14320 IGNORE_ZERO_INF_SIGN.
14321
164fd39d
AJ
143222013-05-03 Andreas Jaeger <aj@suse.de>
14323
14324 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14325 Linux 3.9.
14326 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14327 (PF_MAX): Adjust for VSOCK change.
14328
8237f48c
AZ
143292013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14330
14331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14332
9df02941
CD
143332013-05-02 Carlos O'Donell <carlos@redhat.com>
14334
14335 [BZ #15264]
14336 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14337 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14338 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14339
d422395e
DM
143402013-05-02 David S. Miller <davem@davemloft.net>
14341
14342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14343
a07c5731
OB
143442013-05-01 Ondřej Bílka <neleai@seznam.cz>
14345
14346 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14347
1324e37f
RM
143482013-05-01 Roland McGrath <roland@hack.frob.com>
14349
14350 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14351
0695940b
RS
143522013-05-01 Richard Smith <richard@metafoo.co.uk>
14353
bb5f27ad 14354 [BZ #14952]
0695940b
RS
14355 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14356 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14357 Use __attribute__ ((__gnu_inline__)).
14358 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14359 Don't use __attribute__ ((__gnu_inline__)).
14360
10de07f5
JM
143612013-05-01 Joseph Myers <joseph@codesourcery.com>
14362
14363 [BZ #15423]
14364 * math/s_catan.c (__catan): Handle small real or imaginary part of
14365 input specially to avoid spurious underflow.
14366 * math/s_catanf.c (__catanf): Likewise.
14367 * math/s_catanh.c (__catanh): Likewise.
14368 * math/s_catanhf.c (__catanhf): Likewise.
14369 * math/s_catanhl.c (__catanhl): Likewise.
14370 * math/s_catanl.c (__catanl): Likewise.
14371 * math/libm-test.inc (catan_test): Add more tests.
14372 (catanh_test): Likewise.
14373 * sysdeps/i386/fpu/libm-test-ulps: Update.
14374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14375
cb4d5414
AZ
143762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14377
14378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14379
caf84319
JM
143802013-04-30 Joseph Myers <joseph@codesourcery.com>
14381
14382 [BZ #15416]
14383 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14384 accurately for denominator in atan2.
14385 * math/s_catanf.c (__catanf): Likewise.
14386 * math/s_catanh.c (__catanh): Likewise.
14387 * math/s_catanhf.c (__catanhf): Likewise.
14388 * math/s_catanhl.c (__catanhl): Likewise.
14389 * math/s_catanl.c (__catanl): Likewise.
14390 * math/libm-test.inc (catan_test): Add more tests.
14391 (catanh_test): Likewise.
14392 * sysdeps/i386/fpu/libm-test-ulps: Update.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394
d569c6ee
SP
143952013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14396
6dbe713d
SP
14397 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14398
f0ee064b
SP
14399 * benchtests/Makefile (bench): Remove slow benchmarks.
14400 * benchtests/atan-inputs: Add slow benchmark inputs.
14401 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14402 (BENCH_FUNC): Accept variant offset.
14403 (VARIANT): Define.
14404 * benchtests/bench-skeleton.c (main): Run benchmark for each
14405 variant.
14406 * benchtests/cos-inputs: Add slow benchmark inputs.
14407 * benchtests/exp-inputs: Likewise.
14408 * benchtests/pow-inputs: Likewise.
14409 * benchtests/sin-inputs: Likewise.
14410 * benchtests/slowatan-inputs: Remove.
14411 * benchtests/slowatan.c: Remove.
14412 * benchtests/slowcos-inputs: Remove.
14413 * benchtests/slowcos.c: Remove.
14414 * benchtests/slowexp-inputs: Remove.
14415 * benchtests/slowexp.c: Remove.
14416 * benchtests/slowpow-inputs: Remove.
14417 * benchtests/slowpow.c: Remove.
14418 * benchtests/slowsin-inputs: Remove.
14419 * benchtests/slowsin.c: Remove.
14420 * benchtests/slowtan-inputs: Remove.
14421 * benchtests/slowtan.c: Remove.
14422 * benchtests/tan-inputs: Add slow benchmark inputs.
14423 * scripts/bench.pl: Parse comments and directives.
14424
d569c6ee
SP
14425 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14426 in CPPFLAGS.
14427 ($(objpfx)bench-%.c): Remove *-ITER.
14428 * benchtests/bench-modf.c: Remove definition of ITER.
14429 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14430 (main): Loop for DURATION seconds instead of fixed number of
14431 iterations.
14432 * scripts/bench.pl: Don't expect iterations in parameters.
14433
a6a242fe
RM
144342013-04-29 Roland McGrath <roland@hack.frob.com>
14435
14436 * io/fchdir.c (__fchdir): Renamed from fchdir.
14437 (fchdir): Define as weak alias.
14438
f2da7793
JM
144392013-04-29 Joseph Myers <joseph@codesourcery.com>
14440
14441 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14442 (ERRNO_EDOM): Likewise.
14443 (ERRNO_ERANGE): Likewise.
14444 (noErrnoTests): New variable.
14445 (init_max_error): Set errno to 0.
14446 (test_single_errno): New function.
14447 (test_errno): Likewise.
14448 (check_float_internal): Call test_errno. Set errno to 0.
14449 (check_complex): Refer to errno tests in comment.
14450 (check_int): Call test_errno. Set errno to 0.
14451 (check_long): Likewise.
14452 (check_bool): Likewise.
14453 (check_longlong): Likewise.
14454 (cos_test): Use ERRNO_* flags for errno tests instead of
14455 check_int.
14456 (expm1_test): Likewise.
14457 (fmod_test): Likewise.
14458 (ilogb_test): Likewise.
14459 (lgamma_test): Likewise.
14460 (pow_test): Likewise.
14461 (remainder_test): Likewise.
14462 (sin_test): Likewise.
14463 (tan_test): Likewise.
14464 (yn_test): Likewise.
14465 (initialize): Set errno to 0.
14466 (main): Print number of errno tests.
14467 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14468
b1a36ceb
AJ
144692013-04-29 Andreas Jaeger <aj@suse.de>
14470
c3ed8088
AJ
14471 [BZ #15084]
14472 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14473 and RES_USEVC.
14474
f1a24198
AJ
14475 [BZ #15085]
14476 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14477 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14478 unimplemented.
14479
9ce3b2cb
AJ
14480 [BZ #15380]
14481 * stdlib/random.c (__initstate): Return NULL if
14482 __initstate fails.
14483
f1a24198 14484 [BZ #15086]
b1a36ceb
AJ
14485 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14486 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14487 RES_SNGLKUPREOP.
14488
7e7b6f36
AZ
144892013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14490
14491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14492
4d14f449
JM
144932013-04-29 Joseph Myers <joseph@codesourcery.com>
14494
14495 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14496 of individual tests.
14497 (casin_test): Likewise.
14498 (casinh_test): Likewise.
14499
5b4217d7
JM
145002013-04-27 Joseph Myers <joseph@codesourcery.com>
14501
14502 [BZ #15409]
14503 * math/s_catan.c (__catan): Handle arguments with large real or
14504 imaginary part separately without squaring.
14505 * math/s_catanf.c (__catanf): Likewise.
14506 * math/s_catanh.c (__catanh): Likewise.
14507 * math/s_catanhf.c (__catanhf): Likewise.
14508 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14509 and redefine.
14510 (__catanhl): Handle arguments with large real or imaginary part
14511 separately without squaring.
14512 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14513 and redefine.
14514 (__catanl): Handle arguments with large real or imaginary part
14515 separately without squaring.
14516 * math/libm-test.inc (catan_test): Add more tests.
14517 (catanh_test): Likewise.
14518 * sysdeps/i386/fpu/libm-test-ulps: Update.
14519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14520
4220c3ef
AJ
145212013-04-27 Andreas Jaeger <aj@suse.de>
14522
14523 [BZ #15007]
14524 * stdlib/stdlib.h: Update guards for qecvt.
14525 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14526 <stdlib.h>.
14527
4721b2d1
AM
145282013-04-27 Allan McRae <allan@archlinux.org>
14529
14530 * sysdeps/i386/fpu/libm-test-ulps: Update.
14531
f0302940
JM
145322013-04-26 Joseph Myers <joseph@codesourcery.com>
14533
9457fd95
JM
14534 [BZ #15406]
14535 * math/s_catan.c: Include <float.h>.
14536 (__catan): Ensure underflow exception occurs for underflowed
14537 result.
14538 * math/s_catanf.c: Include <float.h>.
14539 (__catanf): Ensure underflow exception occurs for underflowed
14540 result.
14541 * math/s_catanh.c: Include <float.h>.
14542 (__catanh): Ensure underflow exception occurs for underflowed
14543 result.
14544 * math/s_catanhf.c: Include <float.h>.
14545 (__catanhf): Ensure underflow exception occurs for underflowed
14546 result.
14547 * math/s_catanhl.c: Include <float.h>.
14548 (__catanhl): Ensure underflow exception occurs for underflowed
14549 result.
14550 * math/s_catanl.c: Include <float.h>.
14551 (__catanl): Ensure underflow exception occurs for underflowed
14552 result.
14553 * math/libm-test.inc (catan_test): Add more tests.
14554 (catanh_test): Likewise.
14555
f0302940
JM
14556 [BZ #15405]
14557 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14558 underflowed result.
14559 * math/s_ccoshf.c (__ccoshf): Likewise.
14560 * math/s_ccoshl.c (__ccoshl): Likewise.
14561 * math/s_csin.c (__csin): Likewise.
14562 * math/s_csinf.c (__csinf): Likewise.
14563 * math/s_csinh.c (__csinh): Likewise.
14564 * math/s_csinhf.c (__csinhf): Likewise.
14565 * math/s_csinhl.c (__csinhl): Likewise.
14566 * math/s_csinl.c (__csinl): Likewise.
14567 * math/libm-test.inc (ccos_test): Add more tests.
14568 (ccosh_test): Likewise.
14569 (csin_test): Likewise.
14570 (csinh_test): Likewise.
14571
aa630f59
AZ
145722013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14573
14574 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14575 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14576 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14577 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14578 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14579 powerpc/power5+/fpu folders.
14580 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14581
14582
1b835983
MT
145832013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14584
14585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14586
73709b26
JM
145872013-04-25 Joseph Myers <joseph@codesourcery.com>
14588
14589 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14590 additions to variable.
14591 [$(config-machine) = x86_64] (modules-names): Likewise.
14592 ($(objpfx)tst-audit3): Remove dependency.
14593 ($(objpfx)tst-audit3.out): Likewise.
14594 ($(objpfx)tst-audit4): Likewise.
14595 ($(objpfx)tst-audit4.out): Likewise.
14596 ($(objpfx)tst-audit5): Likewise.
14597 ($(objpfx)tst-audit5.out): Likewise.
14598 ($(objpfx)tst-audit6): Likewise.
14599 ($(objpfx)tst-audit6.out): Likewise.
14600 ($(objpfx)tst-audit7): Likewise.
14601 ($(objpfx)tst-audit7.out): Likewise.
14602 (tst-audit3-ENV): Remove variable.
14603 (tst-audit4-ENV): Likewise.
14604 (tst-audit5-ENV): Likewise.
14605 (tst-audit6-ENV): Likewise.
14606 (tst-audit7-ENV): Likewise.
14607 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14608 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14609 addition to variable.
14610 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14611 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14612 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14613 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14614 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14615 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14616 tst-audit3, tst-audit4 and tst-audit5.
14617 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14618 tst-audit6 and tst-audit7.
14619 [$(subdir) = elf] (modules-names): Add audit modules for those
14620 tests.
14621 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14622 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14623 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14624 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14625 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14626 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14627 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14628 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14629 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14630 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14631 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14632 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14633 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14634 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14635 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14636 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14637 Likewise.
14638 [$(subdir) = elf && $(config-cflags-avx) = yes]
14639 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14640 [$(subdir) = elf && $(config-cflags-avx) = yes]
14641 (CFLAGS-tst-auditmod4a.c): Likewise.
14642 [$(subdir) = elf && $(config-cflags-avx) = yes]
14643 (CFLAGS-tst-auditmod4b.c): Likewise.
14644 [$(subdir) = elf && $(config-cflags-avx) = yes]
14645 (CFLAGS-tst-auditmod6b.c): Likewise.
14646 [$(subdir) = elf && $(config-cflags-avx) = yes]
14647 (CFLAGS-tst-auditmod6c.c): Likewise.
14648 [$(subdir) = elf && $(config-cflags-avx) = yes]
14649 (CFLAGS-tst-auditmod7b.c): Likewise.
14650 * elf/tst-audit3.c: Move to ...
14651 * sysdeps/x86_64/tst-audit3.c: ... here.
14652 * elf/tst-audit4.c: Move to ...
14653 * sysdeps/x86_64/tst-audit4.c: ... here.
14654 * elf/tst-audit5.c: Move to ...
14655 * sysdeps/x86_64/tst-audit5.c: ... here.
14656 * elf/tst-audit6.c: Move to ...
14657 * sysdeps/x86_64/tst-audit6.c: ... here.
14658 * elf/tst-audit7.c: Move to ...
14659 * sysdeps/x86_64/tst-audit7.c: ... here.
14660 * elf/tst-auditmod3a.c: Move to ...
14661 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14662 * elf/tst-auditmod3b.c: Move to ...
14663 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14664 * elf/tst-auditmod4a.c: Move to ...
14665 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14666 * elf/tst-auditmod4b.c: Move to ...
14667 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14668 * elf/tst-auditmod5a.c: Move to ...
14669 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14670 * elf/tst-auditmod5b.c: Move to ...
14671 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14672 * elf/tst-auditmod6a.c: Move to ...
14673 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14674 * elf/tst-auditmod6b.c: Move to ...
14675 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14676 * elf/tst-auditmod6c.c: Move to ...
14677 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14678 * elf/tst-auditmod7a.c: Move to ...
14679 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14680 * elf/tst-auditmod7b.c: Move to ...
14681 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14682
1ef74943
PP
146832013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14684
14685 [BZ #15366]
14686 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14687 define unconditionally.
14688 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14689 define unconditionally.
14690 (INT8_C, INT16_C, etc.): Likewise.
14691
93fd48c5
MR
146922013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14693
ae9552cf
MR
14694 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14695 __ehdr_start with hidden visibility.
14696
93fd48c5
MR
14697 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14698
418601aa
CD
146992013-04-24 Carlos O'Donell <carlos@redhat.com>
14700
14701 * math/libm-test.inc (cos_test): Use accurate hex constants.
14702 (sincost_test): Likewise.
14703
2f38fbfe
JM
147042013-04-24 Joseph Myers <joseph@codesourcery.com>
14705
5e221800
JM
14706 * math/libm-test.inc (catan_test): Add more tests.
14707 (catanh_test): Likewise.
14708
77f143fd
JM
14709 * math/s_catanf.c (__catanf): Use suffixed floating-point
14710 constants.
14711 * math/s_catanhf.c (__catanhf): Likewise.
14712 * math/s_catanhl.c (__catanhl): Likewise.
14713 * math/s_catanl.c (__catanl): Likewise.
14714
2f38fbfe
JM
14715 [BZ #15394]
14716 * math/s_catan.c (__catan): Calculate imaginary part of result
14717 with log1p not log unless computing log of number close to 0.
14718 * math/s_catanf.c (__catanf): Likewise.
14719 * math/s_catanl.c (__catanl): Likewise.
14720 * math/s_catanh.c (__catanh): Calculate real part of result with
14721 log1p not log unless computing log of number close to 0.
14722 * math/s_catanhf.c (__catanhf): Likewise.
14723 * math/s_catanhl.c (__catanhl): Likewise.
14724 * math/libm-test.inc (catan_test): Add more tests.
14725 (catanh_test): Likewise.
14726 * sysdeps/i386/fpu/libm-test-ulps: Update.
14727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14728
45d69176
SP
147292013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14730
14731 * benchtests/Makefile: Mention files in which fast and slow
14732 paths of math functions are implemented.
14733
87f51853
RM
147342013-04-23 Roland McGrath <roland@hack.frob.com>
14735
14736 * sysdeps/posix/timespec_get.c: New file.
14737
3c026539
AZ
147382013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14739
14740 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14741 POWER.
14742 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14743 for POWER.
14744 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14745 powerpc/power5/fpu folders.
14746 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14747 * benchtests/Makefile: Add modf testcase.
14748 * benchtests/bench-modf.c: New file: Benchmark test for mo
14749
ff491d14
SP
147502013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14751
14752 [BZ #14888]
14753 * time/Makefile (tests): Add tst-strptime-whitespace.
14754 * time/strptime_l.c (get_number): Use ISSPACE.
14755 (__strptime_internal): Likewise.
14756 * time/tst-strptime-whitespace.c: New test case.
14757
7ed3f4e8
AS
147582013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14759
14760 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14761 member.
14762 (_nss_files_init): Set it here.
14763
5c95f7b6
HC
147642013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14765
14766 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14767 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14768 unsigned.
14769
d34c9158
JBG
147702013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14771
14772 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14773
2169712d
SP
147742013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14775
14776 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14777 size just once.
14778
29c5de99
DM
147792013-04-21 David S. Miller <davem@davemloft.net>
14780
14781 * po/ru.po: Update Russion translation from translation project.
14782
ccdad15d
AC
147832013-04-17 Adam Conrad <adconrad@0c3.net>
14784
14785 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14786 and setfsgid.
14787
0f122b8d
CD
147882013-04-17 Carlos O'Donell <carlos@redhat.com>
14789
5c5b07da 14790 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14791 * configure: Regenerate.
5c5b07da 14792 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14793 Add example to error message.
14794 * sysdeps/i386/configure: Regenerate.
14795
037714dd
SP
147962013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14797
14798 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14799 slowtan.
14800 * benchtests/cos-inputs: New file.
14801 * benchtests/slowcos-inputs: New file.
14802 * benchtests/slowcos.c: New file.
14803 * benchtests/slowtan-inputs: New file.
14804 * benchtests/slowtan.c: New file.
14805 * benchtests/tan-inputs: New file.
14806
e913141d
RM
148072013-04-16 Roland McGrath <roland@hack.frob.com>
14808
14809 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14810 considered kosher.
14811
a2964074
SP
148122013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14813
4856bcd2
SP
14814 * benchtests/Makefile: Include cppflags-iterator.mk to add
14815 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14816
a2964074
SP
14817 * Makefile.in (bench-clean): New target.
14818 * benchtests/Makefile (bench-clean): Likewise.
14819
9fbf9aca
DH
148202013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14821
14822 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14823
207d1e2a
TS
148242013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14825
14826 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14827
306dfba9
AS
148282013-04-15 Andreas Schwab <schwab@suse.de>
14829
14830 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14832 * nscd/pwdcache.c (cache_addpw): Likewise.
14833 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14834 more than recsize.
14835
206a6699
SP
148362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14837
14838 * benchtests/Makefile (bench): Write all output to
14839 bench-out.tmp together.
14840
0582f6b3
AS
148412013-04-15 Andreas Schwab <schwab@suse.de>
14842
14843 * nscd/nscd.c (main): Don't fork again after closing files.
14844
acb4325f
SP
148452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14846
5cb26d0a
SP
14847 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14848
acb4325f
SP
14849 * benchtests/Rules (bench-deps): Collect dependencies into a
14850 single variable. Add Makefile to dependencies.
14851 ($(objpfx)bench-%.c): Depend on bench-deps.
14852
47792506
RM
148532013-04-12 Roland McGrath <roland@hack.frob.com>
14854 Xavier Roche <roche+kml2@exalead.com>
14855
14856 [BZ #15361]
14857 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14858 just that it's a file descriptor.
14859 * manual/llio.texi (Synchronizing AIO Operations): Update description
14860 for EBADF error from aio_fsync.
14861
8fc1bee5
SP
148622013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14863
14864 * Rules (bench): Move target definition...
14865 * benchtests/Makefile: ... here.
14866
aba5e333
CD
148672013-04-11 Carlos O'Donell <carlos@redhat.com>
14868
14869 * math/libm-test.inc (cos_test): Fix PI/2 test.
14870 (sincos_test): Likewise.
14871 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14872 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14873
273cdee8
AS
148742013-04-11 Andreas Schwab <schwab@suse.de>
14875
6ecec3b6
AS
14876 [BZ #13988]
14877 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14878 accept exponent character only when digits were seen.
14879 * stdio-common/Makefile (tests): Add bug26.
14880 * stdio-common/bug26.c: New file.
14881
273cdee8
AS
14882 [BZ #14293]
14883 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14884 non-freeable.
14885
8da491f5
SP
148862013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14887
01dc6df9
SP
14888 * Makeconfig (rtld-prefix): Define built linker prefix.
14889 * Rules (run-bench): Use it.
14890 * math/Makefile (run-regen-ulps): Likewise.
14891
8da491f5
SP
14892 * Rules (bench): Remove eval.
14893
abe7f530
SP
148942013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14895 Roland McGrath <roland@hack.frob.com>
14896 Ondrej Bilka <neleai@seznam.cz>
14897
14898 [BZ #15346]
14899 * time/getdate.c: Include ctype.h and alloca.h.
14900 (__getdate_r): Trim leading and trailing spaces of input.
14901 * time/tst-getdate.c (tests): Add tests with leading and
14902 trailing spaces.
14903
61c23e62
RM
149042013-04-08 Roland McGrath <roland@hack.frob.com>
14905
14906 [BZ #14280]
14907 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14908 when computing value.
14909
7208a313
CD
149102013-04-06 Carlos O'Donell <carlos@redhat.com>
14911
085b2d41
CD
14912 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14913 Use testrun.sh to run libm tests.
14914
7208a313
CD
14915 [BZ #15309]
14916 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14917
872c0acd
MM
149182013-04-06 Marko Myllynen <myllynen@redhat.com>
14919
14920 [BZ #15264]
14921 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14922
26510bdd
CD
149232013-04-06 Carlos O'Donell <carlos@redhat.com>
14924
14925 * Makefile.in (regen-ulps): New target.
14926 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14927 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14928 [ifneq (no,$(PERL)] (regen-ulps): New target.
14929 [ifeq (no,$(PERL)] (regen-ulps): New target.
14930 * math/libm-test.inc (ulps_file_name): Define.
14931 (output_dir): New variable.
14932 (options): Add "output-dir" option.
14933 (parse_opt): Handle 'o' case.
14934 (main): If output_dir is non-NULL use it as a prefix
14935 otherwise use "".
14936 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14937
a01f19c8
CD
149382013-04-06 Carlos O'Donell <carlos@redhat.com>
14939
14940 [BZ #10060, #10062]
14941 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14942 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14943 fail configure if __sync_val_compare_and_swap is not inlined.
14944 * sysdeps/i386/configure: Regenerate.
14945 * configure.in: Build for i686 when configured for i386.
14946 * configure: Regenerate.
14947 * README: Remove i386 reference.
14948
b7a329a5
CD
149492013-04-06 Carlos O'Donell <carlos@redhat.com>
14950
14951 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14952 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14953
bf0f50df
TS
149542013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14955
ee091edf
TS
14956 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14957 (lmsnanval): New variables.
14958 (F): Add conversion tests.
14959 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14960 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14961
a8b792d6
TS
14962 * stdio-common/tstdiomisc.c (F): Properly collect individual
14963 tests' results.
14964
a1cbf437
TS
14965 [BZ #14686, #15336]
14966 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14967 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14968 Instead, use input NaN values or generate a qNaN by arithmetic
14969 operation. Also fix bugs to comply with the standard.
14970 * math/libm-test.inc (remainder_test): Add more tests.
14971
8b43a0c9
TS
14972 [BZ #15335, #15342]
14973 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14974 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14975 input NaN values or generate a qNaN by arithmetic operation.
14976
d91da4ce
TS
14977 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14978 unreachable code.
14979
bf0f50df
TS
14980 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14981 definitions.
14982
05e166c8
JM
149832013-04-03 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #14478]
14986 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14987 underflowed result.
14988 * math/s_cexpf.c (__cexpf): Likewise.
14989 * math/s_cexpl.c (__cexpl): Likewise.
14990 * math/libm-test.inc (cexp_test): Add more tests.
14991
1cef1b19
AS
149922013-04-03 Andreas Schwab <schwab@suse.de>
14993
14994 [BZ #15330]
14995 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14996 order arrays from heap if bigger than alloca cutoff.
14997
74d87055
TS
149982013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14999
15000 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15001 (SNAN_TESTS_double): Refer to GCC PR56831.
15002 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15003 GCC PR56828.
15004
d755bba4
SP
150052013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15006
90d5d5bb
SP
15007 * Rules (bench): Move bench.out after the run is complete.
15008
73e0cd5d
SP
15009 * Rules (bench): Echo currently running benchmark.
15010
64aabd4b
SP
15011 * benchtests/Makefile (bench): Add atan and slowatan.
15012 * benchtests/atan-inputs: New file.
15013 * benchtests/slowatan-inputs: New file.
15014 * benchtests/slowatan.c: New file.
15015
c871eccd
SP
15016 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15017 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15018 its value.
15019
d755bba4
SP
15020 [BZ #15305]
15021 * sysdeps/unix/sysv/linux/kernel-features.h
15022 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15023 __ASSUME_XFS_RESTRICTED_CHOWN.
15024 * sysdeps/unix/sysv/linux/pathconf.c
15025 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15026 Save and restore errno.
15027
52ce4860
JM
150282013-04-02 Joseph Myers <joseph@codesourcery.com>
15029
15030 [BZ #15327]
15031 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15032 arguments using __kernel_casinh.
15033 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15034 arguments using __kernel_casinhf.
15035 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15036 arguments using __kernel_casinhl.
15037 * math/libm-test.inc (cacosh_test): Add more tests.
15038 * sysdeps/i386/fpu/libm-test-ulps: Update.
15039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15040
81f311c2
SP
150412013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15042
e7906a47
SP
15043 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15044 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15045
92e3664b
SP
15046 * bench/Makefile (bench): Add sin and slowsin.
15047 * benchtests/sin-inputs: New file.
15048 * benchtests/slowsin-inputs: New file.
15049 * benchtests/slowsin.c: New file.
15050
81f311c2
SP
15051 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15052 (bench): Add slowexp and slowpow.
15053 (exp-ITER): Increase iterations.
15054 (pow-ITER): Likewise.
15055 * benchtests/exp-inputs: Change input.
15056 * benchtests/pow-inputs: Likewise.
15057 * benchtests/slowexp-inputs: New file.
15058 * benchtests/slowexp.c: New file.
15059 * benchtests/slowpow-inputs: New file.
15060 * benchtests/slowpow.c: New file.
15061
ab0f1aa9
AZ
150622013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15063
15064 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15065 instructions.
15066 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15067 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15068 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15069 * benchtests/Makefile: Add rint benchtest.
15070 * benchtests/rint-inputs: Input for rint benchtest.
15071
57267616
TS
150722013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15073
15074 * Versions.def (libm): Add GLIBC_2.18.
15075 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15076 hidden libm prototypes.
15077 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15078 * math/Makefile (libm-calls): Add s_issignaling.
15079 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15080 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15081 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15082 declaration.
15083 * math/math.h [__USE_GNU] (issignaling): New macro.
15084 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15085 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15090 * manual/arith.texi (issignaling): New section.
15091 * manual/libm-err-tab.pl (@all_functions): Update comment.
15092 * math/gen-libm-test.pl (parse_args): Apply special handling for
15093 issignaling.
15094 * math/libm-test.inc (print_float, issignaling_test): New
15095 functions.
15096 (check_float_internal): Add issignaling checks.
15097 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15098 default definition.
15099 * sysdeps/powerpc/math-tests.h: New file.
15100 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15101 tests.
15102 * math/test-snan.c (TEST_FUNC): Likewise.
15103
6142896d
DM
151042013-03-30 David S. Miller <davem@davemloft.net>
15105
15106 * po/de.po: Update from translation team.
15107
ccc8cadf
JM
151082013-03-30 Joseph Myers <joseph@codesourcery.com>
15109
15110 [BZ #10357]
15111 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15112 imaginary part less than 1.0 and real part less than 0.5
15113 specially.
15114 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15115 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15116 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15117 (cacos_test): Add more tests.
15118 (casin_test): Likewise.
15119 (casinh_test): Likewise.
15120 * sysdeps/i386/fpu/libm-test-ulps: Update.
15121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15122
0f6a8d4b
SP
151232013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
0d1029de
SP
15125 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15126 ONE with its value.
15127
c2d94018
SP
15128 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15129 (__pow_mp): Replace ONE and MONE with their values.
15130 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15131 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15132 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15133 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15134 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15135 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15136
27ec37f1
SP
15137 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15138
a64d7e0e
SP
15139 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15140 (__pow_mp): Replace ZERO and MZERO with their values.
15141 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15143 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15145 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15146 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15147 (__sqr): Likewise.
15148
d26dd3eb
SP
15149 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15150
0f6a8d4b
SP
15151 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15152
e57b0c61
RM
151532013-03-28 Roland McGrath <roland@hack.frob.com>
15154
15155 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15156 Declare with __attribute__ ((weak)).
15157 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15158 Call __call_tls_dtors only if it's not NULL.
15159
356b3480
RM
151602013-03-28 Roland McGrath <roland@hack.frob.com>
15161
288f7d79
RM
15162 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15163 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15164 magic __ehdr_start linker symbol if it's defined.
15165 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15166 them up here if it was already done.
15167
dc0a0263
RM
15168 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15169 (_dl_aux_init): Use const in cast when setting it.
15170 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15171 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15172 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15173
3d3436ae
RM
15174 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15175 Declare them here.
15176 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15177 * csu/libc-tls.c: Nor here.
15178 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15179
356b3480
RM
15180 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15181 (__libc_message): Never call vsyslog.
15182
b0f1246a
AM
151832013-03-28 Alan Modra <amodra@gmail.com>
15184
15185 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15186 Define as empty.
15187 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15188 Likewise.
15189
fbbe2b9a
AZ
151902013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15191
15192 [BZ #15214]
15193 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15194 underflow.
15195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15196
1728ab37
SP
151972013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15198
7a86be6e
SP
15199 [BZ #15304]
15200 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15201 Don't add gid passed as argument.
15202
1728ab37
SP
15203 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15204
3a7182a1
JM
152052013-03-27 Joseph Myers <joseph@codesourcery.com>
15206
15207 [BZ #15307]
15208 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15209 imaginary part between 1.0 and 1.5 and real part less than 0.5
15210 specially.
15211 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15212 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15213 * math/libm-test.inc (cacos_test): Add more tests.
15214 (casin_test): Likewise.
15215 (casinh_test): Likewise.
15216 * sysdeps/i386/fpu/libm-test-ulps: Update.
15217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15218
6f2e90e7
SP
152192013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15220
5739f705
SP
15221 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15222 constants.
15223 (norm): Likewise.
15224 (denorm): Likewise.
15225 (__dbl_mp): Likewise.
15226 (add_magnitudes): Likewise.
15227 (sub_magnitudes): Likewise.
15228 (__add): Likewise.
15229 (__sub): Likewise.
15230 (__mul): Likewise.
15231 (__sqr): Likewise.
15232 (__inv): Likewise.
15233 (__dvd): Likewise.
15234
e375e83d
SP
15235 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15236 commented code.
15237 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15238 (__dubcos): Likewise.
15239 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15240 (__ieee754_acos): Likewise.
15241 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15242 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15243 (__exp1): Likewise.
15244 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15245 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15246 (log1): Likewise.
15247 (my_log2): Likewise.
15248 (checkint): Likewise.
15249 * sysdeps/ieee754/dbl-64/e_remainder.c
15250 (__ieee754_remainder): Likewise.
15251 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15253 (bsloww): Likewise.
15254 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15255
6f2e90e7
SP
15256 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15257 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15258 MANTISSA_STORE_T to store computations on mantissa. Use
15259 macros for rounding and division.
15260 (denorm): Likewise.
15261 (__dbl_mp): Likewise.
15262 (add_magnitudes): Likewise.
15263 (sub_magnitudes): Likewise.
15264 (__mul): Likewise.
15265 (__sqr): Likewise.
15266 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15267 powers of two in terms of TWOPOW macro.
15268 (mp_no): Make type of mantissa as MANTISSA_T.
15269 [!RADIXI]: Define RADIXI.
15270 [!TWO52]: Define TWO52.
15271 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15272
fce14d4e
AZ
152732013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15274
15275 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15276 llroundl symbol when building for PPC32.
15277
9ad027fb
MW
152782013-03-24 Mark H Weaver <mhw@netris.org>
15279
15280 * manual/arith.texi (Normalization Functions): Fix prototypes for
15281 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15282
e42a38dd
AZ
152832013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15284
15285 [BZ #13889]
15286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15287 high value to check if expl overflow.
15288 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15289 to check for underflow and overflow.
15290 * math/libm-test.inc: Add exp test.
15291
2e0fb521
DL
152922013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15293
15294 [BZ #11120]
15295 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15296 with NOT_IN_libc.
15297
b5784d95
AZ
152982013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15299
15300 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15301 symbol.
15302
5aa4a1a1
TS
153032013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15304
bdef0be7
TS
15305 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15306 wrap blocks consisting of several statements.
15307
5aa4a1a1
TS
15308 * sysdeps/generic/math-tests.h: New file.
15309 * sysdeps/i386/fpu/math-tests.h: Likewise.
15310 * math/test-snan.c: Include it.
15311 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15312
98c48fe5
JM
153132013-03-21 Joseph Myers <joseph@codesourcery.com>
15314
15315 [BZ #15285]
15316 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15317 (__ieee754_j0l): Do not improve calculations using cos of twice
15318 input for inputs above LDBL_MAX / 2.0L.
15319 (__ieee754_y0l): Likewise.
15320 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15321 (__ieee754_j1l): Do not improve calculations using cos of twice
15322 input for inputs above LDBL_MAX / 2.0L.
15323 (__ieee754_y1l): Likewise.
15324 * math/libm-test.inc (j0_test): Add another test.
15325 (j1_test): Likewise.
15326 (y0_test): Likewise.
15327 (y1_test): Likewise.
15328 * sysdeps/i386/fpu/libm-test-ulps: Update.
15329
3775a8bc
SP
153302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15331
15332 * Rules ($(objpfx)bench-%.c): Include code from a C source
15333 file.
15334
0a1b2ae6
JM
153352013-03-21 Joseph Myers <joseph@codesourcery.com>
15336
15337 [BZ #15287]
15338 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15339 imaginary part 1.0 and real part less than 0.5 specially.
15340 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15341 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15342 * math/libm-test.inc (cacos_test): Add more tests.
15343 (casin_test): Likewise.
15344 (casinh_test): Likewise.
15345 * sysdeps/i386/fpu/libm-test-ulps: Update.
15346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15347
b33d4ce4
SP
153482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15349
15350 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15351 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15352
bef0b507
JM
153532013-03-20 Joseph Myers <joseph@codesourcery.com>
15354
15355 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15356 * config.make.in (config-cflags-sse4): Remove variable.
15357 (config-cflags-avx): Likewise.
15358 (config-cflags-sse2avx): Likewise.
15359 (config-cflags-novzeroupper): Likewise.
15360 (config-asflags-i686): Likewise.
15361 (have-mfma4): Likewise.
15362 (have-as-vis3): Likewise.
15363 (MIG): Likewise.
15364 * configure.in (MIG): Do not AC_SUBST.
15365 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15366 (libc_cv_cc_sse4): Do not AC_SUBST.
15367 (libc_cv_cc_avx): Likewise.
15368 (libc_cv_cc_sse2avx): Likewise.
15369 (libc_cv_cc_novzeroupper): Likewise.
15370 (libc_cv_cc_fma4): Likewise.
15371 (libc_cv_as_i686): Likewise.
15372 (libc_cv_sparc_as_vis3): Likewise.
15373 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15374 LIBC_CONFIG_VAR.
15375 (config-asflags-i686): Likewise.
15376 (config-cflags-avx): Likewise.
15377 (config-cflags-sse2avx): Likewise.
15378 (have-mfma4): Likewise.
15379 (config-cflags-novzeroupper): Likewise.
15380 * sysdeps/mach/configure.in (MIG): Likewise.
15381 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15382 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15383 LIBC_CONFIG_VAR.
15384 (config-cflags-avx): Likewise.
15385 (config-cflags-sse2avx): Likewise.
15386 (have-mfma4): Likewise.
15387 (config-cflags-novzeroupper): Likewise.
15388 * configure: Regenerated.
15389 * sysdeps/i386/configure: Likewise.
15390 * sysdeps/mach/configure: Likewise.
15391 * sysdeps/sparc/configure: Likewise.
15392 * sysdeps/x86_64/configure: Likewise.
15393
912cc4b3
RM
153942013-03-20 Roland McGrath <roland@hack.frob.com>
15395
15396 [BZ #14812]
15397 * locale/programs/localedef.c (options): Put N_ translation marker
15398 on argument names, not just descriptions.
15399
04eed2b0
MS
154002013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15401
15402 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15403
a065ceff
OB
154042013-03-20 Ondřej Bílka <neleai@seznam.cz>
15405
9bb2a810 15406 [BZ #14176]
a065ceff
OB
15407 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15408
a600e5ce
RM
154092013-03-19 Roland McGrath <roland@hack.frob.com>
15410
15411 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15412 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15413 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15414 [!BEFORE_ABORT] (before_abort): New function.
15415 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15416 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15417 (writev_for_fatal): New function.
15418 (WRITEV_FOR_FATAL): New macro; call that.
15419 (backtrace_and_maps): New function.
15420 (BEFORE_ABORT): New macro; call that.
15421 (struct str_list): Type removed.
15422 (__libc_message, __libc_fatal): Functions removed.
15423 Include <sysdeps/posix/libc_fatal.c> instead.
15424
6b18bea6
JM
154252013-03-19 Joseph Myers <joseph@codesourcery.com>
15426
15427 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15428 constants.
15429 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15430 double constants.
15431
aaa8cb4b
AS
154322013-03-19 Andreas Schwab <schwab@suse.de>
15433
44673770
AS
15434 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15435 * sysdeps/gnu/configure: Regenerate.
15436
aaa8cb4b
AS
15437 * configure.in: Substitute libc_cv_rtlddir.
15438 * configure: Regenerate.
15439 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15440 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15441 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15442 * elf/Makefile (install-others, CFLAGS-interp.c)
15443 (ldso_install, common-ldd-rewrite): Likewise.
15444 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15445 $(inst_slibdir)/$(rtld-installed-name).
15446 * scripts/rellns-sh: Add -p option.
15447 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15448 for source.
15449
d3cfc668
SP
154502013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15451
15452 * manual/nptl.texi: Renamed to ...
15453 * manual/threads.texi: ... this.
15454 * manual/Makefile (chapters): Update.
15455
0e2b9cdd
RM
154562013-03-18 Roland McGrath <roland@hack.frob.com>
15457
15458 [BZ #14812]
15459 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15460 on argument names, not just descriptions.
0e2b9cdd
RM
15461 * malloc/memusagestat.c (options): Likewise.
15462 * nss/getent.c (options): Likewise.
63270c24
RM
15463
154642013-03-18 Benno Schulenberg <bensberg@justemail.net>
15465
15466 [BZ #14812]
15467 * iconv/iconv_prog.c (options): Put N_ translation marker
15468 on argument names, not just descriptions.
15469 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15470
b2e1393c
OB
154712013-03-18 Ondrej Bilka <neleai@seznam.cz>
15472
15473 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15474 implementation which is faster on all x86_64 architectures.
15475 Tested on AMD, Intel Nehalem, SNB, IVB.
15476 * sysdeps/x86_64/strnlen.S: Likewise.
15477
15478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15479 Remove all multiarch strlen and strnlen versions.
15480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15481 Remove strlen and strnlen related parts.
15482
15483 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15484 Inline strlen part.
15485 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15486
15487 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15488 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15489 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15490 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15491 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15492 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15493
ec4ff04d
CD
154942013-03-17 Carlos O'Donell <carlos@redhat.com>
15495
15496 * manual/memory.texi (Malloc Tunable Parameters):
15497 Sort parameters alphabetically. Add comments for missing entries.
15498
cd18e90a
DM
154992013-03-17 David S. Miller <davem@davemloft.net>
15500
15501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15502
2a185d32
JM
155032013-03-16 Joseph Myers <joseph@codesourcery.com>
15504
d2f9799e
JM
15505 [BZ #15283]
15506 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15507 for arguments at most half maximum finite value.
15508 * math/libm-test.inc (j0_test): Add more tests.
15509 (j1_test): Likewise.
15510 (y0_test): Likewise.
15511 (y1_test): Likewise.
15512 * sysdeps/i386/fpu/libm-test-ulps: Update.
15513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15514
2a185d32
JM
15515 [BZ #14155]
15516 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15517 1 / x and functions P and Q for arguments above 0x1p256L.
15518 (__ieee754_y0l): Likewise.
15519 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15520 (__ieee754_y1l): Likewise.
15521 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15522 (j1_test): Likewise.
15523 (y0_test): Likewise.
15524 (y1_test): Likewise.
15525
6cbec759
TS
155262013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15527
15528 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15529 variable.
15530
bc16e260
RM
155312013-03-15 Roland McGrath <roland@hack.frob.com>
15532
aefc9b8c
RM
15533 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15534 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15535 zero since it's initialized to EXEC_PAGESIZE.
15536
bc16e260
RM
15537 * sysdeps/unix/sysv/linux/ldsodefs.h
15538 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15539 * sysdeps/generic/ldsodefs.h: ... here.
15540
a57da955
TS
155412013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15542
af00a34d
TS
15543 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15544
495ded2c
TS
15545 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15546 math/test-snan.c.
15547 * math/test-snan.c: Renamed from
15548 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15549 * math/Makefile (tests): Add test-snan.
15550 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15551 test-powerpc-snan.
15552
777b0332
TS
15553 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15554 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15555 functions.
15556 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15557 __builtin_nan family of functions.
15558 * math/libm-test.inc (initialize): Initialize qnan_value with
15559 __builtin_nan family of functions.
15560 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15561 Remove variables.
15562 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15563 Remove functions.
15564 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15565 storage class. Initialize qNaN_var and sNaN_var with
15566 __builtin_nan and __builtin_nans families of functions,
15567 respectively.
15568
64d063b8
TS
15569 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15570 (sqrt_test): Remove duplicate test with qNaN input.
15571 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15572 (round_test, signbit_test, significand_test): Note missing +/-Inf
15573 as well as qNaN tests.
15574
67e971f1
TS
15575 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15576 qNaN_var. Fix a few strings, too.
15577 * math/libm-test.inc (nan_value): Rename to qnan_value.
15578 * math/gen-libm-test.pl (%beautify): Adjust to that.
15579 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15580 * math/test-misc.c (main): Likewise.
15581 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15582 to __qnan_bytes, and __qnan_union, respectively.
15583 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15584 Likewise.
15585 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15586 and lqnanval, respectively.
15587 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15588 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15589 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15590 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15591
64487e12
TS
15592 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15593 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15594 doubles.
15595
e015e27b
TS
15596 * math/test-misc.c (main): Fix copy'n'pastos.
15597 * misc/tst-efgcvt.c (special): Likewise.
15598
a57da955
TS
15599 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15600 Remove declarations.
15601
1e380345
SP
156022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15603
15604 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15605 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15606 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15607 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15608
ef26eece
AZ
156092013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15610
15611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15612 macro to return vdso values correctly in IFUNC implementations.
15613 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15614 Optimization by using IFUNC.
15615
8cfdb7e0
SP
156162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15617 Richard Henderson <rth@redhat.com>
15618 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15619
15620 * Makefile.in (bench): New target.
15621 * NEWS: Mention the benchmark framework.
15622 * Rules (bench): Likewise.
15623 (binaries-bench): Generate binaries for functions to
15624 benchmark.
15625 * benchtests/Makefile: New makefile for benchmark tests.
15626 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15627 programs.
15628 * benchtests/exp-inputs: New input file for EXP function.
15629 * benchtests/pow-inputs: New input file for POW function.
15630 * scripts/bench.pl: New script to generate source files for
15631 benchmark programs.
15632
bcda9880
SP
156332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15634
d22ca8cd
SP
15635 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15636 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15637 computations on mantissa. Use macros for rounding and
15638 division.
15639 (denorm): Likewise.
15640 (__dbl_mp): Likewise.
15641 (add_magnitudes): Likewise.
15642 (sub_magnitudes): Likewise.
15643 (__mul): Likewise.
15644 (__sqr): Likewise.
15645 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15646 powers of two in terms of TWOPOW macro.
15647 (mp_no): Make type of mantissa as MANTISSA_T.
15648 [!RADIXI]: Define RADIXI.
15649 [!TWO52]: Define TWO52.
15650 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15651
bcda9880
SP
15652 * manual/nptl.texi (cindex): Modify threads to pthreads.
15653
06d5adfb
JM
156542013-03-15 Joseph Myers <joseph@codesourcery.com>
15655
15656 * sysdeps/x86_64/preconfigure: Regenerated.
15657
41c7328e
JM
156582013-03-14 Joseph Myers <joseph@codesourcery.com>
15659
15660 [BZ #14155]
15661 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15662 0x1p28 and above.
15663 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15664 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15665 0x1p28 and above.
15666 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15667 * math/libm-test.inc (j0_test): Do not allow one spurious
15668 underflow exception.
15669 (y1_test): Likewise.
15670
e25cfa60
SP
156712013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15672
0409959c
SP
15673 * manual/Makefile (chapters): Add nptl.
15674 * manual/debug.texi (Debugging Support): Add link to Threads
15675 chapter.
15676 * manual/nptl.texi: New file.
15677
e25cfa60
SP
15678 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15679
58a1335e
PB
156802013-03-14 Petr Baudis <pasky@ucw.cz>
15681
15682 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15683 for non-NULL pointer before the memory validity test. Pointed
15684 out by Holger Brunck <holger.brunck@keymile.com>.
15685
9dc7c64f
AS
156862013-03-13 Andreas Schwab <schwab@suse.de>
15687
15688 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15689 instead of .os.
15690
54206aa6
JM
156912013-03-13 Joseph Myers <joseph@codesourcery.com>
15692
15693 * timezone/zic.c: Update from tzcode 2013b.
15694
e98cdb38
CD
156952013-03-12 Carlos O'Donell <carlos@redhat.com>
15696
15697 * manual/install.texi (Configuring and compiling):
15698 Mention i686 and i586.
15699 * INSTALL: Regenerate.
15700
9967e003
RM
157012013-03-12 Roland McGrath <roland@hack.frob.com>
15702
15703 * sysdeps/init_array/elf-init.c: New file.
15704 * csu/elf-init.c
15705 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15706 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15707
15708 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15709 __gmon_start__ as global, but as static with a .preinit_array pointer.
15710 * sysdeps/init_array/gmon-start.c: New file. Use that.
15711 * sysdeps/init_array/crti.S: New file, empty except for comments.
15712 * sysdeps/init_array/crtn.S: Likewise.
15713
e6b5a293 157142013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15715
15716 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15717 definining bcopy.
80f844c9
OB
15718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15719 Remove Prefer_SSE_for_memop.
15720 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15721 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15722 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15724 memset-x86-64.
80f844c9 15725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15726 Remove bzero, memset ifunc support.
80f844c9
OB
15727 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15728 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15729 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15730 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15731
fb6b0fcb
AS
157322013-03-11 Andreas Schwab <schwab@suse.de>
15733
15734 [BZ #15234]
15735 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15736 by SHLIB_COMPAT.
15737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15738 (GLIBC_2.16): Remove pthread_atfork.
15739
3e6bd4b1
PP
157402013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15741
15742 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15743 (ptestcases.h): Likewise.
15744
222d7f00
RM
157452013-03-08 Roland McGrath <roland@hack.frob.com>
15746
15747 * Makeconfig ($(common-objpfx)config.status): Depend on
15748 sysdeps/*/preconfigure{,.in} too.
15749
1ba4f030
JM
157502013-03-08 Joseph Myers <joseph@codesourcery.com>
15751
a222d91a
JM
15752 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15753 (__free_hook): Use void * instead of __malloc_ptr_t.
15754 (__malloc_hook): Likewise.
15755 (__realloc_hook): Likewise.
15756 (__memalign_hook): Likewise.
15757 (__after_morecore_hook): Likewise.
15758 * malloc/arena.c (save_malloc_hook): Likewise.
15759 (save_free_hook): Likewise.
15760 * malloc/hooks.c (malloc_hook_ini): Likewise.
15761 (realloc_hook_ini): Likewise.
15762 (memalign_hook_ini): Likewise.
15763 * malloc/malloc.c (malloc_hook_ini): Likewise.
15764 (realloc_hook_ini): Likewise.
15765 (memalign_hook_ini): Likewise.
15766 (__free_hook): Likewise.
15767 (__malloc_hook): Likewise.
15768 (__realloc_hook): Likewise.
15769 (__memalign_hook): Likewise.
15770 (__libc_malloc): Likewise.
15771 (__libc_free): Likewise.
15772 (__libc_realloc): Likewise.
15773 (__libc_memalign): Likewise.
15774 (__libc_valloc): Likewise.
15775 (__libc_pvalloc): Likewise.
15776 (__libc_calloc): Likewise.
15777 (__posix_memalign): Likewise.
15778 * malloc/morecore.c (__sbrk): Likewise.
15779 (__default_morecore): Likewise.
15780
5cc45e10
JM
15781 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15782
dd54b864
JM
15783 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15784 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15785 __malloc_ptrdiff_t.
15786
1ba4f030
JM
15787 * malloc/malloc.h (__malloc_size_t): Remove macro.
15788 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15789 __malloc_size_t.
15790 (old_memalign_hook): Likewise.
15791 (old_realloc_hook): Likewise.
15792 (struct hdr): Likewise.
15793 (flood): Likewise.
15794 (mallochook): Likewise.
15795 (memalignhook): Likewise.
15796 (reallochook): Likewise.
15797 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15798 (tr_old_realloc_hook): Likewise.
15799 (tr_old_memalign_hook): Likewise.
15800 (tr_mallochook): Likewise.
15801 (tr_reallochook): Likewise.
15802 (tr_memalignhook): Likewise.
15803
edf66e57
AZ
158042013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15805
15806 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15807 default_ldbl_pack and using as default implementation.
15808 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15809 implementation.
15810 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15811 redundant definition.
15812 (ldbl_insert_mantissa): Likewise.
15813 (ldbl_canonicalize): Likewise.
15814 (ldbl_nearbyint): Likewise.
15815 (ldbl_pack): Rename to ldbl_pack_ppc.
15816 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15817 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15818 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15819
6d9145d8
SP
158202013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15821
15822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15823 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15824 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15825 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15827 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15828 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15829 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15830
4dd4e157
AJ
158312013-03-07 Andreas Jaeger <aj@suse.de>
15832
15833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15834 bits/mman-linux.h.
15835
adbb8027
SP
158362013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15837
ce544b5b
SP
15838 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15839 Include mpa.h and declare __MPEXP.
15840 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15841 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15842 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15843 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15844 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15845 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15846 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15847
4cc149fd
SP
15848 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15849 (__slowpow): Use long double EXPL and LOGL functions to
15850 compute POW.
15851 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15852 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15853 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15854 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15855 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15856 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15857
e6ebd4a7
SP
15858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15859 intermediate variable to calculate exponent.
15860 (__sqr): Likewise.
15861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15862 Likewise.
15863 (__sqr): Likewise.
15864
82a9811d
SP
15865 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15866 [!NO__SQR]: Define __sqr.
15867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15868 and NO__SQR. Remove all code except __mul and __sqr. Include
15869 sysdeps/ieee754/dbl-64/mpa.c.
15870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15871
adbb8027
SP
15872 [BZ #12723]
15873 * posix/Makefile (tests): Add tst-pathconf.
15874 * posix/tst-pathconf.c: New test case.
15875 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15876 _PC_PIPE_BUF.
15877 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15878
39120df9
PF
158792013-03-06 Patsy Franklin <pfrankli@redhat.com>
15880
15881 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15882
67525cb8
AJ
158832013-03-06 Andreas Jaeger <aj@suse.de>
15884
664a9ce4
AJ
15885 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15886 definition via __MAP_ANONYMOUS.
15887
8e39047d
AJ
15888 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15889 it's not part of Linux headers.
15890
67525cb8
AJ
15891 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15892 (MAP_HUGE_MASK): Define.
15893
15894 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15895 Define.
15896 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15898 Define.
15899 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15900 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15901 Define.
15902 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15903 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15904 Define.
15905 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15906
15907 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15908 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15909 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15910 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15911 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15912 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15913
15914 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15915 Handle f2fs.
15916
15917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15918 Handle f2fs and efivarfs.
15919
15920 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15921 f2fs.
15922
15923 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15924 (EFIVARFS_MAGIC): Add.
15925 (F2FS_LINK_MAX): Add.
15926
e1b42695
PP
159272013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15928
15929 * stdio-common/vfprintf.c: Replace __builtin_expect with
15930 __glibc_unlikely.
15931
2d67d91a
JM
159322013-03-06 Joseph Myers <joseph@codesourcery.com>
15933
15934 [BZ #13550]
15935 * sysdeps/generic/bp-sym.h: Remove file.
15936 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15937 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15938 <bp-sym.h> and <bp-asm.h>.
15939 (__longjmp): Don't use BP_SYM.
15940 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15941 and <bp-asm.h>.
15942 (memcpy): Don't use BP_SYM.
15943 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15944 <bp-sym.h> and <bp-asm.h>.
15945 (memcpy): Don't use BP_SYM.
15946 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15947 <bp-asm.h>.
15948 (memcpy): Don't use BP_SYM.
15949 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15950 <bp-asm.h>.
15951 (memset): Don't use BP_SYM.
15952 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15953 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15954 (__bzero): Don't use BP_SYM.
15955 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15956 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15957 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15958 <bp-sym.h> and <bp-asm.h>.
15959 (memcmp): Don't use BP_SYM. Remove comment about bounded
15960 pointers.
15961 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15962 <bp-sym.h> and <bp-asm.h>.
15963 (memcpy): Don't use BP_SYM.
15964 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15965 <bp-sym.h> and <bp-asm.h>.
15966 (memset): Don't use BP_SYM.
15967 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15968 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15969 (__bzero): Don't use BP_SYM.
15970 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15971 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15972 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15973 <bp-sym.h> and <bp-asm.h>.
15974 (strncmp): Don't use BP_SYM. Remove comment about bounded
15975 pointers.
15976 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15977 <bp-sym.h> and <bp-asm.h>.
15978 (memcpy): Don't use BP_SYM.
15979 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15980 <bp-sym.h> and <bp-asm.h>.
15981 (memset): Don't use BP_SYM.
15982 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15983 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15984 (__bzero): Don't use BP_SYM.
15985 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15986 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15987 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15988 <bp-sym.h> and <bp-asm.h>.
15989 (__memchr): Don't use BP_SYM.
15990 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15991 <bp-sym.h> and <bp-asm.h>.
15992 (memcmp): Don't use BP_SYM. Remove comment about bounded
15993 pointers.
15994 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15995 <bp-sym.h> and <bp-asm.h>.
15996 (memcpy): Don't use BP_SYM.
15997 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15998 <bp-sym.h> and <bp-asm.h>.
15999 (__mempcpy): Don't use BP_SYM.
16000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16001 <bp-sym.h> and <bp-asm.h>.
16002 (__memrchr): Don't use BP_SYM.
16003 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16004 <bp-sym.h> and <bp-asm.h>.
16005 (memset): Don't use BP_SYM.
16006 (__bzero): Likewise.
16007 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16008 <bp-sym.h> and <bp-asm.h>.
16009 (__rawmemchr): Don't use BP_SYM.
16010 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16011 <bp-sym.h> and <bp-asm.h>.
16012 (__STRCMP): Don't use BP_SYM.
16013 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16014 <bp-sym.h> and <bp-asm.h>.
16015 (strchr): Don't use BP_SYM.
16016 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16017 <bp-sym.h> and <bp-asm.h>.
16018 (__strchrnul): Don't use BP_SYM.
16019 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16020 <bp-sym.h> and <bp-asm.h>.
16021 (strlen): Don't use BP_SYM.
16022 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16023 <bp-sym.h> and <bp-asm.h>.
16024 (strncmp): Don't use BP_SYM. Remove comment about bounded
16025 pointers.
16026 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16027 <bp-sym.h> and <bp-asm.h>.
16028 (__strnlen): Don't use BP_SYM.
16029 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16030 <bp-sym.h> and <bp-asm.h>.
16031 (__GI__setjmp): Don't use BP_SYM.
16032 (_setjmp): Likewise.
16033 (__sigsetjmp): Likewise.
16034 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16035 (L(start_addresses)): Don't use BP_SYM.
16036 (_start): Likewise.
16037 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16038 <bp-asm.h>.
16039 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16040 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16041 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16042 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16043 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16044 <bp-asm.h>.
16045 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16046 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16047 about bounded pointers.
16048 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16049 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16050 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16051 <bp-asm.h>.
16052 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16053 about bounded pointers. Remove GKM FIXME comments.
16054 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16055 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16056 <bp-asm.h>.
16057 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16058 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16059 Remove GKM FIXME comments.
16060 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16061 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16062 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16063 <bp-asm.h>.
16064 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16065 about bounded pointers. Remove GKM FIXME comment.
16066 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16067 and <bp-asm.h>.
16068 (strncmp): Don't use BP_SYM. Remove comment about bounded
16069 pointers.
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16071 <bp-sym.h> and <bp-asm.h>.
16072 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16074 <bp-sym.h> and <bp-asm.h>.
16075 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16076 comment.
16077
cdcf361f
PP
160782013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16079
16080 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16081 call free(NULL).
16082
3c4a2b15
DM
160832013-03-05 David S. Miller <davem@davemloft.net>
16084
16085 * po/es.po: Update from translation team.
16086
cdcf361f 160872013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16088
16089 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16090 <bits/mman-linux.h>.
16091 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16092 is fine.
16093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16094 <bits/mman-linux.h> to end of file.
16095 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16096 is fine.
16097 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16098 <bits/mman-linux.h> to end of file.
16099 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16100 is fine.
16101 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16102 <bits/mman-linux.h> to end of file.
16103
16104 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16105 (MCL_CURRENT, MCL_FUTURE): Define here.
16106
5f67c04f
AK
161072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16108
8a4473cc 16109 [BZ #15232]
5f67c04f
AK
16110 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16111 attribute_hidden.
16112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16113
c3e94a95
AK
161142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16115
16116 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16117 fourth parameter needed for rt_sigprocmask syscall.
16118 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16119 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16120 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16121 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16122 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16123 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16124
cfb6382a
JM
161252013-03-04 Joseph Myers <joseph@codesourcery.com>
16126
16127 [BZ #13550]
16128 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16129 comment about bounded pointers.
16130 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16131 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16132
539d8e01
AJ
161332013-03-04 Andreas Jaeger <aj@suse.de>
16134
16135 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16136 common definitions.
16137
16138 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16139 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16140 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16141 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16142 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16143 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16144
2e167a70 161452013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16146
16147 [BZ #15055]
16148 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16149 __ieee754_sqrl instead of __sqrl.
16150
68508633
JM
161512013-03-01 Joseph Myers <joseph@codesourcery.com>
16152
16153 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16154 * sysdeps/powerpc/fpu_control.h: ... here.
16155 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16156 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16157 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16158 * sysdeps/powerpc/bits/mathinline.h: ... here.
16159
7775448e
RM
161602013-03-01 Roland McGrath <roland@hack.frob.com>
16161
16162 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16163 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16164 to just [NEED_DL_SYSINFO_DSO].
16165 * elf/dl-support.c: Likewise.
16166 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16167 * elf/rtld.c (dl_main): Likewise.
16168 * elf/setup-vdso.h (setup_vdso): Likewise.
16169 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16170 * sysdeps/unix/sysv/linux/dl-sysdep.c
16171 (_dl_discover_osversion): Likewise.
16172
4e9b5995
CD
161732013-03-01 Carlos O'Donell <carlos@redhat.com>
16174
16175 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16176 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16177
e23872c8
SP
161782013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16179
e5c74c63
SP
16180 * NEWS: Mention libm performance improvements and non-x86 PI
16181 futex support.
16182
e23872c8
SP
16183 * csu/libc-start.c (__pthread_initialize_minimal): Change
16184 function arguments.
16185 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16186
b5510883
JM
161872013-02-28 Joseph Myers <joseph@codesourcery.com>
16188
16189 [BZ #13550]
16190 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16191 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16192 <bp-sym.h> and <bp-asm.h>.
16193 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16194 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16195 and <bp-asm.h>.
16196 (memcpy): Don't use BP_SYM.
16197 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16198 <bp-asm.h>.
16199 (__mpn_add_n): Don't use BP_SYM.
16200 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16201 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16202 and <bp-asm.h>.
16203 (__mpn_addmul_1): Don't use BP_SYM.
16204 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16205 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16206 <bp-sym.h>.
16207 (_setjmp): Don't use BP_SYM.
16208 (__novmx_setjmp): Likewise.
16209 (__GI__setjmp): Likewise.
16210 (__vmx_setjmp): Likewise.
16211 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16212 <bp-sym.h>.
16213 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16214 (__bzero): Don't use BP_SYM.
16215 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16216 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16217 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16218 <bp-sym.h> and <bp-asm.h>.
16219 (memcpy): Don't use BP_SYM.
16220 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16221 <bp-sym.h> and <bp-asm.h>.
16222 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16223 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16224 <bp-sym.h> and <bp-asm.h>.
16225 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16226 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16227 <bp-asm.h>.
16228 (__mpn_lshift): Don't use BP_SYM.
16229 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16230 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16231 <bp-asm.h>.
16232 (memset): Don't use BP_SYM.
16233 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16234 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16235 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16236 <bp-asm.h>.
16237 (__mpn_mul_1): Don't use BP_SYM.
16238 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16239 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16240 <bp-sym.h> and <bp-asm.h>.
16241 (memcmp): Don't use BP_SYM.
16242 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16243 <bp-sym.h> and <bp-asm.h>.
16244 (memcpy): Don't use BP_SYM.
16245 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16246 <bp-sym.h> and <bp-asm.h>.
16247 (memset): Don't use BP_SYM.
16248 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16249 <bp-sym.h> and <bp-asm.h>.
16250 (strncmp): Don't use BP_SYM.
16251 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16252 <bp-sym.h> and <bp-asm.h>.
16253 (memcpy): Don't use BP_SYM.
16254 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16255 <bp-sym.h> and <bp-asm.h>.
16256 (memset): Don't use BP_SYM.
16257 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16258 <bp-sym.h> and <bp-asm.h>.
16259 (__memchr): Don't use BP_SYM.
16260 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16261 <bp-sym.h> and <bp-asm.h>.
16262 (memcmp): Don't use BP_SYM.
16263 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16264 <bp-sym.h> and <bp-asm.h>.
16265 (memcpy): Don't use BP_SYM.
16266 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16267 <bp-sym.h> and <bp-asm.h>.
16268 (__mempcpy): Don't use BP_SYM.
16269 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16270 <bp-sym.h> and <bp-asm.h>.
16271 (__memrchr): Don't use BP_SYM.
16272 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16273 <bp-sym.h> and <bp-asm.h>.
16274 (memset): Don't use BP_SYM.
16275 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16276 <bp-sym.h> and <bp-asm.h>.
16277 (__rawmemchr): Don't use BP_SYM.
16278 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16279 <bp-sym.h> and <bp-asm.h>.
16280 (__STRCMP): Don't use BP_SYM.
16281 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16282 <bp-sym.h> and <bp-asm.h>.
16283 (strchr): Don't use BP_SYM.
16284 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16285 <bp-sym.h> and <bp-asm.h>.
16286 (__strchrnul): Don't use BP_SYM.
16287 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16288 <bp-sym.h> and <bp-asm.h>.
16289 (strlen): Don't use BP_SYM.
16290 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16291 <bp-sym.h> and <bp-asm.h>.
16292 (strncmp): Don't use BP_SYM.
16293 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16294 <bp-sym.h> and <bp-asm.h>.
16295 (__strnlen): Don't use BP_SYM.
16296 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16297 <bp-asm.h>.
16298 (__mpn_rshift): Don't use BP_SYM.
16299 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16300 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16301 <bp-sym.h> and <bp-asm.h>.
16302 (__sigsetjmp): Don't use BP_SYM.
16303 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16304 (L(start_addresses)): Don't use BP_SYM.
16305 (_start): Likewise.
16306 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16307 <bp-asm.h>.
16308 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16309 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16310 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16311 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16312 <bp-asm.h>.
16313 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16314 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16315 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16316 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16317 <bp-asm.h>.
16318 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16319 comments.
16320 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16321 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16322 <bp-asm.h>.
16323 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16324 FIXME comments.
16325 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16326 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16327 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16328 <bp-asm.h>.
16329 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16330 comment.
16331 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16332 and <bp-asm.h>.
16333 (strncmp): Don't use BP_SYM,
16334 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16335 <bp-asm.h>.
16336 (__mpn_sub_n): Don't use BP_SYM.
16337 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16338 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16339 and <bp-asm.h>.
16340 (__mpn_submul_1): Don't use BP_SYM.
16341 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16343 <bp-sym.h> and <bp-asm.h>.
16344 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16346 <bp-sym.h> and <bp-asm.h>.
16347 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16348 comment.
16349
8d19fe64
SP
163502013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16351
16352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16353 Use ZK to minimize writes to Z.
16354 (sub_magnitudes): Simplify code a bit.
16355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16356 Use ZK to minimize writes to Z.
16357 (sub_magnitudes): Simplify code a bit.
16358
85bd816a
RM
163592013-02-27 Roland McGrath <roland@hack.frob.com>
16360
16361 * csu/gmon-start.c: Add special exception to license text.
16362
b5977bf2
RH
163632013-02-27 Richard Henderson <rth@redhat.com>
16364
16365 * scripts/config.guess: Update from config.git.
16366 * scripts/config.sub: Likewise.
16367
11d6e2f2
SP
163682013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16369
09c14ed2
SP
16370 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16371
a688864e
SP
16372 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16373
6295157a
SP
16374 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16375
b8de2202
SP
16376 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16377
11d6e2f2
SP
16378 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16379
7e80ddb8
RM
163802013-02-26 Roland McGrath <roland@hack.frob.com>
16381
16382 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16383 [$(build-shared = yes].
7e80ddb8 16384
7da6d9ed
SP
163852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16386
45f05884
SP
16387 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16388 (__mul): Reduce iterations for calculating mantissa.
16389
2236d359
SP
16390 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16391 MPTWO.
16392 (__mpranred): Likewise.
16393
7da6d9ed
SP
16394 [BZ #15160]
16395 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16396 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16397
b7688c42
PE
163982013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16399
16400 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16401 Define __attribute__.
16402
53a5c423
SP
164032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16404
16405 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16406 unused.
16407 * posix/regex_internal.h (__attribute): Remove.
16408 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16409 (re_string_context_at): Likewise.
16410 (bitset_not): Use __attribute__ and mark function as possibly
16411 unused.
16412 (bitset_merge): Likewise.
16413 (bitset_mask): Likewise.
16414 (re_string_char_size_at): Likewise.
16415 (re_string_wchar_at): Likewise.
16416 (re_string_elem_size_at): Likewise.
16417
60f5a8b5
SP
164182013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16419
2a983a2e
SP
16420 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16421 code.
16422 (cc32): Likewise.
16423
e69804d1
SP
16424 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16425 (__acr): Likewise.
16426 (__cpy): Likewise.
16427 (norm): Likewise.
16428 (denorm): Likewise.
16429 (__dbl_mp): Likewise.
16430 (add_magnitudes): Likewise.
16431 (sub_magnitudes): Likewise.
16432 (__mul): Likewise.
16433 (__inv): Likewise.
16434
2f22a1e8
SP
16435 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16436 style.
16437
8930ddc7
SP
16438 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16439 style.
16440
dc60cb11
SP
16441 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16442 code.
16443
60f5a8b5
SP
16444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16445 up changes with default code.
16446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16447 Likewise.
16448
b4d1fd33
AM
164492013-02-24 Allan McRae <allan@archlinux.org>
16450
faf6f8bc
AM
16451 * manual/socket.texi (The Internet Namespace): Order menu items
16452 to match that in the file.
16453
b4d1fd33
AM
16454 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16455 node listing of the info page menu.
16456
2366713d
JM
164572013-02-21 Joseph Myers <joseph@codesourcery.com>
16458
16459 [BZ #13550]
16460 * sysdeps/i386/bp-asm.h: Remove file.
16461 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16462 (PARMS): Do not use macros from bp-asm.h.
16463 (S1): Likewise.
16464 (S2): Likewise.
16465 (SIZE): Likewise.
16466 (__mpn_add_n): Do not use BP_SYM
16467 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16468 "bp-asm.h".
16469 (PARMS): Do not use macros from bp-asm.h.
16470 (S1): Likewise.
16471 (SIZE): Likewise.
16472 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
16479 "bp-asm.h".
16480 (PARMS): Do not use macros from bp-asm.h.
16481 (SIGMSK): Likewise.
16482 (setjmp): Likewise. Do not use BP_SYM.
16483 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16484 "bp-asm.h".
16485 (PARMS): Do not use macros from bp-asm.h.
16486 (__frexp): Do not use BP_SYM.
16487 (frexp): Likewise.
16488 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16489 "bp-asm.h".
16490 (PARMS): Do not use macros from bp-asm.h.
16491 (__frexpf): Do not use BP_SYM.
16492 (frexpf): Likewise.
16493 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16494 "bp-asm.h".
16495 (PARMS): Do not use macros from bp-asm.h.
16496 (__frexpl): Do not use BP_SYM.
16497 (frexpl): Likewise.
16498 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16499 "bp-asm.h".
16500 (PARMS): Do not use macros from bp-asm.h.
16501 (__remquo): Do not use BP_SYM.
16502 (remquo): Likewise.
16503 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16504 "bp-asm.h".
16505 (PARMS): Do not use macros from bp-asm.h.
16506 (__remquof): Do not use BP_SYM.
16507 (remquof): Likewise.
16508 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16509 "bp-asm.h".
16510 (PARMS): Do not use macros from bp-asm.h.
16511 (__remquol): Do not use BP_SYM.
16512 (remquol): Likewise.
16513 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16514 "bp-asm.h".
16515 (PARMS): Do not use macros from bp-asm.h.
16516 (DEST): Likewise.
16517 (SRC): Likewise.
16518 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16519 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16520 "bp-asm.h".
16521 (PARMS): Do not use macros from bp-asm.h.
16522 (strlen): Do not use BP_SYM.
16523 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16524 "bp-asm.h".
16525 (PARMS): Do not use macros from bp-asm.h.
16526 (S1): Likewise.
16527 (S2): Likewise.
16528 (SIZE): Likewise.
16529 (__mpn_add_n): Do not use BP_SYM.
16530 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16531 "bp-asm.h".
16532 (PARMS): Do not use macros from bp-asm.h.
16533 (S1): Likewise.
16534 (SIZE): Likewise.
16535 (__mpn_addmul_1): Do not use BP_SYM.
16536 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16537 weak_alias.
16538 (bzero): Likewise.
16539 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16540 "bp-asm.h".
16541 (PARMS): Do not use macros from bp-asm.h.
16542 (S): Likewise.
16543 (SIZE): Likewise.
16544 (__mpn_lshift): Do not use BP_SYM.
16545 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16546 "bp-asm.h".
16547 (PARMS): Do not use macros from bp-asm.h.
16548 (DEST): Likewise.
16549 (SRC): Likewise.
16550 (LEN): Likewise.
16551 (memcpy): Likewise. Do not use BP_SYM.
16552 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16553 libc_hidden_def and weak_alias.
16554 (mempcpy): Do not use BP_SYM in weak_alias.
16555 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16556 "bp-asm.h".
16557 (PARMS): Do not use macros from bp-asm.h.
16558 (DEST): Likewise.
16559 (LEN): Likewise.
16560 [!BZERO_P] (CHR): Likewise.
16561 (memset): Likewise. Do not use BP_SYM.
16562 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16563 "bp-asm.h".
16564 (PARMS): Do not use macros from bp-asm.h.
16565 (S1): Likewise.
16566 (SIZE): Likewise.
16567 (__mpn_mul_1): Do not use BP_SYM.
16568 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16569 "bp-asm.h".
16570 (PARMS): Do not use macros from bp-asm.h.
16571 (S): Likewise.
16572 (SIZE): Likewise.
16573 (__mpn_rshift): Do not use BP_SYM.
16574 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16575 "bp-asm.h".
16576 (PARMS): Do not use macros from bp-asm.h.
16577 (STR): Likewise.
16578 (CHR): Likewise.
16579 (strchr): Likewise. Do not use BP_SYM.
16580 (index): Do not use BP_SYM in weak_alias.
16581 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16582 "bp-asm.h".
16583 (PARMS): Do not use macros from bp-asm.h.
16584 (DEST): Likewise.
16585 (SRC): Likewise.
16586 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16587 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16588 "bp-asm.h".
16589 (PARMS): Do not use macros from bp-asm.h.
16590 (strlen): Do not use BP_SYM.
16591 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16592 "bp-asm.h".
16593 (PARMS): Do not use macros from bp-asm.h.
16594 (S1): Likewise.
16595 (S2): Likewise.
16596 (SIZE): Likewise.
16597 (__mpn_sub_n): Do not use BP_SYM.
16598 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16599 "bp-asm.h".
16600 (PARMS): Do not use macros from bp-asm.h.
16601 (S1): Likewise.
16602 (SIZE): Likewise.
16603 (__mpn_submul_1): Do not use BP_SYM.
16604 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16605 "bp-asm.h".
16606 (PARMS): Do not use macros from bp-asm.h.
16607 (S1): Likewise.
16608 (S2): Likewise.
16609 (SIZE): Likewise.
16610 (__mpn_add_n): Do not use BP_SYM.
16611 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16612 weak_alias.
16613 (bzero): Likewise.
16614 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16615 "bp-asm.h".
16616 (PARMS): Do not use macros from bp-asm.h.
16617 (BLK2): Likewise.
16618 (LEN): Likewise.
16619 (memcmp): Do not use BP_SYM.
16620 (bcmp): Do not use BP_SYM in weak_alias.
16621 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16622 "bp-asm.h".
16623 (PARMS): Do not use macros from bp-asm.h.
16624 (DEST): Likewise.
16625 (SRC): Likewise.
16626 (LEN): Likewise.
16627 (memcpy): Likewise. Do not use BP_SYM.
16628 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16629 "bp-asm.h".
16630 (PARMS): Do not use macros from bp-asm.h.
16631 (DEST): Likewise.
16632 (SRC): Likewise.
16633 (LEN): Likewise.
16634 (memmove): Likewise. Do not use BP_SYM.
16635 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16636 "bp-asm.h".
16637 (PARMS): Do not use macros from bp-asm.h.
16638 (DEST): Likewise.
16639 (SRC): Likewise.
16640 (LEN): Likewise.
16641 (__mempcpy): Likewise. Do not use BP_SYM.
16642 (mempcpy): Do not use BP_SYM in weak_alias.
16643 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16644 "bp-asm.h".
16645 (PARMS): Do not use macros from bp-asm.h.
16646 (DEST): Likewise.
16647 (LEN): Likewise.
16648 [!BZERO_P] (CHR): Likewise.
16649 (memset): Likewise. Do not use BP_SYM.
16650 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16651 "bp-asm.h".
16652 (PARMS): Do not use macros from bp-asm.h.
16653 (STR2): Likewise.
16654 (strcmp): Do not use BP_SYM.
16655 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16656 "bp-asm.h".
16657 (PARMS): Do not use macros from bp-asm.h.
16658 (STR): Likewise.
16659 (DELIM): Likewise.
16660 [USE_AS_STRTOK_R] (SAVE): Likewise.
16661 (FUNCTION): Likewise. Do not use BP_SYM.
16662 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16663 aliases.
16664 (strtok_r): Likewise.
16665 (__GI___strtok_r): Likewise.
16666 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16667 (PARMS): Do not use macros from bp-asm.h.
16668 (S): Likewise.
16669 (SIZE): Likewise.
16670 (__mpn_lshift): Do not use BP_SYM.
16671 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16672 (PARMS): Do not use macros from bp-asm.h.
16673 (STR): Likewise.
16674 (CHR): Likewise.
16675 (__memchr): Do not use BP_SYM.
16676 (memchr): Do not use BP_SYM in weak_alias.
16677 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16678 (PARMS): Do not use macros from bp-asm.h.
16679 (BLK2): Likewise.
16680 (LEN): Likewise.
16681 (memcmp): Do not use BP_SYM.
16682 (bcmp): Do not use BP_SYM in weak_alias.
16683 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16684 (PARMS): Do not use macros from bp-asm.h.
16685 (S1): Likewise.
16686 (SIZE): Likewise.
16687 (__mpn_mul_1): Do not use BP_SYM.
16688 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16689 "bp-asm.h".
16690 (PARMS): Do not use macros from bp-asm.h.
16691 (STR): Likewise.
16692 (CHR): Likewise.
16693 (__rawmemchr): Do not use BP_SYM.
16694 (rawmemchr): Do not use BP_SYM in weak_alias.
16695 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16696 (PARMS): Do not use macros from bp-asm.h.
16697 (S): Likewise.
16698 (SIZE): Likewise.
16699 (__mpn_rshift): Do not use BP_SYM.
16700 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16701 (PARMS): Do not use macros from bp-asm.h.
16702 (SIGMSK): Likewise.
16703 (__sigsetjmp): Likewise. Do not use BP_SYM.
16704 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16705 (_start): Do not use BP_SYM.
16706 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16707 (PARMS): Do not use macros from bp-asm.h.
16708 (DEST): Likewise.
16709 (SRC): Likewise.
16710 (__stpcpy): Likewise. Do not use BP_SYM.
16711 (stpcpy): Do not use BP_SYM in weak_alias.
16712 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16713 "bp-asm.h".
16714 (PARMS): Do not use macros from bp-asm.h.
16715 (DEST): Likewise.
16716 (SRC): Likewise.
16717 (LEN): Likewise.
16718 (__stpncpy): Likewise. Do not use BP_SYM.
16719 (stpncpy): Do not use BP_SYM in weak_alias.
16720 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16721 (PARMS): Do not use macros from bp-asm.h.
16722 (STR): Likewise.
16723 (CHR): Likewise.
16724 (strchr): Likewise. Do not use BP_SYM.
16725 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16726 "bp-asm.h".
16727 (PARMS): Do not use macros from bp-asm.h.
16728 (STR): Likewise.
16729 (CHR): Likewise.
16730 (__strchrnul): Likewise. Do not use BP_SYM.
16731 (strchrnul): Do not use BP_SYM in weak_alias.
16732 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16733 "bp-asm.h".
16734 (PARMS): Do not use macros from bp-asm.h.
16735 (STOP): Likewise.
16736 (strcspn): Do not use BP_SYM.
16737 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16738 "bp-asm.h".
16739 (PARMS): Do not use macros from bp-asm.h.
16740 (STR): Likewise.
16741 (STOP): Likewise.
16742 (strpbrk): Likewise. Do not use BP_SYM.
16743 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16744 "bp-asm.h".
16745 (PARMS): Do not use macros from bp-asm.h.
16746 (STR): Likewise.
16747 (CHR): Likewise.
16748 (strrchr): Likewise. Do not use BP_SYM.
16749 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16750 (PARMS): Do not use macros from bp-asm.h.
16751 (SKIP): Likewise.
16752 (strspn): Do not use BP_SYM.
16753 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16754 (PARMS): Do not use macros from bp-asm.h.
16755 (STR): Likewise.
16756 (DELIM): Likewise.
16757 (SAVE): Likewise.
16758 (FUNCTION): Likewise. Do not use BP_SYM.
16759 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16760 aliases.
16761 (strtok_r): Likewise.
16762 (__GI___strtok_r): Likewise.
16763 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16764 (PARMS): Do not use macros from bp-asm.h.
16765 (S1): Likewise.
16766 (S2): Likewise.
16767 (SIZE): Likewise.
16768 (__mpn_sub_n): Do not use BP_SYM.
16769 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16770 "bp-asm.h".
16771 (PARMS): Do not use macros from bp-asm.h.
16772 (S1): Likewise.
16773 (SIZE): Likewise.
16774 (__mpn_submul_1): Do not use BP_SYM.
16775 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16776 <bp-sym.h>.
16777 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16778 and <bp-asm.h>.
16779 (PARMS): Do not use macros from bp-asm.h.
16780 (FLAGS): Likewise.
16781 (PTID): Likewise.
16782 (TLS): Likewise.
16783 (CTID): Likewise.
16784 (__clone): Do not use BP_SYM.
16785 (clone): Do not use BP_SYM in weak_alias.
16786 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16787 and <bp-asm.h>.
16788 (PARMS): Do not use macros from bp-asm.h.
16789 (LEN): Likewise.
16790 (__mmap64): Do not use BP_SYM.
16791 (mmap64): Do not use BP_SYM in weak_alias.
16792 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16793 <bp-sym.h> and <bp-asm.h>.
16794 (PARMS): Do not use macros from bp-asm.h.
16795 (__posix_fadvise64_l64): Do not use BP_SYM.
16796 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16797 (PARMS): Do not use macros from bp-asm.h.
16798 (NSOPS): Likewise.
16799 (semtimedop): Do not use BP_SYM.
16800 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16801 and <bp-asm.h>.
16802
582a3cff
AM
168032013-02-21 Allan McRae <allan@archlinux.org>
16804
16805 * manual/message.texi (Charset conversion in gettext):
16806 Move @end statement to beginning of line.
16807
bab8a695
SP
168082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16809
80945231
SP
16810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16811 static.
16812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16813 Likewise.
16814
bab8a695
SP
16815 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16816 (denorm): Likewise.
16817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16819
e21d7aa7
AK
168202013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16821
16822 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16823 tail-call to the resolved function if pltexit isn't needed.
16824
4c7a4263
SP
168252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16826
16827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16828 or Y being zero as being unlikely.
16829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16830 Likewise.
16831
41f49342
CD
168322013-02-20 Carlos O'Donell <carlos@redhat.com>
16833
16834 * manual/nss.texi (System Databases and Name Service Switch):
16835 Remove frobnicate @pxref.
16836
50022a93
TS
168372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16838
16839 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16840 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16841
08cbd996
PM
168422013-02-20 Petr Machata <pmachata@redhat.com>
16843
16844 * elf/elf.h (R_ARM_TARGET1): New macro.
16845 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16846 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16847 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16848 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16849 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16850 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16851 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16852 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16853 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16854 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16855 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16856 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16857 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16858 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16859 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16860 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16861 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16862 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16863 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16864 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16865 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16866 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16867 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16868 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16869 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16870 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16871 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16872 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16873 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16874 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16875 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16876 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16877 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16878 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16879 (R_ARM_THM_GOT_BREL12): Likewise.
16880 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16881 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16882 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16883 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16884 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16885 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16886 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16887 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16888 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16889
c7b275d6
TS
168902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16891
16892 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16893 __attribute_used__ to __attribute__ ((unused)).
16894
20cd7fb3
SP
168952013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16896
16897 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16898 powerpc mpa.c.
16899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16900 comment formatting.
16901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16902
92945b52
JM
169032013-02-19 Joseph Myers <joseph@codesourcery.com>
16904
16905 [BZ #13550]
16906 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16907 Remove macro.
16908 (ENTER): Remove both macro definitions.
16909 (LEAVE): Likewise.
16910 (CHECK_BOUNDS_LOW): Likewise.
16911 (CHECK_BOUNDS_HIGH): Likewise.
16912 (CHECK_BOUNDS_BOTH): Likewise.
16913 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16914 (RETURN_BOUNDED_POINTER): Likewise.
16915 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16916 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16917 (POP_ERRNO_LOCATION_RETURN): Likewise.
16918 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16919 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16920 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16921 macros.
16922 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16923 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16924 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16925 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16926 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16927 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16928 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16929 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16930 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16931 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16932 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16933 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16934 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16935 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16936 removed macros.
16937 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16938 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16939 macros.
16940 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16941 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16942 * sysdeps/i386/i586/memset.S (memset): Likewise.
16943 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16944 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16945 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16946 macros.
16947 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16948 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16949 Change uses of L(2) to L(out).
16950 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16951 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16952 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16953 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16954 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16955 removed macros.
16956 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16957 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16958 macros.
16959 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16960 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16961 (RETURN): Do not use macro LEAVE.
16962 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16963 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16964 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16965 * sysdeps/i386/i686/memset.S (memset): Likewise.
16966 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16967 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16968 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16969 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16970 Likewise.
16971 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16972 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16973 L(1_2) and L(1_3) into L(1).
16974 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16975 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16976 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16977 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16978 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16979 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16980 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16981 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16982 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16983 macros.
16984 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16985 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16986 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16987 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16988 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16989 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16990 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16991 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16992 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16993 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16994 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16995 * sysdeps/i386/strspn.S (strspn): Likewise.
16996 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16997 conditional code.
16998 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16999 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17000 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17001 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17002 L(1_3) into L(1_1).
17003 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17004 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17005 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17006 macros.
17007 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17008
2389741a
JJ
170092013-02-19 Jakub Jelinek <jakub@redhat.com>
17010
17011 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17012 macro.
17013
2016b3cd
SP
170142013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17015
e4f22324
SP
17016 * math/atest-exp.c (exp_mpn): Remove ROUND.
17017 * math/atest-exp2.c (exp_mpn): Likewise.
17018 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17019
2016b3cd
SP
17020 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17021 * stdlib/tst-tls-atexit-lib.c: Likewise.
17022 * stdlib/tst-tls-atexit.c: Likewise.
17023
4be9b544
MF
170242013-02-18 Mike Frysinger <vapier@gentoo.org>
17025
17026 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17027 and __attribute_alloc_size__.
17028
2f62b9ee
MF
170292013-02-18 Mike Frysinger <vapier@gentoo.org>
17030
17031 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17032 __attribute_alloc_size__.
17033 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17034 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17035
6ff444c4
MF
170362013-02-18 Mike Frysinger <vapier@gentoo.org>
17037
17038 * include/programs/xmalloc.h: New file.
17039 * catgets/gencat.c: Include it.
17040 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17041 * elf/pldd.c: Likewise.
17042 * iconv/iconv_charmap.c: Likewise.
17043 * iconv/iconvconfig.c: Likewise.
17044 * iconv/strtab.c: Likewise.
17045 * locale/programs/locale.c: Likewise.
17046 * locale/programs/localedef.h: Likewise.
17047 * locale/programs/simple-hash.c: Likewise.
17048 * nscd/nscd.h: Likewise.
17049 * nss/makedb.c: Likewise.
17050 * sysdeps/generic/ldconfig.h: Likewise.
17051
be179c8a
SP
170522013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17053
ba384f6e
SP
17054 * Versions.def: Add GLIBC_2.18.
17055 * include/link.h (struct link_map): New member l_tls_dtor_count.
17056 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17057 (__call_tls_dtors): Likewise.
17058 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17059 __cxa_thread_atexit_impl.
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17061 Likewise.
17062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17063 Likewise.
17064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17065 Likewise.
17066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17067 Likewise.
17068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17070 Likewise.
17071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17072 Likewise.
17073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17075 Likewise.
17076 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17077 (tests): Add test case tst-tls-atexit.
17078 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17079 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17080 (GLIBC_PRIVATE): Add __call_tls_dtors.
17081 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17082 for libstdc++.
17083 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17084 * stdlib/tst-tls-atexit.c: New test case.
17085 * stdlib/tst-tls-atexit-lib.c: New test case.
17086
ffaa74cf 17087 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17088
be179c8a
SP
17089 * elf/Versions (ld): Add _dl_find_dso_for_object.
17090 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17091 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17092 (dl_open_worker): Use _dl_find_dso_for_object.
17093 * elf/dl-sym.c (do_sym): Likewise.
17094 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17095
f78b5caa
AK
170962013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17097
17098 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17099 Syntactic changes only.
17100 (_dl_runtime_profile): Do a tail-call to the resolved function.
17101
29691210
JM
171022013-02-17 Joseph Myers <joseph@codesourcery.com>
17103
17104 [BZ #13550]
17105 * sysdeps/x86_64/bp-asm.h: Remove file.
17106 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17107 <bp-sym.h> and <bp-asm.h>.
17108 (__clone): Do not use BP_SYM.
17109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17110 <bp-sym.h> and <bp-asm.h>.
17111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17112 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17113 "bp-asm.h".
17114 (_setjmp): Do not use BP_SYM.
17115 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17116 "bp-asm.h".
17117 (setjmp): Do not use BP_SYM.
17118 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17119 libc_hidden_def.
17120 (mempcpy): Do not use BP_SYM in weak_alias.
17121 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17122 "bp-asm.h".
17123 (strchr): Do not use BP_SYM.
17124 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17125 "bp-asm.h".
17126 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17127 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17128 (_start): Do not use BP_SYM.
17129 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17130 "bp-asm.h".
17131 (strcat): Do not use BP_SYM.
17132 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17133 "bp-asm.h".
17134 (STRCMP): Do not use BP_SYM.
17135 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17136 "bp-asm.h".
17137 (STRCPY): Do not use BP_SYM.
17138 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17139 "bp-asm.h".
17140 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17141 "bp-asm.h".
17142 (FUNCTION): Do not use BP_SYM.
17143 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17144 weak_alias.
17145 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17146
f238fd19
AJ
171472013-02-17 Andreas Jaeger <aj@suse.de>
17148
17149 * time/Versions: Sort entries.
17150 * string/Versions: Likewise.
17151 * resolv/Versions: Likewise.
17152 * posix/Versions: Likewise.
17153 * iconv/Versions: Likewise.
17154 * elf/Versions: Likewise.
17155 * wcsmbs/Versions: Likewise.
17156
bd07f23c 171572013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17158
22af19f9
SP
17159 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17160 loop termination condition.
17161
4709fe76
SP
17162 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17163 variable to calculate EZ.
17164 (__sqr): Likewise.
2d0e0f29
SP
17165
17166 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17167 the lower precision input.
17168
daaa7713
JM
171692013-02-15 Joseph Myers <joseph@codesourcery.com>
17170
17171 [BZ #13550]
17172 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17173 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17174 (run-via-rtld-prefix): Do not handle %-bp tests.
17175 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17176 (all-object-suffixes): Remove .ob.
17177 (bppfx): Remove variable.
17178 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17179 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17180 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17181 [$(build-bounded) = yes] (libtype.ob): Likewise.
17182 * Makerules (elide-routines.ob): Remove variable.
17183 (do-tests-clean): Do not handle *-bp.out.
17184 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17185 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17186 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17187 (tests): Do not include $(tests-bp.out).
17188 (xtests): Do not include $(xtests-bp.out).
17189 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17190 [$(build-bounded) = yes] ($(addprefix
17191 $(objpfx),$(binaries-bounded))): Remove rule.
17192 ($(objpfx)%-bp.out): Remove rule.
17193 * config.make.in (build-bounded): Remove variable.
17194 * crypt/Makefile [$(build-bounded) = yes]
17195 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17196 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17197 append to variable.
17198 [$(build-bounded) = yes] (install-lib): Likewise.
17199 [$(build-bounded) = yes] (generated): Likewise.
17200 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17201 Remove rule.
17202 * intl/Makefile [$(build-bounded) = yes]
17203 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17204 * math/Makefile [$(build-bounded) = yes]
17205 ($(tests:%=$(objpfx)%-bp): Likewise.
17206 * misc/Makefile [$(build-bounded) = yes]
17207 ($(objpfx)tst-tsearch-bp): Likewise.
17208 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17209 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17210 Remove dependency.
17211 * string/Makefile (o-objects.ob): Remove variable.
17212 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17213 (CFLAGS-.ob): Remove variable.
17214 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17215 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17216 both definitions of variable.
17217 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17218 (ASFLAGS-.ob): Remove variable.
17219
e97ed6dd
JM
172202013-02-14 Joseph Myers <joseph@codesourcery.com>
17221
2bdd4ca6
JM
17222 [BZ #13550]
17223 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17224 Remove __BOUNDED_POINTERS__ from condition.
17225 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17226 * string/bits/string2.h [!__NO_STRING_INLINES &&
17227 !__BOUNDED_POINTERS__]: Likewise.
17228 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17229 Likewise.
17230 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17231 Remove conditional code.
17232 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17233 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17234 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17235 condition.
17236
e97ed6dd
JM
17237 [BZ #13550]
17238 * csu/libc-start.c: Do not include <bp-sym.h>.
17239 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17240 * elf/dl-open.c: Do not include <bp-sym.h>.
17241 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17242 * math/fegetenv.c: Do not include <bp-sym.h>.
17243 (fegetenv): Do not use BP_SYM in versioned symbols.
17244 * nptl/sysdeps/pthread/bits/libc-lockP.h
17245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17246 <bp-sym.h>.
17247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17248 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17250 (__pthread_mutex_destroy): Likewise.
17251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17252 (__pthread_mutex_lock): Likewise.
17253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17254 (__pthread_mutex_trylock): Likewise.
17255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17256 (__pthread_mutex_unlock): Likewise.
17257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17258 (__pthread_mutexattr_init): Likewise.
17259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17260 (__pthread_mutexattr_destroy): Likewise.
17261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17262 (__pthread_mutexattr_settype): Likewise.
17263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17264 (__pthread_rwlock_init): Likewise.
17265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17266 (__pthread_rwlock_destroy): Likewise.
17267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17268 (__pthread_rwlock_rdlock): Likewise.
17269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17270 (__pthread_rwlock_tryrdlock): Likewise.
17271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17272 (__pthread_rwlock_wrlock): Likewise.
17273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17274 (__pthread_rwlock_trywrlock): Likewise.
17275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17276 (__pthread_rwlock_unlock): Likewise.
17277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17278 (__pthread_key_create): Likewise.
17279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17280 (__pthread_setspecific): Likewise.
17281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17282 (__pthread_getspecific): Likewise.
17283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17284 Likewise.
17285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17286 (_pthread_cleanup_push_defer): Likewise.
17287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17288 (_pthread_cleanup_pop_restore): Likewise.
17289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17290 (pthread_setcancelstate): Likewise.
17291 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17292 <bp-sym.h>.
17293 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17294 (memchr): Do not use BP_SYM in weak_alias.
17295 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17296 (fegetenv): Do not use BP_SYM in versioned symbols.
17297 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17298 (fesetenv): Do not use BP_SYM in versioned symbols.
17299 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17300 (feupdateenv): Do not use BP_SYM in versioned symbols.
17301 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17302 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17303 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17304 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17305 (open64): Do not use BP_SYM in weak_alias.
17306 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17307 (fegetenv): Do not use BP_SYM in versioned symbols.
17308 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17309 (fesetenv): Do not use BP_SYM in versioned symbols.
17310 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17311 (feupdateenv): Do not use BP_SYM in versioned symbols.
17312 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17313 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17314 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17315 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17316 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17317 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17318 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17319 <bp-sym.h>.
17320 (__libc_start_main): Do not use BP_SYM.
17321
d6752ccd
SP
173222013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17323
cb57ce60
SP
17324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17325 redundant return line.
17326 (norm): Likewise.
17327 (denorm): Likewise.
17328 (dbl_mp): Likewise.
17329 (sub_magnitudes): Likewise.
17330 (__add): Likewise.
17331 (__sub): Likewise.
17332 (__mul): Likewise.
17333 (__inv): Likewise.
17334 (__dvd): Likewise.
17335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17336 (norm): Likewise.
17337 (denorm): Likewise.
17338 (dbl_mp): Likewise.
17339 (sub_magnitudes): Likewise.
17340 (__add): Likewise.
17341 (__sub): Likewise.
17342 (__mul): Likewise.
17343 (__inv): Likewise.
17344 (__dvd): Likewise.
17345
f414520d
SP
17346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17347 instead of __mul.
17348 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17349 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17350 (cc32): Likewise.
17351
d6752ccd
SP
17352 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17353 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17355 of __mul for squares.
17356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17357 function
17358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17359 Likewise.
17360 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17361 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17362
70d9946a
JM
173632013-02-13 Joseph Myers <joseph@codesourcery.com>
17364
17365 [BZ #13550]
17366 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17367 code.
17368 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17369 prototype or function definition. Rename ubp_* variables and
17370 parameters. Remove argv definitions conditional on
17371 [__BOUNDED_POINTERS__].
17372 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17373 * elf/dl-runtime.c (_dl_fixup): Likewise.
17374 * include/set-hooks.h (RUN_HOOK): Likewise.
17375 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17376 definition.
17377 * string/strcpy.c (strcpy): Do not use __unbounded.
17378 * sysdeps/generic/frame.h (struct layout): Likewise.
17379 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17380 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17381 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17382 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17383 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17384 (__backtrace): Likewise.
17385 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17386 use __ptrvalue.
17387 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17388 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17389 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17390 Likewise.
17391 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17392 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17393 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17394 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17395 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17396 Do not use __unbounded.
17397 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17398 Rename __unboundedrlimits parameter to rlimits in prototype.
17399 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17400 Do not use __unbounded.
17401 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17402 not use __ptrvalue.
17403 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17404 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17405 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17406 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17407 __ptrvalue or __unbounded.
17408 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17409 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17410 use __unbounded.
17411 (__new_msgctl): Do not use __ptrvalue.
17412 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17413 __unbounded.
17414 (__libc_msgrcv): Do not use __ptrvalue.
17415 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17416 startup_info): Do not use __unbounded.
17417 (__libc_start_main): Likewise. Rename ubp_* variables and
17418 parameters. Remove argv definitions conditional on
17419 [__BOUNDED_POINTERS__].
17420 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17421 __ptrvalue.
17422 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17423 use __unbounded.
17424 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17425 or __ptrvalue.
17426 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17427 use __unbounded.
17428 (__new_shmctl): Do not use __ptrvalue.
17429 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17430 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17431 Likewise.
17432 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17433 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17434 (__libc_sigaction): Likewise.
17435 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17436 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17437 Likewise.
17438 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17439
cc7834d6
OB
174402013-02-13 Ondřej Bílka <neleai@seznam.cz>
17441
ffb1ec7b 17442 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17443
17444 * string/mempcpy.c: Implement by calling memcpy.
17445
bdf02814
SP
174462013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17447
c2af38aa
SP
17448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17449
4e92d59e
SP
17450 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17451 evaluation.
17452
909279a5
SP
17453 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17454 values in the mantissa.
17455
bdf02814
SP
17456 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17457 minimize writes to Z.
17458 (sub_magnitudes): Simplify code a bit.
17459
cd525923
RM
174602013-02-12 Roland McGrath <roland@hack.frob.com>
17461
17462 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17463 from the message. The linker prefixes all warnings with that already.
17464
7e2f0d2d
AS
174652013-02-12 Andreas Schwab <schwab@suse.de>
17466
a445af0b
AS
17467 [BZ #15078]
17468 * posix/regexec.c (extend_buffers): Add parameter min_len.
17469 (check_matching): Pass minimum needed length.
17470 (clean_state_log_if_needed): Likewise.
17471 (get_subexp): Likewise.
17472 * posix/Makefile (tests): Add bug-regex34.
17473 (bug-regex34-ENV): Define.
17474 * posix/bug-regex34.c: New file.
17475
7e2f0d2d
AS
17476 [BZ #11561]
17477 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17478 elements compare against the byte sequence of it, not its name.
17479 * posix/Makefile (tests): Add bug-regex35.
17480 (bug-regex35-ENV): Define.
17481 * posix/bug-regex35.c: New file.
17482
a175b684
TV
174832013-02-11 Tom de Vries <tom@codesourcery.com>
17484
17485 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17486 comment.
17487 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17488 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17489 (CHECK_EOL): Add undef.
17490
310998fe 174912013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17492
17493 * bits/stdlib-bsearch.h: New file.
17494 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17495 * stdlib/stdlib.h: Likewise.
41eda41d 17496
8ded91fb
RM
174972013-02-11 Roland McGrath <roland@hack.frob.com>
17498
17499 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17500 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17501 declaration.
17502 * manual/search.texi (Array Search Function): Add missing const in
17503 lfind prototype.
17504 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17505 declaration to use rlim_t.
17506 (Basic Scheduling Functions): Remove erroneous const from
17507 sched_getparam prototype. Remove erroneous * from
17508 sched_get_priority_max and sched_get_priority_min prototypes.
17509 (Resource Usage): Fix summary @comment on vtimes to refer to
17510 sys/vtimes.h rather than vtimes.h.
17511 Add missing *s in vtimes prototype.
17512 (Limits on Resources): Fix ulimit prototype to return long int.
17513 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17514 prototypes to use long int rather than double.
17515 (BSD Random): Fix initstate and setstate to use char *, not void *.
17516 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17517 prototype to make second argument 'struct aiocb64 *const[]'.
17518 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17519 (Status of AIO Operations): Remove erroneous const in aio_return and
17520 aio_return64 prototypes.
17521 (Synchronizing I/O): Fix sync prototype to return void.
17522 * manual/startup.texi (Suboptions): Remove an erroneous const in
17523 getsubopt prototype.
17524 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17525 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17526 use size_t rather than int.
17527 (Scanning All Users): Likewise for getpwent_r.
17528 (Setting Groups): Add missing const to setgroups prototype.
17529 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17530 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17531 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17532 'const void *' rather than 'const char *'.
17533 (Host Address Functions): Likewise for inet_ntop.
17534 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17535 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17536 ssize_t for return value.
17537 (Sending Data): Likewise for send, sendto, sendmsg.
17538 (Socket Option Functions): Add a missing const in setsockopt prototype.
17539 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17540 use wchar_t for the argument.
17541 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17542 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17543 take no arguments.
17544 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17545 double/float/long double for second argument.
17546 Fix return types of significand, significandf, significandl.
17547 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17548 argument in fchmod prototype.
17549 (File Owner): Use uid_t and gid_t in fchown prototype.
17550 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17551 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17552 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17553 use 'const struct dirent **' as argument types to CMP function pointer
17554 argument.
17555 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17556 (File Times): Fix summary magic @comment for struct utimbuf and utime
17557 to refer to utime.h, not time.h.
17558 * manual/string.texi (Argz Functions): Add missing const in
17559 argz_extract and argz_next prototypes.
17560 (Finding Tokens in a String): Likewise for basename.
17561 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17562 (Copying and Concatenation): Fix typo in wmemmove prototype.
17563 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17564 (Signal Stack): Remove erroneous const in sigstack prototype.
17565 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17566 prototype.
17567 (Simple Calendar Time): Likewise for stime.
17568 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17569 prototype.
17570 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17571 say sys/sysctl.h instead.
17572 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17573 and vsyslog prototypes.
17574
fe77fe6d
TV
175752013-02-11 Tom de Vries <tom@codesourcery.com>
17576
17577 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17578 Remove.
17579
3a09b620
RM
175802013-02-11 Roland McGrath <roland@hack.frob.com>
17581
17582 * misc/sys/mman.h: Fix typo in mremap comment.
17583
550a0b89
RM
175842013-02-08 Roland McGrath <roland@hack.frob.com>
17585
17586 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17587 the '\0' terminator.
17588
a2da1673
JM
175892013-02-08 Joseph Myers <joseph@codesourcery.com>
17590
17591 [BZ #13550]
17592 * debug/segfault.c: Don't include <bp-checks.h>.
17593 * sysdeps/generic/bp-checks.h: Remove file.
17594 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17595 (__GETDENTS): Don't use CHECK_N.
17596 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17597 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17598 (__getgroups): Don't use CHECK_N.
17599 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17600 (setgroups): Don't use CHECK_N.
17601 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17602 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17603 (__libc_msgrcv): Don't use CHECK_N.
17604 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17605 (__libc_msgsnd): Don't use CHECK_N.
17606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17607 <bp-checks.h>.
17608 (__libc_pread): Don't use CHECK_N.
17609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17610 include <bp-checks.h>.
17611 (__libc_pread64): Don't use CHECK_N.
17612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17613 include <bp-checks.h>.
17614 (__libc_pwrite): Don't use CHECK_N.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17616 include <bp-checks.h>.
17617 (__libc_pwrite64): Don't use CHECK_N.
17618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17619 <bp-checks.h>.
17620 (__libc_pread): Don't use CHECK_N.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17622 include <bp-checks.h>.
17623 (__libc_pread64): Don't use CHECK_N.
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17625 include <bp-checks.h>.
17626 (__libc_pwrite): Don't use CHECK_N.
17627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17628 include <bp-checks.h>.
17629 (__libc_pwrite64): Don't use CHECK_N.
17630 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17631 (do_pread): Don't use CHECK_N.
17632 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17633 (do_pread64): Don't use CHECK_N.
17634 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17635 (do_pwrite): Don't use CHECK_N.
17636 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17637 (do_pwrite64): Don't use CHECK_N.
17638 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17639 (__libc_readv): Don't use CHECK_N.
17640 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17641 (semop): Don't use CHECK_N.
17642 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17643 <bp-checks.h>.
17644 (semtimedop): Don't use CHECK_N.
17645 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17646 (__libc_pread): Don't use CHECK_N.
17647 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17648 <bp-checks.h>.
17649 (__libc_pread64): Don't use CHECK_N.
17650 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17651 <bp-checks.h>.
17652 (__libc_pwrite): Don't use CHECK_N.
17653 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17654 <bp-checks.h>.
17655 (__libc_pwrite64): Don't use CHECK_N.
17656 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17657 <bp-checks.h>.
17658 (__libc_msgrcv): Don't use CHECK_N.
17659 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17660 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17661 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17662 (__libc_writev): Don't use CHECK_N.
17663
b84660a8
RM
176642013-02-08 Roland McGrath <roland@hack.frob.com>
17665
7f3e75f8
RM
17666 * string/strcpy.c: Removed unused variable.
17667
b84660a8
RM
17668 * Makeconfig (+sysdep-includes): Define with := rather than =.
17669 Use an existing include/ subdir of each sysdeps dir before it.
17670
471514d3
CD
176712013-02-08 Carlos O'Donell <carlos@redhat.com>
17672
17673 * nscd/connection.c (register_traced_file): Comment function.
17674 [HAVE_INOTIFY] (union __inev): Define.
17675 [HAVE_INOTIFY] (inotify_check_files): New function.
17676 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17677 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17678 clear_db_cache.
17679 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17680
b2d3c3be
CD
176812013-02-08 Carlos O'Donell <carlos@redhat.com>
17682
17683 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17684 loaded if not already and that a failure is permanent.
17685
b39949d2
CD
176862013-02-08 Carlos O'Donell <carlos@redhat.com>
17687
ddacd1db 17688 [BZ #15006]
b39949d2
CD
17689 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17690 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17691
b2c9eff4
JM
176922013-02-08 Joseph Myers <joseph@codesourcery.com>
17693
f3aae3f3
JM
17694 [BZ #13550]
17695 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17696 (CHECK_1_NULL_OK): Likewise.
17697 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17698 (__fxstat): Do not use CHECK_1.
17699 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17700 <bp-checks.h>.
17701 (___fxstat64): Do not use CHECK_1.
17702 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17703 <bp-checks.h>.
17704 (__fxstatat): Do not use CHECK_1.
17705 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17706 <bp-checks.h>.
17707 (__fxstatat64): Do not use CHECK_1.
17708 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17709 <bp-checks.h>.
17710 (__fxstat): Do not use CHECK_1.
17711 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17712 <bp-checks.h>.
17713 (__fxstatat): Do not use CHECK_1.
17714 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17715 <bp-checks.h>.
17716 (__getresgid): Do not use CHECK_1.
17717 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17718 <bp-checks.h>.
17719 (__getresuid): Do not use CHECK_1.
17720 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17721 <bp-checks.h>.
17722 (__lxstat): Do not use CHECK_1.
17723 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17724 <bp-checks.h>.
17725 (__old_msgctl): Do not use CHECK_1.
17726 (__new_msgctl): Likewise.
17727 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17728 <bp-checks.h>.
17729 (__new_setrlimit): Do not use CHECK_1.
17730 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17731 <bp-checks.h>.
17732 (__old_shmctl): Do not use CHECK_1.
17733 (__new_shmctl): Likewise.
17734 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17735 <bp-checks.h>.
17736 (__xstat): Do not use CHECK_1.
17737 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17738 (__lxstat): Do not use CHECK_1.
17739 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17740 <bp-checks.h>.
17741 (___lxstat64): Do not use CHECK_1.
17742 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17743 (__old_msgctl): Do not use CHECK_1.
17744 (__new_msgctl): Likewise.
17745 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17746 <bp-checks.h>.
17747 (__gettimeofday): Do not use CHECK_1.
17748 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17749 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17750 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17751 <bp-checks.h>.
17752 (__gettimeofday): Do not use CHECK_1.
17753 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17754 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17755 (__new_shmctl): Do not use CHECK_1.
17756 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17757 <bp-checks.h>.
17758 (do_sigtimedwait): Do not use CHECK_1.
17759 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17760 <bp-checks.h>.
17761 (do_sigwaitinfo): Do not use CHECK_1.
17762 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17763 <bp-checks.h>.
17764 (msgctl): Do not use CHECK_1.
17765 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17766 <bp-checks.h>.
17767 (shmctl): Do not use CHECK_1.
17768 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17769 (ustat): Do not use CHECK_1.
17770 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17771 <bp-checks.h>.
17772 (__fxstat): Do not use CHECK_1.
17773 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17774 <bp-checks.h>.
17775 (__fxstatat): Do not use CHECK_1.
17776 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17777 <bp-checks.h>.
17778 (__lxstat): Do not use CHECK_1.
17779 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17780 <bp-checks.h>.
17781 (__xstat): Do not use CHECK_1.
17782 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17783 (__xstat): Do not use CHECK_1.
17784 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17785 (___xstat64): Do not use CHECK_1.
17786
b2c9eff4
JM
17787 [BZ #13550]
17788 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17789 definitions.
17790 (CHECK_BOUNDS_HIGH): Likewise.
17791 * string/strcpy.c: Do not include <bp-checks.h>.
17792 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17793
f1d70dad
RM
177942013-02-07 Roland McGrath <roland@hack.frob.com>
17795
17796 * nscd/nscd-client.h (__nscd_drop_map_ref):
17797 Add __attribute__ ((unused)).
17798 * nis/nss-nisplus.h (niserr2nss): Likewise.
17799
17800 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17801 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17802
17803 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17804 Remove inline keyword.
17805 * include/rounding-mode.h (round_away): Likewise.
17806 * libio/wfileops.c (adjust_wide_data): Likewise.
17807 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17808 (__m128i_strloadu_tolower): Likewise.
17809 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17810 (__m128i_strloadu_tolower): Likewise.
17811 * time/mktime.c (ydhms_diff): Likewise.
17812 * locale/elem-hash.h (elem_hash): Likewise.
17813 * locale/setlocale.c (setdata): Likewise.
17814 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17815 (re_string_wchar_at): Likewise.
17816 (bitset_not, bitset_merge, bitset_mask): Likewise.
17817 [!(__GNUC__ > 3)] (inline): Remove macro.
17818 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17819 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17820 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17821 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17822 * string/memcmp.c (memcmp_bytes): Likewise.
17823 * locale/programs/locarchive.c (compute_hashval): Likewise.
17824 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17825 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17826 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17827 * nss/getent.c (print_rpc, print_protocols): Likewise.
17828 (print_passwd, print_group, print_aliases): Likewise.
17829 * nis/nss-nisplus.h (niserr2nss): Likewise.
17830 * nscd/connections.c (restart_p): Likewise.
17831 Change return type to bool.
17832
eab55bfb
RM
178332013-02-05 Roland McGrath <roland@hack.frob.com>
17834
7bd642f5
RM
17835 * Makeconfig (all-Depend-files): Add existing
17836 $(sorted-subdirs:=/Depend) files.
17837 (all-subdirs): Remove nss.
17838 * sysdeps/unix/inet/Subdirs: Add it here instead.
17839 * hesiod/Depend: New file.
17840
573c29b2
RM
17841 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17842 instead of calling alloca.
17843
b2e25af0
RM
17844 * io/lseek.c (__lseek): Rename to __libc_lseek.
17845 Define __lseek as an alias.
17846
eab55bfb
RM
17847 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17848
9a0d1941
CD
178492013-02-04 Carlos O'Donell <carlos@redhat.com>
17850
17851 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17852 else clause and remove check for non-standard endianness.
17853
b83bbec4
DM
178542013-02-04 David S. Miller <davem@davemloft.net>
17855
17856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17857
6277fdab
JM
178582013-02-04 Joseph Myers <joseph@codesourcery.com>
17859
17860 [BZ #13550]
17861 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17862 (__ubp_memchr): Remove prototype.
17863 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17864 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17865 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17866 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17867 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17868 Remove alias.
17869 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17870 (__ubp_memchr): Likewise.
17871 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17872 (__ubp_memchr): Likewise.
17873 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17874 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17875 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17876 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17877 CHECK_STRING.
17878 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17879 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17880 (__getcwd): Do not use CHECK_STRING.
17881 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17882 <bp-checks.h>.
17883 (__real_chown): Do not use CHECK_STRING.
17884 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17885 <bp-checks.h>.
17886 (fchownat): Do not use CHECK_STRING.
17887 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17888 CHECK_STRING.
17889 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17890 <bp-checks.h>.
17891 (__lchown): Do not use CHECK_STRING.
17892 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17893 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17894 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17895 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17897 include <bp-checks.h>.
17898 (truncate64): Do not use CHECK_STRING.
17899 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17900 <bp-checks.h>.
17901 (__real_chown): Do not use CHECK_STRING.
17902 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17903 <bp-checks.h>.
17904 (__lchown): Do not use CHECK_STRING.
17905 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17906 <bp-checks.h>.
17907 (__chown): Do not use CHECK_STRING.
17908 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17909 <bp-checks.h>.
17910 (truncate64): Do not use CHECK_STRING.
17911 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17912 Likewise.
17913 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17914 (__xmknod): Do not use CHECK_STRING.
17915 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17916 <bp-checks.h>.
17917 (__xmknodat): Do not use CHECK_STRING.
17918 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17919 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17920
903ae060
AS
179212013-02-04 Andreas Schwab <schwab@suse.de>
17922
17923 [BZ #14142]
17924 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17925 * include/netdb.h: Likewise for h_errno.
17926 * elf/tst-stackguard1.c: Include <tls.h>.
17927
542f9466
JK
179282013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17929
17930 * elf/link.h (struct link_map): Extend the l_addr comment.
17931 * include/link.h (struct link_map): Likewise.
17932
e782a927
JM
179332013-02-01 Joseph Myers <joseph@codesourcery.com>
17934
17935 [BZ #13550]
17936 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17937 (BOUNDED_1): Remove macro.
17938 * debug/backtrace.c: Don't include <bp-checks.h>.
17939 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17940 (__backtrace): Likewise.
17941 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17942 <bp-checks.h>.
17943 (__backtrace): Don't use BOUNDED_1.
17944 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17945 <bp-checks.h>.
17946 (__backtrace): Don't use BOUNDED_1.
17947 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17948 (__backtrace): Don't use BOUNDED_1.
17949 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17950 (shmat): Don't use BOUNDED_N.
17951
8cf28c5e
JM
179522013-01-31 Joseph Myers <joseph@codesourcery.com>
17953
3a7ac8a0
JM
17954 [BZ #13550]
17955 * sysdeps/generic/bp-start.h: Remove file.
17956 * csu/libc-start.c: Don't include <bp-start.h>.
17957 (LIBC_START_MAIN): Set up __environ directly instead of using
17958 INIT_ARGV_and_ENVIRON.
17959 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17960 <bp-start.h>.
17961
f3499f95
JM
17962 [BZ #13550]
17963 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17964 definitions.
17965 (CHECK_FCNTL): Likewise.
17966 (CHECK_N_PAGES): Likewise.
17967
32a45bea
JM
17968 [BZ #13550]
17969 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17970 definitions.
17971 (CHECK_SIGSET_NULL_OK): Likewise.
17972 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17973 <bp-checks.h>.
17974 (sigpending): Don't use CHECK_SIGSET.
17975 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17976 <bp-checks.h>.
17977 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17978 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17979 <bp-checks.h>.
17980 (do_sigsuspend): Don't use CHECK_SIGSET.
17981 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17982 use CHECK_SIGSET.
17983 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17984 (do_sigwait): Don't use CHECK_SIGSET.
17985 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17986 use CHECK_SIGSET.
17987 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17988 include <bp-checks.h>.
17989 (sigpending): Don't use CHECK_SIGSET.
17990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17991 include <bp-checks.h>.
17992 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17993 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17994 <bp-checks.h>.
17995 (sigpending): Don't use CHECK_SIGSET.
17996 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17997 <bp-checks.h>.
17998 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17999
2e8a5c8c
JM
18000 [BZ #13550]
18001 * sysdeps/generic/bp-semctl.h: Remove file.
18002 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18003 <bp-checks.h> and <bp-semctl.h>.
18004 (__old_semctl): Don't use CHECK_SEMCTL.
18005 (__new_semctl): Likewise.
18006 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18007 and <bp-semctl.h>.
18008 (__old_semctl): Don't use CHECK_SEMCTL.
18009 (__new_semctl): Likewise.
18010 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18011 <bp-checks.h> and <bp-semctl.h>.
18012 (__old_semctl): Don't use CHECK_SEMCTL.
18013 (__new_semctl): Likewise.
18014 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18015 <bp-checks.h> and <bp-semctl.h>.
18016 (semctl): Don't use CHECK_SEMCTL.
18017
c2d54929
JM
18018 [BZ #13550]
18019 * Makerules (elide-bp-thunks): Remove variable.
18020 (elide-routines.oS): Don't use $(elide-bp-thunks).
18021 (elide-routines.os): Likewise.
18022 (elide-routines.o): Likewise.
18023 (elide-routines.op): Likewise.
18024 (elide-routines.og): Likewise.
18025 (objects): Don't use $(bp-thunks).
18026 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18027 include.
18028 (common-generated): Do not add s-proto-bp.d.
18029 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18030 (int): Likewise.
18031 (typ): Likewise.
18032 Do not generate makefile rules for bounded-pointer thunks.
18033 * sysdeps/generic/bp-thunks.h: Remove file.
18034 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18035 * sysdeps/unix/s-proto-bp.S: Likewise.
18036
8cf28c5e
JM
18037 [BZ #15062]
18038 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18039 parts of result separately when argument is not close to line from
18040 -i to i and one part of argument is small.
18041 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18042 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18043 * math/libm-test.inc (cacos_test): Add more tests.
18044 (casin_test): Likewise.
18045 (casinh_test): Likewise.
18046 * sysdeps/i386/fpu/libm-test-ulps: Update.
18047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18048
c4e33b8d
DM
180492013-01-31 David S. Miller <davem@davemloft.net>
18050
18051 * po/de.po: Update from translation team.
18052
3b60b421
MK
180532013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18054
18055 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18056
bb931195
TS
180572013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18058
b5a5da23
TS
18059 * configure.in (_AC_PROG_CC_C89): New definition.
18060 * configure: Regenerate.
18061
bb931195
TS
18062 * configure.in (AC_PROG_CPP): New definition.
18063 * configure: Regenerate.
18064
8c53a12c
JM
180652013-01-23 Joseph Myers <joseph@codesourcery.com>
18066
18067 * debug/tst-backtrace.h: New file.
18068 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18069 (ret): Remove variable.
18070 (x): Likewise.
18071 (FAIL): Remove macro.
18072 (NO_INLINE): Likewise.
18073 (fn1): Use match function instead of strstr.
18074 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18075 (ret): Remove variable.
18076 (x): Likewise.
18077 (FAIL): Remove macro.
18078 (NO_INLINE): Likewise.
18079 (fn): Use match function instead of strstr.
18080 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18081 (ret): Remove variable.
18082 (x): Likewise.
18083 (FAIL): Remove macro.
18084 (NO_INLINE): Likewise.
18085 (handle_signal): Use match function instead of strstr.
18086 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18087 (ret): Remove variable.
18088 (x): Likewise.
18089 (FAIL): Remove macro.
18090 (NO_INLINE): Likewise.
18091 (handle_signal): Use match function instead of strstr.
18092
4858fa2a
RM
180932013-01-23 Roland McGrath <roland@hack.frob.com>
18094
18095 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18096
bae8e7f5
DM
180972013-01-23 David S. Miller <davem@davemloft.net>
18098
18099 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18100 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18101 argument of CAS if possible.
18102 * sysdeps/sparc/sparc64/bits/atomic.h
18103 (__arch_compare_and_exchange_val_32_acq): Likewise.
18104 (__arch_compare_and_exchange_val_64_acq): Likewise.
18105
9cbbc4ae
PT
181062013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18107
18108 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18109 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18110 Include <limits.h>.
67b3f58c 18111 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18112
5655a0b5
AC
181132013-01-23 Adam Conrad <adconrad@0c3.net>
18114
18115 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18116 (LDFLAGS-tst-array5): Likewise.
18117
052aff95
JM
181182013-01-23 Joseph Myers <joseph@codesourcery.com>
18119
18120 [BZ #15036]
18121 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18122 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18123 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18124 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18125
7c1e01aa
DM
181262013-01-21 David S. Miller <davem@davemloft.net>
18127
18128 * sysdeps/sparc/backtrace.c: New file.
18129 * sysdeps/sparc/sparc32/backtrace.h: New file.
18130 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18131 * sysdeps/sparc/sparc64/backtrace.h: New file.
18132 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18133 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18134 -funwind-tables.
18135
ab087e0a
AS
181362013-01-21 Andreas Schwab <schwab@suse.de>
18137
18138 [BZ #15020]
18139 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18140 closed its stdout.
18141
ed689c2f
AS
181422013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18143
18144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18145 "mpa2.h".
18146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18147
31d470ac
JM
181482013-01-18 Joseph Myers <joseph@codesourcery.com>
18149 Mark Mitchell <mark@codesourcery.com>
18150 Tom de Vries <tom@codesourcery.com>
18151 Paul Pluzhnikov <ppluzhnikov@google.com>
18152
18153 * debug/tst-backtrace2.c: New file.
18154 * debug/tst-backtrace3.c: Likewise.
18155 * debug/tst-backtrace4.c: Likewise.
18156 * debug/tst-backtrace5.c: Likewise.
18157 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18158 (CFLAGS-tst-backtrace3.c): Likewise.
18159 (CFLAGS-tst-backtrace4.c): Likewise.
18160 (CFLAGS-tst-backtrace5.c): Likewise.
18161 (LDFLAGS-tst-backtrace2): Likewise.
18162 (LDFLAGS-tst-backtrace3): Likewise.
18163 (LDFLAGS-tst-backtrace4): Likewise.
18164 (LDFLAGS-tst-backtrace5): Likewise.
18165 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18166 tst-backtrace4 and tst-backtrace5.
18167
90567f30 181682013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18169 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18170
18171 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18172 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18173 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18174 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18176 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18177 "+r" and remove output regs list as redundant. Add explicit inline
18178 asm to specify register of return val to work around compiler codegen
18179 bug. Remove (int) cast on return value. Add return type parameter to
18180 use in macro so that this macro does not truncate return value for
18181 64-bit values.
18182 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18183 pass to INTERNAL_VSYSCALL_NCS.
18184 (INLINE_VSYSCALL): Add 'long int' as return type to
18185 INTERNAL_VSYSCALL_NCS macro invocation.
18186 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18187 INTERNAL_VSYSCALL_NCS macro invocation.
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18189
d3b9ea61
SP
181902013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18191
0b57daeb
SP
18192 [BZ #14496]
18193 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18194 Fix application of SIMD FP exception mask.
18195
caa99d06
SP
18196 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18197 mp_no from a power of two.
18198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18199 __mpexp_twomm1. Use __pow_mp.
18200
d3b9ea61
SP
18201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18202 multiplication.
18203
1dbaee3c
DM
182042013-01-17 David S. Miller <davem@davemloft.net>
18205
18206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18207
728d7b43
JM
182082013-01-17 Joseph Myers <joseph@codesourcery.com>
18209
18210 [BZ #15023]
18211 * include/complex.h: Condition contents on [!_COMPLEX_H].
18212 (__kernel_casinhf): New prototype.
18213 (__kernel_casinh): Likewise.
18214 (__kernel_casinhl): Likewise.
18215 * math/Makefile (libm_calls): Add k_casinh.
18216 * math/k_casinh.c: New file.
18217 * math/k_casinhf.c: Likewise.
18218 * math/k_casinhl.c: Likewise.
18219 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18220 finite nonzero arguments.
18221 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18222 finite nonzero arguments.
18223 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18224 finite nonzero arguments.
18225 * math/s_casinh.c: Do not include <float.h>.
18226 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18227 * math/s_casinhf.c: Do not include <float.h>.
18228 (__casinhf): Move code for finite nonzero arguments to
18229 k_casinhf.c.
18230 * math/s_casinhl.c: Do not include <float.h>.
18231 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18232 redefine.
18233 (__casinhl): Move code for finite nonzero arguments to
18234 k_casinhl.c.
18235 * math/libm-test.inc (cacos_test): Add more tests.
18236 * sysdeps/i386/fpu/libm-test-ulps: Update.
18237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18238
2a26ef3a
PT
182392013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18240
18241 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18242 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18243 [!HAVE_MREMAP]: Remove [defined linux] case.
18244 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18245
a897655d
SP
182462013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18247
18248 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18249
881ebe89 182502013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18251
18252 * elf/elf.h (R_386_SIZE32): New relocation.
18253 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18254 R_386_SIZE32.
18255 (elf_machine_rela): Likewise.
18256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18257 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18258
59981e9b
JM
182592013-01-17 Joseph Myers <joseph@codesourcery.com>
18260
18261 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18262 (FP_FAST_FMA): Do not define.
18263 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18264 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18265 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18266 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18267 !_SOFT_FLOAT]: Likewise.
18268 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18269 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18270 value.
18271 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18272 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18273 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18274 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18275 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18276 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18277 file.
18278
cfa8054f
AS
182792013-01-16 Andreas Schwab <schwab@suse.de>
18280
18281 [BZ #14327]
18282 * include/stdlib.h (__mktemp): Add declaration.
18283 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18284 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18285
dd930cc5
SP
182862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18287
881ebe89
SP
18288 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18289 definitions.
18290 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18291 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18292 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18293 definitions here.
18294 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18295 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18296 definitions.
18297 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18298 and ONE.
18299 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18300 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18301 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18302 definitions.
18303 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18304 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18305 definitions.
18306 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18307
dd930cc5
SP
18308 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18309
c19a9f89
DM
183102013-01-15 David S. Miller <davem@davemloft.net>
18311
1aa61767
DM
18312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18313 trunc{,f} to libm-sysdep_routes.
18314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18316 file.
18317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18319 file.
18320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18321 file.
18322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18324 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18325 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18326 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18327 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18328 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18329 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18330
c42d5e98
DM
18331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18332 nearbyint{,f} to libm-sysdep_routes.
18333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18335 New file.
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18337 file.
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18339 New file.
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18341 file.
18342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18344 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18345 file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18347 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18348 file.
18349 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18350 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18351 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18352
c19a9f89
DM
18353 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18354 libc_feholdexcept and libc_fesetenv.
18355
357679d2
MF
183562013-01-15 Mike Frysinger <vapier@gentoo.org>
18357
18358 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18359
65a82e3d
DM
183602013-01-14 David S. Miller <davem@davemloft.net>
18361
8b954ab9
DM
18362 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18363 (SPARC_ASM_VIS2_IFUNC): Likewise.
18364 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18366 use of 'siam' instruction.
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18368 Likewise.
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18370 Likewise.
18371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18372 Likewise.
18373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18378 file.
18379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18380 file.
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18382 file.
18383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18384 file.
18385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18390 new VIS2 routines.
18391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18394 Likewise.
18395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18400 routines to libm-sysdep_routines.
18401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18402
65a82e3d
DM
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18404 fdim/fdimf to libm-sysdep_routines.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18406 file.
18407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18409 file.
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18413 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18414 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18415 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18416 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18417
e34ab705
SP
184182013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18419
2a91b573
SP
18420 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18421 to optimize copies.
18422
1066a534
SP
18423 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18426
e34ab705
SP
18427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18428 local variable MPTWO.
18429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18430 Likewise.
18431
aba5e596
MF
184322013-01-13 Mike Frysinger <vapier@gentoo.org>
18433
18434 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18435 GLOB_NOESCAPE.
18436
e557e9e5
MF
184372013-01-13 Mike Frysinger <vapier@gentoo.org>
18438
18439 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18440
0428cec9
MF
184412013-01-13 Mike Frysinger <vapier@gentoo.org>
18442
18443 * manual/pattern.texi (glob_t): Document gl_flags.
18444 (glob64_t): Likewise.
18445
8794a964
DM
184462013-01-11 David S. Miller <davem@davemloft.net>
18447
66438c3f
RM
18448 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18449 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18450 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18451 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18452 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18453 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18454 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18455 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18456 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18457 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18458 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18459 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18460 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18461
4ae4244d
DM
18462 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18463 sparc V9 rather than using V8 code.
18464 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18465 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18466
8794a964
DM
18467 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18468 Move to...
18469 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18470 Here.
18471
6270516e
RM
184722013-01-11 Roland McGrath <roland@hack.frob.com>
18473
18474 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18475 not in the main loop.
18476 * configure: Regenerated.
18477
6a57d931
JM
184782013-01-11 Joseph Myers <joseph@codesourcery.com>
18479
18480 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18481 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18482 to just #else.
18483 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18484 [!__GLIBC_HAVE_LONG_LONG] case.
18485 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18486 condition to just #else.
18487 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18488 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18489 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18490 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18491 unconditional.
18492 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18493 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18494 #elif condition to just #else.
18495 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18496 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18497 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18498 #elif condition to just #else.
18499
0e8529e9
SE
185002013-01-11 Steve Ellcey <sellcey@mips.com>
18501
18502 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18503 (EF_MIPS_ARCH_64): Fix value.
18504 (EF_MIPS_ARCH_32R2): New.
18505 (EF_MIPS_ARCH_64R2): New.
18506
740b3dbe
L
185072013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18508
18509 * Makeconfig (+link-pie-before-libc): New.
18510 (+link-pie-after-libc): Likewise.
18511 (+link-pie-tests): Likewise.
18512 (+link-pie): Rewritten.
18513 (link-before-libc): Remove $(config-LDFLAGS).
18514 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18515 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18516 (config-LDFLAGS): Renamed to ...
18517 (rtld-LDFLAGS): This.
18518 (rtld-tests-LDFLAGS): New macro.
18519 (link-libc-rpath-link): Likewise.
18520 (link-libc-tests-rpath-link): Likewise.
18521 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18522 (link-libc): Prepand $(link-libc-rpath-link).
18523 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18524 (test-program-prefix): New macro.
18525 (test-via-rtld-prefix): Likewise.
18526 (test-program-cmd): Likewise.
18527 (host-test-program-cmd): Likewise.
18528 * Makefile ($(common-objpfx)testrun.sh): Replace
18529 $(run-program-prefix) with $(test-program-prefix).
18530 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18531 $(rtld-LDFLAGS).
18532 ($(common-objpfx)shlib.lds): Likewise.
18533 (build-module-helper): Likewise.
18534 ($(common-objpfx)format.lds): Likewise.
18535 * Rules (binaries-pie-tests): New.
18536 (binaries-pie-notests): Likewise.
18537 (binaries-pie): Rewritten.
18538 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18539 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18540 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18541 (make-test-out): Replace $(host-built-program-cmd) with
18542 $(host-test-program-cmd).
18543 * config.make.in (build-hardcoded-path-in-tests): New variable.
18544 * configure.in (--enable-hardcoded-path-in-tests): New configure
18545 option.
18546 (hardcoded_path_in_tests): New AC_SUBST.
18547 * configure: Regenerated.
18548 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18549 $(built-program-cmd) with $(test-program-cmd).
18550 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18551 (test_program_cmd): This.
18552 * elf/Makefile ($(objpfx)order.out): Run test with
18553 $(test-program-prefix).
18554 ($(objpfx)order2.out): Likewise.
18555 ($(objpfx)tst-initorder.out): Likewise.
18556 ($(objpfx)tst-initorder2.out): Likewise.
18557 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18558 $(test-program-cmd).
18559 ($(objpfx)tst-array1-static.out): Likewise.
18560 ($(objpfx)tst-array2.out): Likewise.
18561 ($(objpfx)tst-array3.out): Likewise.
18562 ($(objpfx)tst-array4.out): Likewise.
18563 ($(objpfx)tst-array5.out): Likewise.
18564 ($(objpfx)tst-array5-static.out): Likewise.
18565 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18566 $(test-program-cmd).
18567 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18568 $(run-program-prefix) with $(test-program-prefix).
18569 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18570 (test_program_prefix): This.
18571 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18572 $(run-program-prefix) with $(test-program-prefix).
18573 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18574 (test_program_prefix): This.
18575 * iconvdata/tst-tables.sh: Likewise.
18576 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18577 $(run-program-prefix) with $(test-program-prefix).
18578 ($(objpfx)tst-translit.out): Likewise.
18579 ($(objpfx)tst-gettext2.out): Likewise.
18580 ($(objpfx)tst-gettext4.out): Likewise.
18581 ($(objpfx)tst-gettext6.out): Likewise.
18582 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18583 (test_program_prefix): This.
18584 * intl/tst-gettext2.sh: Likewise.
18585 * intl/tst-gettext4.sh Likewise.
18586 * intl/tst-gettext6.sh: Likewise.
18587 * intl/tst-translit.sh: Likewise.
18588 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18589 with $(test-program-cmd).
18590 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18591 $(run-program-prefix) with $(test-program-prefix).
18592 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18593 (test_program_prefix): This.
18594 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18595 $(run-program-prefix) with $(test-program-prefix).
18596 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18597 (test_program_prefix): This.
18598 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18599 * posix/Makefile ($(objpfx)globtest.out): Replace
18600 $(run-via-rtld-prefix) and $(test-wrapper) with
18601 $(test-program-prefix) and $(test-via-rtld-prefix).
18602 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18603 $(test-program-prefix).
18604 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18605 $(host-test-program-cmd).
18606 (tst-spawn-ARGS): Likewise.
18607 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18608 $(test-program-prefix).
18609 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18610 (test_via_rtld_prefix): This.
18611 (test_wrapper): Renamed to ...
18612 (test_program_prefix): This.
18613 (run_program_prefix): Replaced by test_program_prefix.
18614 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18615 (test_program_prefix): This.
18616 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18617 with $(host-test-program-cmd).
18618 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18619 $(run-program-prefix) with $(test-program-prefix).
18620 ($(objpfx)tst-printf.out): Likewise.
18621 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18622 $(test-program-cmd).
18623 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18624 (test_program_prefix): This.
18625 * stdio-common/tst-unbputc.sh: Likewise.
18626 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18627 $(run-program-prefix) with $(test-program-prefix).
18628 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18629 (test_program_prefix): This.
18630 * string/Makefile ($(objpfx)tst-svc.out): Replace
18631 $(built-program-cmd) with $(test-program-cmd).
18632
c6fe55cf
AJ
186332013-01-11 Andreas Jaeger <aj@suse.de>
18634
18635 [BZ #15003]
18636 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18637 value. Sync with Linux 3.7.
18638
9e6919c8
DM
186392013-01-10 David S. Miller <davem@davemloft.net>
18640
18641 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18642 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18643 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18644
1c9f1a02
RM
186452013-01-10 Roland McGrath <roland@hack.frob.com>
18646
18647 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18648 never set.
18649 * configure: Regenerated.
18650
b9de2dde
DM
186512013-01-10 David S. Miller <davem@davemloft.net>
18652
18653 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18654 sparc V9 rather than using V8 code.
18655 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18656 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18657
e7f68ef4
RM
186582013-01-10 Roland McGrath <roland@hack.frob.com>
18659
18660 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18661 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18662 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18663 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18664 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18665 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18666 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18667 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18668 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18669 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18670 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18671 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18672 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18673 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18674 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18675 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18676 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18677 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18678 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18679 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18680 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18681 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18682 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18683 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18684 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18685 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18686 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18687
5a47cc9c
DM
186882013-01-10 David S. Miller <davem@davemloft.net>
18689
18690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18691
4cf8f209
L
186922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18693
18694 * posix/Makefile (tests-static): New variable.
18695 (tests): Add $(tests-static).
18696 (tst-exec-static-ARGS): New variable.
18697 (tst-spawn-static-ARGS): Likewise.
18698 * posix/tst-exec-static.c: New file.
18699 * posix/tst-spawn-static.c: Likewise.
18700 * posix/tst-exec.c: Support run directly.
18701 * posix/tst-spawn.c: Likewise.
18702
fed0faa1
JM
187032013-01-10 Joseph Myers <joseph@codesourcery.com>
18704
828beb13
JM
18705 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18706 long.
18707 * math/bits/mathcalls.h (llrint): Likewise.
18708 (llround): Likewise.
18709 * stdlib/stdlib.h (struct drand48_data): Likewise.
18710 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18711 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18712 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18713 Likewise.
18714 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18715 Likewise.
18716 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18717 (elf_greg_t): Likewise.
18718 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18719 (__jmp_buf): Likewise.
18720 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18721 definitions.
18722 (llrint): Likewise, for all definitions.
18723 (llrintl): Likewise.
18724
fed0faa1
JM
18725 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18726 Remove [__GNUC__] condition.
18727 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18728 condition to just [__USE_ISOC99].
18729 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18730
1a20cb20
L
187312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18732
18733 [BZ #14200]
18734 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18735 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18736 defined.
18737 (_POSIX_V6_ILP32_OFF32): Likewise.
18738 (_XBS5_ILP32_OFF32): Likewise.
18739 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18740 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18741
751b85f7
SP
187422013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18743
7490eb81
SP
18744 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18745
751b85f7
SP
18746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18747 doubles __mpexp_twomm1. Adjust usage.
18748 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18749 Remove.
18750
988197f0
AS
187512013-01-10 Andreas Schwab <schwab@suse.de>
18752
18753 [BZ #14964]
18754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18755 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18756
e83d7298
DM
187572013-01-09 David S. Miller <davem@davemloft.net>
18758
034ed64b 18759 [BZ #15003]
e83d7298
DM
18760 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18761 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18762 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18763 TCP_FASTOPEN): Define.
18764 (tcp_repair_opt): New structure.
18765 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18766 enum values.
18767 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18768 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18769 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18770 (tcp_cookie_transactions): New structure.
18771
d5e0b9bd
AB
187722013-01-09 Anton Blanchard <anton@samba.org>
18773
18774 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18775 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18776 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18777 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18778
0c07e3ea
JM
187792013-01-09 Joseph Myers <joseph@codesourcery.com>
18780
18781 * include/features.h (__USE_ANSI): Remove.
18782
232f7002
RM
187832013-01-09 Roland McGrath <roland@hack.frob.com>
18784
ad98e30c
RM
18785 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18786
232f7002
RM
18787 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18788
950c99ca
SP
187892013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18790
b5792741
SP
18791 * sysdeps/s390/fpu/libm-test-ulps: Update.
18792
47cf2278
SP
18793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18794
950c99ca
SP
18795 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18796 (__acr): Likewise.
18797 (__cpy): Likewise.
18798 (norm): Likewise.
18799 (denorm): Likewise.
18800 (__mp_dbl): Likewise.
18801 (__dbl_mp): Likewise.
18802 (add_magnitudes): Likewise.
18803 (sub_magnitudes): Likewise.
18804 (__add): Likewise.
18805 (__sub): Likewise.
18806 (__mul): Likewise.
18807 (__inv): Likewise.
18808 (__dvd): Likewise.
18809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18810 (__acr): Likewise.
18811 (__cpy): Likewise.
18812 (norm): Likewise.
18813 (denorm): Likewise.
18814 (__mp_dbl): Likewise.
18815 (__dbl_mp): Likewise.
18816 (add_magnitudes): Likewise.
18817 (sub_magnitudes): Likewise.
18818 (__add): Likewise.
18819 (__sub): Likewise.
18820 (__mul): Likewise.
18821 (__inv): Likewise.
18822 (__dvd): Likewise.
18823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18824 (__acr): Likewise.
18825 (__cpy): Likewise.
18826 (norm): Likewise.
18827 (denorm): Likewise.
18828 (__mp_dbl): Likewise.
18829 (__dbl_mp): Likewise.
18830 (add_magnitudes): Likewise.
18831 (sub_magnitudes): Likewise.
18832 (__add): Likewise.
18833 (__sub): Likewise.
18834 (__mul): Likewise.
18835 (__inv): Likewise.
18836 (__dvd): Likewise.
18837
eede9df9
JM
188382013-01-08 Joseph Myers <joseph@codesourcery.com>
18839
18840 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18841 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18842 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18843 2 && __USE_EXTERN_INLINES]: Likewise.
18844
c40ea3d9
AJ
188452013-01-08 Andreas Jaeger <aj@suse.de>
18846
18847 [BZ# 14985]
18848 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18849 Remove.
18850 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18851 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18852
2ccdea26
AB
188532013-01-07 Anton Blanchard <anton@samba.org>
18854
18855 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18856 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18857 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18858 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18859 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18860 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18861 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18862 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18864 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18865 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18866 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18867 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18868 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18869 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18870 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18871 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18872 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18873 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18874 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18875 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18876 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18878 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18879 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18880 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18881 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18882 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18884 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18885 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18887 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18888 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18889 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18890 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18892 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18893 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18894 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18895 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18896 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18897 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18898
a9708fed
JM
188992013-01-07 Joseph Myers <joseph@codesourcery.com>
18900
375607b9
JM
18901 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18902 (__MALLOC_PMT): Likewise.
18903 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18904 [__GNUC__], only on [_LIBC].
18905 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18906 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18907 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18908 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18909 forward declaration.
18910 (realloc_hook_ini): Likewise.
18911 (memalign_hook_ini): Likewise.
18912 (__libc_memalign): Do not use __MALLOC_PMT in variable
18913 declaration.
18914 (__libc_valloc): Likewise.
18915 (__libc_pvalloc): Likewise.
18916 (__libc_calloc): Likewise.
18917 (__posix_memalign): Likewise.
18918
a9708fed
JM
18919 [BZ #14996]
18920 * math/s_casinh.c: Include <float.h>.
18921 (__casinh): Do not do computation with squaring and square root
18922 for large arguments.
18923 * math/s_casinhf.c: Include <float.h>.
18924 (__casinhf): Do not do computation with squaring and square root
18925 for large arguments.
18926 * math/s_casinhl.c: Include <float.h>.
18927 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18928 (__casinhl): Do not do computation with squaring and square root
18929 for large arguments.
18930 * math/libm-test.inc (casin_test): Add more tests.
18931 (casinh_test): Likewise.
18932 * sysdeps/i386/fpu/libm-test-ulps: Update.
18933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18934
afec409a
L
189352013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18936
18937 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18938 (__x86_64_raw_data_cache_size): Likewise.
18939 (__x86_64_data_cache_size_half): Likewise.
18940 (__x86_64_raw_data_cache_size_half): Likewise.
18941 (__x86_64_shared_cache_size): Likewise.
18942 (__x86_64_raw_shared_cache_size): Likewise.
18943 (__x86_64_shared_cache_size_half): Likewise.
18944 (__x86_64_raw_shared_cache_size_half): Likewise.
18945 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18946 to ...
18947 (__x86_data_cache_size): This.
18948 (__x86_64_raw_data_cache_size): Renamed to ...
18949 (__x86_raw_data_cache_size): This.
18950 (__x86_64_data_cache_size_half): Renamed to ...
18951 (__x86_data_cache_size_half): This.
18952 (__x86_64_raw_data_cache_size_half): Renamed to ...
18953 (__x86_raw_data_cache_size_half): This.
18954 (__x86_64_shared_cache_size): Renamed to ...
18955 (__x86_shared_cache_size): This.
18956 (__x86_64_raw_shared_cache_size): Renamed to ...
18957 (__x86_raw_shared_cache_size): This.
18958 (__x86_64_shared_cache_size_half): Renamed to ...
18959 (__x86_shared_cache_size_half): This.
18960 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18961 (__x86_raw_shared_cache_size_half): This.
18962 * sysdeps/x86_64/memcpy.S: Updated.
18963 * sysdeps/x86_64/memset.S: Likewise.
18964 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18966 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18967
0b3986d0
DM
189682013-01-04 David S. Miller <davem@davemloft.net>
18969
18970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18971
e47686e9
AS
189722013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18973
d643bac1
AS
18974 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18975 1 to avoid redefinition warning.
18976 (__USE_GNU): Don't define.
18977 (init_signaling_nan): Protoize.
18978
e47686e9
AS
18979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18980
b18decba
SP
189812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18982
fffb407f
SP
18983 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18985 (__cpymn): Likewise.
18986 (norm): Remove commented code.
18987 (denorm): Likewise.
18988 (__mp_dbl): Likewise.
18989 (__inv): Likewise.
18990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18991 (__cpymn): Likewise.
18992 (norm): Remove commented code.
18993 (denorm): Likewise.
18994 (__mp_dbl): Likewise.
18995 (__inv): Likewise.
18996
b18decba
SP
18997 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19003 mp_no value for 1.0 and 2.0.
19004 (norm): Use RADIXI instead of radixi.d.
19005 (denorm): Likewise.
19006 (__mul): Use 0.0 instead of zero.d.
19007
cdc1c96f
JM
190082013-01-04 Joseph Myers <joseph@codesourcery.com>
19009
19010 [BZ #14994]
19011 * math/s_casinh.c (__casinh): Reduce finite argument to first
19012 quadrant then set signs of results at the end.
19013 * math/s_casinhf.c (__casinhf): Likewise.
19014 * math/s_casinhl.c (__casinhl): Likewise.
19015 * math/libm-test.inc (casin_test): Add more tests.
19016 (casinh_test): Likewise.
19017 * sysdeps/i386/fpu/libm-test-ulps: Update.
19018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19019
302913e1
SP
190202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19021
6420d207
SP
19022 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19023
a9e48ab4
SP
19024 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19025
b7837264
SP
19026 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19027 declarations.
19028 (denorm): Likewise.
19029 (__mp_dbl): Likewise.
19030 (__inv): Likewise.
19031
f8af25d2
SP
19032 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19033 and adjust the header comment.
19034
302913e1
SP
19035 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19036 variable name from declaration.
19037
5d7dd1ca
L
190382013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19039
19040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19041 Initialize COMMON_CPUID_INDEX_7 element.
19042 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19043 (CPUID_RTM): Likewise.
19044 (HAS_RTM): Likewise.
19045 (COMMON_CPUID_INDEX_7): New enum.
19046
2f5f40f4
AS
190472013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19048
19049 [BZ #14981]
19050 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19051 size is zero, record memory as freed.
19052
4056f4a0
AJ
190532013-01-03 Andreas Jaeger <aj@suse.de>
19054
19055 * po/ia.po: Add new Interlingua translation.
19056
ab15736f 190572012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19058
19059 * locale/programs/localedef.c: Fix description of '--posix' flag.
19060
568035b7
JM
190612013-01-02 Joseph Myers <joseph@codesourcery.com>
19062
e6898b8d
JM
19063 * NEWS: Update dates in second copyright notice.
19064 * README: Update copyright dates in example.
19065 * manual/libc.texinfo: Update copyright dates.
19066 * scripts/test-installation.pl: Update copyright date in --version
19067 output.
19068
0e2f9562
JM
19069 * hurd/ctty-input.c: Fix copyright notice formatting.
19070 * hurd/ctty-output.c: Likewise.
19071 * hurd/dtable.c: Likewise.
19072 * hurd/hurd-raise.c: Likewise.
19073 * hurd/hurdprio.c: Likewise.
19074 * hurd/msgportdemux.c: Likewise.
19075 * misc/sys/file.h: Likewise.
19076 * misc/sys/ioctl.h: Likewise.
19077 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19078 * sysdeps/mach/hurd/chdir.c: Likewise.
19079 * sysdeps/mach/hurd/fchdir.c: Likewise.
19080 * sysdeps/mach/hurd/rename.c: Likewise.
19081 * sysdeps/mach/hurd/rmdir.c: Likewise.
19082 * sysdeps/mach/hurd/seekdir.c: Likewise.
19083 * sysdeps/mach/hurd/setsid.c: Likewise.
19084 * sysdeps/posix/wait3.c: Likewise.
19085
568035b7
JM
19086 * All files with FSF copyright notices: Update copyright dates
19087 using scripts/update-copyrights.
19088 * intl/plural.c: Regenerated.
19089 * locale/programs/charmap-kw.h: Likewise.
19090 * locale/programs/locfile-kw.h: Likewise.
19091
da08f647
SP
190922013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19093
0f5477af
SP
19094 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19095 four values.
19096
44e0d4c2
SP
19097 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19098 calculation loop and add branch prediction.
19099
4d55b4e5
SP
19100 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19101 check access beyond bounds of m1np.
19102
da08f647
SP
19103 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19104 MPTWO.
19105 (__inv): Remove local variable MPTWO to use the global
19106 constant.
19107 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19108 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19109 variable MPTWO.
19110 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19111 MP3HALFS static const.
19112
8e051029
DM
191132013-01-01 David S. Miller <davem@davemloft.net>
19114
19115 * po/ca.po: Update from translation team.
19116
f4cf5f2d
JM
191172013-01-01 Joseph Myers <joseph@codesourcery.com>
19118
19119 * scripts/update-copyrights: New file.
19120 * Makeconfig: Reformat copyright notice.
19121 * ctype/ctype.h: Likewise.
19122 * debug/swprintf_chk.c: Likewise.
19123 * elf/dl-cache.c: Likewise.
19124 * elf/dl-debug.c: Likewise.
19125 * elf/dl-object.c: Likewise.
19126 * grp/initgroups.c: Likewise.
19127 * hurd/Makefile: Likewise.
19128 * hurd/hurd/signal.h: Likewise.
19129 * hurd/hurdfault.c: Likewise.
19130 * hurd/hurdioctl.c: Likewise.
19131 * hurd/hurdlookup.c: Likewise.
19132 * hurd/intr-msg.c: Likewise.
19133 * iconv/gconv_open.c: Likewise.
19134 * libio/swprintf.c: Likewise.
19135 * locale/lc-ctype.c: Likewise.
19136 * locale/nl_langinfo.c: Likewise.
19137 * mach/Machrules: Likewise.
19138 * mach/Makefile: Likewise.
19139 * malloc/obstack.h: Likewise.
19140 * manual/Makefile: Likewise.
19141 * manual/tsort.awk: Likewise.
19142 * misc/bits/stab.def: Likewise.
19143 * nis/nis_print_group_entry.c: Likewise.
19144 * nis/nis_table.c: Likewise.
19145 * nis/nss_compat/compat-pwd.c: Likewise.
19146 * nis/nss_compat/compat-spwd.c: Likewise.
19147 * po/Makefile: Likewise.
19148 * posix/fnmatch.c: Likewise.
19149 * posix/regex.h: Likewise.
19150 * resolv/Makefile: Likewise.
19151 * resolv/nss_dns/dns-network.c: Likewise.
19152 * resolv/res_hconf.c: Likewise.
19153 * scripts/gen-sorted.awk: Likewise.
19154 * soft-fp/soft-fp.h: Likewise.
19155 * stdio-common/printf.h: Likewise.
19156 * stdlib/monetary.h: Likewise.
19157 * stdlib/random.c: Likewise.
19158 * stdlib/random_r.c: Likewise.
19159 * sysdeps/generic/Makefile: Likewise.
19160 * sysdeps/gnu/Makefile: Likewise.
19161 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19163 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19171 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19173 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19174 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19175 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19176 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19177 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19184 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19185 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19189 * sysdeps/mach/hurd/errnos.awk: Likewise.
19190 * sysdeps/mach/hurd/fork.c: Likewise.
19191 * sysdeps/mach/hurd/getcwd.c: Likewise.
19192 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19193 * sysdeps/mach/hurd/mmap.c: Likewise.
19194 * sysdeps/mach/hurd/utimes.c: Likewise.
19195 * sysdeps/mach/hurd/xmknod.c: Likewise.
19196 * sysdeps/posix/profil.c: Likewise.
19197 * sysdeps/posix/readdir_r.c: Likewise.
19198 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19199 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19200 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19201 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19203 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19204 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19205 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19208 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19209 * sysdeps/pthread/lio_listio.c: Likewise.
19210 * sysdeps/sparc/dl-procinfo.h: Likewise.
19211 * sysdeps/unix/i386/sysdep.S: Likewise.
19212 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19213 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19214 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19215 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19217 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19218 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19219 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19220 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19221 * sysdeps/wordsize-32/divdi3.c: Likewise.
19222 * time/sys/time.h: Likewise.
19223 * wcsmbs/Makefile: Likewise.
19224
0549fbba
DM
192252013-01-01 David S. Miller <davem@davemloft.net>
19226
a141f1a7
DM
19227 * po/fr.po: Update from translation team.
19228
0549fbba
DM
19229 * catgets/gencat.c: Update copyright year.
19230 * csu/version.c: Likewise.
19231 * debug/catchsegv.sh: Likewise.
19232 * debug/pcprofiledump.c: Likewise.
19233 * debug/xtrace.sh: Likewise.
19234 * elf/ldconfig.c: Likewise.
19235 * elf/ldd.bash.in: Likewise.
19236 * elf/pldd.c: Likewise.
19237 * elf/sotruss.ksh: Likewise.
19238 * elf/sprof.c: Likewise.
19239 * iconv/iconv_prog.c: Likewise.
19240 * iconv/iconvconfig.c: Likewise.
19241 * locale/programs/locale.c: Likewise.
19242 * locale/programs/localedef.c: Likewise.
19243 * login/programs/pt_chown.c: Likewise.
19244 * malloc/memusage.sh: Likewise.
19245 * malloc/memusagestat.c: Likewise.
19246 * malloc/mtrace.pl: Likewise.
19247 * nscd/nscd.c: Likewise.
19248 * nss/getent.c: Likewise.
19249 * nss/makedb.c: Likewise.
19250 * posix/getconf.c: Likewise.
19251
18ea052c
SP
192522012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19253
19254 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19255 numbers.
19256
9c89fca6
MF
192572012-12-30 Mike Frysinger <vapier@gentoo.org>
19258
19259 * math/bits/mathcalls.h (modf): Use __nonnull.
19260
085ec079
SP
192612012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19262
19263 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19264 (split): Use macro CN instead of the bare value.
19265 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19266 could be used.
19267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19268 instead of the bare value.
19269 (power1): Likewise.
19270
6d9f97e1
SP
192712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19272
d63f73be
SP
19273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19274 __ATAN_TWOM.
19275 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19276
6d9f97e1
SP
19277 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19278 their values.
19279 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19280 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19281 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19282 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19283
4c4febf5
AJ
192842012-12-28 Andreas Jaeger <aj@suse.de>
19285
af5843ef
AJ
19286 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19287 values are from Linux 3.7.
19288
4c4febf5
AJ
19289 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19290 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19291
99136f82
SP
192922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19293
2f216c3c 19294 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19295 TRUE case.
19296
99136f82
SP
19297 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19298 (norm): Likewise.
19299 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19300 variables with preprocessor constants.
19301 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19302 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19303 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19304
7fffbdff
BH
193052012-12-27 Bruno Haible <bruno@clisp.org>
19306
19307 [BZ #14317]
19308 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19309 only if needed.
19310
b76eb5f0
SP
193112012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19312
31a7fe5c
SP
19313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19314 and use variable directly.
19315 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19316
b76eb5f0
SP
19317 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19318 MPONE.
19319 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19320 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19321 variable MPONE.
19322 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19324 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19325 include directive. Remove local variable MPONE.
19326 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19327 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19328 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19329
2c8bfe7d
DM
193302012-12-25 David S. Miller <davem@davemloft.net>
19331
19332 * version.h (RELEASE): Set to "development".
19333 (VERSION): Set to "2.17.90".
19334 * NEWS: Add 2.18 section.
19335
147d03b0
DM
193362012-12-21 David S. Miller <davem@davemloft.net>
19337
19338 * po/hr.po: Update from translation team.
19339
a8ebb2b9
AK
193402012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19341
19342 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19343
95b4f1b6
SE
193442012-12-19 Steve Ellcey <sellcey@mips.com>
19345
b2d94007 19346 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19347
cedb2a90
MS
193482012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19349
19350 * manual/contrib.texi (Contributors): Spelling correction.
19351
bbf527d6
DM
193522012-12-15 David S. Miller <davem@davemloft.net>
19353
19354 * po/ru.po: Update from translation team.
19355
bc38c906
DM
193562012-12-13 David S. Miller <davem@davemloft.net>
19357
85429b1a
DM
19358 * NEWS: Mention IFUNC testsuite enhancements.
19359
d283e353
DM
19360 * po/pl.po: Update from translation team.
19361 * po/bg.po: Likewise.
19362
bc38c906
DM
19363 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19364 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19365
a181b0d7
DM
193662012-12-11 David S. Miller <davem@davemloft.net>
19367
4641d57e
DM
19368 * po/sv.po: Update from translation team.
19369
f7bc6495
DM
19370 * po/vi.po: Update from translation team.
19371
6fc9048f
DM
19372 * po/cs.po: Update from translation team.
19373
a181b0d7
DM
19374 * po/de.po: Update from translation team.
19375 * po/eo.po: Likewise.
19376 * po/nl.po: Likewise.
19377
f70bfe80
SP
193782012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19379
3c8b4190
SP
19380 [BZ #14246]
19381 * manual/argp.texi (Argp Helper Functions): Move node to follow
19382 Argp Parsing State.
19383
f70bfe80
SP
19384 [BZ #14872]
19385 * manual/conf.texi (Limits on File System Capacity): Mention if
19386 terminating null is included in the max size.
19387
188f0adf
AJ
193882012-12-10 Andreas Jaeger <aj@suse.de>
19389
19390 * po/cs.po: Update from translation team.
19391
56e7d3ad
SP
193922012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19393
19394 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19395 void pointer and cast to uintptr_t.
19396 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19397 path.
19398 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19399 * sysdeps/s390/s390-64/memset.S: Likewise.
19400
76f2d2ea 194012012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19402
19403 [BZ #14833]
19404 * menual/message.texi (Message Translation): Fix typos.
19405 (Helper programs for gettext): Likewise.
19406
67cbf9a2
AS
194072012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19408
19409 [BZ #14898]
19410 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19411 Change to -1.
19412
682d0e9a
DM
194132012-12-07 David S. Miller <davem@davemloft.net>
19414
19415 * po/libc.pot: Update.
19416
573cd484
RH
194172012-12-07 Richard Henderson <rth@redhat.com>
19418
7e9da188 19419 [BZ #10114]
573cd484
RH
19420 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19421 normal/normal case to before the switch.
19422 (_FP_DIV): Likewise.
19423
e933a943
MF
194242012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19425 Mike Frysinger <vapier@gentoo.org>
19426
19427 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19428 check for __NR_fadvise64_64.
19429
82123268
CM
194302012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19431
19432 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19433 0, not just to plain "0" as a statement.
19434 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19435 with cw.
19436
d9814526
JM
194372012-12-06 Joseph Myers <joseph@codesourcery.com>
19438
19439 * NEWS: Use sourceware.org in Bugzilla URL.
19440
7728c574
SP
194412012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19442
f16946dd
SP
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19444 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19445
5704bbcb
SP
19446 * stdio-common/tst-put-error.c (do_test): Add newline to the
19447 padded test to ensure flush.
19448
17aa0516
JL
194492012-12-05 Jeff Law <law@redhat.com>
19450
19451 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19452
363313b5
JM
194532012-12-05 Joseph Myers <joseph@codesourcery.com>
19454
effbd42a
JM
19455 * README: Don't refer to ports add-on as distributed separately.
19456 Mention AArch64 in list of systems supported in the ports add-on.
19457
87600365
JM
19458 * LICENSES: Add more non-FSF copyright and license notices.
19459
a0d7066a
JM
19460 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19461 ((unused)).
19462
66ca5a5b
JM
19463 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19464
363313b5
JM
19465 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19466 10000 as width of padded output.
19467
b37984ad
JM
194682012-12-04 Joseph Myers <joseph@codesourcery.com>
19469
9003570a
JM
19470 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19471
b37984ad
JM
19472 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19473 variable LX with __attribute__ ((unused)).
19474 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19475 Likewise.
19476 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19477 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19478 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19479 with __attribute__ ((unused)).
19480
c8df52ec
DM
194812012-12-04 David S. Miller <davem@abraco.davemloft.net>
19482
19483 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19484
b3b099af
JM
194852012-12-04 Joseph Myers <joseph@codesourcery.com>
19486
c33aa6e3
JM
19487 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19488 (CFLAGS-nldbl-acos.c): New variable.
19489 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19490 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19491 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19492 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19493 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19494 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19495 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19496 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19497 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19498 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19499 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19500 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19501 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19502 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19503 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19504 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19505 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19506 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19507 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19508 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19509 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19510 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19511 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19512 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19513 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19514 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19515 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19516 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19517 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19518 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19519 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19520 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19521 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19522 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19523 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19524 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19525 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19526 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19527 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19528 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19529 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19530 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19531 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19532 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19533 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19534 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19535 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19536 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19537 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19538 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19539 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19540 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19541 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19542 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19543 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19544 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19545 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19546 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19547 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19548 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19549 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19550 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19551 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19552 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19553 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19554 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19555 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19556 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19581 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19582 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19583 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19584 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19586
20f0018d
JM
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19588 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19589
b3b099af
JM
19590 [BZ #14914]
19591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19592 whole low double instead of just low 47 bits when splitting values
19593 into two parts.
19594
029264d1
AM
195952012-12-03 Allan McRae <allan@archlinux.org>
19596
19597 * manual/stdio.texi (Predefined Printf Handlers): Remove
19598 @hsep and @vsep usage.
19599
c9d6789e
MF
196002012-12-03 Mike Frysinger <vapier@gentoo.org>
19601
19602 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19603 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19604
4b7634a5
JL
196052012-12-03 Jeff Law <law@redhat.com>
19606
19607 * time/sys/time.h (settimeofday): Do not mark TV argument
19608 as __nonnull.
19609
eb6cbd24
MF
196102012-12-01 Mike Frysinger <vapier@gentoo.org>
19611
19612 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19613 when currently writing and seek to current position when not.
19614 * libio/Makefile (tests): Remove bug-fclose1.
19615 * libio/bug-fclose1.c: Delete.
19616
f638872a
JM
196172012-12-01 Joseph Myers <joseph@codesourcery.com>
19618
19619 * manual/arith.texi (feenableexcept): Fix typo.
19620 (fedisableexcept): Likewise.
19621
48085d14
RM
196222012-11-30 Roland McGrath <roland@hack.frob.com>
19623
19624 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19625 second, differently-typed declaration, rather than a cast.
19626
1a538b9f
SP
196272012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19628
19629 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19630 * include/rpc/svc.h: ... here.
19631
d07f2ff1 196322012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19633
19634 [BZ #13013]
19635 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19636 depending n and resplen2 to catch cases where answer
19637 equals answerp2.
19638
c93ec1f0
CD
196392012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19640
19641 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19642 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19643
37db69de
MF
196442012-11-29 Mike Frysinger <vapier@gentoo.org>
19645
19646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19647
e10c4e4f
RM
196482012-11-29 Roland McGrath <roland@hack.frob.com>
19649
19650 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19651
2af1b328
JL
196522012-11-28 Jeff Law <law@redhat.com>
19653
19654 [BZ #13761]
19655 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19656 dataset_temporary. Track alloca usage into alloca_used.
19657 If dataset is large allocate and release it via malloc/free.
19658
111db5b1
FW
196592012-06-04 Florian Weimer <fweimer@redhat.com>
19660
f06cc227 19661 [BZ #14197]
111db5b1
FW
19662 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19663
dd694abd
DM
196642012-11-28 David S. Miller <davem@davemloft.net>
19665
19666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19667
9984dd01
JM
196682012-11-28 Joseph Myers <joseph@codesourcery.com>
19669
19670 [BZ #14803]
19671 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19672 of pi/2 rounded to nearest to 64 bits.
19673 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19674 nearest to 64 bits.
19675 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19676 bits.
19677
14bc93a9
JL
196782012-11-28 Jeff Law <law@redhat.com>
19679 Martin Osvald <mosvald@redhat.com>
19680
19681 [BZ #14889]
19682 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19683 * sunrpc/svc.c: Include time.h.
19684 (__svc_accept_failed): New function.
19685 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19686 any reason other than EINTR, call __svc_accept_failed.
19687 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19688 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19689
e3c6aa3a
AS
196902012-11-28 Andreas Schwab <schwab@suse.de>
19691
19692 * scripts/abilist.awk: Also handle indirect functions in .opd
19693 section.
19694
1bead169
JM
196952012-11-28 Joseph Myers <joseph@codesourcery.com>
19696
19697 [BZ #13881]
19698 * sysdeps/x86/fpu/powl_helper.c: New file.
19699 * sysdeps/x86/fpu/Makefile: Likewise.
19700 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19701 (p3): New object.
19702 (__ieee754_powl): Use __powl_helper for finite arguments except
19703 integer exponents below 8.
19704 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19705 (p3): New object.
19706 (__ieee754_powl): Use __powl_helper for finite arguments except
19707 integer exponents below 8.
19708 * math/libm-test.inc (pow_test): Add more tests and enable some
19709 previously disabled tests.
19710 * sysdeps/i386/fpu/libm-test-ulps: Update.
19711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19712
0817d63d
SP
197132012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19714 Carlos O'Donell <carlos_odonell@mentor.com>
19715
19716 * nss/makedb.c (is_prime): Assert that input is odd and greater
19717 than 4. Note that fact in a comment too.
19718 (next_prime): Add 4 to input.
19719
de2fd463
SP
197202012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19721
19722 [BZ #11741]
19723 * libio/Makefile (tests): Add test case tst-fwrite-error.
19724 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19725 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19726 * libio/tst-fwrite-error.c: New test case.
19727
c515fb51
L
197282012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19729
19730 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19731 before casting to void *.
19732 * include/libc-internal.h (__pointer_type): New macro.
19733 (__integer_if_pointer_type_sub): Likewise.
19734 (__integer_if_pointer_type): Likewise.
19735 (cast_to_integer): Likewise.
19736 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19737 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19738 before casting to atomic64_t.
19739 (atomic_exchange_acq): Likewise.
19740 (__arch_exchange_and_add_body): Likewise.
19741 (__arch_add_body): Likewise.
19742 (atomic_add_negative): Likewise.
19743 (atomic_add_zero): Likewise.
19744
4cf77aa9
JM
197452012-11-26 Joseph Myers <joseph@codesourcery.com>
19746
19747 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19748 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19749 (add_fdes): Likewise.
19750 (linear_search_fdes): Likewise.
19751 (binary_search_unencoded_fdes): Likewise.
19752
d260b3b4
AS
197532012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19754
19755 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19756
67060746
AC
197572012-11-24 Adam Conrad <adconrad@0c3.net>
19758
19759 * configure.in: Autodetect C++ header directories.
19760 * configure: Regenerated.
19761
800938a1
MF
197622012-11-23 Mike Frysinger <vapier@gentoo.org>
19763
19764 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19765
4e6e34e6
AS
197662012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19767
19768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19769
7c7feb47
JM
197702012-11-22 Joseph Myers <joseph@codesourcery.com>
19771
7184dcdf
JM
19772 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19773 LDBL_MANT_DIG == 106]: Disable some tests.
19774 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19775 Likewise.
19776 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19777 Likewise.
19778
0a42601f
JM
19779 [BZ #14871]
19780 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19781 input for small inputs. Return +/- pi/2 for large inputs.
19782 * math/libm-test.inc (atan_test): Add more tests.
19783
79c9b9fe
JM
19784 * sysdeps/generic/unwind-dw2-fde-glibc.c
19785 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19786 __attribute__ ((unused)).
19787
c60d3bf2
JM
19788 [BZ #14645]
19789 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19790 x * y if x and y are nonzero and z is zero.
19791
ef1e0867
JM
19792 [BZ #14811]
19793 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19794 nonzero exponents with absolute value below 0x1p-117 to +/-
19795 0x1p-117.
19796
1468ded3
JM
19797 [BZ #14869]
19798 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19799 up arguments below 2**-450, not just those below 2**-500.
19800 * math/libm-test.inc (hypot_test): Add another test.
19801
8e27e3cc
JM
19802 [BZ #14868]
19803 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19804 Return a+b for ratio over 2**120, not 2**60.
19805 * math/libm-test.inc (hypot_test): Add another test.
19806
c9c0279b
JM
19807 * math/libm-test.inc (clog_test): Use
19808 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19809 (clog10_test): Likewise.
19810
7c7feb47
JM
19811 [BZ #6778]
19812 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19813
fff1530e
AS
198142012-11-22 Andreas Schwab <schwab@suse.de>
19815
19816 * sysdeps/i386/fpu/libm-test-ulps: Update.
19817
94558d30
PT
198182012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19819
19820 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19821 printf output with newline.
19822
7e1be741
L
198232012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19824
6bfea974
L
19825 [BZ #14865]
19826 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19827 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19828 -z nodlopen, -z initfirst and -z execstack support.
19829 * configure: Regenerated.
19830
7e1be741
L
19831 * elf/elf.h (DF_1_NODIRECT): New macro.
19832 (DF_1_IGNMULDEF): Likewise.
19833 (DF_1_NOKSYMS): Likewise.
19834 (DF_1_NOHDR): Likewise.
19835 (DF_1_EDITED): Likewise.
19836 (DF_1_NORELOC): Likewise.
19837 (DF_1_SYMINTPOSE): Likewise.
19838 (DF_1_GLOBAUDIT): Likewise.
19839 (DF_1_SINGLETON): Likewise.
19840 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19841 DT_1_SUPPORTED_MASK bits.
19842 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19843
105ce2ce
CD
198442012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19845
19846 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19847
123be9de
TS
198482012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19849
d072f3f7
TS
19850 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19851 macro.
19852
123be9de
TS
19853 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19854 (sendmmsg): Move declarations...
19855 * socket/sys/socket.h: ... here.
19856 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19857 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19858 include it from...
19859 * socket/recvmmsg.c: ... this new file.
19860 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19861 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19862 definition of __sendmmsg hidden.
19863 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19864 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19865 Move ENOSYS stub into and include it from...
19866 * socket/sendmmsg.c: ... this new file.
19867 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19868 (sysdep_routines): Move recvmmsg and sendmmsg...
19869 * socket/Makefile (routines): ... here.
19870 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19871 (GLIBC_PRIVATE): Add __sendmmsg.
19872 * include/sys/socket.h (__sendmmsg): Add declarations.
19873 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19874 sendmmsg.
19875
cf9a5d18
JM
198762012-11-20 Joseph Myers <joseph@codesourcery.com>
19877
19878 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19879 variable I1 with __attribute__ ((unused)).
19880 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19881
ecd4caf9
JM
198822012-11-19 Joseph Myers <joseph@codesourcery.com>
19883
be14d48f
JM
19884 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19885 DUMMY variables with __attribute__ ((unused)).
19886
ecd4caf9
JM
19887 * bits/byteswap.h: Include <bits/types.h>.
19888 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19889
986cab95
PT
198902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19891
19892 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19893 string_t. Do not manually set errno.
19894 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19895 length with __strnlen. Make sure to both set errno and return it on
19896 failure.
19897
6d33cc9d
DM
198982012-11-19 David S. Miller <davem@davemloft.net>
19899
19900 With help from Joseph Myers.
19901 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19902 very large arguments properly.
19903 * math/libm-test.inc (atan_test): New tests.
19904 (atan2_test): New tests.
19905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19907
ee663277
JM
199082012-11-19 Joseph Myers <joseph@codesourcery.com>
19909
877f2d8e
JM
19910 [BZ #14856]
19911 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19912 Define to 3.
19913
116fc08a
JM
19914 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19915 [POSIX] (EADDRNOTAVAIL): Likewise.
19916 [POSIX] (EAFNOSUPPORT): Likewise.
19917 [POSIX] (EALREADY): Likewise.
19918 [POSIX] (ECONNABORTED): Likewise.
19919 [POSIX] (ECONNREFUSED): Likewise.
19920 [POSIX] (ECONNRESET): Likewise.
19921 [POSIX] (EDESTADDRREQ): Likewise.
19922 [POSIX] (EDQUOT): Likewise.
19923 [POSIX] (EHOSTUNREACH): Likewise.
19924 [POSIX] (EIDRM): Likewise.
19925 [POSIX] (EISCONN): Likewise.
19926 [POSIX] (ELOOP): Likewise.
19927 [POSIX] (EMULTIHOP): Likewise.
19928 [POSIX] (ENETDOWN): Likewise.
19929 [POSIX] (ENETUNREACH): Likewise.
19930 [POSIX] (ENOBUFS): Likewise.
19931 [POSIX] (ENODATA): Likewise.
19932 [POSIX] (ENOLINK): Likewise.
19933 [POSIX] (ENOMSG): Likewise.
19934 [POSIX] (ENOPROTOOPT): Likewise.
19935 [POSIX] (ENOSR): Likewise.
19936 [POSIX] (ENOSTR): Likewise.
19937 [POSIX] (ENOTCONN): Likewise.
19938 [POSIX] (ENOTSOCK): Likewise.
19939 [POSIX] (EOPNOTSUPP): Likewise.
19940 [POSIX] (EOVERFLOW): Likewise.
19941 [POSIX] (EPROTO): Likewise.
19942 [POSIX] (EPROTONOSUPPORT): Likewise.
19943 [POSIX] (EPROTOTYPE): Likewise.
19944 [POSIX] (ESTALE): Likewise.
19945 [POSIX] (ETIME): Likewise.
19946 [POSIX] (ETXTBSY): Likewise.
19947 [POSIX] (EWOULDBLOCK): Likewise.
19948 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19949 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19950 [POSIX] (SEEK_CUR): Likewise.
19951 [POSIX] (SEEK_END): Likewise.
19952 [POSIX || UNIX98] (mode_t): Do not require.
19953 [POSIX] (off_t): Likewise.
19954 [POSIX] (pid_t): Likewise.
19955 [POSIX] (sys/stat.h): Do not allow header.
19956 [POSIX] (unistd.h): Likewise.
19957 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19958 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19959 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19960 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19961 require.
19962 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19963 sigevent): Specify elements.
19964 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19965 entry.
19966 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19967 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19968
a483863f
JM
19969 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19970 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19971 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19972 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19973 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19974 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19975 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19976 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19977 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19978 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19979 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19980 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19981 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19982 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19983 Likewise.
19984 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19985 Likewise.
19986 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19987 Likewise.
19988 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19989 Likewise.
19990 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19991 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19992 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19993 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19994 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19995 Specify lower bound on value.
19996 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19997 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19998 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19999 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20000 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20001 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20002 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20003 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20004 value.
20005 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20006 as optional.
20007 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20008 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20009 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20010 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20011 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20012 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20013 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20014 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20015 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20016 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20017 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20018 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20019 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20020 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20021 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20022 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20023 entry.
20024 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20025 optional.
20026 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20027 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20028 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20029 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20030 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20031 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20032 Likewise.
20033 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20034 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20035 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20036 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20037 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20038 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20039 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20040 as optional.
20041 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20042 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20043 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20044 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20045 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20046 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20047 specify as optional.
20048 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20051 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20052 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20053 [XPG3] (NL_LANGMAX): Likewise.
20054 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20055 [POSIX || XPG3] (NL_NMAX): Likewise.
20056 [POSIX || XPG3] (NL_SETMAX): Likewise.
20057 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20058 [XPG3] (NZERO): Likewise.
20059 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20060 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20061 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20062 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20063 (REG_ERANGE): Expect.
20064 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20065 optional-constant.
20066 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20067 Use (void) in prototype.
20068 [POSIX] (*_t): Allow.
20069 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20070 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20071 (WRDE_BADVAL): Expect.
20072
5ba924e3
JM
20073 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20074 expect.
20075 [XPG3 || XPG4] (O_RSYNC): Likewise.
20076 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20077 Likewise.
20078 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20079 [XPG3 || XPG4] (sigqueue): Likewise.
20080 [XPG3 || XPG4] (sigtimedwait): Likewise.
20081 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20082 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20083 [XPG3 || XPG4] (vsnprintf): Likewise.
20084 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20085 Likewise.
20086 [XPG3 || XPG4] (blksize_t): Likewise.
20087 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20088 Likewise.
20089 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20090 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20091 [XPG3 || XPG4] (struct itimerspec): Likewise.
20092 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20093 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20094 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20095 [XPG3 || XPG4] (clockid_t): Likewise.
20096 [XPG3 || XPG4] (timer_t): Likewise.
20097 [XPG3 || XPG4] (clock_getres): Likewise.
20098 [XPG3 || XPG4] (clock_gettime): Likewise.
20099 [XPG3 || XPG4] (clock_settime): Likewise.
20100 [XPG3 || XPG4] (nanosleep): Likewise.
20101 [XPG3 || XPG4] (timer_create): Likewise.
20102 [XPG3 || XPG4] (timer_delete): Likewise.
20103 [XPG3 || XPG4] (timer_gettime): Likewise.
20104 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20105 [XPG3 || XPG4] (timer_settime): Likewise.
20106 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20107 [XPG3 || XPG4] (getlogin_r): Likewise.
20108 [XPG3 || XPG4] (pread): Likewise.
20109 [XPG3 || XPG4] (pthread_atfork): Likewise.
20110 [XPG3 || XPG4] (pwrite): Likewise.
20111
ee663277
JM
20112 [BZ #14835]
20113 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20114 <bits/siginfo.h>.
20115
942caa16
PT
201162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20117
e19af380
PT
20118 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20119 finalizing MALLSTREAM.
20120
942caa16
PT
20121 * sysdeps/mach/hurd/syncfs.c: New file.
20122
cfde9b46
SP
201232012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20124
20125 [BZ #14719]
20126 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20127 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20128 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20129 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20130 (_nss_dns_gethostbyname4_r): Likewise.
20131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20132 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20133
f6da27e5
PH
201342012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20135
20136 [BZ #13763]
20137 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20138
6665d4a2
SM
201392012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20140
1f51ee92
SM
20141 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20142 * elf/cache.c (print_entry): Print ",AArch64" for
20143 FLAG_AARCH64_LIB64
20144
6665d4a2
SM
20145 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20146 * elf/cache.c (print_entry): Print ",hard-float" for
20147 FLAG_ARM_LIBHF.
20148
05b227bd
DM
201492012-11-18 David S. Miller <davem@davemloft.net>
20150
20151 With help from Joseph Myers.
20152 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20153 cutoff to 2**-13.
20154 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20155 cutoff to 2**-25.
20156 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20157 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20158 small.
20159 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20160 * math/libm-test.inc (y0_test): New tests.
20161 (y1_test): New tests.
20162 * sysdeps/i386/fpu/libm-test-ulps: Update.
20163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20165
786b0b67
AS
201662012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20167
20168 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20169 64-bit targets.
20170 * configure: Regenerated.
20171
8e18b86d
DM
201722012-11-17 David S. Miller <davem@davemloft.net>
20173
20174 [BZ #14811]
20175 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20176 nonzero exponents with absolute value below 0x1p-128 to +/-
20177 0x1p-128.
20178
531f1ae0
JM
201792012-11-17 Joseph Myers <joseph@codesourcery.com>
20180
12df29e2
JM
20181 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20182
150dc1a0
JM
20183 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20184
531f1ae0
JM
20185 * posix/getconf-speclist.c: New file.
20186 * posix/posix-envs.def: Likewise.
20187 * posix/confstr.c (START_ENV_GROUP): New macro.
20188 (END_ENV_GROUP): Likewise.
20189 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20190 (KNOWN_PRESENT_ENV_STRING): Likewise.
20191 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20192 (UNKNOWN_ENVIRONMENT): Likewise.
20193 (confstr): Include posix-envs.def instead of handling
20194 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20195 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20196 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20197 (END_ENV_GROUP): Likewise.
20198 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20199 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20200 (UNKNOWN_ENVIRONMENT): Likewise.
20201 (__sysconf): Include posix-envs.def instead of handling associated
20202 cases directly here.
20203 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20204 preprocessing getconf-speclist.c rather than running getconf or
20205 generating empty file.
20206
a93f9cbc
PT
202072012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20208
20209 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20210
d64d9f87
AL
202112012-11-16 Andrej Lajovic <natrij@gmail.com>
20212
20213 [BZ #14672]
20214 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20215
447885eb
DM
202162012-11-16 David S. Miller <davem@davemloft.net>
20217
20218 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20219 smaller than LDBL_EPSILON/2.0L, just return xm1.
20220
bcbf9830
L
202212012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20222
20223 * elf/tst-array1.c (init): Set constructor priority to 1000.
20224 (fini): Set destructor priority to 1000.
20225 * elf/tst-array2dep.c: Likewise.
20226
2b766585
SP
202272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20228
20229 [BZ #11741]
20230 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20231 (_IO_new_file_xsputn): Also return EOF if none of the input
20232 data was written when overflow failed.
20233 * libio/iopadn.c (_IO_padn): Likewise.
20234 * libio/iowpadn.c (_IO_wpadn): Likewise.
20235 * stdio-common/tst-put-error.c: Add copyright notice.
20236 (do_test): Add case for printing padded string.
20237 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20238 _IO_padn returned error.
20239 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20240 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20241 return EOF.
20242
b1848fde
SP
202432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20244
20245 * libio/libioP.h: Add comment note that the references to C++
20246 bits are now obsolete.
20247
2fd89785
MS
202482012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20249
20250 * math/libm-test.inc (check_complex): Use asprintf.
20251
e3ea5409
JM
202522012-11-14 Joseph Myers <joseph@codesourcery.com>
20253
20254 * debug/pcprofiledump.c (print_version): Update copyright year.
20255 * malloc/memusagestat.c (print_version): Likewise.
20256
2e64d265
L
202572012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20258
20259 [BZ #14831]
20260 * elf/Makefile (tests): Add tst-audit8.
20261 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20262 ($(objpfx)tst-audit8.out): New target.
20263 (tst-audit8-ENV): New variable.
20264 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20265 audit if l_reloc_result is NULL.
20266 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20267 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20268 * elf/tst-audit8.c: New file.
20269
c485e4d2
MS
202702012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20271
20272 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20273 * misc/Makefile (CFLAGS-select.c): Define.
20274 * posix/Makefile (CFLAGS-pause.c): Define.
20275
3a0d900a
DM
202762012-11-13 David S. Miller <davem@davemloft.net>
20277
20278 * crypt/Makefile: Move test targets after toplevel Rules
20279 inclusion. Grab any necessary sysdep routines when linking.
20280 * crypt/md5.c (md5_process_block): Remove define, we will always
20281 name it __md5_process_block.
20282 (md5_finish_ctx): Update md5_process_block call.
20283 (md5_stream): Likewise.
20284 (md5_process_bytes): Likewise.
20285 (md5_process_block): Rename to __md5_process_block and move to ...
20286 * crypt/md5-block.c: ... here.
20287 * crypt/sha256.c (sha256_process_block): Move to ...
20288 * crypt/sha256-block.c: ... here.
20289 * crypt/sha512.c (sha512_process_block): Move to ...
20290 * crypt/sha512-block.c: ... here.
20291 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20292 path.
20293 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20294 * sysdeps/sparc/sparc64/multiarch/Makefile
20295 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20296 crypt subdir.
20297 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20298 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20299 multiarch changes.
20300 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20301 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20302 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20303 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20304 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20305 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20306 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20307 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20308 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20309 file.
20310 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20311 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20312 file.
20313 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20314
8ca89318
JM
203152012-11-13 Joseph Myers <joseph@codesourcery.com>
20316
e27d476a
JM
20317 * timezone/tzselect.ksh: Update from tzcode git revision
20318 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20319 * timezone/zdump.c: Likewise.
20320 * timezone/zic.c: Likewise.
20321 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20322 in TZVERSION setting, not $(PKGVERSION).
20323 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20324 REPORT_BUGS_TO settings.
20325
8ca89318
JM
20326 [BZ #14838]
20327 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20328 macro.
20329
47594329
MS
203302012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20331
20332 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20333 detection to immediately after _FP_ROUND().
20334 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20335 bits are 0.
20336
640ac3f1
DM
203372012-11-11 David S. Miller <davem@davemloft.net>
20338
20339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20340 inttypes.h
20341 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20342 __close rather than their public counterparts.
20343
3d2577bb
JM
203442012-11-10 Joseph Myers <joseph@codesourcery.com>
20345
20346 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20347 file.
20348 [UNIX98] (sem_timedwait): Do not expect.
20349 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20350 [XPG4 || UNIX98] (sockatmark): Do not expect.
20351 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20352 (clock_getcpuclockid): Do not expect.
20353 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20354 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20355 Do not expect.
20356 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20357 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20358 [UNIX98] (vwscanf): Likewise.
20359 [UNIX98] (vswscanf): Likewise.
20360
fb1ae1ee
JM
203612012-11-09 Joseph Myers <joseph@codesourcery.com>
20362
9ec6f8bd
JM
20363 * timezone/version.h: Remove file.
20364 * timezone/README: Do not refer to version.h.
20365 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20366 $(objpfx)version.h.
20367 ($(objpfx)zdump.o): Likewise.
c3f81911 20368 ($(objpfx)version.h): New target.
9ec6f8bd 20369
0aa8f8a1
JM
20370 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20371 2012i.
20372 * timezone/README: Don't mention modification to tzselect.ksh.
20373 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20374 work on unmodified tzselect.ksh. Substitute version numbers in
20375 tzselect.ksh.
20376
4e87147f
JM
20377 * Makefile (format-me): Remove.
20378 (INSTALL): Adjust indentation. Use commands directly instead of
20379 using $(format-me).
20380
8b748aed
JM
20381 * aclocal.m4 (ACX_PKGVERSION): New macro.
20382 (ACX_BUGURL): Likewise.
20383 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20384 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20385 (REPORT_BUGS_TO): Likewise.
20386 * configure: Regenerated.
20387 * config.h.in (PKGVERSION): New macro.
20388 (REPORT_BUGS_TO): Likewise.
20389 * config.make.in (PKGVERSION): New variable.
20390 (PKGVERSION_TEXI): Likewise.
20391 (REPORT_BUGS_TO): Likewise.
20392 (REPORT_BUGS_TEXI): Likewise.
20393 * Makefile (format-me): Use -I$(common-objpfx)manual.
20394 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20395 ($(common-objpfx)manual/%): New target.
20396 (manual/%): Remove target.
20397 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20398 (print_version): Use PKGVERSION.
20399 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20400 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20401 and REPORT_BUGS_TO.
20402 ($(objpfx)xtrace): Likewise.
20403 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20404 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20405 (print_version): Use PKGVERSION.
20406 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20407 (do_version): Use PKGVERSION.
20408 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20409 REPORT_BUGS_TO.
20410 (common-ldd-rewrite): Likewise.
20411 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20412 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20413 (print_version): Use PKGVERSION.
20414 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20415 * elf/pldd.c (argp_program_bug_address): Remove variable.
20416 (more_help): New function.
20417 (argp): Use more_help.
20418 (print_version): Use PKGVERSION.
20419 * elf/sln.c (main): Use PKGVERSION.
20420 (usage): Use REPORT_BUGS_TO.
20421 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20422 (top level): Use PKGVERSION.
20423 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20424 (print_version): Use PKGVERSION.
20425 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20426 (print_version): Use PKGVERSION.
20427 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20428 (print_version): Use PKGVERSION.
20429 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20430 (print_version): Use PKGVERSION.
20431 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20432 (print_version): Use PKGVERSION.
20433 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20434 (print_version): Use PKGVERSION.
20435 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20436 and BUGURL.
20437 ($(objpfx)memusage): Likewise.
20438 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20439 (do_version): Use PKGVERSION.
20440 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20441 (print_version): Use PKGVERSION.
20442 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20443 ($PKGVERSION): New variable.
20444 ($REPORT_BUGS_TO): Likewise.
20445 (usage): Use $REPORT_BUGS_TO.
20446 (top level): Use $PKGVERSION.
20447 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20448 ($(objpfx)pkgvers.texi): New rule.
20449 ($(objpfx)stamp-pkgvers): Likewise.
20450 * manual/install.texi: Include pkgvers.texi.
20451 (--with-pkgversion): Document new configure option.
20452 (--with-bugurl): Likewise.
20453 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20454 than necessarily for this particular distribution. Use
20455 REPORT_BUGS_TO for where to report bugs.
20456 * INSTALL: Regenerated.
20457 * manual/libc.texinfo: Include pkgvers.texi.
20458 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20459 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20460 (print_version): Use PKGVERSION.
20461 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20462 (print_version): Use PKGVERSION.
20463 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20464 (print_version): Use PKGVERSION.
20465 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20466 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20467 macro.
20468 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20469 (print_version): Use PKGVERSION.
20470 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20471 (print_version): Use PKGVERSION.
20472 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20473 and PKGVERSION.
20474
92e4b6a9
JM
20475 * timezone/checktab.awk: Update from tzcode 2012i.
20476 * timezone/ialloc.c: Likewise.
20477 * timezone/private.h: Likewise.
20478 * timezone/scheck.c: Likewise.
20479 * timezone/tzfile.h: Likewise.
20480 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20481 (TZVERSION): Hardcode tzcode version number.
20482 * timezone/zdump.c: Update from tzcode 2012i.
20483 * timezone/zic.c: Likewise.
20484 * timezone/version.h: New file.
20485 * timezone/README: Describe version.h. Update upstream location.
20486
9bde902c
JM
20487 [BZ #14824]
20488 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20489 (mktemp): Enable declaration.
20490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20492 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20493 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20494 Likewise.
20495 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20496 Likewise.
20497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20498 Likewise.
20499 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20500 Likewise.
20501 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20502 Likewise.
20503 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20504 Likewise.
20505
fb1ae1ee
JM
20506 [BZ #14821]
20507 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20508 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20509 for copies of such integer values.
20510 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20511 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20512
2c1adbcb
AJ
205132012-11-09 Andreas Jaeger <aj@suse.de>
20514
20515 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20516 definitions and declarations that are provided by
20517 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20518
d0f8457e
AK
205192012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20520
3a235abb 20521 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20522 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20523 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20524 definition.
20525
57241e26
MS
205262012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20527
20528 * elf/elf.h: Update comment before AArch64 relocations.
20529
60e8270d
DM
205302012-11-07 David S. Miller <davem@davemloft.net>
20531
20532 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20533 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20534 (__start_context): Declare.
20535 (__makecontext_ret): Delete.
20536 (__makecontext): Hook up __start_context instead of
20537 __makecontext_ret.
20538 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20539 (sysdep_routines): Add __start_context when in stdlib.
20540
0fbb0fbc
JM
205412012-11-07 Joseph Myers <joseph@codesourcery.com>
20542
20543 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20544 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20545 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20546 hardcoded "nm".
20547 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20548 (READELF): New variable. Use it instead of hardcoded "readelf".
20549
eb48db7e
L
205502012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20551
20552 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20553 * sysdeps/x86/Makefile: Here.
20554 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20555 * sysdeps/x86/tst-xmmymm.sh: This.
20556
05bcf62a
JM
205572012-11-07 Joseph Myers <joseph@codesourcery.com>
20558
c4b6cf53
JM
20559 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20560 expectations.
20561 [UNIX98] (pthread_barrier_t): Do not expect.
20562 [UNIX98] (pthread_barrierattr_t): Likewise.
20563 [UNIX98] (pthread_spinlock_t): Likewise.
20564 [UNIX98] (pthread_barrier_destroy): Likewise.
20565 [UNIX98] (pthread_barrier_init): Likewise.
20566 [UNIX98] (pthread_barrier_wait): Likewise.
20567 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20568 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20569 [UNIX98] (pthread_barrierattr_init): Likewise.
20570 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20571 [UNIX98] (pthread_getcpuclockid): Likewise.
20572 [UNIX98] (pthread_mutex_timedlock): Likewise.
20573 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20574 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20575 [UNIX98] (pthread_sigmask): Likewise.
20576 [UNIX98] (pthread_spin_destroy): Likewise.
20577 [UNIX98] (pthread_spin_init): Likewise.
20578 [UNIX98] (pthread_spin_lock): Likewise.
20579 [UNIX98] (pthread_spin_trylock): Likewise.
20580 [UNIX98] (pthread_spin_unlock): Likewise.
20581 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20582 Do not expect.
20583 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20585 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20586 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20587 [XPG3 || XPG4] (pthread_key_t): Likewise.
20588 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20589 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20590 [XPG3 || XPG4] (pthread_once_t): Likewise.
20591 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20592 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20594 [XPG3 || XPG4] (pthread_t): Likewise.
20595
cbe6e120
JM
20596 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20597 not expect.
20598 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20599
1b126443
JM
20600 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20601 Change function return type to int.
20602
b961a573
JM
20603 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20604 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20605 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20606 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20607 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20608 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20609 [!POSIX] (posix_madvise): Likewise.
20610 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20611 && !UNIX98].
20612 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20613 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20614 (mode_t): Likewise.
20615 (posix_mem_offset): Likewise.
20616 (posix_typed_mem_get_info): Likewise.
20617 (posix_typed_mem_open): Likewise.
20618
9e188909
JM
20619 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20620 Change condition to [XOPEN2K8].
20621
05bcf62a
JM
20622 * conform/conformtest.pl: Preprocess allow-header data with -x c
20623 instead of from stdin.
20624 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20625 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20626 [C99-based standards] (cerfc): Likewise.
20627 [C99-based standards] (cexp2): Likewise.
20628 [C99-based standards] (cexpm1): Likewise.
20629 [C99-based standards] (clog10): Likewise.
20630 [C99-based standards] (clog1p): Likewise.
20631 [C99-based standards] (clog2): Likewise.
20632 [C99-based standards] (clgamma): Likewise.
20633 [C99-based standards] (ctgamma): Likewise.
20634 [C99-based standards] (cerff): Likewise.
20635 [C99-based standards] (cerfcf): Likewise.
20636 [C99-based standards] (cexp2f): Likewise.
20637 [C99-based standards] (cexpm1f): Likewise.
20638 [C99-based standards] (clog10f): Likewise.
20639 [C99-based standards] (clog1pf): Likewise.
20640 [C99-based standards] (clog2f): Likewise.
20641 [C99-based standards] (clgammaf): Likewise.
20642 [C99-based standards] (ctgammaf): Likewise.
20643 [C99-based standards] (cerfl): Likewise.
20644 [C99-based standards] (cerfcl): Likewise.
20645 [C99-based standards] (cexp2l): Likewise.
20646 [C99-based standards] (cexpm1l): Likewise.
20647 [C99-based standards] (clog10l): Likewise.
20648 [C99-based standards] (clog1pl): Likewise.
20649 [C99-based standards] (clog2l): Likewise.
20650 [C99-based standards] (clgammal): Likewise.
20651 [C99-based standards] (ctgammal): Likewise.
20652 * conform/data/inttypes.h-data [C99-based standards]: Include
20653 stdint.h-data. Remove all expectations for stdint.h contents.
20654 [C99-based standards] (PRI*): Do not allow.
20655 [C99-based standards] (SCN*): Likewise.
20656 [C99-based standards] (*_t): Likewise.
20657 [C99-based-standards] (PRId8): Expect macro.
20658 [C99-based-standards] (PRIi8): Likewise.
20659 [C99-based-standards] (PRIo8): Likewise.
20660 [C99-based-standards] (PRIu8): Likewise.
20661 [C99-based-standards] (PRIx8): Likewise.
20662 [C99-based-standards] (PRIX8): Likewise.
20663 [C99-based-standards] (SCNd8): Likewise.
20664 [C99-based-standards] (SCNi8): Likewise.
20665 [C99-based-standards] (SCNo8): Likewise.
20666 [C99-based-standards] (SCNu8): Likewise.
20667 [C99-based-standards] (SCNx8): Likewise.
20668 [C99-based-standards] (PRIdLEAST8): Likewise.
20669 [C99-based-standards] (PRIiLEAST8): Likewise.
20670 [C99-based-standards] (PRIoLEAST8): Likewise.
20671 [C99-based-standards] (PRIuLEAST8): Likewise.
20672 [C99-based-standards] (PRIxLEAST8): Likewise.
20673 [C99-based-standards] (PRIXLEAST8): Likewise.
20674 [C99-based-standards] (SCNdLEAST8): Likewise.
20675 [C99-based-standards] (SCNiLEAST8): Likewise.
20676 [C99-based-standards] (SCNoLEAST8): Likewise.
20677 [C99-based-standards] (SCNuLEAST8): Likewise.
20678 [C99-based-standards] (SCNxLEAST8): Likewise.
20679 [C99-based-standards] (PRIdFAST8): Likewise.
20680 [C99-based-standards] (PRIiFAST8): Likewise.
20681 [C99-based-standards] (PRIoFAST8): Likewise.
20682 [C99-based-standards] (PRIuFAST8): Likewise.
20683 [C99-based-standards] (PRIxFAST8): Likewise.
20684 [C99-based-standards] (PRIXFAST8): Likewise.
20685 [C99-based-standards] (SCNdFAST8): Likewise.
20686 [C99-based-standards] (SCNiFAST8): Likewise.
20687 [C99-based-standards] (SCNoFAST8): Likewise.
20688 [C99-based-standards] (SCNuFAST8): Likewise.
20689 [C99-based-standards] (SCNxFAST8): Likewise.
20690 [C99-based-standards] (PRId16): Likewise.
20691 [C99-based-standards] (PRIi16): Likewise.
20692 [C99-based-standards] (PRIo16): Likewise.
20693 [C99-based-standards] (PRIu16): Likewise.
20694 [C99-based-standards] (PRIx16): Likewise.
20695 [C99-based-standards] (PRIX16): Likewise.
20696 [C99-based-standards] (SCNd16): Likewise.
20697 [C99-based-standards] (SCNi16): Likewise.
20698 [C99-based-standards] (SCNo16): Likewise.
20699 [C99-based-standards] (SCNu16): Likewise.
20700 [C99-based-standards] (SCNx16): Likewise.
20701 [C99-based-standards] (PRIdLEAST16): Likewise.
20702 [C99-based-standards] (PRIiLEAST16): Likewise.
20703 [C99-based-standards] (PRIoLEAST16): Likewise.
20704 [C99-based-standards] (PRIuLEAST16): Likewise.
20705 [C99-based-standards] (PRIxLEAST16): Likewise.
20706 [C99-based-standards] (PRIXLEAST16): Likewise.
20707 [C99-based-standards] (SCNdLEAST16): Likewise.
20708 [C99-based-standards] (SCNiLEAST16): Likewise.
20709 [C99-based-standards] (SCNoLEAST16): Likewise.
20710 [C99-based-standards] (SCNuLEAST16): Likewise.
20711 [C99-based-standards] (SCNxLEAST16): Likewise.
20712 [C99-based-standards] (PRIdFAST16): Likewise.
20713 [C99-based-standards] (PRIiFAST16): Likewise.
20714 [C99-based-standards] (PRIoFAST16): Likewise.
20715 [C99-based-standards] (PRIuFAST16): Likewise.
20716 [C99-based-standards] (PRIxFAST16): Likewise.
20717 [C99-based-standards] (PRIXFAST16): Likewise.
20718 [C99-based-standards] (SCNdFAST16): Likewise.
20719 [C99-based-standards] (SCNiFAST16): Likewise.
20720 [C99-based-standards] (SCNoFAST16): Likewise.
20721 [C99-based-standards] (SCNuFAST16): Likewise.
20722 [C99-based-standards] (SCNxFAST16): Likewise.
20723 [C99-based-standards] (PRId32): Likewise.
20724 [C99-based-standards] (PRIi32): Likewise.
20725 [C99-based-standards] (PRIo32): Likewise.
20726 [C99-based-standards] (PRIu32): Likewise.
20727 [C99-based-standards] (PRIx32): Likewise.
20728 [C99-based-standards] (PRIX32): Likewise.
20729 [C99-based-standards] (SCNd32): Likewise.
20730 [C99-based-standards] (SCNi32): Likewise.
20731 [C99-based-standards] (SCNo32): Likewise.
20732 [C99-based-standards] (SCNu32): Likewise.
20733 [C99-based-standards] (SCNx32): Likewise.
20734 [C99-based-standards] (PRIdLEAST32): Likewise.
20735 [C99-based-standards] (PRIiLEAST32): Likewise.
20736 [C99-based-standards] (PRIoLEAST32): Likewise.
20737 [C99-based-standards] (PRIuLEAST32): Likewise.
20738 [C99-based-standards] (PRIxLEAST32): Likewise.
20739 [C99-based-standards] (PRIXLEAST32): Likewise.
20740 [C99-based-standards] (SCNdLEAST32): Likewise.
20741 [C99-based-standards] (SCNiLEAST32): Likewise.
20742 [C99-based-standards] (SCNoLEAST32): Likewise.
20743 [C99-based-standards] (SCNuLEAST32): Likewise.
20744 [C99-based-standards] (SCNxLEAST32): Likewise.
20745 [C99-based-standards] (PRIdFAST32): Likewise.
20746 [C99-based-standards] (PRIiFAST32): Likewise.
20747 [C99-based-standards] (PRIoFAST32): Likewise.
20748 [C99-based-standards] (PRIuFAST32): Likewise.
20749 [C99-based-standards] (PRIxFAST32): Likewise.
20750 [C99-based-standards] (PRIXFAST32): Likewise.
20751 [C99-based-standards] (SCNdFAST32): Likewise.
20752 [C99-based-standards] (SCNiFAST32): Likewise.
20753 [C99-based-standards] (SCNoFAST32): Likewise.
20754 [C99-based-standards] (SCNuFAST32): Likewise.
20755 [C99-based-standards] (SCNxFAST32): Likewise.
20756 [C99-based-standards] (PRId64): Likewise.
20757 [C99-based-standards] (PRIi64): Likewise.
20758 [C99-based-standards] (PRIo64): Likewise.
20759 [C99-based-standards] (PRIu64): Likewise.
20760 [C99-based-standards] (PRIx64): Likewise.
20761 [C99-based-standards] (PRIX64): Likewise.
20762 [C99-based-standards] (SCNd64): Likewise.
20763 [C99-based-standards] (SCNi64): Likewise.
20764 [C99-based-standards] (SCNo64): Likewise.
20765 [C99-based-standards] (SCNu64): Likewise.
20766 [C99-based-standards] (SCNx64): Likewise.
20767 [C99-based-standards] (PRIdLEAST64): Likewise.
20768 [C99-based-standards] (PRIiLEAST64): Likewise.
20769 [C99-based-standards] (PRIoLEAST64): Likewise.
20770 [C99-based-standards] (PRIuLEAST64): Likewise.
20771 [C99-based-standards] (PRIxLEAST64): Likewise.
20772 [C99-based-standards] (PRIXLEAST64): Likewise.
20773 [C99-based-standards] (SCNdLEAST64): Likewise.
20774 [C99-based-standards] (SCNiLEAST64): Likewise.
20775 [C99-based-standards] (SCNoLEAST64): Likewise.
20776 [C99-based-standards] (SCNuLEAST64): Likewise.
20777 [C99-based-standards] (SCNxLEAST64): Likewise.
20778 [C99-based-standards] (PRIdFAST64): Likewise.
20779 [C99-based-standards] (PRIiFAST64): Likewise.
20780 [C99-based-standards] (PRIoFAST64): Likewise.
20781 [C99-based-standards] (PRIuFAST64): Likewise.
20782 [C99-based-standards] (PRIxFAST64): Likewise.
20783 [C99-based-standards] (PRIXFAST64): Likewise.
20784 [C99-based-standards] (SCNdFAST64): Likewise.
20785 [C99-based-standards] (SCNiFAST64): Likewise.
20786 [C99-based-standards] (SCNoFAST64): Likewise.
20787 [C99-based-standards] (SCNuFAST64): Likewise.
20788 [C99-based-standards] (SCNxFAST64): Likewise.
20789 [C99-based-standards] (PRIdMAX): Likewise.
20790 [C99-based-standards] (PRIiMAX): Likewise.
20791 [C99-based-standards] (PRIoMAX): Likewise.
20792 [C99-based-standards] (PRIuMAX): Likewise.
20793 [C99-based-standards] (PRIxMAX): Likewise.
20794 [C99-based-standards] (PRIXMAX): Likewise.
20795 [C99-based-standards] (SCNdMAX): Likewise.
20796 [C99-based-standards] (SCNiMAX): Likewise.
20797 [C99-based-standards] (SCNoMAX): Likewise.
20798 [C99-based-standards] (SCNuMAX): Likewise.
20799 [C99-based-standards] (SCNxMAX): Likewise.
20800 [C99-based-standards] (PRIdPTR): Likewise.
20801 [C99-based-standards] (PRIiPTR): Likewise.
20802 [C99-based-standards] (PRIoPTR): Likewise.
20803 [C99-based-standards] (PRIuPTR): Likewise.
20804 [C99-based-standards] (PRIxPTR): Likewise.
20805 [C99-based-standards] (PRIXPTR): Likewise.
20806 [C99-based-standards] (SCNdPTR): Likewise.
20807 [C99-based-standards] (SCNiPTR): Likewise.
20808 [C99-based-standards] (SCNoPTR): Likewise.
20809 [C99-based-standards] (SCNuPTR): Likewise.
20810 [C99-based-standards] (SCNxPTR): Likewise.
20811 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20812 allow.
20813 * conform/data/stdint.h-data: Update comments to clarify
20814 requirements.
20815 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20816 type.
20817 [C99-based standards] (INT8_MAX): Likewise.
20818 [C99-based standards] (INT16_MIN): Likewise.
20819 [C99-based standards] (INT16_MAX): Likewise.
20820 [C99-based standards] (INT32_MIN): Likewise.
20821 [C99-based standards] (INT32_MAX): Likewise.
20822 [C99-based standards] (INT64_MIN): Likewise.
20823 [C99-based standards] (INT64_MAX): Likewise.
20824 [C99-based standards] (UINT8_MAX): Likewise.
20825 [C99-based standards] (UINT16_MAX): Likewise.
20826 [C99-based standards] (UINT32_MAX): Likewise.
20827 [C99-based standards] (UINT64_MAX): Likewise.
20828 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20829 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20830 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20831 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20832 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20833 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20834 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20835 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20836 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20837 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20838 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20839 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20840 [C99-based standards] (INT_FAST8_MIN): Likewise.
20841 [C99-based standards] (INT_FAST8_MAX): Likewise.
20842 [C99-based standards] (INT_FAST16_MIN): Likewise.
20843 [C99-based standards] (INT_FAST16_MAX): Likewise.
20844 [C99-based standards] (INT_FAST32_MIN): Likewise.
20845 [C99-based standards] (INT_FAST32_MAX): Likewise.
20846 [C99-based standards] (INT_FAST64_MIN): Likewise.
20847 [C99-based standards] (INT_FAST64_MAX): Likewise.
20848 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20849 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20850 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20851 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20852 [C99-based standards] (INTPTR_MIN): Likewise.
20853 [C99-based standards] (INTPTR_MAX): Likewise.
20854 [C99-based standards] (UINTPTR_MAX): Likewise.
20855 [C99-based standards] (INTMAX_MIN): Likewise.
20856 [C99-based standards] (INTMAX_MAX): Likewise.
20857 [C99-based standards] (UINTMAX_MAX): Likewise.
20858 [C99-based standards] (PTRDIFF_MIN): Likewise.
20859 [C99-based standards] (PTRDIFF_MAX): Likewise.
20860 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20861 [C99-based standards] (SIZE_MAX): Likewise.
20862 [C99-based standards] (WCHAR_MAX): Likewise.
20863 [C99-based standards] (WINT_MAX): Likewise.
20864 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20865 constraint on value.
20866 [C99-based standards] (WCHAR_MIN): Likewise.
20867 [C99-based standards] (WINT_MIN): Likewise.
20868 [C99-based standards] (*_t): Allow.
20869 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20870 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20871 Include math.h-data and complex.h-data. Remove all expectations
20872 of math.h and complex.h contents.
20873 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20874 at end of line.
20875 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20876 (struct tm): Expect tag.
20877 [C99-based-standards] (wcstof): Expect function.
20878 [C99-based-standards] (wcstold): Likewise.
20879 [C99-based-standards] (wcstoll): Likewise.
20880 [C99-based-standards] (wcstoull): Likewise.
20881 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20882 macro-int-constant. Specify type.
20883 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20884 constraint on value.
20885 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20886 Specify type.
20887 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20888 Specify value.
20889 [ISO C standards]: Do not allow headers.
20890 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20891 wcs[abcdefghijklmnopqrstuvwxyz]*.
20892 [ISO C standards] (*_t): Do not allow.
20893 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20894 Expect function.
20895 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20896 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20897 Specify type.
20898 [ISO C standards]: Do not allow headers.
20899 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20900 is[abcdefghijklmnopqrstuvwxyz]*.
20901 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20902 to[abcdefghijklmnopqrstuvwxyz]*.
20903 [ISO C standards] (*_t): Do not allow.
20904 * conform/data/stdalign.h-data: New file.
20905 * conform/data/stdbool.h-data: Likewise.
20906 * conform/data/stdnoreturn.h-data: Likewise.
20907
7514feb8
RM
209082012-11-07 Roland McGrath <roland@hack.frob.com>
20909
20910 [BZ #14815]
20911 * manual/filesys.texi (Directory Entries): Typo fix.
20912 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20913
19b2ecfc
MS
209142012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20915
20916 * elf/elf.h (EM_AARCH64): New macro.
20917 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20918 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20919 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20920 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20921 (R_AARCH64_TLSDESC): Likewise.
20922 (NT_ARM_TLS): Likewise.
20923 (NT_ARM_HW_BREAK): Likewise.
20924 (NT_ARM_HW_WATCH): Likewise.
20925
60e235ee
JM
209262012-11-07 Joseph Myers <joseph@codesourcery.com>
20927
20928 [BZ #14811]
20929 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20930 (__ieee754_powl): Saturate nonzero exponents with absolute value
20931 below 0x1p-79 to +/- 0x1p-79.
20932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20933 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20934 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20935 nonzero exponents with absolute value below 0x1p-32 to +/-
20936 0x1p-32.
20937 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20938 (__ieee754_powl): Saturate nonzero exponents with absolute value
20939 below 0x1p-79 to +/- 0x1p-79.
20940 * math/libm-test.inc (pow_test): Add more tests.
20941
0ab234b7
AK
209422012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20943
20944 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20945 _dl_s390_cap_flags with kernel. Increase string length.
20946 (_dl_s390_platforms): Add z196 and zEC12.
20947
45832f74
JM
209482012-11-07 Joseph Myers <joseph@codesourcery.com>
20949
20950 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20951 Change XOPEN21K to XOPEN2K.
20952
19218757
MK
209532012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20954
20955 * string/memmove.c: Use memcpy when possible.
20956
c5f45721
AJ
209572012-11-06 Andreas Jaeger <aj@suse.de>
20958
20959 * po/eo.po: Update from translation team.
20960
82477c28
JM
209612012-11-06 Joseph Myers <joseph@codesourcery.com>
20962
20963 [BZ #14793]
20964 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20965 exponent and small x and y exponents, scale x or y up. Increase
20966 by 2 the exponent used in scaling up.
20967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20968 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20969 * math/libm-test.inc (fma_test): Add more tests.
20970 (fma_test_towardzero): Likewise.
20971 (fma_test_downward): Likewise.
20972 (fma_test_upward): Likewise.
20973
99252c8c
JM
209742012-11-05 Joseph Myers <joseph@codesourcery.com>
20975
acfa885f
JM
20976 [BZ #14805]
20977 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20978 fenv_t *.
20979
99252c8c
JM
20980 [BZ #14801]
20981 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20982 namespace for names of struct fields.
20983 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20984 fenv_t fields.
20985 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20986 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20987
d6d98dea
ST
209882012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20989
20990 [BZ #3665]
20991 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20992
e10bb107
TS
209932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20994
20995 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20996 PTR_DEMANGLE.
20997
20998 [BZ #5246]
20999 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21000 PTR_DEMANGLE.
21001
a0c2940d
JM
210022012-11-04 Joseph Myers <joseph@codesourcery.com>
21003
21004 [BZ #14797]
21005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21006 definitely overflow as x * y not x * y + z.
21007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21009 * math/libm-test.inc (fma_test): Add more tests.
21010 (fma_test_towardzero): Likewise.
21011 (fma_test_downward): Likewise.
21012 (fma_test_upward): Likewise.
21013
b830319d
TS
210142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21015
21016 [BZ #157]
21017
21018 * include/stub-tag.h: Remove file.
21019 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21020 '#include' of it.
21021 * manual/maint.texi (Porting): Don't reference it.
21022 * Makerules ($(objpfx)stubs): Likewise.
21023 * dirent/closedir.c: Don't include <stub-tag.h>.
21024 * dirent/dirfd.c: Likewise.
21025 * dirent/fdopendir.c: Likewise.
21026 * dirent/getdents.c: Likewise.
21027 * dirent/getdents64.c: Likewise.
21028 * dirent/opendir.c: Likewise.
21029 * dirent/readdir.c: Likewise.
21030 * dirent/readdir64.c: Likewise.
21031 * dirent/readdir64_r.c: Likewise.
21032 * dirent/readdir_r.c: Likewise.
21033 * dirent/rewinddir.c: Likewise.
21034 * dirent/seekdir.c: Likewise.
21035 * dirent/telldir.c: Likewise.
21036 * gmon/profil.c: Likewise.
21037 * grp/setgroups.c: Likewise.
21038 * inet/if_index.c: Likewise.
21039 * io/access.c: Likewise.
21040 * io/chdir.c: Likewise.
21041 * io/chmod.c: Likewise.
21042 * io/chown.c: Likewise.
21043 * io/close.c: Likewise.
21044 * io/dup.c: Likewise.
21045 * io/dup2.c: Likewise.
21046 * io/dup3.c: Likewise.
21047 * io/euidaccess.c: Likewise.
21048 * io/faccessat.c: Likewise.
21049 * io/fchdir.c: Likewise.
21050 * io/fchmod.c: Likewise.
21051 * io/fchmodat.c: Likewise.
21052 * io/fchown.c: Likewise.
21053 * io/fchownat.c: Likewise.
21054 * io/fcntl.c: Likewise.
21055 * io/flock.c: Likewise.
21056 * io/fstatfs.c: Likewise.
21057 * io/fstatfs64.c: Likewise.
21058 * io/fstatvfs.c: Likewise.
21059 * io/fstatvfs64.c: Likewise.
21060 * io/futimens.c: Likewise.
21061 * io/fxstat.c: Likewise.
21062 * io/fxstat64.c: Likewise.
21063 * io/fxstatat.c: Likewise.
21064 * io/fxstatat64.c: Likewise.
21065 * io/getcwd.c: Likewise.
21066 * io/isatty.c: Likewise.
21067 * io/lchmod.c: Likewise.
21068 * io/lchown.c: Likewise.
21069 * io/link.c: Likewise.
21070 * io/linkat.c: Likewise.
21071 * io/lseek.c: Likewise.
21072 * io/lseek64.c: Likewise.
21073 * io/lxstat64.c: Likewise.
21074 * io/mkdir.c: Likewise.
21075 * io/mkdirat.c: Likewise.
21076 * io/mkfifo.c: Likewise.
21077 * io/mkfifoat.c: Likewise.
21078 * io/open.c: Likewise.
21079 * io/open64.c: Likewise.
21080 * io/openat.c: Likewise.
21081 * io/openat64.c: Likewise.
21082 * io/pipe.c: Likewise.
21083 * io/pipe2.c: Likewise.
21084 * io/poll.c: Likewise.
21085 * io/posix_fadvise.c: Likewise.
21086 * io/posix_fadvise64.c: Likewise.
21087 * io/posix_fallocate.c: Likewise.
21088 * io/posix_fallocate64.c: Likewise.
21089 * io/read.c: Likewise.
21090 * io/readlink.c: Likewise.
21091 * io/readlinkat.c: Likewise.
21092 * io/rmdir.c: Likewise.
21093 * io/sendfile.c: Likewise.
21094 * io/sendfile64.c: Likewise.
21095 * io/statfs.c: Likewise.
21096 * io/statfs64.c: Likewise.
21097 * io/statvfs.c: Likewise.
21098 * io/statvfs64.c: Likewise.
21099 * io/symlink.c: Likewise.
21100 * io/symlinkat.c: Likewise.
21101 * io/ttyname.c: Likewise.
21102 * io/ttyname_r.c: Likewise.
21103 * io/umask.c: Likewise.
21104 * io/unlink.c: Likewise.
21105 * io/unlinkat.c: Likewise.
21106 * io/utime.c: Likewise.
21107 * io/utimensat.c: Likewise.
21108 * io/write.c: Likewise.
21109 * io/xmknod.c: Likewise.
21110 * io/xmknodat.c: Likewise.
21111 * io/xstat.c: Likewise.
21112 * io/xstat64.c: Likewise.
21113 * login/getpt.c: Likewise.
21114 * login/grantpt.c: Likewise.
21115 * login/unlockpt.c: Likewise.
21116 * math/e_acoshl.c: Likewise.
21117 * math/e_acosl.c: Likewise.
21118 * math/e_asinl.c: Likewise.
21119 * math/e_atan2l.c: Likewise.
21120 * math/e_atanhl.c: Likewise.
21121 * math/e_coshl.c: Likewise.
21122 * math/e_expl.c: Likewise.
21123 * math/e_fmodl.c: Likewise.
21124 * math/e_gammal_r.c: Likewise.
21125 * math/e_hypotl.c: Likewise.
21126 * math/e_j0l.c: Likewise.
21127 * math/e_j1l.c: Likewise.
21128 * math/e_jnl.c: Likewise.
21129 * math/e_lgammal_r.c: Likewise.
21130 * math/e_log10l.c: Likewise.
21131 * math/e_log2l.c: Likewise.
21132 * math/e_logl.c: Likewise.
21133 * math/e_powl.c: Likewise.
21134 * math/e_rem_pio2l.c: Likewise.
21135 * math/e_sinhl.c: Likewise.
21136 * math/e_sqrtl.c: Likewise.
21137 * math/fclrexcpt.c: Likewise.
21138 * math/fedisblxcpt.c: Likewise.
21139 * math/feenablxcpt.c: Likewise.
21140 * math/fegetenv.c: Likewise.
21141 * math/fegetexcept.c: Likewise.
21142 * math/fegetround.c: Likewise.
21143 * math/feholdexcpt.c: Likewise.
21144 * math/fesetenv.c: Likewise.
21145 * math/fesetround.c: Likewise.
21146 * math/feupdateenv.c: Likewise.
21147 * math/fgetexcptflg.c: Likewise.
21148 * math/fraiseexcpt.c: Likewise.
21149 * math/fsetexcptflg.c: Likewise.
21150 * math/ftestexcept.c: Likewise.
21151 * math/k_cosl.c: Likewise.
21152 * math/k_rem_pio2l.c: Likewise.
21153 * math/k_sinl.c: Likewise.
21154 * math/k_tanl.c: Likewise.
21155 * math/s_asinhl.c: Likewise.
21156 * math/s_atanl.c: Likewise.
21157 * math/s_cbrtl.c: Likewise.
21158 * math/s_erfl.c: Likewise.
21159 * math/s_expm1l.c: Likewise.
21160 * math/s_log1pl.c: Likewise.
21161 * math/s_tanhl.c: Likewise.
21162 * misc/acct.c: Likewise.
21163 * misc/brk.c: Likewise.
21164 * misc/chflags.c: Likewise.
21165 * misc/chroot.c: Likewise.
21166 * misc/fchflags.c: Likewise.
21167 * misc/fgetxattr.c: Likewise.
21168 * misc/flistxattr.c: Likewise.
21169 * misc/fremovexattr.c: Likewise.
21170 * misc/fsetxattr.c: Likewise.
21171 * misc/fsync.c: Likewise.
21172 * misc/ftruncate.c: Likewise.
21173 * misc/futimes.c: Likewise.
21174 * misc/futimesat.c: Likewise.
21175 * misc/getdomain.c: Likewise.
21176 * misc/getdtsz.c: Likewise.
21177 * misc/gethostid.c: Likewise.
21178 * misc/gethostname.c: Likewise.
21179 * misc/getloadavg.c: Likewise.
21180 * misc/getpagesize.c: Likewise.
21181 * misc/getsysstats.c: Likewise.
21182 * misc/getxattr.c: Likewise.
21183 * misc/gtty.c: Likewise.
21184 * misc/ioctl.c: Likewise.
21185 * misc/lgetxattr.c: Likewise.
21186 * misc/listxattr.c: Likewise.
21187 * misc/llistxattr.c: Likewise.
21188 * misc/lremovexattr.c: Likewise.
21189 * misc/lsetxattr.c: Likewise.
21190 * misc/lutimes.c: Likewise.
21191 * misc/madvise.c: Likewise.
21192 * misc/mincore.c: Likewise.
21193 * misc/mlock.c: Likewise.
21194 * misc/mlockall.c: Likewise.
21195 * misc/mmap.c: Likewise.
21196 * misc/mprotect.c: Likewise.
21197 * misc/msync.c: Likewise.
21198 * misc/munlock.c: Likewise.
21199 * misc/munlockall.c: Likewise.
21200 * misc/munmap.c: Likewise.
21201 * misc/preadv.c: Likewise.
21202 * misc/preadv64.c: Likewise.
21203 * misc/ptrace.c: Likewise.
21204 * misc/pwritev.c: Likewise.
21205 * misc/pwritev64.c: Likewise.
21206 * misc/readv.c: Likewise.
21207 * misc/reboot.c: Likewise.
21208 * misc/remap_file_pages.c: Likewise.
21209 * misc/removexattr.c: Likewise.
21210 * misc/revoke.c: Likewise.
21211 * misc/select.c: Likewise.
21212 * misc/setdomain.c: Likewise.
21213 * misc/setegid.c: Likewise.
21214 * misc/seteuid.c: Likewise.
21215 * misc/sethostid.c: Likewise.
21216 * misc/sethostname.c: Likewise.
21217 * misc/setregid.c: Likewise.
21218 * misc/setreuid.c: Likewise.
21219 * misc/setxattr.c: Likewise.
21220 * misc/sstk.c: Likewise.
21221 * misc/stty.c: Likewise.
21222 * misc/swapoff.c: Likewise.
21223 * misc/swapon.c: Likewise.
21224 * misc/sync.c: Likewise.
21225 * misc/syncfs.c: Likewise.
21226 * misc/syscall.c: Likewise.
21227 * misc/truncate.c: Likewise.
21228 * misc/ualarm.c: Likewise.
21229 * misc/usleep.c: Likewise.
21230 * misc/ustat.c: Likewise.
21231 * misc/utimes.c: Likewise.
21232 * misc/vhangup.c: Likewise.
21233 * misc/writev.c: Likewise.
21234 * posix/_exit.c: Likewise.
21235 * posix/alarm.c: Likewise.
21236 * posix/execve.c: Likewise.
21237 * posix/fexecve.c: Likewise.
21238 * posix/fork.c: Likewise.
21239 * posix/fpathconf.c: Likewise.
21240 * posix/getaddrinfo.c: Likewise.
21241 * posix/getegid.c: Likewise.
21242 * posix/geteuid.c: Likewise.
21243 * posix/getgid.c: Likewise.
21244 * posix/getgroups.c: Likewise.
21245 * posix/getlogin.c: Likewise.
21246 * posix/getlogin_r.c: Likewise.
21247 * posix/getpgid.c: Likewise.
21248 * posix/getpid.c: Likewise.
21249 * posix/getppid.c: Likewise.
21250 * posix/getresgid.c: Likewise.
21251 * posix/getresuid.c: Likewise.
21252 * posix/getsid.c: Likewise.
21253 * posix/getuid.c: Likewise.
21254 * posix/glob64.c: Likewise.
21255 * posix/nanosleep.c: Likewise.
21256 * posix/pathconf.c: Likewise.
21257 * posix/pause.c: Likewise.
21258 * posix/posix_madvise.c: Likewise.
21259 * posix/pread.c: Likewise.
21260 * posix/pread64.c: Likewise.
21261 * posix/pwrite.c: Likewise.
21262 * posix/pwrite64.c: Likewise.
21263 * posix/sched_getaffinity.c: Likewise.
21264 * posix/sched_getp.c: Likewise.
21265 * posix/sched_gets.c: Likewise.
21266 * posix/sched_primax.c: Likewise.
21267 * posix/sched_primin.c: Likewise.
21268 * posix/sched_rr_gi.c: Likewise.
21269 * posix/sched_setaffinity.c: Likewise.
21270 * posix/sched_setp.c: Likewise.
21271 * posix/sched_sets.c: Likewise.
21272 * posix/sched_yield.c: Likewise.
21273 * posix/setgid.c: Likewise.
21274 * posix/setlogin.c: Likewise.
21275 * posix/setpgid.c: Likewise.
21276 * posix/setresgid.c: Likewise.
21277 * posix/setresuid.c: Likewise.
21278 * posix/setsid.c: Likewise.
21279 * posix/setuid.c: Likewise.
21280 * posix/sleep.c: Likewise.
21281 * posix/spawni.c: Likewise.
21282 * posix/sysconf.c: Likewise.
21283 * posix/times.c: Likewise.
21284 * posix/wait.c: Likewise.
21285 * posix/wait3.c: Likewise.
21286 * posix/wait4.c: Likewise.
21287 * posix/waitpid.c: Likewise.
21288 * resolv/gai_sigqueue.c: Likewise.
21289 * resource/getpriority.c: Likewise.
21290 * resource/getrlimit.c: Likewise.
21291 * resource/getrusage.c: Likewise.
21292 * resource/nice.c: Likewise.
21293 * resource/setpriority.c: Likewise.
21294 * resource/setrlimit.c: Likewise.
21295 * resource/ulimit.c: Likewise.
21296 * rt/aio_cancel.c: Likewise.
21297 * rt/aio_fsync.c: Likewise.
21298 * rt/aio_read.c: Likewise.
21299 * rt/aio_sigqueue.c: Likewise.
21300 * rt/aio_suspend.c: Likewise.
21301 * rt/aio_write.c: Likewise.
21302 * rt/clock_getres.c: Likewise.
21303 * rt/clock_gettime.c: Likewise.
21304 * rt/clock_nanosleep.c: Likewise.
21305 * rt/clock_settime.c: Likewise.
21306 * rt/lio_listio.c: Likewise.
21307 * rt/mq_close.c: Likewise.
21308 * rt/mq_getattr.c: Likewise.
21309 * rt/mq_notify.c: Likewise.
21310 * rt/mq_open.c: Likewise.
21311 * rt/mq_receive.c: Likewise.
21312 * rt/mq_send.c: Likewise.
21313 * rt/mq_setattr.c: Likewise.
21314 * rt/mq_timedreceive.c: Likewise.
21315 * rt/mq_timedsend.c: Likewise.
21316 * rt/mq_unlink.c: Likewise.
21317 * rt/shm_open.c: Likewise.
21318 * rt/shm_unlink.c: Likewise.
21319 * rt/timer_create.c: Likewise.
21320 * rt/timer_delete.c: Likewise.
21321 * rt/timer_getoverr.c: Likewise.
21322 * rt/timer_gettime.c: Likewise.
21323 * rt/timer_settime.c: Likewise.
21324 * setjmp/__longjmp.c: Likewise.
21325 * setjmp/setjmp.c: Likewise.
21326 * signal/kill.c: Likewise.
21327 * signal/killpg.c: Likewise.
21328 * signal/raise.c: Likewise.
21329 * signal/sigaction.c: Likewise.
21330 * signal/sigaltstack.c: Likewise.
21331 * signal/sigblock.c: Likewise.
21332 * signal/sigignore.c: Likewise.
21333 * signal/sigintr.c: Likewise.
21334 * signal/signal.c: Likewise.
21335 * signal/sigpause.c: Likewise.
21336 * signal/sigpending.c: Likewise.
21337 * signal/sigqueue.c: Likewise.
21338 * signal/sigreturn.c: Likewise.
21339 * signal/sigset.c: Likewise.
21340 * signal/sigsetmask.c: Likewise.
21341 * signal/sigstack.c: Likewise.
21342 * signal/sigsuspend.c: Likewise.
21343 * signal/sigtimedwait.c: Likewise.
21344 * signal/sigvec.c: Likewise.
21345 * signal/sigwait.c: Likewise.
21346 * signal/sigwaitinfo.c: Likewise.
21347 * signal/sysv_signal.c: Likewise.
21348 * socket/accept.c: Likewise.
21349 * socket/accept4.c: Likewise.
21350 * socket/bind.c: Likewise.
21351 * socket/connect.c: Likewise.
21352 * socket/getpeername.c: Likewise.
21353 * socket/getsockname.c: Likewise.
21354 * socket/getsockopt.c: Likewise.
21355 * socket/isfdtype.c: Likewise.
21356 * socket/listen.c: Likewise.
21357 * socket/recv.c: Likewise.
21358 * socket/recvfrom.c: Likewise.
21359 * socket/recvmsg.c: Likewise.
21360 * socket/send.c: Likewise.
21361 * socket/sendmsg.c: Likewise.
21362 * socket/sendto.c: Likewise.
21363 * socket/setsockopt.c: Likewise.
21364 * socket/shutdown.c: Likewise.
21365 * socket/sockatmark.c: Likewise.
21366 * socket/socket.c: Likewise.
21367 * socket/socketpair.c: Likewise.
21368 * stdio-common/ctermid.c: Likewise.
21369 * stdio-common/cuserid.c: Likewise.
21370 * stdio-common/remove.c: Likewise.
21371 * stdio-common/rename.c: Likewise.
21372 * stdio-common/renameat.c: Likewise.
21373 * stdio-common/tempname.c: Likewise.
21374 * stdlib/getcontext.c: Likewise.
21375 * stdlib/makecontext.c: Likewise.
21376 * stdlib/setcontext.c: Likewise.
21377 * stdlib/swapcontext.c: Likewise.
21378 * stdlib/system.c: Likewise.
21379 * streams/fattach.c: Likewise.
21380 * streams/fdetach.c: Likewise.
21381 * streams/getmsg.c: Likewise.
21382 * streams/getpmsg.c: Likewise.
21383 * streams/putmsg.c: Likewise.
21384 * streams/putpmsg.c: Likewise.
21385 * sysdeps/unix/bsd/getpt.c: Likewise.
21386 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21387 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21388 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21390 Likewise.
21391 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21392 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21393 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21394 * sysvipc/msgctl.c: Likewise.
21395 * sysvipc/msgget.c: Likewise.
21396 * sysvipc/msgrcv.c: Likewise.
21397 * sysvipc/msgsnd.c: Likewise.
21398 * sysvipc/semctl.c: Likewise.
21399 * sysvipc/semget.c: Likewise.
21400 * sysvipc/semop.c: Likewise.
21401 * sysvipc/semtimedop.c: Likewise.
21402 * sysvipc/shmat.c: Likewise.
21403 * sysvipc/shmctl.c: Likewise.
21404 * sysvipc/shmdt.c: Likewise.
21405 * sysvipc/shmget.c: Likewise.
21406 * termios/tcdrain.c: Likewise.
21407 * termios/tcflow.c: Likewise.
21408 * termios/tcflush.c: Likewise.
21409 * termios/tcgetattr.c: Likewise.
21410 * termios/tcgetpgrp.c: Likewise.
21411 * termios/tcsendbrk.c: Likewise.
21412 * termios/tcsetattr.c: Likewise.
21413 * termios/tcsetpgrp.c: Likewise.
21414 * time/adjtime.c: Likewise.
21415 * time/clock.c: Likewise.
21416 * time/getitimer.c: Likewise.
21417 * time/gettimeofday.c: Likewise.
21418 * time/setitimer.c: Likewise.
21419 * time/settimeofday.c: Likewise.
21420 * time/stime.c: Likewise.
21421 * time/time.c: Likewise.
21422
214232012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21424
a20492cf
PT
21425 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21426 /usr/old/bin.
21427
72e182e3
PT
21428 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21429 instead of spaces.
21430 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21431
fbeafede
JM
214322012-11-03 Joseph Myers <joseph@codesourcery.com>
21433
5b5b04d6
JM
21434 [BZ #14796]
21435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21436 FE_TONEAREST before applying Dekker multiplication and Knuth
21437 addition. Clear inexact exceptions and check for exact zero
21438 results afterwards.
21439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21440 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21441 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21442 * math/libm-test.inc (fma_test): Add more tests.
21443 (fma_test_towardzero): Likewise.
21444 (fma_test_downward): Likewise.
21445 (fma_test_upward): Likewise.
21446 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21447 function.
21448 (libc_fesetround): New macro.
21449 (libc_fesetroundf): Likewise.
21450 (libc_fesetroundl): Likewise.
21451 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21452 function.
21453 (libc_fesetround_387): Likewise.
21454 (libc_fesetroundf): New macro.
21455 (libc_fesetround): Likewise.
21456 (libc_fesetroundl): Likewise.
21457 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21458 function.
21459 (libc_fesetroundf): New macro.
21460 (libc_fesetround): Likewise.
21461 (libc_fesetroundl): Likewise.
21462 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21463 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21464 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21465 libm_hidden_ver.
21466 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21467 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21468 libm_hidden_def.
21469 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21470 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21471 libm_hidden_ver.
21472 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21473 libm_hidden_def.
21474
fbeafede
JM
21475 [BZ #3439]
21476 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21477 integer constant usable in #if and use that to give value to enum
21478 constant.
21479 (FE_DIVBYZERO): Likewise.
21480 (FE_UNDERFLOW): Likewise.
21481 (FE_OVERFLOW): Likewise.
21482 (FE_INVALID): Likewise.
21483 (FE_INVALID_SNAN): Likewise.
21484 (FE_INVALID_ISI): Likewise.
21485 (FE_INVALID_IDI): Likewise.
21486 (FE_INVALID_ZDZ): Likewise.
21487 (FE_INVALID_IMZ): Likewise.
21488 (FE_INVALID_COMPARE): Likewise.
21489 (FE_INVALID_SOFTWARE): Likewise.
21490 (FE_INVALID_SQRT): Likewise.
21491 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21492 (FE_TONEAREST): Likewise.
21493 (FE_TOWARDZERO): Likewise.
21494 (FE_UPWARD): Likewise.
21495 (FE_DOWNWARD): Likewise.
21496 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21497 (FE_DIVBYZERO): Likewise.
21498 (FE_OVERFLOW): Likewise.
21499 (FE_UNDERFLOW): Likewise.
21500 (FE_INEXACT): Likewise.
21501 (FE_TONEAREST): Likewise.
21502 (FE_DOWNWARD): Likewise.
21503 (FE_UPWARD): Likewise.
21504 (FE_TOWARDZERO): Likewise.
21505 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21506 (FE_UNDERFLOW): Likewise.
21507 (FE_OVERFLOW): Likewise.
21508 (FE_DIVBYZERO): Likewise.
21509 (FE_INVALID): Likewise.
21510 (FE_TONEAREST): Likewise.
21511 (FE_TOWARDZERO): Likewise.
21512 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21513 (FE_OVERFLOW): Likewise.
21514 (FE_UNDERFLOW): Likewise.
21515 (FE_DIVBYZERO): Likewise.
21516 (FE_INEXACT): Likewise.
21517 (FE_TONEAREST): Likewise.
21518 (FE_TOWARDZERO): Likewise.
21519 (FE_UPWARD): Likewise.
21520 (FE_DOWNWARD): Likewise.
21521 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21522 (FE_DIVBYZERO): Likewise.
21523 (FE_OVERFLOW): Likewise.
21524 (FE_UNDERFLOW): Likewise.
21525 (FE_INEXACT): Likewise.
21526 (FE_TONEAREST): Likewise.
21527 (FE_DOWNWARD): Likewise.
21528 (FE_UPWARD): Likewise.
21529 (FE_TOWARDZERO): Likewise.
21530
105ca950
CM
215312012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21532
21533 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21534
a542b389
AS
215352012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21536
21537 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21538 commands. Quote $PWD.
21539 (blacklist_exports): Don't use remove_newlines. Replace "declare
21540 -x" by "export".
21541 (remove_newlines): Remove.
21542
f62c8abc
L
215432012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21544
21545 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21546 * stdlib/stdlib.h (atof): Moved to ...
21547 * include/bits/stdlib-float.h: Here. New file.
21548 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21549 * stdlib/bits/stdlib-float.h: New file.
21550 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21551 -mno-sse -mno-mmx.
21552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21553 <xmmintrin.h>.
21554
0155d5b2
JM
215552012-11-02 Joseph Myers <joseph@codesourcery.com>
21556
a68d0680
JM
21557 * conform/conformtest.pl (@headers): Add fenv.h.
21558 * conform/data/fenv.h-data: New file.
21559 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21560 include of <math/fenv.h>.
21561
caf7f573
JM
21562 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21563 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21564 && !UNIX98]. Enables tests for XOPEN2K8.
21565 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21566 POSIX2008]: Likewise.
21567
6c073ad6
JM
21568 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21569 (struct rusage): Do not expect type or its members.
21570
0155d5b2
JM
21571 [BZ #3439]
21572 * math/math.h (FP_NAN): Define macro to integer constant usable in
21573 #if and use that to give value to enum constant.
21574 (FP_INFINITE): Likewise.
21575 (FP_ZERO): Likewise.
21576 (FP_SUBNORMAL): Likewise.
21577 (FP_NORMAL): Likewise.
21578
b5dcacb4
AS
215792012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21580
21581 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21582 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21583 arguments.
21584
f7934be8
RM
215852012-11-02 Roland McGrath <roland@hack.frob.com>
21586
21587 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21588 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21589 autoconf-time if not.
21590 * configure.in: Remove AC_PREREQ.
21591
d7d08bde
TMQMF
215922012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21593
21594 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21595 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21596 of the internal implementation.
21597
dcdae19a
JM
215982012-11-02 Joseph Myers <joseph@codesourcery.com>
21599
21600 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21601 except include of <misc/sys/syslog.h>.
21602
d6cffd3e
AS
216032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21604
21605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21606 function returns with a NULL context exit with zero.
21607
b3563932
TMQMF
216082012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21609
21610 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21611
b288a93d
L
216122012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21613
21614 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21615 (run_program_cmd): This.
21616 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21617 (tst_langinfo): New variable. Use it.
21618
a2421a68
SAS
216192012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21620
21621 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21622 floating point opcodes.
21623
6f796e1b
TS
216242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21625
7402596b
TS
21626 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21627 variable.
21628
d0d4f868
TS
21629 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21630
6f796e1b
TS
21631 * sysdeps/mach/hurd/powerpc: Remove directory.
21632 * sysdeps/mach/powerpc: Likewise.
21633
4da224a2
AS
216342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21635
21636 * scripts/check-local-headers.sh: Ignore c++ headers.
21637
341dd673
TS
216382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21639
21640 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21641 __libc_cleanup_region_start argument.
21642
473611b2
JM
216432012-11-01 Joseph Myers <joseph@codesourcery.com>
21644
21645 [BZ #14784]
21646 [BZ #14785]
21647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21648 x * y using scaling, not as x * y + z.
21649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21651 * math/libm-test.inc (fma_test): Add more tests.
21652 (fma_test_towardzero): Likewise.
21653 (fma_test_downward): Likewise.
21654 (fma_test_upward): Likewise.
21655
4078da3d
TS
216562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21657
21658 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21659
903252aa
JM
216602012-10-31 Joseph Myers <joseph@codesourcery.com>
21661
21662 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21663 New variable.
21664
cbc818d0
TS
216652012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21666
21667 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21668
5a03cb1e
AS
216692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21670
21671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21672 Fix sort order.
21673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21674 Likewise.
21675
90aff2ff
TMQMF
216762012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21677
21678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21679 Fix the order of the list for glibc 2.17.
21680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21681 Likewise.
21682
1818fcb7
AS
216832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21684
21685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21686
ef82f4da
JM
216872012-10-31 Joseph Myers <joseph@codesourcery.com>
21688
16a0e2ec
JM
21689 [BZ #14610]
21690 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21691 for low part of x being zero before using __atanl (y).
21692 * math/libm-test.inc (atan2_test): Add another test.
21693
0eb69512
JM
21694 * manual/install.texi (Configuring and compiling): Document
21695 general use of test-wrapper and test-wrapper-env.
21696 * INSTALL: Regenerated.
21697
ef82f4da
JM
21698 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21699 (__fma): Do not extract and scale down low bits on after-rounding
21700 systems when result rounded to normal precision would have normal
21701 exponent.
21702 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21703 (__fmal): Do not extract and scale down low bits on after-rounding
21704 systems when result rounded to normal precision would have normal
21705 exponent.
21706 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21707 (__fmal): Do not extract and scale down low bits on after-rounding
21708 systems when result rounded to normal precision would have normal
21709 exponent.
21710 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21711 macro.
21712 (fma_test): Add more tests.
21713 (fma_test_towardzero): Likewise.
21714 (fma_test_downward): Likewise.
21715 (fma_test_upward): Likewise.
21716
954ef0d9
L
217172012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21718
21719 * sysdeps/i386/tininess.h: Renamed to ...
21720 * sysdeps/x86/tininess.h: This.
21721 * sysdeps/x86_64/tininess.h: Removed.
21722
df61ffb2
JM
217232012-10-30 Joseph Myers <joseph@codesourcery.com>
21724
21725 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21726 input. Use $(build-program-cmd).
21727 ($(objpfx)tst-array1-static.out): Likewise.
21728 ($(objpfx)tst-array2.out): Likewise.
21729 ($(objpfx)tst-array3.out): Likewise.
21730 ($(objpfx)tst-array4.out): Likewise.
21731 ($(objpfx)tst-array5.out): Likewise.
21732 ($(objpfx)tst-array5-static.out): Likewise.
21733
01767843
CM
217342012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21735
47cc1490
CM
21736 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21737 if defined.
21738
01767843
CM
21739 * nss/nsswitch.h (nss_interface_function): Provide new
21740 macro for use with NSS functions.
21741 * grp/initgroups.c: Use new macro.
21742 * nss/getXXbyYY.c: Likewise.
21743 * nss/getXXbyYY_r.c: Likewise.
21744 * nss/getXXent.c: Likewise.
21745 * nss/getXXent_r.c: Likewise.
21746 * sysdeps/posix/getaddrinfo.c: Likewise.
21747
8321aa97
AJ
217482012-10-30 Andreas Jaeger <aj@suse.de>
21749
21750 * po/ru.po: Update Russion translation from translation project.
21751
2a27fd6d
JM
217522012-10-30 Joseph Myers <joseph@codesourcery.com>
21753
8627a232
JM
21754 [BZ #14152]
21755 [BZ #14783]
21756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21757 result and shift together with sticky bit instead of replicating
21758 round-to-nearest rounding.
21759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21760 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21761 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21762 missing underflow exceptions.
21763 (fma_test_towardzero): Add more tests.
21764 (fma_test_downward): Likewise.
21765 (fma_test_upward): Likewise.
21766
2a27fd6d
JM
21767 [BZ #14047]
21768 * sysdeps/generic/tininess.h: New file.
21769 * sysdeps/i386/tininess.h: Likewise.
21770 * sysdeps/sh/tininess.h: Likewise.
21771 * sysdeps/x86_64/tininess.h: Likewise.
21772 * stdlib/tst-strtod-underflow.c: Likewise.
21773 * stdlib/tst-tininess.c: Likewise.
21774 * stdlib/strtod_l.c: Include <tininess.h>.
21775 (round_and_return): Do not set errno for exact underflow cases.
21776 Force an underflow exception when setting errno for underflow.
21777 Determine underflow based on rounding to normal precision if
21778 TININESS_AFTER_ROUNDING.
21779 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21780 ERANGE for exact underflow cases.
21781 * stdlib/Makefile (tests): Add tst-tininess and
21782 tst-strtod-underflow.
21783 ($(objpfx)tst-tininess): Use $(link-libm).
21784 ($(objpfx)tst-strtod-underflow): Likewise.
21785
e7170363
AJ
217862012-10-30 Andreas Jaeger <aj@suse.de>
21787
e5088dc6
AJ
21788 [BZ#14767]
21789 * elf/Makefile (tests): Remove conditional for have-initfini-array
21790 since this is now always required and the variable does not exist
21791 anymore.
21792 (tests-static): Likewise.
21793 (modules-names): Likewise.
21794
e7170363 21795 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21796
21797 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21798 merged with constructor/destructor.
21799 (init_array): Likewise.
21800 * elf/tst-array2dep.c (fini_array): Likewise.
21801 (init_array): Likewise.
21802
60457d8a
MF
218032012-10-29 Mike Frysinger <vapier@gentoo.org>
21804
21805 * manual/message.texi: Delete @cartouche tags.
21806
8bece752
PT
218072012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21808
94ce799f
PT
21809 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21810 EOPNOTSUPP.
21811 * sysdeps/mach/hurd/fsync.c: Likewise.
21812
8bece752
PT
21813 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21814 [_POSIX_REALTIME_SIGNALS]: Change condition to
21815 [_POSIX_REALTIME_SIGNALS > 0].
21816
86ebe6b1
AJ
218172012-10-27 Andreas Jaeger <aj@suse.de>
21818
21819 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21820 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21822 [__WORDSIZE != 64]: Likewise.
21823
54399c08
L
218242012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21825
21826 * iconvdata/tst-table.sh: Remove ${SHELL}.
21827 * iconvdata/tst-tables.sh: Likewise.
21828
e2211bed
DM
218292012-10-25 David S. Miller <davem@davemloft.net>
21830
21831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21832 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21833 of strtoull.
21834
f303f97c
DM
21835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21836 ifunc-impl-list.c
21837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21838 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21839 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21840 file.
21841
1e9d84cd
RM
218422012-10-25 Roland McGrath <roland@hack.frob.com>
21843
21844 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21845 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21846 __getdirentries.
21847
df381762
JM
218482012-10-25 Joseph Myers <joseph@codesourcery.com>
21849 Jim Blandy <jimb@codesourcery.com>
21850
21851 * scripts/cross-test-ssh.sh: New file.
21852 * manual/install.texi (Configuring and compiling): Document use of
21853 cross-test-ssh.sh.
21854 * INSTALL: Regenerated.
21855
bff64913
PT
218562012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21857
21858 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21859 EOPNOTSUPP.
21860
25fe8932
JM
218612012-10-25 Joseph Myers <joseph@codesourcery.com>
21862
21863 * Makeconfig (run-program-prefix): Fix comment.
21864
cc1290d0
JM
218652012-10-24 Joseph Myers <joseph@codesourcery.com>
21866 Jim Blandy <jimb@codesourcery.com>
21867
21868 * Makeconfig (test-wrapper): New variable,
21869 (test-wrapper-env): Likewise.
21870 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21871 (run-built-tests): Define to yes.
21872 (run-program-prefix): Use $(test-wrapper).
21873 (built-program-cmd): Likewise.
21874 * Rules (make-test-out): Use $(test-wrapper-env) and
21875 $(host-built-program-cmd).
21876 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21877 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21878 tst-pathopt.sh.
21879 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21880 $(test-wrapper-env) to tst-rtld-load-self.sh.
21881 ($(objpfx)order2.out): Use $(test-wrapper).
21882 ($(objpfx)tst-initorder.out): Likewise.
21883 ($(objpfx)tst-initorder2.out): Likewise.
21884 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21885 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21886 (test_wrapper_env): New variable. Use it to run ld.so.
21887 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21888 Use it to run ld.so.
21889 (test_wrapper_env): Likewise.
21890 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21891 $(test-wrapper) to run-iconv-test.sh.
21892 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21893 (ICONV): Use $test_wrapper.
21894 * posix/Makefile ($(objpfx)globtest.out): Pass
21895 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21896 globtest.sh, not $(run-program-prefix).
21897 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21898 (test_wrapper): Likewise.
21899 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21900 set together with run_via_rtld_prefix.
21901 (run_program_prefix): Define in terms of test_wrapper and
21902 run_via_rtld_prefix.
21903
6e6249d0
RM
219042012-10-24 Roland McGrath <roland@hack.frob.com>
21905
21906 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21907 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21908 Targets removed.
21909
21910 [BZ #14743]
21911 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21912 Declare __clock_getres, __clock_gettime, __clock_settime,
21913 __clock_nanosleep, and __clock_getcpuclockid.
21914 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21915 Remove librt_hidden_def (clock_gettime).
21916 * sysdeps/unix/clock_gettime.c: Likewise.
21917 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21918 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21919 * rt/clock_getres.c: Define __clock_getres as an alias.
21920 * sysdeps/posix/clock_getres.c: Likewise.
21921 * rt/clock_settime.c: Define __clock_settime as an alias.
21922 * sysdeps/unix/clock_settime.c: Likewise.
21923 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21924 * sysdeps/unix/clock_nanosleep.c: Likewise.
21925 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21926 * rt/clock-compat.c: New file.
21927 * rt/Makefile (librt-routines): Add clock-compat and move
21928 $(clock-routines) to ...
21929 (routines): ... here, new variable.
21930 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21931 Don't add get_clockfreq here.
21932 * rt/Versions (libc: GLIBC_2.17): New version set.
21933 Add clock_* symbols here.
21934 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21936 (GLIBC_2.17): Add clock_* symbols.
21937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21939 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21941 Likewise.
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21943 Likewise.
21944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21948 * NEWS: Mention the move.
21949
21950 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21951 Use __open, __read, __close rather than their public counterparts.
21952 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21953 (__get_clockfreq_via_cpuinfo): Likewise.
21954 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21955 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21956
21957 * config.h.in (HAVE_IFUNC): New #undef.
21958 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21959 was successful.
21960 * configure: Regenerated.
21961
0cae3f4b
MF
219622012-10-24 Mike Frysinger <vapier@gentoo.org>
21963
21964 * configure.in: Move READELF check to start of file.
21965 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21966 libc_cv_asm_gnu_indirect_function in the process.
21967 * configure: Regenerated.
21968
8175a253
MF
219692012-10-24 Mike Frysinger <vapier@gentoo.org>
21970
21971 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21972 send the output to /dev/null.
21973 (libc_cv_cc_with_libunwind): Likewise.
21974 (libc_cv_as_noexecstack): Likewise.
21975 * configure: Regenerate.
21976
0708a7d1
JM
219772012-10-24 Joseph Myers <joseph@codesourcery.com>
21978
10b40d85
JM
21979 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21980
0708a7d1
JM
21981 * posix/globtest.sh (TMPDIR): Do not set.
21982 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21983 (testout): Likewise.
21984
9fddec1a
AJ
219852012-10-24 Andreas Jaeger <aj@suse.de>
21986
3a8db22f
AJ
21987 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21988 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21989 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21990 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21991 posix_fadvise64, posix_fallocate64.
21992
9fddec1a
AJ
21993 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21994 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21995 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21996 Likewise.
21997 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21998 Likewise.
21999 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22000
22001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22002 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22003 <bits/fcntl-linux.h>.
22004 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22005
22006 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22007 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22008 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22009 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22010 [__WORDSIZE != 64]: Likewise.
22011
ebfd1bbd
JM
220122012-10-23 Joseph Myers <joseph@codesourcery.com>
22013
03ac099f
JM
22014 * Makeconfig (run-built-tests): New variable.
22015 * Rules [$(cross-compiling) = yes]: Change condition to
22016 [$(run-built-tests) = no].
22017 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22018 to [$(run-built-tests) = yes].
22019 * elf/Makefile [$(cross-compiling) = no]: Likewise
22020 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22021 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22022 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22023 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22024 * io/Makefile [$(cross-compiling) = no]: Likewise.
22025 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22026 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22027 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22028 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22029 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22030 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22031 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22032 * string/Makefile [$(cross-compiling) = no]: Likewise.
22033
ebfd1bbd
JM
22034 * posix/Makefile ($(objpfx)globtest.out): Pass
22035 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22036 $(rtld-installed-name).
22037 * posix/globtest.sh (elf_objpfx): Remove variable.
22038 (rtld_installed_name): Likewise.
22039 (library_path): Likewise.
22040 (run_program_prefix): New variable. Use for running globtest
22041 binary.
22042
166bca24
JB
220432012-10-23 Jim Blandy <jimb@codesourcery.com>
22044 Joseph Myers <joseph@codesourcery.com>
22045
22046 * Makeconfig (host-built-program-cmd): New variable.
22047 * elf/Makefile (tst-stackguard1-ARGS): Use
22048 $(host-built-program-cmd).
22049 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22050 (tst-spawn-ARGS): Likewise.
22051 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22052
88866099
JM
220532012-10-23 Joseph Myers <joseph@codesourcery.com>
22054 Jim Blandy <jimb@codesourcery.com>
22055
22056 * Makeconfig (run-via-rtld-prefix): New variable.
22057 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22058 (built-program-cmd): Likewise.
22059
b4b4c296
AJ
220602012-10-22 Andreas Jaeger <aj@suse.de>
22061
22062 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22063 __O_RSYNC if it exists, otherwise to O_SYNC.
22064
6fb54a22
JB
220652012-10-22 Jim Blandy <jimb@codesourcery.com>
22066 Joseph Myers <joseph@codesourcery.com>
22067
22068 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22069 /dev/null.
22070 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22071 from /dev/null
22072 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22073 /dev/null.
22074
481b90b9
AJ
220752012-10-22 Andreas Jaeger <aj@suse.de>
22076
2a0e2669
AJ
22077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22078 Define always.
22079 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22080
76e38f9a
AJ
22081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22082 bits/fcntl-linux.h.
22083
7cd37b43
AJ
22084 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22085 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22086
481b90b9
AJ
22087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22088 to __O_LARGEFILE.
22089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22090 to __O_LARGEFILE.
22091
aba75984
JB
220922012-10-21 Jim Blandy <jimb@codesourcery.com>
22093 Joseph Myers <joseph@codesourcery.com>
22094
22095 * config.make.in (NM): New variable.
22096
88d4247f
AJ
220972012-10-21 Andreas Jaeger <aj@suse.de>
22098
22099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22100 definitions and declarations that are provided by
22101 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22102
f2eed205
L
221032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22104
22105 [BZ #14683]
22106 * elf/Makefile (tests-static): Add tst-leaks1-static.
22107 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22108 ($(objpfx)tst-leaks1-static): New rule.
22109 ($(objpfx)tst-leaks1-static-mem): Likewise.
22110 (tst-leaks1-static-ENV): New macro.
22111 * elf/dl-open.c (dl_open_worker): Check the main application
22112 only if SHARED is defined.
22113 * elf/tst-leaks1-static.c: New file.
22114
335e6931
AJ
221152012-10-20 Andreas Jaeger <aj@suse.de>
22116
22117 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22118 generic values for Linux.
22119 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22120 and declarations that are provided by <bits/fcntl-linux.h> and
22121 include <bits/fcntl-linux.h>.
22122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22124
ac5c94d3
RM
221252012-10-20 Roland McGrath <roland@hack.frob.com>
22126
22127 * io/fcntl.h: Move include of <bits/types.h> to the top and
22128 include it unconditionally.
22129
de54b33a
L
221302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22131
228cfb01
L
22132 * wcsmbs/Makefile (tests-ifunc): New variable.
22133 (tests): Add $(tests-ifunc).
22134 * wcsmbs/test-wcschr-ifunc.c: New file.
22135 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22136 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22137 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22138 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22139 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22140
69f07e5f
L
22141 * string/Makefile (tests-ifunc): New variable.
22142 (tests): Add $(tests-ifunc).
22143 * string/test-memccpy.c (TEST_NAME): New macro.
22144 * string/test-memchr.c (TEST_NAME): Likewise.
22145 * string/test-memcmp.c (TEST_NAME): Likewise.
22146 * string/test-memcpy.c (TEST_NAME): Likewise.
22147 * string/test-memmem.c (TEST_NAME): Likewise.
22148 * string/test-memmove.c (TEST_NAME): Likewise.
22149 * string/test-memset.c (TEST_NAME): Likewise.
22150 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22151 * string/test-stpcpy.c (TEST_NAME): Likewise.
22152 * string/test-stpncpy.c (TEST_NAME): Likewise.
22153 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22154 * string/test-strcasestr.c (TEST_NAME): Likewise.
22155 * string/test-strcat.c (TEST_NAME): Likewise.
22156 * string/test-strchr.c (TEST_NAME): Likewise.
22157 * string/test-strcmp.c(TEST_NAME): Likewise.
22158 * string/test-strcpy.c (TEST_NAME): Likewise.
22159 * string/test-strcspn.c (TEST_NAME): Likewise.
22160 * string/test-strlen.c (TEST_NAME): Likewise.
22161 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22162 * string/test-strncmp.c (TEST_NAME): Likewise.
22163 * string/test-strncpy.c (TEST_NAME): Likewise.
22164 * string/test-strnlen.c (TEST_NAME): Likewise.
22165 * string/test-strpbrk.c (TEST_NAME): Likewise.
22166 * string/test-strrchr.c (TEST_NAME): Likewise.
22167 * string/test-strspn.c (TEST_NAME): Likewise.
22168 * string/test-strstr.c (TEST_NAME): Likewise.
22169 * string/test-bcopy-ifunc.c: New file.
22170 * string/test-bzero-ifunc.c: Likewise.
22171 * string/test-memccpy-ifunc.c: Likewise.
22172 * string/test-memchr-ifunc.c: Likewise.
22173 * string/test-memcmp-ifunc.c: Likewise.
22174 * string/test-memcpy-ifunc.c: Likewise.
22175 * string/test-memmem-ifunc.c: Likewise.
22176 * string/test-memmove-ifunc.c: Likewise.
22177 * string/test-mempcpy-ifunc.c: Likewise.
22178 * string/test-memset-ifunc.c: Likewise.
22179 * string/test-rawmemchr-ifunc.c: Likewise.
22180 * string/test-stpcpy-ifunc.c: Likewise.
22181 * string/test-stpncpy-ifunc.c: Likewise.
22182 * string/test-strcasecmp-ifunc.c: Likewise.
22183 * string/test-strcasestr-ifunc.c: Likewise.
22184 * string/test-strcat-ifunc.c: Likewise.
22185 * string/test-strchr-ifunc.c: Likewise.
22186 * string/test-strchrnul-ifunc.c: Likewise.
22187 * string/test-strcmp-ifunc.c: Likewise.
22188 * string/test-strcpy-ifunc.c: Likewise.
22189 * string/test-strcspn-ifunc.c: Likewise.
22190 * string/test-strlen-ifunc.c: Likewise.
22191 * string/test-strncasecmp-ifunc.c: Likewise.
22192 * string/test-strncat-ifunc.c: Likewise.
22193 * string/test-strncmp-ifunc.c: Likewise.
22194 * string/test-strncpy-ifunc.c: Likewise.
22195 * string/test-strnlen-ifunc.c: Likewise.
22196 * string/test-strpbrk-ifunc.c: Likewise.
22197 * string/test-strrchr-ifunc.c: Likewise.
22198 * string/test-strspn-ifunc.c: Likewise.
22199 * string/test-strstr-ifunc.c: Likewise.
22200
de54b33a
L
22201 * debug/Makefile (tests-ifunc): New variable.
22202 (tests): Add $(tests-ifunc).
22203 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22204 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22205 * debug/test-stpcpy_chk-ifunc.c: New file.
22206 * debug/test-strcpy_chk-ifunc.c: Likewise.
22207
88481c16
SP
222082012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22209
22210 [BZ #13601]
22211 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22212 header is not read in.
22213
135948bd
JM
222142012-10-19 Joseph Myers <joseph@codesourcery.com>
22215
89f1c388
JM
22216 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22217 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22218 directly. Pass built executable to script as
22219 $(built-program-cmd).
22220 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22221 $testprogram without using LD_LIBRARY_PATH and $ldso.
22222
e40a0d21
JM
22223 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22224 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22225 $(rtld-installed-name).
22226 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22227 (rtld_installed_name): Likewise.
22228 (library_path): Likewise.
22229 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22230 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22231 $(run-program-prefix) to tst-tables.sh.
22232 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22233 it to run tst-table-from and tst-table-to.
22234 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22235 Pass it to tst-table.sh.
22236 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22237 $(run-program-prefix) to tst-gettext.sh.
22238 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22239 tst-translit.sh.
22240 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22241 tst-gettext2.sh.
22242 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22243 to run tst-gettext.
22244 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22245 to run tst-gettext2.
22246 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22247 to run tst-translit.
22248 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22249 $(run-program-prefix) to tst-mtrace.sh.
22250 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22251 to run tst-mtrace.
22252 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22253 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22254 $(rtld-installed-name).
22255 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22256 (rtld_installed_name): Likewise.
22257 (run_program_prefix): New variable. Use it to run wordexp-test.
22258
728e272a
JM
22259 * Makeconfig (ARCH): Remove all definitions.
22260 (machine): Likewise.
22261 [ARCH]: Remove conditional code.
22262 [!objdir]: Give error.
22263 [!objdir] (objpfx): Remove.
22264 [!objdir] (common-objpfx): Likewise.
22265 [!objdir] (common-objdir): Likewise.
22266 * configure.in (config_makefile): Remove. Hardcode Makefile in
22267 AC_CONFIG_FILES call.
22268 * configure: Regenerated.
22269
d528cdcf
JM
22270 [BZ #13888]
22271 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22272 or TMPDIR.
22273 (testout): Likewise.
22274
135948bd
JM
22275 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22276 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22277 $(rtld-installed-name).
22278 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22279 (rtld_installed_name): Likwise.
22280 (runit): Remove function.
22281 (run_getconf): New variable, Use it for running getconf binary.
22282
38c78296
L
222832012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22284
22285 [BZ #14716]
22286 * string/test-memmem.c (check_result): New function.
22287 (do_one_test): Use it.
22288 (check1): New function.
22289 (test_main): Use it.
22290
d077f65f
MT
222912012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22292
22293 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22294
ced52c71
JM
222952012-10-18 Joseph Myers <joseph@codesourcery.com>
22296
22297 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22298 (_G_LSEEK64): Likewise.
22299 (_G_MMAP64): Likewise.
22300 (_G_FSTAT64): Likewise.
22301 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22302 (_G_LSEEK64): Likewise.
22303 (_G_MMAP64): Likewise.
22304 (_G_FSTAT64): Likewise.
22305 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22306 unconditional. Call __mmap64 directly.
22307 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22308 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22309 __lseek64 directly.
22310 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22311 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22312 __mmap64 directly.
22313 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22314 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22315 __lseek64 directly.
22316 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22317 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22318 __lseek64 directly.
22319 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22320 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22321 __lseek64 directly.
22322 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22323 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22324 __fxstat64 directly.
22325 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22326 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22327 unconditional.
22328 (freopen64) [!_G_OPEN64]: Remove conditional code.
22329 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22330 unconditional.
22331 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22332 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22333 unconditional.
22334 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22335 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22336 unconditional.
22337 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22338 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22339 unconditional.
22340 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22341 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22342 unconditional.
22343 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22344 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22345 unconditional.
22346 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22347 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22348 unconditional.
22349 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22350
b741de23
SP
223512012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22352
22353 [BZ #12140]
22354 * manual/memory.texi (Malloc Tunable Parameters): Add note
22355 about free list pointers overwriting some perturb bytes.
22356 Wording suggested by Roland McGrath.
22357
f9b9d9c9
JM
223582012-10-17 Joseph Myers <joseph@codesourcery.com>
22359
22360 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22361 (lgamma_test): Likewise.
22362 (tgamma_test): Likewise.
22363
172a631a
FW
223642012-10-16 Florian Weimer <fweimer@redhat.com>
22365
22366 [BZ #14700]
22367 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22368 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22369
e9f37252
MK
223702012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22371
22372 * NEWS: Mention BZ #14716.
22373 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22374 when removing AVAILABLE1_USES_J macro.
22375
d394eb74
L
223762012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22377
22378 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22379 (__bswap_64): __uint64_t for unsigned 64-bit int.
22380
ca38dc17
AS
223812012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22382
22383 * include/string.h (memmem): Declare libc hidden alias.
22384 * string/memmem.c (memmem): Define libc hidden alias.
22385 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22386 __read, __close instead of open, read, close.
22387
9a387d1f
L
223882012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22389
ac49ecaf
L
22390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22391 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22392 global and hidden.
22393 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22394 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22395 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22396 Likewise.
22397 (__rawmemchr_sse2): Likewise.
22398 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22399 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22400 (__strchr_sse2): Likewise.
22401 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22402 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22403 (__strcasecmp_sse2): Likewise.
22404 (__strncasecmp_sse2): Likewise.
22405 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22406 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22407 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22408 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22409 (__strrchr_sse2): Likewise.
22410 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22411 ifunc-impl-list.c.
22412 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22413 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22414 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22415 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22416 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22417 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22418 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22419 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22420 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22421 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22422 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22423 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22424 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22425 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22426 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22427 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22428 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22429 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22430 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22431 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22432 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22433 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22434 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22435 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22436 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22437 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22438 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22439 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22440 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22441 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22442
b090e8ea
L
22443 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22444 global and hidden.
22445 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22446 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22447 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22448 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22449 Likewise.
22450 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22451 Likewise.
22452 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22453 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22454 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22455 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22456 ifunc-impl-list.c.
22457 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22458 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22459 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22460 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22461 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22462 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22463 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22464 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22465 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22466 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22467 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22468 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22469 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22470 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22471 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22472 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22473 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22474 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22475 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22476 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22477 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22478 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22479 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22480 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22481 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22482 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22483 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22484 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22485 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22486 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22487 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22488 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22489 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22490 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22491 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22492 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22493 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22494 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22495 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22496 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22497 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22498
11dd4af6
L
22499 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22500 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22501 * include/ifunc-impl-list.h: New file.
22502 * misc/ifunc-impl-list.c: Likewise.
22503 * misc/Makefile (routines): Add ifunc-impl-list.
22504 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22505 * string/test-string.h: Include <ifunc-impl-list.h>.
22506 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22507 impl_array): New variables.
22508 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22509 are defined.
22510 (test_init): Call __libc_ifunc_impl_list to initialize
22511 func_list if TEST_IFUNC and TEST_NAME are defined.
22512
9a387d1f
L
22513 * string/Makefile (strop-tests): Add bcopy and bzero.
22514 * string/test-bcopy.c: New file.
22515 * string/test-bzero.c: Likewise.
22516 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22517 defined.
22518 * string/test-memset.c: Support bzero test if TEST_BZERO is
22519 defined.
22520 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22521 __libc_memmove.
22522 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22523 __libc_memset.
22524 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22525 of memset.
22526
472371b9
JM
225272012-10-10 Joseph Myers <joseph@codesourcery.com>
22528
1e4a9536
JM
22529 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22530 * configure: Regenerated.
22531
d173d12e
JM
22532 * Makeconfig (+link-static-before-libc): Don't include
22533 $(link-static-libc).
22534
472371b9
JM
22535 * libio/libio.h (_IO_pos_t): Remove.
22536
89a3ad0b
AO
225372012-10-10 Alexandre Oliva <aoliva@redhat.com>
22538
22539 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22540 McGrath.
22541
e7451425
AO
225422012-10-10 Alexandre Oliva <aoliva@redhat.com>
22543
22544 * crypt/crypt-entry.c: Include fips-private.h.
22545 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22546 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22547 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22548 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22549
4ba74a35
AO
225502012-10-10 Alexandre Oliva <aoliva@redhat.com>
22551
22552 * crypt/crypt-private.h: Include stdbool.h.
22553 (_ufc_setup_salt_r): Return bool.
22554 * crypt/crypt-entry.c: Include errno.h.
22555 (__crypt_r): Return NULL with EINVAL for bad salt.
22556 * crypt/crypt_util.c (bad_for_salt): New.
22557 (_ufc_setup_salt_r): Check that salt is long enough and within
22558 the specified alphabet.
22559 * crypt/badsalttest.c: New file.
22560 * crypt/Makefile (tests): Add it.
22561 ($(objpfx)badsalttest): New.
22562
f96f1242
MK
225632012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22564
22565 * NEWS: Add entry for BZ #14602.
22566
0e8e0c1c
JM
225672012-10-09 Joseph Myers <joseph@codesourcery.com>
22568
22569 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22570 type-generic.
22571 * math/libm-test.inc: Update comment listing what functions and
22572 macros are tested.
22573 (isgreater_test): New function.
22574 (isgreaterequal_test): Likewise.
22575 (isless_test): Likewise.
22576 (islessequal_test): Likewise.
22577 (islessgreater_test): Likewise.
22578 (isunordered_test): Likewise.
22579 (main): Call the new functions.
22580
273edc5e
RM
225812012-10-09 Roland McGrath <roland@hack.frob.com>
22582
b8493de0
RM
22583 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22584 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22585 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22586 * sysdeps/i386/configure: Regenerated.
22587 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22588 * sysdeps/mach/configure: Regenerated.
22589 * sysdeps/mach/hurd/configure: Regenerated.
22590 * sysdeps/powerpc/configure: Regenerated.
22591 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22592 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22593 * sysdeps/s390/s390-32/configure: Regenerated.
22594 * sysdeps/s390/s390-64/configure: Regenerated.
22595 * sysdeps/sh/configure: Regenerated.
22596 * sysdeps/sparc/configure: Regenerated.
22597 * sysdeps/unix/sysv/linux/configure: Regenerated.
22598 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22599 * sysdeps/x86_64/configure: Regenerated.
22600
273edc5e
RM
22601 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22602 defined. Don't check if MAP is NULL.
22603
c8450f70
JM
226042012-10-09 Joseph Myers <joseph@codesourcery.com>
22605
22606 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22607 (_G_stat64): Likewise.
22608 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22609 (_G_stat64): Likewise.
22610 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22611 instead of struct _G_stat64.
22612 * libio/fileops.c (mmap_remap_check): Likewise.
22613 (decide_maybe_mmap): Likewise.
22614 (_IO_new_file_seekoff): Likewise.
22615 (_IO_file_stat): Likewise.
22616 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22617 _G_off64_t.
22618 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22619 instead of struct _G_stat64.
22620 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22621
57e605ba
MK
226222012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22623
22624 [BZ #14602]
22625 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22626 Replace with ...
22627 (CHECK_EOL): New macro.
22628 (two_way_short_needle): Check beginning of haystack for EOL. Use
22629 CHECK_EOL.
22630 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22631 Replace with CHECK_EOL.
22632 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22633 Replace with CHECK_EOL.
22634
ef1bb361
JM
226352012-10-08 Joseph Myers <joseph@codesourcery.com>
22636
22637 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22638 type-generic.
22639 * math/libm-test.inc: Update comment listing what functions and
22640 macros are tested.
22641 (finite_test): New function.
22642 (isinf_test): Likewise.
22643 (isnan_test): Likewise.
22644 (fpclassify_test): Test subnormal input.
22645 (isfinite_test): Likewise.
22646 (isnormal_test): Likewise.
22647 (main): Call the new functions.
22648
55f11534
JN
226492012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22650
22651 [BZ #14660]
22652 * Makerules (%.dynsym): Force C locale when running
22653 $(OBJDUMP) --dynamic-syms.
22654
1ab29350
AS
226552012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22656
22657 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22658 <stdint.h>.
22659
f1ecb7ef
DM
226602012-10-06 David S. Miller <davem@davemloft.net>
22661
22662 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22663 upper 32-bits of the length value in %o2 since we use branch-on-register
22664 tests which consider the entire 64-bit register.
22665
5d41d91a
L
226662012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22667
22668 * string/test-strstr.c (check2): Add a test for page boundary.
22669
3baddb72
DM
226702012-10-05 David S. Miller <davem@davemloft.net>
22671
22672 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22673 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22674 file.
22675 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22676 sysdep_routines.
22677 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22678 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22679 and bzero when HWCAP_SPARC_CRYPTO is present.
22680
9cee5585
L
226812012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22682
d7e0dab9
L
22683 [BZ #14602]
22684 * string/test-strstr.c (check2): New function.
22685 (test_main): Call check2.
22686
03759f47
L
22687 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22688 and bug-strchr1.
22689 * string/bug-strcasestr1.c (do_test): Moved to ...
22690 * string/test-strcasestr.c (check1): Here. New function.
22691 (do_one_test): Break out result checking code into ...
22692 (check_result): This. New function.
22693 (do_one_test): Call check_result.
22694 (test_main): Call check1.
22695 * string/bug-strchr1.c (do_test): Moved to ...
22696 * string/test-strchr.c (check1): Here. New function.
22697 (do_one_test): Break out result checking code into ...
22698 (check_result): This. New function.
22699 (do_one_test): Call check_result.
22700 (test_main): Call check1.
22701 * string/bug-strstr1.c (main): Moved to ...
046f153e 22702 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22703 (do_one_test): Break out result checking code into ...
22704 (check_result): This. New function.
22705 (do_one_test): Call check_result.
22706 (test_main): Call check1.
22707 * string/bug-strcasestr1.c: Removed.
22708 * string/bug-strchr1.c: Likewise.
22709 * string/bug-strstr1.c: Likewise.
22710
53cea63e
L
22711 * elf/Makefile (dl-routines): Add hwcaps.
22712 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22713 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22714 (_dl_important_hwcaps): Moved to ...
22715 * elf/dl-hwcaps.c: Here. New file.
22716 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22717
9cee5585 22718 [BZ #14557]
bb859b06
L
22719 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22720 if IS_IN_rtld isn't defined.
22721
9cee5585
L
22722 * elf/dl-support.c (_dl_sysinfo_map): New.
22723 Include "get-dynamic-info.h" and "setup-vdso.h".
22724 (_dl_non_dynamic_init): Call setup_vdso.
22725 * elf/dynamic-link.h: Don't include <assert.h>.
22726 (elf_get_dynamic_info): Moved to ...
22727 * elf/get-dynamic-info.h: Here. New file.
22728 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22729 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22730 * elf/setup-vdso.h: Here. New file.
22731 * elf/rtld.c: Include "setup-vdso.h".
22732 (dl_main): Call setup_vdso.
22733
23c31b76
JM
227342012-10-05 Joseph Myers <joseph@codesourcery.com>
22735
28234b07
JM
22736 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22737 creal in comment listing functions tested. List finite, isinf,
22738 isnan, isless, islessequal, isgreater, isgreaterequal,
22739 islessgreater, isunordered, lgamma_r and pow10 as functions and
22740 macros not tested. Mention which functions not tested are aliases
22741 for other functions. Fix typo. Note that signs of NaNs are not
22742 tested.
22743
23c31b76
JM
22744 * scripts/config.guess: Update from config.git.
22745 * scripts/config.sub: Likewise.
22746
9043e228
RM
227472012-10-04 Roland McGrath <roland@hack.frob.com>
22748
22749 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22750 * misc/madvise.c (madvise): Renamed to __madvise.
22751 Make madvise a weak alias.
22752 * include/sys/mman.h: Declare __madvise.
22753 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22754 * sysdeps/unix/syscalls.list
22755 (madvise): Make __madvise the strong name, and madvise a weak alias.
22756 * sysdeps/unix/sysv/linux/syscalls.list
22757 (madvise, mmap): Remove redundant entries.
22758 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22759 * malloc/malloc.c (mtrim): Likewise.
22760 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22761
f57f8055
RM
227622012-10-03 Roland McGrath <roland@hack.frob.com>
22763
22764 * sysdeps/mach/hurd/dl-cache.c: File removed.
22765 * config.h.in (USE_LDCONFIG): New #undef.
22766 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22767 * configure: Regenerated.
22768 * elf/Makefile (dl-routines): Add dl-cache only under
22769 [$(use-ldconfig) = yes].
22770 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22771 cache on [USE_LDCONFIG].
22772 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22773 [USE_LDCONFIG].
22774 * elf/rtld.c (dl_main): Likewise.
22775
5bb0c10a
PT
227762012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22777
22778 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22779 _SC_LEVEL4_CACHE_LINESIZE.
22780
010188c6
RM
227812012-10-03 Roland McGrath <roland@hack.frob.com>
22782
22783 * sysdeps/unix/bsd/confstr.h: File removed.
22784
b6c5ec07
AO
227852012-10-02 Alexandre Oliva <aoliva@redhat.com>
22786
22787 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22788 sys/sdt-config.h.
22789
408223d4
RM
227902012-10-02 Roland McGrath <roland@hack.frob.com>
22791
22792 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22793 Make 'mapoff' field ElfW(Off) rather than off_t.
22794
bb9510dc
DL
227952012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22796
fc997c6e
DL
22797 * nscd/Makefile: Remove nscd-cflags and all its users.
22798 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22799 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22800
bb9510dc
DL
22801 [BZ #10631]
22802 * malloc.c (malloc_printerr): Clarify error message.
22803
05699367
L
228042012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22805
22806 [BZ #14648]
22807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22808 Set bit_FMA_Usable if FMA is supported.
22809 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22810 macro.
22811 (bit_FMA4_Usable): Updated.
22812 (index_FMA_Usable): New macro.
22813 (CPUID_FMA): Likewise
22814 (HAS_FMA): Defined with bit_FMA_Usable.
22815
51367701
RM
228162012-10-01 Roland McGrath <roland@hack.frob.com>
22817
22818 * bits/types.h (__swblk_t): Type removed.
22819 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22820 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22822 (__SWBLK_T_TYPE): Likewise.
22823 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22824 (__SWBLK_T_TYPE): Likewise.
22825 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22826 (__SWBLK_T_TYPE): Likewise.
22827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22828 (__SWBLK_T_TYPE): Likewise.
22829
4d57bf63 228302012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22831 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22832
22833 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22834 (xdr_mapname): Use YPMAXMAP as maxsize.
22835 (xdr_peername): Use YPMAXPEER as maxsize.
22836 (xdr_keydat): Use YPAXRECORD as maxsize.
22837 (xdr_valdat): Use YPMAXRECORD as maxsize.
22838
93c65d43
RM
228392012-10-01 Roland McGrath <roland@hack.frob.com>
22840
497a03d6
RM
22841 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22842
93c65d43
RM
22843 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22844 * csu/init-first.c: ... here.
22845 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22846 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22847 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22848 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22849 * sysdeps/i386/init-first.c: File removed.
22850 * sysdeps/sh/init-first.c: File removed.
22851
bec749fd
JM
228522012-10-01 Joseph Myers <joseph@codesourcery.com>
22853
22854 [BZ #14645]
22855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22856 if x * y might underflow to zero and z is zero.
22857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22859 * math/libm-test.inc (min_subnorm_value): New variable.
22860 (fma_test): Add more tests.
22861 (fma_test_towardzero): Likewise.
22862 (fma_test_downward): Likewise
22863 (fma_test_upward): Likewise.
22864 (initialize): Set min_subnorm_value.
22865
8ec5b013
JM
228662012-09-29 Joseph Myers <joseph@codesourcery.com>
22867
22868 [BZ #14638]
22869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22870 0 + 0.
22871 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22872 mode for addition resulting in exact zero.
22873 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22875 exact 0 + 0.
22876 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22878 * math/libm-test.inc (fma_test): Add more tests.
22879 (fma_test_towardzero): New function.
22880 (fma_test_downward): Likewise.
22881 (fma_test_upward): Likewise.
22882 (main): Call the new functions.
22883
b1fa802e
DM
228842012-09-28 David S. Miller <davem@davemloft.net>
22885
22886 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22887
d3b9fd9e
RM
228882012-09-28 Roland McGrath <roland@hack.frob.com>
22889
ea4d37b3
RM
22890 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22891 instead of SIGALRM.
22892
ac51c949
RM
22893 * sysdeps/gnu/_G_config.h: Moved to ...
22894 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22895 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22896 * sysdeps/generic/_G_config.h: ... here.
22897
28c195f7
RM
22898 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22899
848917f9
RM
22900 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22901
6bacf05b
RM
22902 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22903 Conditionalize target on [libnss_test1.so-version].
22904
91363dbb
RM
22905 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22906
cc87f7d8
RM
22907 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22908 (elfobjdir): Move out of conditionals.
22909
b1c608fe
RM
22910 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22911 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22912 (__nss_lookup_function): Conditionalize label remove_from_tree on
22913 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22914
1d9a6d96
DM
229152012-09-28 David S. Miller <davem@davemloft.net>
22916
22917 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22918 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22919 file.
22920 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22921 sysdep_routines.
22922 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22924 when HWCAP_SPARC_CRYPTO is present.
22925
72581615
PT
229262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22927
22928 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22929
715a900c
JL
229302012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22931
22932 [BZ #6530]
22933 * stdio-common/vfprintf.c (process_string_arg): Revert
22934 2000-07-22 change.
22935
229362011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22937
22938 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22939 for testcase.
22940 * stdio-common/tst-sprintf.c: Include <locale.h>
22941 (main): Test sprintf's handling of incomplete multibyte
22942 characters.
22943
9bac1d86
L
229442012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22945
22946 * elf/dl-runtime.c (VERSYMIDX): Removed.
22947 * elf/dl-version.c (VERSYMIDX): Likewise.
22948 * elf/do-rel.h (VERSYMIDX): Likewise.
22949 (VALIDX): Likewise.
22950 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22951 * elf/rtld.c (VALIDX): Likewise.
22952 (ADDRIDX): Likewise.
9bac1d86
L
22953 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22954 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22955 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22956 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22957 (VALIDX): Likewise.
22958 (ADDRIDX): Likewise.
9bac1d86 22959
b31606c0
PT
229602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22961
22962 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22963
11541177
JL
229642012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22965
22966 [BZ #11438]
22967 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22968 to global scope.
22969 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22970 addresses are in the same scope as 192.0.2/24.
22971 * posix/gai.conf: Document new scope table defaults.
22972
adb26fae
SP
229732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22974
22975 [BZ #5298]
22976 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22977 for ftell. Compute offsets from write pointers instead.
22978 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22979
4573c6b0
SP
229802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22981
22982 [BZ #14543]
22983 * libio/Makefile (tests): New test case tst-fseek.
22984 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22985 combination works in wide mode.
22986 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22987 state when the external buffer state changes.
22988
aa9bbfe6
DM
229892012-09-27 David S. Miller <davem@davemloft.net>
22990
22991 [BZ #14376]
22992 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22993 pass reloc->r_addend in as the 'high' argument to
22994 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22995
784421e7
DM
22996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22997
c39bc8b8
PT
229982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22999
23000 * rt/tst-aio2.c: Include <pthread.h>.
23001 * rt/tst-aio3.c: Likewise.
23002
1ccc2399
SE
230032012-09-27 Steve Ellcey <sellcey@mips.com>
23004
23005 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23006
31ed4153
L
230072012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23008
25f5f885
L
23009 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23010 contents on [SHARED].
31ed4153 23011
b7bfe116
MP
230122012-09-26 Marek Polacek <polacek@redhat.com>
23013
23014 [BZ #14530]
23015 [BZ #13741]
23016 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23017 for C++ and GCC <4.3 as well as for non GCC compilers.
23018
43c4edba
MT
230192012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23020
23021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23022
6a1bf82f
RM
230232012-09-25 Roland McGrath <roland@hack.frob.com>
23024
23025 * Makefile.in (all, install): Declare with .PHONY.
23026 Reported by Michael Hope <michael.hope@linaro.org>.
23027
8ad11b9a
TMQMF
230282012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23029
23030 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23031 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23032 system header.
23033 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23034 Likewise.
23035 (sydep_routines): Add the new and the internal functions.
23036 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23037 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23039 (GLIBC_2.17): Add the new function.
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23041 (GLIBC_2.17): Likewise.
23042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23043 (GLIBC_2.17): Likewise.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23045 (GLIBC_2.17): Likewise.
23046 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23047
7e2fca8d
AM
230482012-09-25 Alan Modra <amodra@gmail.com>
23049
23050 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23051 Add release barrier before setting once_control to say
23052 initialisation is done. Add hints on lwarx. Use macro in
23053 place of isync.
23054 (clear_once_control): Add release barrier.
23055
b87c4b24
JM
230562012-09-25 Joseph Myers <joseph@codesourcery.com>
23057
d032e0d2
JM
23058 [BZ #13629]
23059 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23060 specially.
23061 * math/s_clog10.c (__clog10): Likewise.
23062 * math/s_clog10f.c (__clog10f): Likewise.
23063 * math/s_clog10l.c (__clog10l): Likewise.
23064 * math/s_clogf.c (__clogf): Likewise.
23065 * math/s_clogl.c (__clogl): Likewise.
23066 * math/Makefile (libm-calls): Add x2y2m1.
23067 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23068 (__x2y2m1): Likewise.
23069 (__x2y2m1l): Likewise.
23070 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23071 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23072 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23073 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23074 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23075 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23076 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23077 * sysdeps/i386/fpu/libm-test-ulps: Update.
23078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23079
b87c4b24
JM
23080 [BZ #14621]
23081 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23082 int as type of variable DEPTH.
23083 (glob): Use size_t instead of int as type of variables NEWCOUNT
23084 and OLD_PATHC.
23085
6d3bf199
LD
230862012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23087
22bf5c17
LD
23088 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23089 Add s_sincosf-sse2.
23090 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23091 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23092 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23093 macros for using routine as __sincosf_ia32.
23094 Use macro for function declaration and weak_alias.
23095 * sysdeps/i386/fpu/libm-test-ulps: Update.
23096
23097 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23099
23100 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23101 subnormal argument.
23102 * math/s_cexpf.c (__cexpf): Likewise.
23103 * math/s_csinf.c (__csinf): Likewise.
23104 * math/s_csinhf.c (__csinhf): Likewise.
23105 * math/s_ctanf.c (__ctanf): Likewise.
23106 * math/s_ctanhf.c (__ctanhf): Likewise.
23107 * math/s_ccosh.c (__ccoshf): Likewise.
23108 * math/s_cexp.c (__cexpl): Likewise.
23109 * math/s_csin.c (__csin): Likewise.
23110 * math/s_csinh.c (__csinh): Likewise.
23111 * math/s_ctan.c (__ctan): Likewise.
23112 * math/s_ctanh.c (ctanh): Likewise.
23113 * math/s_ccoshl.c (__ccoshl): Likewise.
23114 * math/s_cexpl.c (__cexpl): Likewise.
23115 * math/s_csinl.c (__csinl): Likewise.
23116 * math/s_csinhl.c (__csinhl): Likewise.
23117 * math/s_ctanl.c (__ctanl): Likewise.
23118 * math/s_ctanhl.c (__ctanhl): Likewise.
23119
203e5603
JM
231202012-09-25 Joseph Myers <joseph@codesourcery.com>
23121
23122 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23123 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23124 (_IO_off_t): Define to __off_t, not _G_off_t.
23125 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23126 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23127 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23128 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23129 type of __dummy and __dummy2 fields.
23130 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23131 (_G_ssize_t): Likewise.
23132 (_G_off_t): Likewise.
23133 (_G_pid_t): Likewise.
23134 (_G_uid_t): Likewise.
23135 (_G_wchar_t): Likewise.
23136 (_G_wint_t): Likewise.
23137 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23138 (_G_ssize_t): Likewise.
23139 (_G_off_t): Likewise.
23140 (_G_pid_t): Likewise.
23141 (_G_uid_t): Likewise.
23142 (_G_wchar_t): Likewise.
23143 (_G_wint_t): Likewise.
23144 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23145 (_G_ssize_t): Likewise.
23146 (_G_off_t): Likewise.
23147 (_G_pid_t): Likewise.
23148 (_G_uid_t): Likewise.
23149 (_G_wchar_t): Likewise.
23150 (_G_wint_t): Likewise.
23151
9fab36eb
SP
231522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23153
23154 * malloc/arena.c: Include malloc-sysdep.h.
23155 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23156 is sufficient to shrink the heap or an unmap is needed.
23157 * sysdeps/generic/malloc-sysdep.h: New file. Define
23158 new function check_may_shrink_heap.
23159 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23160 new function check_may_shrink_heap.
23161
2b4f00d1
SP
231622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23163
23164 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23165 comments.
23166
9a9028b1
DL
231672012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23168
57c69bef
DL
23169 * catgets/test-gencat.sh: Add "set -e".
23170 * elf/tst-pathopt.sh: Likewise.
23171 * grp/tst_fgetgrent.sh: Likewise.
23172 * iconvdata/run-iconv-test.sh: Likewise.
23173 * intl/tst-gettext.sh: Likewise.
23174 * intl/tst-gettext2.sh: Likewise.
23175 * intl/tst-gettext4.sh: Likewise.
23176 * intl/tst-gettext6.sh: Likewise.
23177 * intl/tst-translit.sh: Likewise.
23178 * io/ftwtest-sh: Likewise.
23179 * libio/test-freopen.sh: Likewise.
23180 * malloc/tst-mtrace.sh: Likewise.
23181 * posix/globtest.sh: Likewise.
23182 * posix/tst-getconf.sh: Likewise.
23183 * posix/wordexp-tst.sh: Likewise.
23184 * stdio-common/tst-printf.sh: Likewise.
23185 * stdio-common/tst-unbputc.sh: Likewise.
23186 * stdlib/tst-fmtmsg.sh: Likewise.
23187 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23188 * catgets/Makefile: Do not specify -e option when running
23189 testsuite shell scripts.
23190 * elf/Makefile: Likewise.
23191 * grp/Makefile: Likewise.
23192 * iconvdata/Makefile: Likewise.
23193 * intl/Makefile: Likewise.
23194 * io/Makefile: Likewise.
23195 * libio/Makefile: Likewise.
23196 * malloc/Makefile: Likewise.
23197 * posix/Makefile: Likewise.
23198 * stdio-common/Makefile: Likewise.
23199 * stdlib/Makefile: Likewise.
23200 * sysdeps/x86_64/Makefile: Likewise.
23201
9a9028b1
DL
23202 * io/ftwtest-sh: Add copyright header.
23203 * posix/globtest.sh: Likewise.
23204 * posix/tst-getconf.sh: Likewise.
23205 * posix/wordexp-tst.sh: Likewise.
23206 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23207
ced6f16e
L
232082012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23209
94b32c39
L
23210 [BZ #13679]
23211 * Makeconfig (+link): Defined as $(+link-static) if
23212 $(build-shared) isn't yes.
23213 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23214 isn't yes.
23215 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23216
189e935b
L
23217 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23218
ced6f16e
L
23219 [BZ #14562]
23220 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23221 new chunk size with MALLOC_ALIGN_MASK.
23222
a9f8e53a
JM
232232012-09-24 Joseph Myers <joseph@codesourcery.com>
23224
23225 [BZ #5044]
23226 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23227 <rounding-mode.h>.
23228 (__printf_fphex): Determine rounding using get_rounding_mode and
23229 round_away.
23230 * stdio-common/tst-printf-round.c (struct hex_test): New
23231 structure.
23232 (hex_tests): New variable.
23233 (test_hex_in_one_mode): New function.
23234 (do_test): Also run tests for hex float output.
23235
43153109
JM
232362012-09-21 Joseph Myers <joseph@codesourcery.com>
23237
23238 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23239 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23240 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23241 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23242 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23243 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23244 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23245 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23246
8a26625d
JM
232472012-09-20 Joseph Myers <joseph@codesourcery.com>
23248
23249 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23250 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23251 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23252 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23253
f3fd569c
DL
232542012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23255
23256 [BZ #14579]
23257 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23258 mode only.
23259 * elf/tst-rtld-load-self.sh: New test.
23260 * elf/Makefile: Run it.
23261
63bbedd4
JM
232622012-09-18 Joseph Myers <joseph@codesourcery.com>
23263
23264 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23265 (tst-writev-ENV): Remove.
23266 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23267
626f8b6a
CM
232682012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23269
23270 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23271
b7aaa4d6
JM
232722012-09-17 Joseph Myers <joseph@codesourcery.com>
23273
23274 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23275 unconditional.
23276 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23277 Likewise.
23278 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23279 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23280 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23281 Likewise.
23282
65513990
L
232832012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 [BZ #14587]
23286 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23287 * config.make.in (have-cpp-asm-debuginfo): Removed.
23288 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23289 * configure: Regenerated.
23290
784761be
JM
232912012-09-14 Joseph Myers <joseph@codesourcery.com>
23292
23293 [BZ #5044]
23294 * stdio-common/printf_fp.c: Include <stdbool.h> and
23295 <rounding-mode.h>.
23296 (___printf_fp): Determine rounding using get_rounding_mode and
23297 round_away.
23298 * stdio-common/tst-printf-round.c: New file.
23299 * stdio-common/Makefile (tests): Add tst-printf-round.
23300 (link-libm): New variable.
23301 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23302
9503345f
L
233032012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23304
23305 [BZ #14576]
23306 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23307 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23308 Likewise.
23309 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23310 Likewise.
23311
ad35fc00
JM
233122012-09-13 Joseph Myers <joseph@codesourcery.com>
23313
23314 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23315 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23316 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23317 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23318
6c9b0f68
JM
233192012-09-12 Joseph Myers <joseph@codesourcery.com>
23320
23321 [BZ #14518]
23322 * include/rounding-mode.h: New file.
23323 * sysdeps/generic/get-rounding-mode.h: Likewise.
23324 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23325 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23326 (MAX_VALUE): New macro.
23327 (MIN_VALUE): Likewise.
23328 (overflow_value): New function.
23329 (underflow_value): Likewise.
23330 (round_and_return): Use overflow_value and underflow_value to
23331 determine return values in overflow and underflow cases. Use
23332 round_away to determine rounding depending on rounding mode.
23333 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23334 determine return values in overflow and underflow cases.
23335 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23336 (struct test_results): New structure.
23337 (struct test): Use struct test_results to store expected results
23338 for all rounding modes.
23339 (TEST): Include expected results for all rounding modes.
23340 (test_in_one_mode): New function.
23341 (do_test): Use test_in_one_mode to compute and check results.
23342 Check results for all rounding modes.
23343 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23344 $(link-libm).
23345
19fcedd5
AM
233462012-12-09 Allan McRae <allan@archlinux.org>
23347
1e9d84cd 23348 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23349
8bbfd2f1
JM
233502012-09-11 Joseph Myers <joseph@codesourcery.com>
23351
23352 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23353 (_G_int32_t): Likewise.
23354 (_G_uint16_t): Likewise.
23355 (_G_uint32_t): Likewise.
23356 (_G_HAVE_BOOL): Likewise.
23357 (_G_HAVE_ATEXIT): Likewise.
23358 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23359 (_G_HAVE_IO_FILE_OPEN): Likewise.
23360 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23361 (_G_int32_t): Likewise.
23362 (_G_uint16_t): Likewise.
23363 (_G_uint32_t): Likewise.
23364 (_G_HAVE_BOOL): Likewise.
23365 (_G_HAVE_ATEXIT): Likewise.
23366 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23367 (_G_HAVE_IO_FILE_OPEN): Likewise.
23368 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23369 (_G_int32_t): Likewise.
23370 (_G_uint16_t): Likewise.
23371 (_G_uint32_t): Likewise.
23372 (_G_HAVE_BOOL): Likewise.
23373 (_G_HAVE_ATEXIT): Likewise.
23374 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23375 (_G_HAVE_IO_FILE_OPEN): Likewise.
23376
b1dc5912
L
233772012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23378
23379 * csu/libc-tls.c: Update copyright years.
23380
0e886ef9
JM
233812012-09-10 Joseph Myers <joseph@codesourcery.com>
23382
28361c5e
JM
23383 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23384 [!_G_USING_THUNKS]: Remove conditional code.
23385 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23386 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23387
0e886ef9
JM
23388 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23389 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23390 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23391 (_G_VTABLE_LABEL_PREFIX): Likewise.
23392 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23393 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23394 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23395 (_G_VTABLE_LABEL_PREFIX): Likewise.
23396 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23397 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23398 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23399 (_G_VTABLE_LABEL_PREFIX): Likewise.
23400 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23401
bcba7aa2
L
234022012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23403
23404 * libio/Makefile: Include ../Makeconfig before tests.
23405 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23406 only if $(build-shared) is yes.
23407
06585ee8
L
23408 * iconv/gconv_db.c: Update copyright years.
23409
80ccd52c
LD
234102012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23411
23412 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23413 unwind info if defined PIC. Fix special cases description.
23414 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23415
23416 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23417 DP_HI_MASK entry.
23418 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23419
691bc9c1
L
234202012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23421
3d9b46b3
L
23422 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23423
de2139a9
L
23424 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23425 is NULL.
23426
5ca78dd0
L
23427 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23428 (LDLIBS-tst-chk4): This.
23429 (LDFLAGS-tst-chk5): Renamed to ...
23430 (LDLIBS-tst-chk5): This.
23431 (LDFLAGS-tst-chk6): Renamed to ...
23432 (LDLIBS-tst-chk6): This.
23433 (LDFLAGS-tst-lfschk4): Renamed to ...
23434 (LDLIBS-tst-lfschk4): This.
23435 (LDFLAGS-tst-lfschk5): Renamed to ...
23436 (LDLIBS-tst-lfschk5): This.
23437 (LDFLAGS-tst-lfschk6): Renamed to ...
23438 (LDLIBS-tst-lfschk6): This.
23439
691bc9c1
L
23440 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23441 on $(common-objpfx)soversions.mk.
23442
65cafb1c
JM
234432012-09-07 Joseph Myers <joseph@codesourcery.com>
23444
23445 [BZ #10014]
23446 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23447 example host name.
23448
c78ab094
SP
234492012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23450
23451 * malloc/arena.c (arena_get_retry): New function that gets
23452 another arena for the caller to try its request on.
23453 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23454 current arena cannot fulfill the request.
23455 (__libc_memalign): Likewise.
23456 (__libc_memalign): Likewise.
23457 (__libc_pvalloc): Likewise.
23458 (__libc_calloc): Likewise.
23459
01f49f59
JT
234602012-09-05 John Tobey <john.tobey@gmail.com>
23461
23462 [BZ #13542]
23463 * manual/arith.texi (Operations on Complex): Fix description
23464 of carg branch cut.
23465
4c23fed5
JM
234662012-09-06 Joseph Myers <joseph@codesourcery.com>
23467
1d3c8572
JM
23468 [BZ #10014]
23469 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23470 host name.
23471
4c23fed5
JM
23472 [BZ #10038]
23473 * manual/memory.texi (Memory): Make order of menu items match
23474 order of sections.
23475
04570aaa
L
234762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23477
23478 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23479 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23480 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23481
b80af2f4
L
234822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23483
23484 * csu/libc-tls.c (static_dtv): Renamed to ...
23485 (_dl_static_dtv): This. Make it global.
23486 (_dl_initial_dtv): Removed.
23487 (__libc_setup_tls): Updated.
23488 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23489 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23490 DL_INITIAL_DTV.
23491
2abe9f15
PM
234922012-09-06 Petr Machata <pmachata@redhat.com>
23493
23494 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23495 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23496 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23497 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23498
0948c3af
L
234992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23500
23501 [BZ #14545]
23502 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23503 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23504 freeing dtv[-1].
23505
a5055ad1
L
235062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23507
23508 [BZ #14544]
23509 * Makeconfig (link-static-before-libc): Replace $(+prector)
23510 with $(+prectorT).
23511 (link-static-after-libc): Replace $(+postctor) with
23512 $(+postctorT).
23513 (link-bounded): Replace $(+prector)/$(+postctor) with
23514 $(+prectorT)/$(+postctorT).
23515 (+prectorT): New macro.
23516 (+postctorT): Likewise.
23517
ed8c2ecd
JM
235182012-09-06 Joseph Myers <joseph@codesourcery.com>
23519
23520 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23521 (round_str): Handle values above the maximum for IBM long double
23522 as inexact.
23523 * stdlib/tst-strtod-round.c (tests): Regenerated.
23524
14c996c8
AK
235252012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23526
23527 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23528 assembler flag.
23529 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23530 zarch_nohighgprs around the zarch optimized routines.
23531 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23532 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23533 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23534 for zarch.
23535
430d6ce6
DM
235362012-09-05 David S. Miller <davem@davemloft.net>
23537
23538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23539
ff04dda4
DM
23540 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23541 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23542 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23543 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23544 entries.
23545
24d4e01b
AO
235462012-09-05 Alexandre Oliva <aoliva@redhat.com>
23547
23548 * malloc/arena.c: Fold copyright years.
23549 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23550
61d58174
AO
235512012-09-05 Alexandre Oliva <aoliva@redhat.com>
23552
23553 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23554
20196a5e
AO
235552012-09-05 Alexandre Oliva <aoliva@redhat.com>
23556
23557 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23558
5c447383
AO
235592012-09-05 Alexandre Oliva <aoliva@redhat.com>
23560
23561 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23562 change internal state upon failure.
23563
fad64255
AO
235642012-09-05 Alexandre Oliva <aoliva@redhat.com>
23565
23566 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23567 * malloc/memusage.c (mmap): Likewise.
23568 (mmap64, mremap): Likewise. Adjust name in comment.
23569
1ffb8c90
SP
235702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23571
23572 * libio/fileops.c: Fix typos in comments.
23573 * libio/oldfileops.c: Likewise.
23574 * libio/wfileops.c: Likewise.
23575
6ef9cc37
SP
235762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23577
23578 [BZ #1349]
23579 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23580 (tst-malloc-usable-ENV): Set environment for test case.
23581 * malloc/hooks.c (malloc_check_get_size): New function to get
23582 requested size.
23583 * malloc/malloc.c (musable): Use malloc_check_get_size.
23584 * malloc/tst-malloc-usable.c: New test case.
23585
4d038ae3
AS
235862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23587
23588 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23589
c4e85184
AM
235902012-09-05 Allan McRae <allan@archlinux.org>
23591
b9dafc56 23592 [BZ #13966]
c4e85184
AM
23593 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23594 determine header location.
23595 * configure: Regenerated.
23596
e1343020
AS
235972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23598
23599 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23600 float format.
23601 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23602 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23603 format.
e1343020
AS
23604 (test): Regenerate.
23605
0a9f1987
DM
236062012-09-04 David S. Miller <davem@davemloft.net>
23607
23608 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23609 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23610 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23611
29237804
FW
236122012-09-04 Florian Weimer <fweimer@redhat.com>
23613
23614 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23615 failures.
23616
edb3cb88
FW
23617 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23618
60160d83
JM
236192012-09-04 Joseph Myers <joseph@codesourcery.com>
23620
23621 [BZ #9914]
23622 * libio/iogetdelim.c: Include <limits.h>.
23623 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23624 + len + 1 would overflow.
23625
bcd6c8dc
AJ
236262012-09-03 Andreas Jaeger <aj@suse.de>
23627
23628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23629 * sysdeps/i386/fpu/libm-test-ulps: Update.
23630
4ffffbd2
LD
236312012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23632
23633 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23634 Add s_sinf-sse2, s_conf-sse2.
23635
23636 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23637 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23638 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23639 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23640
23641 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23642 for using routine as __sinf_ia32.
23643 Use macro for function declaration and weak_alias.
23644 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23645 for using routine as __cosf_ia32.
23646 Use macro for function declaration and weak_alias.
23647
23648 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23649 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23650
23651 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23652 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23654
23655 * math/libm-test.inc (cos_test): Add more test cases.
23656 (sin_test): Likewise.
23657 (sincos_test): Likewise.
23658
511fa286
AK
236592012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23660
23661 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23662 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23663 hidden.
23664 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23665
5f30cfec
L
236662012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23667
23668 [BZ #14538]
23669 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23670 first element of the GOT.
23671 (elf_machine_load_address): Return the difference between
23672 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23673
0786794f
AM
236742012-09-01 Allan McRae <allan@archlinux.org>
23675
5f30cfec
L
23676 [BZ #13412]
23677 * configure.in (AWK): Require gawk version 3.0 or later.
23678 * configure: Regenerated.
0786794f 23679
26889eac
JM
236802012-09-01 Joseph Myers <joseph@codesourcery.com>
23681
23682 * sysdeps/unix/sysv/linux/kernel-features.h
23683 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23684 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23685 [__NR_clock_getres]: Make code unconditional.
23686 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23687 (clock_getcpuclockid): Remove code left unreachable by removal of
23688 conditionals.
23689 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23690 code unconditional.
23691 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23692 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23693 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23694 Make code unconditional.
23695 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23696 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23697 * sysdeps/unix/sysv/linux/clock_settime.c
23698 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23699 conditional code.
23700 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23701 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23702
d22e28b0
L
237032012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23704
23705 [BZ #14476]
23706 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23707 scripts/test-installation.pl.
23708
23709 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23710 and $ld_so_version if it is set.
23711
050af9c4
SP
237122012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23713
23714 [BZ #14516]
23715 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23716 failure if reading from procfs failed.
23717 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23718
ad845c0b
JM
237192012-08-27 Joseph Myers <joseph@codesourcery.com>
23720
23721 * sysdeps/unix/sysv/linux/kernel-features.h
23722 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23723 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23724 Remove conditional code.
23725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23726 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23727 Remove conditional code.
23728 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23729 * sysdeps/unix/sysv/linux/i386/fxstat.c
23730 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23731 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23732 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23733 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23734 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23735 * sysdeps/unix/sysv/linux/i386/lxstat.c
23736 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23738 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23739 Remove conditional code.
23740 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23741 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23742 Remove conditional code.
23743 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23744 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23745 <kernel-features.h>.
23746 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23747 Remove.
23748 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23749 Remove conditional code.
23750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23751 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23752 Remove conditional.
23753
5dbf56af
MF
237542012-08-27 Mike Frysinger <vapier@gentoo.org>
23755
23756 [BZ #5400]
23757 * NEWS: Add fixed bug number.
23758
d6e70f43
JM
237592012-08-27 Joseph Myers <joseph@codesourcery.com>
23760
7efb4737
JM
23761 [BZ #14519]
23762 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23763 underflowing exponent in case of negative sign.
23764 * stdlib/tst-strtod-round-data: Add more tests.
23765 * stdlib/tst-strtod-round.c (tests): Regenerated.
23766
af92131a
JM
23767 [BZ #3479]
23768 * stdlib/strtod_l.c (NDIG): Remove.
23769 (HEXNDIG): Likewise.
23770 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23771 smallest representable value.
23772 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23773 lie within an exact representation of 1/2 ulp of the result.
23774 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23775 unconditionally.
23776 (TENS_P9_IDX): Define unconditionally.
23777 (TENS_P9_SIZE): Likewise.
23778 (TENS_P10_IDX): Likewise.
23779 (TENS_P10_SIZE): Likewise.
23780 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23781 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23782 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23783 entries for 10^2^13 and 10^2^14.
23784 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23785 (TENS_P13_IDX): Define.
23786 (TENS_P13_SIZE): Likewise.
23787 (TENS_P14_IDX): Likewise.
23788 (TENS_P14_SIZE): Likewise.
23789 (_fpioconst_pow10): Change array size to
23790 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23791 unconditional.
23792 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23793 1024]: Add entries for 10^2^13 and 10^2^14.
23794 [LAST_POW10 > _LAST_POW10]: Remove #error.
23795 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23796 (_fpioconst_pow10): Change array size to
23797 FPIOCONST_POW10_ARRAY_SIZE.
23798 * stdlib/gen-fpioconst.c: New file.
23799 * stdlib/gen-tst-strtod-round.c: Likewise.
23800 * stdlib/tst-strtod-round-data: Likewise.
23801 * stdlib/tst-strtod-round.c: Likewise.
23802 * stdlib/Makefile (tests): Add tst-strtod-round.
23803
d6e70f43
JM
23804 [BZ #14459]
23805 * stdlib/strtod_l.c: Include <stdint.h>.
23806 (NDEBUG): Do not define.
23807 (round_and_return): Change EXPONENT parameter to type intmax_t.
23808 Rearrange calculations to avoid internal overflow possibilities.
23809 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23810 Rearrange calculations to avoid internal overflow possibilities.
23811 Assert that number fits inside MPNSIZE limbs.
23812 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23813 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23814 calculations and add assertions to avoid internal overflow
23815 possibilities. Add casts to avoid signed/unsigned operations.
23816 * stdlib/tst-strtod-overflow.c: New file.
23817 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23818
1f529f7d
MP
238192012-08-25 Marek Polacek <polacek@redhat.com>
23820
23821 * time/time.h: Fix some typos in comments.
23822
59a629f1
RM
238232012-08-23 Roland McGrath <roland@hack.frob.com>
23824
23825 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23826 * posix/tst-rfc3484-2.c: Likewise.
23827 * posix/tst-rfc3484-3.c: Likewise.
23828
d3bafbc9
SM
238292012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23830
23831 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23832 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23833
4efcc022
JM
238342012-08-23 Joseph Myers <joseph@codesourcery.com>
23835
23836 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23837 #include of fxstatat64.c.
23838
3cc3ef96
RM
238392012-08-22 Roland McGrath <roland@hack.frob.com>
23840
f04e2132
RM
23841 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23842 * shadow/getspent_r.c: Likewise.
23843 * shadow/getspnam.c: Likewise.
23844 * shadow/getspnam_r.c: Likewise.
23845 * gshadow/getsgent.c: Likewise.
23846 * gshadow/getsgent_r.c: Likewise.
23847 * gshadow/getsgnam.c: Likewise.
23848 * gshadow/getsgnam_r.c: Likewise.
23849 * inet/getnetbyad.c: Likewise.
23850 * inet/getnetbyad_r.c: Likewise.
23851 * inet/getnetbynm.c: Likewise.
23852 * inet/getnetbynm_r.c: Likewise.
23853 * inet/getnetent.c: Likewise.
23854 * inet/getnetent_r.c: Likewise.
23855 * inet/getproto.c: Likewise.
23856 * inet/getproto_r.c: Likewise.
23857 * inet/getprtent.c: Likewise.
23858 * inet/getprtent_r.c: Likewise.
23859 * inet/getprtname.c: Likewise.
23860 * inet/getprtname_r.c: Likewise.
23861 * inet/getrpcbyname.c: Likewise.
23862 * inet/getrpcbyname_r.c: Likewise.
23863 * inet/getrpcbynumber.c: Likewise.
23864 * inet/getrpcbynumber_r.c: Likewise.
23865 * inet/getrpcent.c: Likewise.
23866 * inet/getrpcent_r.c: Likewise.
23867 * inet/getaliasent.c: Likewise.
23868 * inet/getaliasent_r.c: Likewise.
23869 * inet/getaliasname.c: Likewise.
23870 * inet/getaliasname_r.c: Likewise.
23871 * nscd/getgrgid_r.c: Likewise.
23872 * nscd/getgrnam_r.c: Likewise.
23873 * nscd/gethstbyad_r.c: Likewise.
23874 * nscd/gethstbynm3_r.c: Likewise.
23875 * nscd/getpwnam_r.c: Likewise.
23876 * nscd/getpwuid_r.c: Likewise.
23877 * nscd/getsrvbynm_r.c: Likewise.
23878 * nscd/getsrvbypt_r.c: Likewise.
23879 * nscd/gai.c: Likewise.
23880
c53d909c
RM
23881 * configure.in (build_nscd): New substituted variable, set
23882 by --disable-build-nscd and defaults to $use_nscd.
23883 * configure: Regenerated.
23884 * config.make.in (build-nscd): New substituted variable.
23885 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23886 Change conditional to require [$(build-nscd) = yes] as well.
23887 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23888
3cc3ef96
RM
23889 [BZ# 13696]
23890 * configure.in (use_nscd): New substituted variable, set by
23891 --disable-nscd. If enabled, define USE_NSCD.
23892 * configure: Regenerated.
23893 * config.h.in: Add USE_NSCD.
23894 * config.make.in (use-nscd): New substituted variable.
23895 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23896 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23897 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23898 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23899 (CFLAGS-getgrnam_r.c): Likewise.
23900 (CFLAGS-initgroups.c): Likewise.
23901 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23902 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23903 Variables removed.
23904 * inet/getnetgrent_r.c
23905 (nscd_setnetgrent): New function, broken out of ...
23906 (setnetgrent): ... here. Call it.
23907 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23908 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23909 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23910 * nscd/Makefile (routines, aux): Move definitions after include of
23911 Makeconfig. Conditionalize on [$(use-nscd) != no].
23912 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23913 Conditionalize on [USE_NSCD].
23914 (is_nscd, nscd_init_cb): Likewise.
23915 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23916 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23917 * nss/nss_db/db-init.c: Likewise.
23918 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23919 [USE_NSCD].
23920 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23921 (make_request): Use it.
23922 (cache_valid_p): New function.
23923 (__check_pf): Use it.
23924 * NEWS: Add item for --disable-nscd.
23925
07e51550
DL
239262012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23927
23928 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23929 to support sed >= 4.2.1-20-ga9bf076.
23930 * configure: Regenerated.
23931
35a5b08b
RM
239322012-08-22 Roland McGrath <roland@hack.frob.com>
23933
23934 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23935 Conditionalize whole body on [IREL].
23936
8479f23a
JL
239372012-08-22 Jeff Law <law@redhat.com>
23938
23939 [BZ #14505]
23940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23941 if the family is PF_UNSPEC.
23942
48da0b21
MF
239432012-08-22 Mike Frysinger <vapier@gentoo.org>
23944
23945 * Makerules (lib-version): Rename from V.
23946 (install-lib-nosubdir): Change V to lib-version.
23947
15d0da8c
WS
239482012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23949
23950 [BZ #14252]
23951 * powerpc32/power6/wcschr.c: New file.
23952 * powerpc32/power6/wcscpy.c: New file.
23953 * powerpc32/power6/wcsrchr.c: New file.
23954 * powerpc64/power6/wcschr.c: New file.
23955 * powerpc64/power6/wcscpy.c: New file.
23956 * powerpc64/power6/wcsrchr.c: New file.
23957
bcca0895
MK
239582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23959
23960 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23961 (two_way_short_needle): Use it.
5a4aaa33
RM
23962 * string/strstr.c (AVAILABLE1_USES_J): Define.
23963 * string/strcasestr.c: Likewise.
99677e57
MK
23964
23965 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23966 array references.
23967 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23968
400726de
MK
23969 [BZ #11607]
23970 * NEWS: Add an entry.
23971 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23972 define their defaults.
23973 (two_way_short_needle): Detect end-of-string on-the-fly.
23974 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23975 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23976 * string/bug-strcasestr1.c: New test.
23977 * string/Makefile: Run it.
23978
20a71f2c
MK
239792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23980
23981 [BZ #11607]
23982 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23983 the first character.
23984
21ad0558
RM
239852012-08-21 Roland McGrath <roland@hack.frob.com>
23986
23987 * csu/elf-init.c (__libc_csu_irel): Function removed.
23988 * csu/libc-start.c (apply_irel): New function.
23989 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23990
0e1d9911
JM
239912012-08-21 Joseph Myers <joseph@codesourcery.com>
23992
23993 * sysdeps/unix/sysv/linux/kernel-features.h
23994 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23995 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23996 <kernel-features.h>.
23997 [__NR_fadvise64_64]: Make code unconditional.
23998 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23999 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24000 !__NR_fadvise64_64)]: Likewise.
24001 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24002 !__NR_fadvise64_64))]: Likewise.
24003 [__NR_fadvise64]: Make code unconditional.
24004 [!__NR_fadvise64]: Remove conditional code.
24005 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24006 <kernel-features.h>.
24007 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24008 unconditional.
24009 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24010 conditional code.
24011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24012 not include <kernel-features.h>.
24013 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24014 unconditional.
24015 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24016 conditional code.
24017 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24018 include <kernel-features.h>.
24019 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24020 unconditional.
24021 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24022 conditional code.
24023
14a50c9d
WS
240242012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24025
24026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24027 slight instruction rearrangements per scrollpipe analysis.
24028 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24029
c0f4faf0
RM
240302012-08-20 Roland McGrath <roland@hack.frob.com>
24031
696da859
RM
24032 * manual/syslog.texi (syslog; vsyslog, closelog):
24033 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24034 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24035
c0f4faf0
RM
24036 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24037 DSOCAPS to match condition on defining it.
24038
348363b2
JM
240392012-08-20 Joseph Myers <joseph@codesourcery.com>
24040
a35cbf28
JM
24041 * sysdeps/unix/sysv/linux/kernel-features.h
24042 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24044 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24045 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24047 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24048 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24050 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24051 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24052
445f7ecd
JM
24053 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24054 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24055
348363b2
JM
24056 * sysdeps/unix/sysv/linux/kernel-features.h
24057 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24058 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24059 unconditional.
24060 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24061 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24062 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24063 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24064 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24065 Make code unconditional.
24066 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24067 (__mmap64) [!__NR_mmap2]: Likewise.
24068 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24069 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24070 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24071 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24072 [__NR_mmap2]: Make code unconditional.
24073 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24074 (__mmap64) [!__NR_mmap2]: Likewise.
24075
bc5bc0e5
AK
240762012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24077
24078 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24079
88d506de
AJ
240802012-08-18 Andreas Jaeger <aj@suse.de>
24081
24082 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24083
493387d2
MF
240842012-08-18 Mike Frysinger <vapier@gentoo.org>
24085
24086 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24087 * include/unistd.h (__have_sock_cloexec): Likewise.
24088 (__have_pipe2): Likewise.
24089 (__have_dup3): Likewise.
24090
a277af22
MF
240912012-08-18 Mike Frysinger <vapier@gentoo.org>
24092
24093 [BZ #9685]
24094 * include/unistd.h (__have_pipe2): Change define into an extern int.
24095 (__have_dup3): Likewise.
24096 * socket/have_sock_cloexec.c: Include fcntl.h.
24097 (__have_pipe2): New variable.
24098 (__have_dup3): Likewise.
24099
fdab8fd3
MF
241002012-08-17 Mike Frysinger <vapier@gentoo.org>
24101
24102 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24103
31035e80
MP
241042012-08-17 Marek Polacek <polacek@redhat.com>
24105
24106 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24107 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24108
3bd9e993
RM
241092012-08-17 Roland McGrath <roland@hack.frob.com>
24110
c91c505f
RM
24111 * configure.in: Add AC_SUBST for sysheaders.
24112 * configure: Regenerated.
24113 * config.make.in (sysheaders): New substituted variable.
24114
7c6f9d53
RM
24115 * sysdeps/unix/mkfifo.c: Moved ...
24116 * sysdeps/posix/mkfifo.c: ... here.
24117 * sysdeps/unix/mkfifoat.c: Moved ...
24118 * sysdeps/posix/mkfifoat.c: ... here.
24119
24120 * sysdeps/unix/utime.c: Moved ...
24121 * sysdeps/posix/utime.c: ... here.
24122
24123 * sysdeps/unix/time.c: Moved ...
24124 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24125 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24126 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24127
24128 * sysdeps/unix/nice.c: Moved ...
24129 * sysdeps/posix/nice.c: ... here.
24130
24131 * sysdeps/unix/alarm.c: Moved ...
24132 * sysdeps/posix/alarm.c: ... here.
24133
3bd9e993
RM
24134 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24135
d1f09384
JL
241362012-08-17 Jeff Law <law@redhat.com>
24137
24138 * intl/Makefile (codeset_mo): New variable.
24139 ($(codeset_mo)): New target.
24140 (tst-codeset.out): Depend on that. Remove explicit rule.
24141 (tst-gettext3.out, tst-gettext5.out): Likewise.
24142 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24143 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24144 * intl/tst-codeset.sh: Remove.
24145 * intl/tst-gettext3.sh: Likewise.
24146 * intl/tst-gettext5.sh: Likewise.
24147
2ae1ae5c
RM
241482012-08-17 Roland McGrath <roland@hack.frob.com>
24149
c31fdb83
RM
24150 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24151 * sysdeps/unix/syscalls.list: ... here.
24152
a0844057
RM
24153 * sysdeps/posix/getaddrinfo.c
24154 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24155 (gaiconf_init, gaiconf_reload): Use them.
24156 [!_STATBUF_ST_NSEC]
24157 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24158 Define using time_t rather than struct timespec.
24159
750c1f2a
RM
24160 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24161 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24162 Macros removed.
24163 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24164 [!NO_THREADS].
24165 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24166 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24167 Likewise.
24168
2ae1ae5c
RM
24169 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24170 __libc_cleanup_push argument.
24171
e66a42f5
RM
24172 * bits/param.h: New file.
24173 * misc/sys/param.h: New file.
24174 * include/sys/param.h: New file.
24175 * misc/Makefile (headers): Add bits/param.h.
24176 * sysdeps/generic/sys/param.h: File removed.
24177 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24178 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24179 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24180 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24181
b7c08a66
RM
24182 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24183 last change.
24184
b2e1c562
RM
24185 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24186 [_IO_MTSAFE_IO].
24187 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24188 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24189 New macros.
24190
c75ccd4c
RM
24191 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24192 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24193 rather than -D_IO_MTSAFE_IO conditionally.
24194 * stdio-common/Makefile (CPPFLAGS): Likewise.
24195 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24196 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24197 Use $(libio-mtsafe).
24198 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24199 of -D_IO_MTSAFE_IO.
24200 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24201 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24202 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24203 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24204 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24205 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24206 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24207 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24208 (CFLAGS-fread_u_chk.c): Likewise.
24209 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24210 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24211 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24212 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24213 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24214 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24215 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24216 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24217 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24218
24219 * libio/Makefile: Test [$(libc-reentrant) = yes]
24220 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24221
24222 * Makeconfig
24223 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24224 * sysdeps/pthread/configure: File removed.
24225 * sysdeps/pthread/Makeconfig: New file.
24226 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24227 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24228
d9195db8
GB
242292012-08-16 Gary Benson <gbenson@redhat.com>
24230
24231 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24232 unmapping the first object in a namespace.
24233
86466cd9
RM
242342012-08-16 Roland McGrath <roland@hack.frob.com>
24235
24236 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24237 (__internal_setnetgrent): ... this. Add internal_function to
24238 definition. Add libc_hidden_def.
24239 (setnetgrent): Update caller.
24240 (internal_endnetgrent): Renamed to ...
24241 (__internal_endnetgrent): ... this. Add internal_function to
24242 definition. Add libc_hidden_def.
24243 (endnetgrent): Update caller.
24244 (internal_getnetgrent_r): Renamed to ...
24245 (__internal_getnetgrent_r): ... this. Add internal_function to
24246 definition. Add libc_hidden_def.
24247 (__getnetgrent_r): Update caller.
24248 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24249
c3c8283c
JM
242502012-08-16 Joseph Myers <joseph@codesourcery.com>
24251
24252 * stdlib/longlong.h: Update from GCC.
24253
db1ee0a8
RM
242542012-08-16 Roland McGrath <roland@hack.frob.com>
24255
24256 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24257 on _QL, which is set by umul_ppmm but never used.
24258 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24259 variables, which are set by GMP macros but never used.
24260 * stdio-common/_itowa.c (_itowa): Likewise.
24261 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24262 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24263
30f69637
CD
242642012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24265
24266 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24267 struct La_sh_regs is not constant.
24268 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24269 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24270 and struct La_sparc64_regs are not constant.
24271
93a78ac4
JM
242722012-08-16 Joseph Myers <joseph@codesourcery.com>
24273
24274 * sysdeps/unix/sysv/linux/kernel-features.h
24275 (__ASSUME_POSIX_TIMERS): Remove.
24276 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24277 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24278 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24279 Make code unconditional.
24280 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24281 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24282 Make code unconditional.
24283 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24284 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24285 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24286 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24287 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24288 Make code unconditional.
24289 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24290 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24291 (__libc_missing_posix_timers): Remove.
24292
dd924cd7
RM
242932012-08-15 Roland McGrath <roland@hack.frob.com>
24294
4b4f2771
RM
24295 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24296 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24297
601c888b
RM
24298 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24299
176790a7
RM
24300 * elf/dl-sym.c: Include <stdlib.h>.
24301
329bc018
RM
24302 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24303 constants, which avoids warnings in 32-bit builds.
24304
e04e272d
RM
24305 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24306 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24307
952bf94a
RM
24308 * misc/lseek.c: File moved to ...
24309 * io/lseek.c: ... here.
24310
7c99b50a
RM
24311 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24312
dd924cd7
RM
24313 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24314 shifting LEN more than 31 bits at once.
24315
b3f479a8
LD
243162012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24317
24318 [BZ #14195]
8c4ae0d4
RM
24319 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24320 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24321 * string/test-strncasecmp.c (check1): Renamed to...
24322 (bz12205): ...this.
24323 (bz14195): Add new testcase for two empty input strings and N > 0.
24324 (test_main): Call new testcase, adapt for renamed function.
24325
9c55864e
AJ
243262012-08-15 Andreas Jaeger <aj@suse.de>
24327
24328 [BZ #14090]
24329 * crypt/md5test2.c: New test, based on test supplied by Serge
24330 Belyshev <belyshev@depni.sinp.msu.ru>.
24331 * crypt/Makefile (xtests): Add md5test-giant..
24332 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24333
02dcb6c5
PE
243342012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24335
24336 [BZ #14090]
24337 * crypt/md5.c (md5_process_block): Don't assume the buffer
24338 length is less than 2**32.
24339 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24340 length is less than 2**64.
24341
a3f95dcc
RM
243422012-08-15 Roland McGrath <roland@hack.frob.com>
24343
be75d758
RM
24344 * string/str-two-way.h: Include <sys/param.h>.
24345 (MAX): Macro removed.
24346
7312ca90
RM
24347 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24348 Move #define and #undef of memmove to just before and after
24349 including <string.h>.
24350
9a0a5486
RM
24351 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24352 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24353 and after including <string.h>. Move declarations of
24354 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24355 to before #include "string/memmove.c".
24356
67cc348d
RM
24357 * include/dirent.h: Declare __getdirentries.
24358
a3f95dcc
RM
24359 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24360 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24361
ca98e171
MF
243622012-08-14 Mike Frysinger <vapier@gentoo.org>
24363
24364 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24365 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24366 * sysdeps/i386/configure: Regenerated.
24367 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24368 STABS_CURRENT_FILE, and STABS_FUN.
24369 (END): Remove call to STABS_FUN_END.
24370 (STABS_CURRENT_FILE1): Delete.
24371 (STABS_CURRENT_FILE): Likewise.
24372 (STABS_FUN): Likewise.
24373 (STABS_FUN_END): Likewise.
24374 (STABS_FUN2): Likewise.
24375 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24376 * sysdeps/x86_64/configure: Regenerated.
24377
5908bf46
RM
243782012-08-14 Roland McGrath <roland@hack.frob.com>
24379
24380 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24381 * elf/dl-lookup.c: Likewise.
5908bf46 24382
f2c05b9e
JM
243832012-08-14 Joseph Myers <joseph@codesourcery.com>
24384
24385 * sysdeps/unix/sysv/linux/kernel-features.h
24386 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24387 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24388 unconditionally.
24389 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24390 unconditionally.
24391 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24392 condition on __ASSUME_CLONE_THREAD_FLAGS.
24393
e11f5155
AJ
243942012-08-14 Andreas Jaeger <aj@suse.de>
24395
24396 * sysdeps/i386/fpu/libm-test-ulps: Update.
24397
51a9ba86
MK
243982012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24399
2fdd4f78
AJ
24400 * include/atomic.h (atomic_exchange_and_add): Split into ...
24401 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24402 New atomic macros.
51a9ba86 24403
ba6cba9e
MT
244042012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24405
24406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24407
42443a47
JL
244082012-08-13 Jeff Law <law@redhat.com>
24409
24410 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24411 null byte in the output string.
24412
121dce05
JM
244132012-08-10 Joseph Myers <joseph@codesourcery.com>
24414
24415 * sysdeps/unix/sysv/linux/kernel-features.h
24416 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24417 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24418 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24419 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24420 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24421 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24422 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24423
bf51f568
JL
244242012-08-09 Jeff Law <law@redhat.com>
24425
24426 [BZ #13939]
24427 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24428 When avoid_arena is set, don't retry in the that arena. Pick the
24429 next one, whatever it might be.
24430 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24431 (arena_lock): Pass in new parameter to arena_get2.
24432 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24433 arena_get2.
24434 (__libc_malloc): Unify retrying after main arena failure with
24435 __libc_memalign version.
24436 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24437
f85fa270
L
244382012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24439
24440 [BZ #14166]
24441 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24442 to __redirect_strstr.
24443 (__strstr_sse42): Use typeof __redirect_strstr.
24444 (__strstr_ia32): Likewise.
24445 (__libc_strstr): New prototype.
24446 (strstr): Renamed to ...
24447 (__libc_strstr): This.
24448 (strstr): New strong alias of __libc_strstr.
24449 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24450 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24451 __redirect_time.
24452 Include <time.h>.
24453 (__libc_time): New prototype.
24454 (time_ifunc): Replace time with __libc_time.
24455 (time): New strong alias and hidden definition of __libc_time.
24456 (__GI_time): Remove strong alias.
24457 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24458 Include <stddef.h>.
24459 (memmove): Redefined to __redirect_memmove.
24460 (__memmove_sse2): Use typeof __redirect_memmove.
24461 (__memmove_ssse3): Likewise.
24462 (__memmove_ssse3_back): Likewise.
24463 (__libc_memmove): New prototype.
24464 (memmove): Renamed to ...
24465 (__libc_memmove): This.
24466 (memmove): New strong alias of __libc_memmove.
24467
33b4a91e
MS
244682012-08-08 Mark Salter <msalter@redhat.com>
24469
24470 * elf/elf.h
24471 (R_MN10300_TLS_GD): Define.
24472 (R_MN10300_TLS_LD): Likewise.
24473 (R_MN10300_TLS_LDO): Likewise.
24474 (R_MN10300_TLS_GOTIE): Likewise.
24475 (R_MN10300_TLS_IE): Likewise.
24476 (R_MN10300_TLS_LE): Likewise.
24477 (R_MN10300_TLS_DTPMOD): Likewise.
24478 (R_MN10300_TLS_DTPOFF): Likewise.
24479 (R_MN10300_TLS_TPOFF): Likewise.
24480 (R_MN10300_SYM_DIFF): Likewise.
24481 (R_MN10300_ALIGN): Likewise.
24482 (R_MN10300_NUM): Update.
24483
b36137f1
JM
244842012-08-08 Joseph Myers <joseph@codesourcery.com>
24485
24486 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24487 Remove.
24488
cdd915fd
RM
244892012-08-08 Roland McGrath <roland@hack.frob.com>
24490
a2433aac
RM
24491 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24492
cdd915fd
RM
24493 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24494 sysdeps/unix -> sysdeps/posix move.
24495 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24496
bf9b740a
AM
244972012-08-07 Allan McRae <allan@archlinux.org>
24498
24499 [BZ #14303]
24500 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24501 (SUNOS_CPP): Likewise.
24502 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24503 not found.
24504 (open_input): Call CPP using execvp.
24505
93df14ee
JM
245062012-08-07 Joseph Myers <joseph@codesourcery.com>
24507
24508 * sysdeps/unix/sysv/linux/kernel-features.h
24509 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24510 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24511 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24512 (__ASSUME_WAITID_SYSCALL): Likewise.
24513 * sysdeps/unix/sysv/linux/dl-execstack.c
24514 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24515 code unconditional.
24516 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24517 conditional code.
24518 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24519 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24520 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24521 code.
24522 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24523 unconditional.
24524 [__ASSUME_WAITID_SYSCALL]: Likewise.
24525 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24526
d34689de
RM
245272012-08-07 Roland McGrath <roland@hack.frob.com>
24528
a281decc
RM
24529 * sysdeps/unix/closedir.c: Renamed to ...
24530 * sysdeps/posix/closedir.c: ... here.
24531 * sysdeps/unix/dirfd.c: Renamed to ...
24532 * sysdeps/posix/dirfd.c: ... here.
24533 * sysdeps/unix/dirstream.h: Renamed to ...
24534 * sysdeps/posix/dirstream.h: ... here.
24535 * sysdeps/unix/fdopendir.c: Renamed to ...
24536 * sysdeps/posix/fdopendir.c: ... here.
24537 * sysdeps/unix/opendir.c: Renamed to ...
24538 * sysdeps/posix/opendir.c: ... here.
24539 * sysdeps/unix/readdir.c: Renamed to ...
24540 * sysdeps/posix/readdir.c: ... here.
24541 * sysdeps/unix/readdir_r.c: Renamed to ...
24542 * sysdeps/posix/readdir_r.c: ... here.
24543 * sysdeps/unix/rewinddir.c: Renamed to ...
24544 * sysdeps/posix/rewinddir.c: ... here.
24545 * sysdeps/unix/seekdir.c: Renamed to ...
24546 * sysdeps/posix/seekdir.c: ... here.
24547 * sysdeps/unix/telldir.c: Renamed to ...
24548 * sysdeps/posix/telldir.c: ... here.
24549 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24550 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24551 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24552 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24553
22895b47
RM
24554 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24555 * bits/fcntl.h: ... here.
24556
707a53b6
RM
24557 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24558 not 0.
24559 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24560 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24561 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24562 (struct flock): Move l_start, l_len to the beginning.
24563 Use __pid_t for l_pid.
24564 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24565 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24566 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24567 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24568 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24569 [__USE_LARGEFILE64] (struct flock64): New type.
24570 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24571
f0bd3e25
RM
24572 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24573 * bits/dirent.h: ... here.
24574
d34689de
RM
24575 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24576 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24577
6dad2c06
JM
245782012-08-07 Joseph Myers <joseph@codesourcery.com>
24579
24580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24581 Change from 2.6.0 to 2.6.16.
24582 * sysdeps/unix/sysv/linux/configure: Regenerated.
24583 * sysdeps/unix/sysv/linux/kernel-features.h
24584 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24585 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24586 version.
24587 (__ASSUME_UTIMES): Likewise.
24588 (__ASSUME_CLONE_STOPPED): Remove.
24589 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24590 architectures, not kernel version.
24591 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24592 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24593 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24594 (__ASSUME_WAITID_SYSCALL): Likewise.
24595 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24596 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24597 * README: State 2.6.16 as minimum Linux kernel version. Do not
24598 refer to older versions.
24599
03af9520
RM
246002012-08-06 Roland McGrath <roland@hack.frob.com>
24601
8e49df1d
RM
24602 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24603 Define alphasort64 as an alias.
24604 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24605 Define versionsort64 as an alias.
24606 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24607 Define scandir64 as an alias.
24608 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24609 Define scandirat64 as an alias.
24610 * dirent/alphasort64.c (alphasort64):
24611 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24612 * dirent/versionsort64.c: Likewise.
24613 * dirent/scandir64.c: Likewise.
24614 * dirent/scandirat64.c: Likewise.
24615 * sysdeps/wordsize-64/alphasort.c: File removed.
24616 * sysdeps/wordsize-64/alphasort64.c: File removed.
24617 * sysdeps/wordsize-64/scandir.c: File removed.
24618 * sysdeps/wordsize-64/scandir64.c: File removed.
24619 * sysdeps/wordsize-64/scandirat.c: File removed.
24620 * sysdeps/wordsize-64/scandirat64.c: File removed.
24621 * sysdeps/wordsize-64/versionsort.c: File removed.
24622 * sysdeps/wordsize-64/versionsort64.c: File removed.
24623 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24624 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24625 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24626 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24627 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24628 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24629 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24630 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24631
24632 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24634 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24635 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24636 [defined __arch64__ || defined __sparcv9]
24637 (__INO_T_MATCHES_INO64_T): New macro.
24638 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24639 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24640 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24641 * sysdeps/unix/sysv/linux/bits/dirent.h
24642 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24643 (_DIRENT_MATCHES_DIRENT64): New macro.
24644
03af9520
RM
24645 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24646 Define lockf64 as an alias.
24647 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24648 Define fseeko64 as an alias.
24649 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24650 Define ftello64 as an alias.
24651 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24652 Define _IO_fgetpos64 and fgetpos64 as aliases.
24653 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24654 Define _IO_fsetpos64 and fsetpos64 as aliases.
24655 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24656 Conditionalize body on this.
24657 * libio/fseeko64.c: Likewise.
24658 * libio/ftello64.c: Likewise.
24659 * libio/iofgetpos64.c: Likewise.
24660 * libio/iofsetpos64.c: Likewise.
24661 * sysdeps/wordsize-64/lockf.c: File removed.
24662 * sysdeps/wordsize-64/lockf64.c: File removed.
24663 * sysdeps/wordsize-64/fseeko.c: File removed.
24664 * sysdeps/wordsize-64/fseeko64.c: File removed.
24665 * sysdeps/wordsize-64/ftello.c: File removed.
24666 * sysdeps/wordsize-64/ftello64.c: File removed.
24667 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24668 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24669 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24670 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24671 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24672 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24673 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24674 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24675 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24676 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24677 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24678 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24679 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24680 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24681
24682 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24684 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24686 [defined __arch64__ || defined __sparcv9]
24687 (__OFF_T_MATCHES_OFF64_T): New macro.
24688 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24689 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24691 (__OFF_T_MATCHES_OFF64_T): New macro.
24692
c5757acd
L
246932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24694
24695 * stdlib/secure-getenv.c (__secure_getenv): Replace
24696 GLIBC_2_16 with GLIBC_2_17.
24697
3a31811e
L
246982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24699
24700 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24701 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24702
faa2bccb
DM
247032012-08-03 David S. Miller <davem@davemloft.net>
24704
24705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24706
85fe1997
JM
247072012-08-03 Joseph Myers <joseph@codesourcery.com>
24708
24709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24710 Remove.
24711 (__ASSUME_CORRECT_SI_PID): Likewise.
24712 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24713 (__ASSUME_TMPFS_NAME): Likewise.
24714 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24715 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24716 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24717 (HAVE_AUX_SECURE): Make definition unconditional.
24718 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24719 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24720
4f75b7a0
RM
247212012-08-03 Roland McGrath <roland@hack.frob.com>
24722
24723 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24724 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24725 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24726 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24727 __eloop_threshold instead of SYMLOOP_MAX.
24728
24729 * sysdeps/generic/eloop-threshold.h: New file.
24730 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24731 of MAXSYMLINKS.
24732 * elf/chroot_canon.c (chroot_canon): Likewise.
24733
7aab07e4
JM
247342012-08-03 Joseph Myers <joseph@codesourcery.com>
24735
24736 [BZ #13717]
24737 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24738 Change to 2.6.0 everywhere.
24739 * sysdeps/unix/sysv/linux/configure: Regenerated.
24740 * sysdeps/unix/sysv/linux/kernel-features.h
24741 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24742 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24743 kernel versions.
24744 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24745 (__ASSUME_FUTEX_REQUEUE): Remove.
24746 (__ASSUME_STATFS64): Define unconditionally.
24747 (__ASSUME_AT_SECURE): Likewise.
24748 (__ASSUME_CORRECT_SI_PID): Likewise.
24749 (__ASSUME_TGKILL): Define without depending on kernel version for
24750 i386.
24751 (__ASSUME_UTIMES): Likewise.
24752 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24753 kernel version.
24754 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24755 (__ASSUME_TMPFS_NAME): Likewise.
24756 * README: Update reference to Linux kernel versions.
24757
b67e9372
MP
247582012-08-02 Marek Polacek <polacek@redhat.com>
24759
1f529f7d 24760 [BZ# 14150]
b67e9372
MP
24761 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24762 libc_cv_asm_type_prefix with %.
24763 * configure: Regenerated.
d2441631
RM
24764 * include/libc-symbols.h: Remove comment about
24765 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24766 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24767 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24768 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24769 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24770 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24771 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24772 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24773 * elf/tst-unique2mod1.c: Likewise.
24774 * elf/tst-unique1mod2.c: Likewise.
24775 * elf/tst-unique1mod1.c: Likewise.
24776 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24777 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24778 Replace ASM_TYPE_DIRECTIVE with .type.
24779 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24780 * sysdeps/i386/sysdep.h: Likewise.
24781 * sysdeps/x86_64/sysdep.h: Likewise.
24782 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24784 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24785 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24786 * sysdeps/powerpc/powerpc32/sysdep.h:
24787 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24788 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24789 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24790 * sysdeps/i386/fpu/e_powf.S: Likewise.
24791 * sysdeps/i386/fpu/e_expl.S: Likewise.
24792 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24793 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24794 * sysdeps/i386/fpu/e_pow.S: Likewise.
24795 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24796 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24797 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24798 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24799 * sysdeps/i386/fpu/e_log2.S: Likewise.
24800 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24801 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24802 * sysdeps/i386/fpu/e_powl.S: Likewise.
24803 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24804 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24805 * sysdeps/i386/fpu/e_logl.S: Likewise.
24806 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24807 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24808 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24809 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24810 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24811 * sysdeps/i386/fpu/e_log.S: Likewise.
24812 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24813 * sysdeps/i386/fpu/e_logf.S: Likewise.
24814 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24815 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24816 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24817 * sysdeps/i386/fpu/e_log10.S: Likewise.
24818 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24819 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24820 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24821 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24822 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24823 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24824 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24825 * sysdeps/i386/i686/strtok.S: Likewise.
24826 * sysdeps/i386/i386-mcount.S: Likewise.
24827 * sysdeps/i386/strtok.S: Likewise.
24828 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24829 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24830 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24831 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24832 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24833 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24834 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24835 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24836 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24837 * sysdeps/x86_64/_mcount.S: Likewise.
24838 * sysdeps/x86_64/strtok.S: Likewise.
24839 * sysdeps/sh/_mcount.S: Likewise.
24840
2747bf9a
RM
248412012-08-01 Roland McGrath <roland@hack.frob.com>
24842
24843 * libio/iofopen.c: Include <fcntl.h>.
24844 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24845 (_IO_fopen64, fopen64): Define as aliases.
24846 * libio/iofopen64.c: Include <fcntl.h>.
24847 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24848 Conditionalize body on this.
24849 * sysdeps/wordsize-64/iofopen.c: File removed.
24850 * sysdeps/wordsize-64/iofopen64.c: File removed.
24851
3fb791b8
MP
248522012-08-01 Marek Polacek <polacek@redhat.com>
24853
24854 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24855 Use dlfcn directly instead of a variable.
24856 (binfmt-subdir): Do not define.
24857 (dlfcn): Likewise.
24858
a9f1039f
JM
248592012-08-01 Joseph Myers <joseph@codesourcery.com>
24860
23bddc06
JM
24861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24862 Remove all definitions.
24863 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24864 <kernel-features.h>.
24865 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24866 (miss_F_GETOWN_EX): Remove all definitions.
24867 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24868 macro definition.
24869 [!__ASSUME_FCNTL64]: Remove conditional code.
24870 [__ASSUME_FCNTL64]: Make code unconditional.
24871 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24872 <kernel-features.h>.
24873 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24874 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24875 (lockf64) [__NR_fcntl64]: Make code unconditional.
24876 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24877
a9f1039f
JM
24878 * sysdeps/unix/sysv/linux/kernel-features.h
24879 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24880 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24881 Make code unconditional.
24882 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24883 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24885 [__NR_vfork]: Make code unconditional.
24886 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24887 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24889 [__NR_vfork]: Make code unconditional.
24890 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24891 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24892
09c0ee5f
RM
248932012-08-01 Roland McGrath <roland@hack.frob.com>
24894
48aec5b9
RM
24895 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24896 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24897
cd97c966
RM
24898 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24899 Define mkstemp64 as an alias.
3f55550c
RM
24900 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24901 Define mkstemps64 as an alias.
cd97c966
RM
24902 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24903 Define mkostemp64 as an alias.
b8625cfc
RM
24904 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24905 Define mkostemps64 as an alias.
cd97c966
RM
24906 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24907 Conditionalize body on this.
24908 * misc/mkostemp64.c: Likewise.
b8625cfc 24909 * misc/mkostemps64.c: Likewise.
3f55550c 24910 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24911 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24912 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24913 * sysdeps/wordsize-64/mkostemp.c: File removed.
24914 * sysdeps/wordsize-64/mkstemp.c: File removed.
24915 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24916 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24917 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24918 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24919
09c0ee5f
RM
24920 [BZ #14138]
24921 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24922 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24923 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24924 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24925
24926 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24927 compat_symbol macros from <shlib-compat.h> rather than the underlying
24928 default_symbol_version and symbol_version macros, so that DEFAULT
24929 lines in shlib-versions are respected.
24930 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24931
7e66ee51
FW
249322012-08-01 Florian Weimer <fweimer@redhat.com>
24933
24934 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24935 Declare with warn_unused_result.
24936 (setgid, setregid, setegid, setresgid): Likewise.
24937 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24938 Likewise.
24939 * WUR-REPORT: Remove set*id functions.
24940
d2a54255
PT
249412012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24942
24943 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24944
7ecdb005
RM
249452012-07-31 Roland McGrath <roland@hack.frob.com>
24946
b4180a5e 24947 [BZ #10191]
789bd351
RM
24948 * include/sys/socket.h (__libc_accept, __libc_accept4):
24949 Add attribute_hidden.
24950 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24951
40ce302d
RM
24952 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24953 use of PTR_MANGLE.
24954 * inet/getnetgrent_r.c (setup): Likewise.
24955
7ecdb005
RM
24956 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24957
e2eabb2c
DM
249582012-07-31 David S. Miller <davem@davemloft.net>
24959
24960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24961
d0419dbf
JM
249622012-07-31 Joseph Myers <joseph@codesourcery.com>
24963
24964 [BZ #13629]
24965 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24966 value between 1.0 and 2.0 and smaller part has absolute value less
24967 than 1.0.
24968 * math/s_clog10.c (__clog10): Likewise.
24969 * math/s_clog10f.c (__clog10f): Likewise.
24970 * math/s_clog10l.c (__clog10l): Likewise.
24971 * math/s_clogf.c (__clogf): Likewise.
24972 * math/s_clogl.c (__clogl): Likewise.
24973 * math/libm-test.inc (clog_test): Add more tests.
24974 (clog10_test): Likewise.
24975 * sysdeps/i386/fpu/libm-test-ulps: Update.
24976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24977
2bc13872
FW
249782012-07-31 Florian Weimer <fweimer@redhat.com>
24979
24980 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24981 Exit with zero in case no suitable GID is found, and write a
24982 message to standard error.
24983
bea9b193
RM
249842012-07-30 Roland McGrath <roland@hack.frob.com>
24985
24986 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24987 rather than to 1.
24988 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24989 (MAXPATHLEN): Removed.
24990 (NOGROUP, NODEV): New macros.
24991 (setbit, clrbit, isset, isclr): New macros.
24992 (howmany, roundup, powerof2): New macros.
24993 (DEV_BSIZE): New macro.
24994
24995 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24996 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24997
24998 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24999 definition on [!__NO_LONG_DOUBLE_MATH].
25000
25001 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25002 PTR_MANGLE and PTR_DEMANGLE.
25003
25004 * socket/accept4.c (accept4): Rename to __libc_accept4.
25005 Define accept4 as a weak alias.
25006
25007 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25008 on [_DIRENT_HAVE_D_TYPE].
25009 * io/ftw.c (ftw_dir): Likewise.
25010
25011 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25012
25013 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25014
25015 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25016 Use the BSD numbers rather than the arbitrary ones we had.
25017 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25018 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25019 (SIGXCPU, SIGXFSZ): New macros.
25020 (_NSIG): Now 32.
25021
25022 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25023 initializer on [_LIBC_REENTRANT].
25024
25025 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25026 definitions inside [_POSIX_MAPPED_FILES].
25027
25028 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25029
25030 * dirent/opendir.c: Include <fcntl.h>.
25031
25032 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25033 (__libc_getspecific): Likewise.
25034 (__libc_key_create): Likewise.
25035
25036 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25037 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25038 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25039 (tmpfile64): Define as alias.
25040 * sysdeps/wordsize-64/tmpfile.c: File removed.
25041 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25042 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25043 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25044
25045 * stdio-common/vfscanf.c: Include <stdbool.h>.
25046 * nss/makedb.c: Likewise.
25047 * stdio-common/_i18n_number.h: Likewise.
25048 * argp/argp-help.c: Likewise.
25049 * posix/wordexp.c: Likewise.
25050 * sysdeps/posix/spawni.c: Likewise.
25051 * nss/nss_files/files-initgroups.c: Likewise.
25052 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25053 * nss/nss_files/files-initgroups.c: Likewise.
25054 * nss/nss_db/db-netgrp.c: Likewise.
25055 * nss/nss_db/db-initgroups.c: Likewise.
25056 * io/fchmodat.c: Include <sys/stat.h>.
25057
25058 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25059 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25060
25061 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25062 [HAVE_MMAP].
25063
25064 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25065 Add multiple inclusion protection.
25066
e5abc686
DM
250672012-07-27 David S. Miller <davem@davemloft.net>
25068
25069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25070
815e6fa3
GB
250712012-07-27 Gary Benson <gbenson@redhat.com>
25072
25073 [BZ #14298]
25074 * elf/rtld.c: Include <stap-probe.h>.
25075 (dl_main): Added static probes "init_start" and "init_complete".
25076 * elf/dl-load.c: Include <stap-probe.h>.
25077 (lose): Take new parameter "nsid".
25078 Added static probe "map_failed".
25079 (_dl_map_object_from_fd): Pass namespace id to lose.
25080 Added static probe "map_start".
25081 (open_verify): Pass namespace id to lose.
25082 * elf/dl-open.c: Include <stap-probe.h>.
25083 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25084 and "reloc_complete".
25085 * elf/dl-close.c: Include <stap-probe.h>.
25086 (_dl_close_worker): Added static probes "unmap_start" and
25087 "unmap_complete".
25088 * elf/rtld-debugger-interface.txt: New file documenting the above.
25089
9f98c16c
RM
250902012-07-26 Roland McGrath <roland@hack.frob.com>
25091
25092 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25093 rather than a string variable.
25094 * sunrpc/rpc_main.c (h_output): Likewise.
25095 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25096
f3c22df3
PT
250972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25098
25099 * inet/check_native.c: New file.
25100
3129cfc6
JM
251012012-07-26 Joseph Myers <joseph@codesourcery.com>
25102
da865e95
JM
25103 [BZ #13629]
25104 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25105 if larger part has absolute value 1.0.
25106 * math/s_clog10.c (__clog10): Likewise.
25107 * math/s_clog10f.c (__clog10f): Likewise.
25108 * math/s_clog10l.c (__clog10l): Likewise.
25109 * math/s_clogf.c (__clogf): Likewise.
25110 * math/s_clogl.c (__clogl): Likewise.
25111 * math/libm-test.inc (clog_test): Add more tests.
25112 (clog10_test): Likewise.
25113 * sysdeps/i386/fpu/libm-test-ulps: Update.
25114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25115
3129cfc6
JM
25116 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25117 (pltexit): Likewise.
25118 (La_regs): Likewise.
25119 (La_retval): Likewise.
25120 (int_retval): Likewise.
25121 Update #error for removed macros to refer only to definitions in
25122 tst-audit.h.
25123 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25124 macro.
25125 (pltexit): Likewise.
25126 (La_regs): Likewise.
25127 (La_retval): Likewise.
25128 (int_retval): Likewise.
25129 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25130 macro.
25131 (pltexit): Likewise.
25132 (La_regs): Likewise.
25133 (La_retval): Likewise.
25134 (int_retval): Likewise.
25135 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25136 macro.
25137 (pltexit): Likewise.
25138 (La_regs): Likewise.
25139 (La_retval): Likewise.
25140 (int_retval): Likewise.
25141 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25142 macro.
25143 (pltexit): Likewise.
25144 (La_regs): Likewise.
25145 (La_retval): Likewise.
25146 (int_retval): Likewise.
25147 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25148 macro.
25149 (pltexit): Likewise.
25150 (La_regs): Likewise.
25151 (La_retval): Likewise.
25152 (int_retval): Likewise.
25153 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25154 macro.
25155 (pltexit): Likewise.
25156 (La_regs): Likewise.
25157 (La_retval): Likewise.
25158 (int_retval): Likewise.
25159 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25160 macro definitions in tst-audit.h.
25161 * sysdeps/i386/tst-audit.h: New file.
25162 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25163 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25164 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25165 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25166 * sysdeps/sh/tst-audit.h: Likewise.
25167 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25168 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25169 * sysdeps/x86_64/tst-audit.h: Likewise.
25170
bfc07087
AJ
251712012-07-26 Andreas Jaeger <aj@suse.de>
25172
b1b2aaf8
AJ
25173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25174 ptrace.
25175
25176 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25177 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25178 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25179 PTRACE_O_MASK.
25180 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25181 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25182 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25183
bfc07087
AJ
25184 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25185 value.
25186
25187 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25188 _sigsys.
25189 (si_call_addr, si_syscall, si_arch): Define new macro.
25190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25191 _sigsys.
25192 (si_call_addr, si_syscall, si_arch): Define new marcro.
25193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25194 _sigsys.
25195 (si_call_addr, si_syscall, si_arch): Define new macro.
25196 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25197 _sigsys.
25198 (si_call_addr, si_syscall, si_arch): Define new macro.
25199
89b4b02f
JM
252002012-07-25 Joseph Myers <joseph@codesourcery.com>
25201
25202 [BZ #13717]
25203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25204 Change to 2.4.21 where previously 2.4.1.
25205 * sysdeps/unix/sysv/linux/configure: Regenerated.
25206 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25207 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25208 Linux kernel version.
25209 (__ASSUME_STD_AUXV): Remove.
25210 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25211 kernel version.
25212 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25213 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25214 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25215 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25216 (__ASSUME_NETLINK_SUPPORT): Likewise.
25217 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25218 (__no_netlink_support): Remove conditional definition.
25219 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25220 Remove.
25221 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25222 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25223 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25224 (if_nameindex_ioctl): Remove.
25225 (if_nameindex_netlink): Do not handle __no_netlink_support.
25226 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25227 code.
25228 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25229 Remove conditional code.
25230 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25231 code.
25232 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25233 unconditional.
25234 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25235 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25236 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25237 Remove.
25238 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25239 [!__ASSUME_STD_AUXV]: Remove conditional code.
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25241 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25242 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25244 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25245 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25246 code.
25247 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25249 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25250 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25251 conditional code.
25252 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25254 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25255 code.
25256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25257 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25258 conditional code.
25259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25260 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25261 code unconditional.
25262 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25263 conditional code.
25264 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25265 unconditional.
25266 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25267 conditional code.
25268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25269 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25270 unconditional.
25271 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25272 conditional code.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25274 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25275 code unconditional.
25276 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25277 conditional code.
25278 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25279 unconditional.
25280 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25281 conditional code.
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25283 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25284 code unconditional.
25285 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25286 conditional code.
25287 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25288 unconditional.
25289 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25290 conditional code.
25291
842a39cd
AS
252922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25293
25294 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25295 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25296 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25297 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25298 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25299 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25300 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25301 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25302 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25303 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25304 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25305 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25306 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25307 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25308 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25309 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25311 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25312 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25314 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25315 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25316 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25317
84b3fd84
FW
253182012-07-25 Florian Weimer <fweimer@redhat.com>
25319
25320 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25321 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25322 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25323 Introduce __libc_secure_getenv.
0c7936d5
FW
25324 * stdlib/Versions (2.17): Add secure_getenv
25325 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25326 * stdlib/secure-getenv.c: Rename __secure_getenv to
25327 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25328 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25329 * stdlib/tst-secure-getenv.c: New.
25330 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25331 * manual/startup.texi (Environment Access): Document
25332 secure_getenv.
84b3fd84
FW
25333 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25334 __libc_secure_getenv.
25335 * inet/ruserpass.c (ruserpass): Likewise.
25336 * malloc/mtrace.c (mtrace): Likewise.
25337 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25338 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25339 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25340 * sysdeps/posix/tempname.c: Likewise. Evaluate
25341 HAVE_SECURE_GETENV.
25342 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25343 __secure_getenv to __libc_secure_getenv.
84b3fd84 25344 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25346 Likewise.
25347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25348 Likewise.
25349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25356
56e49b71
JM
253572012-07-25 Joseph Myers <joseph@codesourcery.com>
25358
25359 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25360 (struct La_i86_retval): Likewise.
25361 (struct La_x86_64_regs): Likewise.
25362 (struct La_x86_64_retval): Likewise.
25363 (struct La_x32_regs): Likewise.
25364 (struct La_x32_retval): Likewise.
25365 (struct La_ppc32_regs): Likewise.
25366 (struct La_ppc32_retval): Likewise.
25367 (struct La_ppc64_regs): Likewise.
25368 (struct La_ppc64_retval): Likewise.
25369 (struct La_sh_regs): Likewise.
25370 (struct La_sh_retval): Likewise.
25371 (struct La_s390_32_regs): Likewise.
25372 (struct La_s390_32_retval): Likewise.
25373 (struct La_s390_64_regs): Likewise.
25374 (struct La_s390_64_retval): Likewise.
25375 (struct La_sparc32_regs): Likewise.
25376 (struct La_sparc32_retval): Likewise.
25377 (struct La_sparc64_regs): Likewise.
25378 (struct La_sparc64_retval): Likewise.
25379 (struct audit_ifaces): Remove architecture-specific pltenter and
25380 pltexit members.
25381 * sysdeps/i386/ldsodefs.h: New file.
25382 * sysdeps/powerpc/ldsodefs.h: Likewise.
25383 * sysdeps/s390/ldsodefs.h: Likewise.
25384 * sysdeps/sh/ldsodefs.h: Likewise.
25385 * sysdeps/sparc/ldsodefs.h: Likewise.
25386 * sysdeps/x86_64/ldsodefs.h: Likewise.
25387
354691b7
MP
253882012-07-25 Marek Polacek <polacek@redhat.com>
25389
25390 [BZ #6808]
25391 * math/libm-test.inc (yn_test): Add another test.
25392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25393 to ERANGE when the result is +-Inf.
25394 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25395 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25396 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25397 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25398
bf9e2071
JM
253992012-07-24 Joseph Myers <joseph@codesourcery.com>
25400
25401 * conform/data/time.h-data (NULL): Use macro-constant. Require
25402 equal to 0.
25403 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25404 clock_t.
25405 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25406
57633811
TS
254072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25408
25409 * configure.in <sysdeps resolving>: Correct printing
25410 Implies_before.
25411 * configure: Regenerate.
25412
c23c33b0
TS
254132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25414
25415 * math/w_ilogb.c: Include <limits.h>.
25416 * math/w_ilogbl.c: Likewise.
25417
b5982523
JM
254182012-07-20 Joseph Myers <joseph@codesourcery.com>
25419
25420 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25421 va_copy. Document allowing for unavailable va_copy only as
25422 pre-C99 compatibility.
25423 * manual/string.texi (Copying and Concatenation): Use va_copy
25424 instead of __va_copy in concat example.
25425
ac4ea442
PT
254262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25427
25428 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25429 (__sendto): Use create_address_port. Initialize APORT and deallocate
25430 it if not null.
25431
f98eafbd
PT
25432 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25433 with O_NOLINK passed to __file_name_lookup.
25434
898c7aab
PT
25435 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25436 with O_NOLINK passed to __file_name_lookup.
25437
0ced335a
PT
25438 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25439 negative N or less than NGIDS.
25440
b3404dbd
PT
25441 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25442 type to string_t. Set ERANGE as errno and return it if NAME is not big
25443 enough. Use memcpy instead of strncpy.
25444
0f48659e
JM
254452012-07-20 Joseph Myers <joseph@codesourcery.com>
25446
25447 * elf/Makefile (check-data): Remove.
25448 (localplt.data): New vpath directive.
25449 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25450 instead of $(check-data).
25451 * scripts/data/localplt-generic.data: Move to ...
25452 * sysdeps/generic/localplt.data: ... here.
25453 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25454 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25455 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25457 ... here.
25458 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25460 ... here.
25461 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25463 ... here.
25464 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25466 ... here.
25467 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25469 ... here.
25470 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25472 ... here.
25473
d37cbdaa
AZ
254742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25475
25476 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25477 PPC32 and PPC64 files.
25478 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25479 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25480
46f85fc2
AK
254812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25482
25483 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25484 __makecontext_ret to ...
25485 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25486 ... here and call exit if uc_link is NULL. New file.
25487 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25488 __makecontext_ret.S.
25489 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25490 __makecontext_ret to ...
25491 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25492 ... here and call exit if uc_link is NULL. New file.
25493 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25494 __makecontext_ret.S.
25495
08f43f9b
AK
254962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25497
25498 * elf/elf.h (R_390_IRELATIVE): New definition.
25499 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25500 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25501 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25502 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25503 (elf_machine_lazy_rel): Likewise.
25504 * sysdeps/s390/dl-irel.h: New file.
25505 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25506 * sysdeps/s390/s390-64/memset.S: New asm code.
25507 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25508 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25509 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25510 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25511 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25512 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25513 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25514 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25515 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25516 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25517 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25518 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25519 * sysdeps/s390/s390-32/memset.S: New asm code.
25520 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25521
3b05db33
MP
255222012-07-17 Marek Polacek <polacek@redhat.com>
25523
25524 [BZ #14349]
25525 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25526 * sysdeps/s390/s390-64/configure.in: Likewise.
25527 * sysdeps/sparc/configure.in: Likewise.
25528 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25529 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25530 * sysdeps/i386/configure.in: Likewise.
25531 * sysdeps/x86_64/configure.in: Likewise.
25532 * sysdeps/sh/configure.in: Likewise.
25533 * sysdeps/s390/s390-32/configure: Regenerated.
25534 * sysdeps/s390/s390-64/configure: Likewise.
25535 * sysdeps/x86_64/configure: Likewise.
25536 * sysdeps/sh/configure: Likewise.
25537 * sysdeps/powerpc/powerpc64/configure: Likewise.
25538 * sysdeps/powerpc/powerpc32/configure: Likewise.
25539 * sysdeps/sparc/configure: Likwise.
25540 * sysdeps/i386/configure: Likewise.
25541
a66877c6
MP
25542 * elf/dl-open.c: Comment fixes.
25543
cfc82fd8
JM
255442012-07-17 Joseph Myers <joseph@codesourcery.com>
25545
bd29910a
JM
25546 * Makefile [CXX] (check-data): Remove.
25547 [CXX] (c++-types.data): New vpath directive.
25548 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25549 vpath. Do not allow for C++ type data being missing.
25550 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25551 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25552 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25553 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25554 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25555 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25556 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25558 ... here.
25559 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25561 ... here.
25562 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25564 ... here.
25565 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25567 ... here.
25568 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25570 ... here.
25571 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25573 ... here.
25574 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25576 ... here.
25577 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25579
cfc82fd8
JM
25580 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25581 definitions to architecture-specific files.
25582 (TLS_IE): Likewise.
25583 (TLS_LD): Likewise.
25584 (TLS_GD): Likewise.
25585 * sysdeps/i386/tls-macros.h: New file.
25586 * sysdeps/powerpc/tls-macros.h: Likewise.
25587 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25588 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25589 * sysdeps/sh/tls-macros.h: Likewise.
25590 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25591 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25592 * sysdeps/x86_64/tls-macros.h: Likewise.
25593
f7db3170
TS
255942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25595
07cbfc23
TS
25596 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25597 zero value for regular exit case.
25598
f7db3170
TS
25599 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25600 (__start_context): Preserve zero value for regular exit case.
25601
dc97c227
TS
256022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25603 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25604
25605 * manual/setjmp.texi (setcontext): Clarify normal process
25606 termination when uc_link is the null pointer.
25607 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25608 exit call.
25609
d0cd7d02
AS
256102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25611
25612 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25613 preprocessor. Test for each exception mask separately.
25614
dd318934
AJ
256152012-07-16 Andreas Jaeger <aj@suse.de>
25616
25617 * po/ru.po: Update from translation team.
25618
8048311a
JM
256192012-07-15 Joseph Myers <joseph@codesourcery.com>
25620
25621 * conform/data/string.h-data (NULL): Use macro-constant. Require
25622 equal to 0.
25623 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25624 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25625 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25626 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25627 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25628
b637d46e
AJ
256292012-07-13 Andreas Jaeger <aj@suse.de>
25630
25631 * po/fr.po: Update from translation team.
25632
541428fe
MP
256332012-07-12 Marek Polacek <polacek@redhat.com>
25634
25635 [BZ #14173]
25636 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25637 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25638 loop condition.
25639
ec332e94
JM
256402012-07-12 Joseph Myers <joseph@codesourcery.com>
25641
25642 [BZ #13717]
25643 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25644 Change to 2.4.1 where previously 2.4.0.
25645 * sysdeps/unix/sysv/linux/configure: Regenerated.
25646 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25647 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25648 version.
25649 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25650 (__ASSUME_AT_CLKTCK): Remove.
25651 (__ASSUME_AT_PAGESIZE): Likewise.
25652 (__ASSUME_AT_XID): Likewise.
25653 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25654 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25655 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25656 unconditionally.
25657 (HAVE_AUX_PAGESIZE): Likewise.
25658 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25659 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25660 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25661
7b6e99be
JB
256622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25663
25664 [BZ #14307]
25665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25666 the temporary buffer used to invoke __gethostbyname2_r,
25667 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25668 host_data / struct gaih_addrtuple.
25669 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25670 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25671 header file nss/nsswitch.h.
25672 * nss/nsswitch.h (global scope): Add definition of implementation
25673 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25674 resolv/nss_dns/dns-host.c).
25675
608404eb
AJ
256762012-07-11 Andreas Jaeger <aj@suse.de>
25677
25678 * po/fr.po: Update from translation team.
25679
71220aca
AJ
25680 * po/sv.po: Update from translation team
25681 * po/fr.po: Another update from translation team.
25682
28cfe843
AZ
256832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25684
25685 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25686 for subnormals or multiply small sinh result by itself.
25687 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25689
6b90f981
DM
256902012-07-11 David S. Miller <davem@davemloft.net>
25691
25692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25693
c6825772
AS
256942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25695
25696 [BZ #14347]
25697 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25698 (INTERNAL_MARK): Shift it here.
25699
7b8e0d49
MP
257002012-07-10 Marek Polacek <polacek@redhat.com>
25701
25702 [BZ #14151]
25703 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25704 libc_cv_asm_global_directive with .globl.
25705 * configure: Regenerated.
25706 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25707 with .globl.
25708 * sysdeps/i386/configure: Regenerated.
25709 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25710 with .globl.
25711 * sysdeps/x86_64/configure: Regenerated.
25712 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25713 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25714 * elf/tst-unique2mod2.c: Likewise.
25715 * elf/tst-unique2mod1.c: Likewise.
25716 * elf/tst-unique1mod2.c: Likewise.
25717 * elf/tst-unique1mod1.c: Likewise.
25718 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25719 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25721 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25722 * sysdeps/mach/sysdep.h: Likewise.
25723 * sysdeps/i386/sysdep.h: Likewise.
25724 * sysdeps/i386/i386-mcount.S: Likewise.
25725 * sysdeps/x86_64/_mcount.S: Likewise.
25726 * sysdeps/x86_64/sysdep.h: Likewise.
25727 * sysdeps/sh/_mcount.S: Likewise.
25728 * sysdeps/sh/sysdep.h: Likewise.
25729 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25730 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25731 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25732 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25733 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25734 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25735 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25736 * locale/localeinfo.h: Likewise.
25737 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25738 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25739
6c55cda3
RM
257402012-07-09 Roland McGrath <roland@hack.frob.com>
25741
25742 [BZ #14336]
25743 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25744 system".
25745 * manual/message.texi (The Uniforum approach): Likewise.
25746 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25747 (glibc iconv Implementation): Likewise.
25748
638a572e
JM
257492012-07-09 Joseph Myers <joseph@codesourcery.com>
25750
25751 [BZ #14337]
25752 * math/s_clog.c (__clog): Avoid scaling a value down where that
25753 could result in underflow.
25754 * math/s_clog10.c (__clog10): Likewise.
25755 * math/s_clog10f.c (__clog10f): Likewise.
25756 * math/s_clog10l.c (__clog10l): Likewise.
25757 * math/s_clogf.c (__clogf): Likewise.
25758 * math/s_clogl.c (__clogl): Likewise.
25759 * math/libm-test.inc (clog_test): Add more tests.
25760 (clog10_test): Likewise.
25761 * sysdeps/i386/fpu/libm-test-ulps: Update.
25762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25763
261f4859
AS
257642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25765
0abaf3e4
AS
25766 [BZ #14283]
25767 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25768 by 7 not 8 to examine high bit of fractional part.
25769
261f4859
AS
25770 [BZ #14042]
25771 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25772 for call to __mcount_internal.
25773 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25774 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25775 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25776
f17ac40d
JM
257772012-07-06 Joseph Myers <joseph@codesourcery.com>
25778
9ad63c23
JM
25779 [BZ #14154]
25780 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25781 approximation for values within 0x1p-13f of an odd multiple of
25782 pi/4.
25783 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25784 exception. Add more tests.
25785 * sysdeps/i386/fpu/libm-test-ulps: Update.
25786
f17ac40d
JM
25787 [BZ #6778]
25788 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25789 inputs and return -1 for them. Do not check for +Inf in case not
25790 reachable for +Inf.
25791 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25792 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25797 define.
25798 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25799 and return -1 for them. Do not check for +Inf in case not
25800 reachable for +Inf.
25801 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25802 spurious underflow.
25803 * sysdeps/i386/fpu/libm-test-ulps: Update.
25804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25805
fb21f89b
MF
258062012-07-06 Mike Frysinger <vapier@gentoo.org>
25807
25808 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25809
cdfe2c5e
JM
258102012-07-05 Joseph Myers <joseph@codesourcery.com>
25811
25812 [BZ #14157]
25813 [BZ #14331]
25814 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25815 could result in spurious underflow. Scale down values above
25816 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25817 * math/s_csqrtf.c (__csqrtf): Likewise.
25818 * math/s_csqrtl.c (__csqrtl): Likewise.
25819 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25820 spurious underflow.
25821 * sysdeps/i386/fpu/libm-test-ulps: Update.
25822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25823
70d35b67
AS
258242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25825
704bc459
AS
25826 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25827 xopen-msg.sed.
25828 * catgets/xopen-msg.awk: New file.
25829 * catgets/xopen-msg.sed: Removed.
25830
70d35b67
AS
25831 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25832 po2text.sed.
25833 * intl/po2test.awk: New file.
25834 * intl/po2test.sed: Removed.
25835
ca61cf32
JM
258362012-07-04 Joseph Myers <joseph@codesourcery.com>
25837
25838 [BZ #14328]
25839 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25840 or multiply small sinh result by itself.
25841 * math/s_ctanf.c (__ctanf): Likewise.
25842 * math/s_ctanh.c (__ctanh): Likewise.
25843 * math/s_ctanhf.c (__ctanhf): Likewise.
25844 * math/s_ctanhl.c (__ctanhl): Likewise.
25845 * math/s_ctanl.c (__ctanl): Likewise.
25846 * math/libm-test.inc (ctan_test_tonearest): New function.
25847 (ctan_test_towardzero): Likewise.
25848 (ctan_test_downward): Likewise.
25849 (ctan_test_upward): Likewise.
25850 (ctanh_test_tonearest): Likewise.
25851 (ctanh_test_towardzero): Likewise.
25852 (ctanh_test_downward): Likewise.
25853 (ctanh_test_upward): Likewise.
25854 (main): Call these new functions.
25855 * sysdeps/i386/fpu/libm-test-ulps: Update.
25856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25857
ca48a46a
MF
258582012-07-03 Mike Frysinger <vapier@gentoo.org>
25859
25860 * .gitignore: Delete /ports entry.
25861
9d63d37d
AJ
258622012-07-03 Andreas Jaeger <aj@suse.de>
25863
25864 * po/bg.po: Update from translation team.
25865 * po/cs.po: Likewise.
25866 * po/de.po: Likewise.
25867 * po/hr.po: Likewise.
25868 * po/nl.pl: Likewise.
25869 * po/pl.po: Likewise.
25870 * po/vi.po: Likewise.
25871
370ca3d2
JM
258722012-07-03 Joseph Myers <joseph@codesourcery.com>
25873
95f5a9a8
JM
25874 * Makeconfig [!+link] (+link-before-libc): New variable.
25875 [!+link] (+link-after-libc): Likewise.
25876 [!+link] (+link-tests): Likewise.
25877 [!+link] (+link): Define in terms of $(+link-before-libc) and
25878 $(+link-after-libc).
25879 [!+link-static] (+link-static-before-libc): New variable.
25880 [!+link-static] (+link-static-after-libc): Likewise.
25881 [!+link-static] (+link-static-tests): Likewise.
25882 [!+link-static] (+link-static): Define in terms of
25883 $(+link-static-before-libc) and $(+link-static-after-libc).
25884 [build-shared] (link-libc-before-gnulib): New variable.
25885 [build-shared] (link-libc-tests): Likewise.
25886 [build-shared] (link-libc): Define in terms of
25887 $(link-libc-before-gnulib).
25888 [!build-shared] (link-libc-tests): New variable.
25889 (link-libc-static-tests): New variable.
25890 [!gnulib] (gnulib-arch): New variable.
25891 [!gnulib] (gnulib-tests): Likewise.
25892 [!gnulib] (static-gnulib-arch): Likewise.
25893 [!gnulib] (static-gnulib-tests): Likewise.
25894 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25895 Define with "=" instead of ":=".
25896 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25897 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25898 * Rules (binaries-all-notests): New variable.
25899 (binaries-all-tests): Likewise.
25900 (binaries-static-notests): Likewise.
25901 (binaries-static-tests): Likewise.
25902 (binaries-all): Define using $(binaries-all-notests) and
25903 $(binaries-all-tests).
25904 (binaries-static): Define using $(binaries-static-notests) and
25905 $(binaries-static-tests).
25906 (binaries-shared-tests): New variable.
25907 (binaries-shared-notests): Likewise.
25908 (binaries-shared): Remove variable.
25909 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25910 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25911 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25912 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25913 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25914 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25915 * elf/Makefile (sln-modules): New variable.
25916 (extra-objs): Add $(sln-modules:=.o).
25917 (ldconfig-modules): Add static-stubs.
25918 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25919 * elf/static-stubs.c: New file.
25920
7a845b2c
JM
25921 [BZ #14283]
25922 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25923 by 7 not 8 to examine high bit of fractional part. Use volatile
25924 variables when splitting into final array of floats if
25925 __FLT_EVAL_METHOD__ != 0.
25926 * math/libm-test.inc (cos_test): Add another test.
25927 (sin_test): Likewise.
25928 * sysdeps/i386/fpu/libm-test-ulps: Update.
25929
e2283f38
JM
25930 [BZ #14273]
25931 * math/libm-test.inc (cosh_test): Add more tests.
25932
370ca3d2
JM
25933 * version.h (RELEASE): Set to "development".
25934 (VERSION): Set to "2.16.90".
25935
ee9247c3
CD
259362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25937
25938 * NEWS: Update copyright. Remove last-updated date.
25939 Mention math library bug fixes and timezone data changes.
25940 * README: Mention GNU/Hurd, x32, and HPPA support status.
25941
4648c381
TS
259422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25943
25944 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25945
aac78a43
AJ
259462012-06-27 Andreas Jaeger <aj@suse.de>
25947
25948 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25949
ed3dbfad
AJ
259502012-06-25 Andreas Jaeger <aj@suse.de>
25951
25952 * sysdeps/s390/fpu/libm-test-ulps: Update.
25953
4d0ee855
AS
259542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25955 Thomas Schwinge <thomas@codesourcery.com>
25956
25957 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25958 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25960 fanotify_mark.
25961
af1bce34
TS
259622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25963
a9fa33ba
TS
25964 * sysdeps/mach/start.c: Remove file.
25965 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25966 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25967 * sysdeps/sh/init-first.c: Likewise.
25968
58f902b8
TS
25969 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25970 registers for frame unwinding purposes, add CFI directives.
25971 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25972 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25973 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25974 Likewise.
25975
1518f58b
TS
25976 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25977 __fortify_fail returning.
25978 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25979
db9b5059
TS
25980 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25981 sysdeps/sh/____longjmp_chk.S.
25982 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25983 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25984 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25985 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25986
967705fe
TS
25987 * sysdeps/sh/abort-instr.h: New file.
25988 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25989 process in case exit returns.
25990
a9def8c4
TS
25991 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25992 initialize the GOT register before use.
25993
2a649725
TS
25994 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25995 calculation of ARGC > 4.
25996
af1bce34
TS
25997 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25998 meaningful names to some local labels.
25999
d230f50a
KK
260002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26001 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26002
26003 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26004 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26005 (__arch_compare_and_exchange_val_16_acq): Likewise.
26006 (__arch_compare_and_exchange_val_32_acq): Likewise.
26007 (atomic_exchange_and_add): Fix gUSA sequence.
26008 (atomic_add): Likewise.
26009 (atomic_add_negative): Likewise.
26010 (atomic_add_zero): Likewise.
26011 (atomic_bit_test_set): Likewise.
26012
0479b305
AS
260132012-06-22 Andreas Schwab <schwab@redhat.com>
26014
26015 [BZ #13579]
26016 * include/link.h (struct link_map): Add l_free_initfini.
26017 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26018 l_initfini.
26019 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26020 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26021 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26022 set.
26023
0e3933b9
CD
260242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26025
26026 * configure.in: Use AC_LANG_SOURCE.
26027 * configure: Regenerate.
26028
4248b1b1
RM
260292012-06-22 Roland McGrath <roland@hack.frob.com>
26030
26031 * configure.in (libc_cv_localstatedir): New substituted variable.
26032 * configure: Regenerated.
26033 * config.make.in (localstatedir): New variable, substituted from
26034 libc_cv_localstatedir.
26035 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26036 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26037 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26038 * sysdeps/gnu/configure: Regenerated.
26039
006dd861
JL
260402012-06-21 Jeff Law <law@redhat.com>
26041
26042 [BZ #14277]
26043 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26044 free. Simplify list management for _LIBC case.
26045
79662d42
JM
260462012-06-21 Joseph Myers <joseph@codesourcery.com>
26047
b7abb4bf
JM
26048 [BZ #14273]
26049 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26050 Clear sign bit of 64-bit integer value before comparing against
26051 overflow value.
26052
79662d42
JM
26053 * sysdeps/mach/configure: Regenerated.
26054
1f150908
L
260552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26056
26057 [BZ #14278]
26058 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26059
28363bbf
JL
260602012-06-21 Jeff Law <law@redhat.com>
26061
26062 [BZ #13882]
26063 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26064 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26065 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26066 * elf/dl-open.c (dl_open_worker): Likewise.
26067
09615db4
CD
260682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26069
26070 * scripts/list-sources.sh: Scan PORTS for translations.
26071 * po/libc.pot: Regenerated.
26072
2174c6dd
AJ
260732012-06-21 Andreas Jaeger <aj@suse.de>
26074
26075 [BZ #12194]
26076 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26077 warning.
26078 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26079 * bits/byteswap-16.h (__bswap_16): Likewise.
26080 * bits/byteswap.h (__bswap_constant_16): Likewise.
26081
3ee947b1
L
260822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26083
26084 [BZ #14117]
a2f34833
L
26085 * sysdeps/i386/fpu_control.h: Removed.
26086 * sysdeps/x86_64/fpu_control.h: Moved to ...
26087 * sysdeps/x86/fpu_control.h: Here.
26088
3ee947b1
L
26089 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26090 (_FPU_SETCW): Likewise.
26091
ed1825f8
L
260922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26093
25f1282a
L
26094 [BZ #14117]
26095 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26096 * sysdeps/x86/fpu/bits/mathinline.h: This.
26097 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26098
ed1825f8
L
26099 [BZ #14050]
26100 [BZ #14117]
26101 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26102 functions if __x86_64__ is defined.
26103
36d54b74
CLT
261042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26105
26106 * string/endian.h: Add !__ASSEMBLER__ condition for including
26107 conversion interfaces.
26108
10285c21
JM
261092012-06-15 Joseph Myers <joseph@codesourcery.com>
26110
26111 [BZ #14241]
26112 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26113 of ABS(x) in calculating zero to negative powers other than odd
26114 integers.
26115 * math/libm-test.inc (pow_test): Add more tests.
26116
06c5abbd
AJ
261172012-06-15 Andreas Jaeger <aj@suse.de>
26118
26119 * manual/contrib.texi (Contributors): Update entry of Liubov
26120 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26121 Machado Filho.
26122
a3aeac40
CH
261232012-06-15 Cyril Hrubis <metan@ucw.cz>
26124
26125 * string/string.h: Add __wur to GNU version of strerror_r.
26126
49bdf4c1
L
261272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26128
26129 [BZ #14229]
26130 * string/Makefile (tests): Add tst-strtok_r.
26131 * string/tst-strtok_r.c: New file.
26132 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26133 RAX_LP/RDX_LP on SAVE_PTR.
26134
834f9b8d
RM
261352012-06-14 Roland McGrath <roland@hack.frob.com>
26136
26137 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26138
75fa1921
JM
261392012-06-14 Joseph Myers <joseph@codesourcery.com>
26140
26141 * libm_test.inc (csqrt_test): Allow more spurious underflow
26142 exceptions.
26143 (j0_test): Likewise.
26144 (j1_test): Likewise.
26145 (y0_test): Likewise.
26146 (y1_test): Likewise.
26147
771766df
CD
261482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26149
26150 * po/Makefile (libc.pot): Use UTF-8 charset.
26151
ceb9e56b
PP
261522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26153
26154 [BZ #14210]
26155 Suppress sign-conversion warning from FD_SET.
26156 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26157 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26158 not unsigned long int.
26159 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26160
ddb28975
L
261612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26162
26163 [BZ #14050]
26164 [BZ #14117]
26165 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26166 __extern_always_inline instead of __extern_inline.
26167 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26168 (__signbit): Likewise.
26169 (__signbitl): Support C++ namespace.
26170 (lrintf): New inline function.
26171 (lrint): Likewise.
26172 (llrintf): Likewise.
26173 (llrint): Likewise.
26174 (fmaxf): Likewise.
26175 (fmax): Likewise.
26176 (fminf): Likewise.
26177 (fmin): Likewise.
26178 (rint): Likewise.
26179 (rintf): Likewise.
26180 (ceil): Likewise.
26181 (ceilf): Likewise.
26182 (floor): Likewise.
26183 (floorf): Likewise.
26184 (nearbyint): Likewise.
26185 (nearbyintf): Likewise.
26186
d7b4fb26
TS
261872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26188
26189 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26190 non-default versions.
26191
eb55f5c2
RM
261922012-06-11 Roland McGrath <roland@hack.frob.com>
26193
26194 [BZ #14218]
26195 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26196
366af02c
TS
261972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26198
99ff6e5c
TS
26199 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26200 (FE_UPWARD, FE_DOWNWARD): Don't define.
26201 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26202 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26203
366af02c
TS
26204 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26205 reading it.
26206 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26207 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26208
793ea851
KK
262092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26210
26211 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26212 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26213 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26214 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26215
a728a38f
L
262162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26217
26218 [BZ #14117]
c08010c7
L
26219 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26220 * sysdeps/i386/fpu/Implies: New file.
26221 * sysdeps/x86_64/fpu/Implies: Likewise.
26222 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26223 * sysdeps/x86/fpu/bits/fenv.h: This.
26224
a728a38f
L
26225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26226 __SSE_MATH__.
26227
6e230d11
SP
262282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26229
26230 [BZ #14134]
26231 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26232 character 0xffff that matches the last element of the
26233 conversion table.
26234
1b671feb
AZ
262352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26236
26237 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26238 fmodl commit.
26239
6043738b
AZ
262402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26241
26242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26243 values higher than 25.6283.
26244
34ae0b32
AZ
262452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26246
26247 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26248 subnormal exponent extraction and add some __builtin_expect.
26249 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26250 Fix for subnormal mantissa calculation.
26251
1214ec8f
MF
262522012-06-04 Mike Frysinger <vapier@gentoo.org>
26253
26254 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26255 cpu2 is -1 and errno is not ENOSYS.
26256
f3d1f93c
L
262572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26258
26259 [BZ #14117]
0e4a3cd7
L
26260 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26261 * sysdeps/x86/bits/string.h: This.
26262 * sysdeps/x86_64/bits/string.h: Removed.
26263
6704c645
L
26264 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26265 if not compiling for x86-64, but compiling for >= i486.
26266
48495318
L
26267 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26268 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26269
14adcbfc
L
26270 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26271 New macro from Linux kernel 3.4.0.
26272 (FP_XSTATE_MAGIC2): Likewise.
26273 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26274 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26275 (struct _fpx_sw_bytes): New struct.
26276 (struct _xsave_hdr): Likewise.
26277 (struct _ymmh_state): Likewise.
26278 (struct _xstate): Likewise.
26279
68e408ab
L
26280 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26281 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26283 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26284 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26285 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26286
f3d1f93c
L
26287 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26288 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26289 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26290 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26291 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26292 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26293
d9dc34cd
TMQMF
262942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26295
26296 [BZ #13743]
26297 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26298 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26299 (sysdep_headers): Include sys/platform/ppc.h.
26300 * sysdeps/powerpc/test-gettimebase.c: Test for
26301 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26302 * manual/Makefile (appendices): Include platform.texi.
26303 * manual/contrib.texi (Contributors): Update @node pointers.
26304 * manual/maint.texi (Maintenance): Likewise.
26305 (Platform): New node.
26306 * manual/platform.texi: New file. Document the new features.
26307
4af3879c
SP
263082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26309 Jakub Jelinek <jakub@redhat.com>
26310
26311 [BZ #14188]
26312 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26313 where __builtin_expect is unavailable.
26314
2fd6ff13
DM
263152012-06-03 David S. Miller <davem@davemloft.net>
26316
26317 * stdlib/longlong.h: Updated from GCC.
26318
173f7220
AS
263192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26320
26321 [BZ #14042]
26322 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26323 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26324 __mcount_internal.
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26326 (GLIBC_2.16): Likewise.
26327
f34a1c6f
L
263282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26329
26330 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26331
88a4576f
JM
263322012-06-01 Joseph Myers <joseph@codesourcery.com>
26333
ea32bcdd
JM
26334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26335 (default-abi): New variable.
26336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26337 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26338 variable.
26339 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26340 Likewise.
26341 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26342 Likewise.
26343 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26344 Likewise.
26345
88a4576f
JM
26346 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26347 definition. Document in comment.
26348
402fe938
DM
263492012-06-01 David S. Miller <davem@davemloft.net>
26350
26351 * stdlib/longlong.h: Updated from GCC.
26352
3553723f
L
263532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26354
26355 [BZ #14117]
3bd872c4
L
26356 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26357 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26358 sys/debugreg.h sys/io.h here.
26359 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26360 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26361 sys/io.h.
26362 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26363 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26364 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26365 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26366 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26367 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26368
3553723f
L
26369 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26370 Define only if __x86_64__ is defined.
26371
4842e4fe
JM
263722012-06-01 Joseph Myers <joseph@codesourcery.com>
26373
c5bfe3d5
JM
26374 [BZ #14048]
26375 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26376 Use int64_t for variable i.
26377 * math/libm-test.inc (fmod_test): Add more tests.
26378
4842e4fe
JM
26379 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26380 z computation is not scheduled after fetestexcept.
26381 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26382 Use math_force_eval instead of asm to ensure calculation scheduled
26383 before exception test.
26384 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26385 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26386
efb73488
AJ
263872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26388
26389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26390 computation is not scheduled after fetestexcept.
26391
29bcce7c
L
263922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26393
26394 [BZ #14117]
26395 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26396 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26397
73a68f94
AZ
263982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26399
26400 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26401 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26402
67b6df78
L
264032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26404
edf2933a 26405 [BZ #14117]
ebc64a18
L
26406 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26407 <bits/wordsize.h>.
26408 (__WCHAR_MIN): Support __WORDSIZE == 64.
26409 (__WCHAR_MAX): Likewise.
26410
edf2933a
L
26411 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26412 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26413
57c6cf40
L
26414 [BZ #14183]
26415 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26416 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26417
67b6df78 26418 [BZ #14117]
8eb6281e
L
26419 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26420 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26421
aac639f4
L
26422 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26423 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26424
67b6df78
L
26425 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26426 Defined to 1 if __x86_64__ isn't defined.
26427 (_STAT_VER_LINUX_OLD): New.
26428 (st_atime): Remove duplicate.
26429 (st_mtime): Likewise.
26430 (st_ctime): Likewise.
26431
1c2cfe81
DM
264322012-05-31 David S. Miller <davem@davemloft.net>
26433
26434 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26435 entries.
26436
5be8418c
AS
264372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26438
e7725326
AS
26439 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26440 gen-libm-test.pl.
26441
5be8418c
AS
26442 [BZ #14132]
26443 * elf/dl-reloc.c: Include <_itoa.h>.
26444 (_dl_reloc_bad_type): Remove use of INTUSE.
26445 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26446 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26447 * stdio-common/psiginfo.c (psiginfo): Likewise.
26448 * stdio-common/psignal.c (psignal): Likewise.
26449 * string/strsignal.c (strsignal): Likewise.
26450 * include/signal.h (_sys_siglist): Declare hidden proto.
26451 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26452 INTVARDEF with libc_hidden_data_def.
26453 * stdio-common/itoa-udigits.c: Likewise.
26454 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26455 (_itoa_lower_digits_internal): Remove declaration.
26456 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26457 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26458 (_sys_sigabbrev_internal): Remove aliases.
26459 (_sys_siglist): Define hidden alias.
26460
507352f1
MT
264612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26462
26463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26464 bits/sysctl.h.
26465
42bbb1c3
L
264662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26467
26468 [BZ #14117]
6bd784b6
L
26469 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26470 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26471
8bca20f0
L
26472 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26473 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26474 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26475 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26477 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26478
f9e890a9
L
26479 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26480 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26481 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26482
471101a1
L
26483 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26484 with __addr.
26485 (insw): Likewise.
26486 (insl): Likewise.
26487 (outsb): Likewise.
26488 (outsw): Likewise.
26489 (outsl): Likewise.
26490
6451c862
L
26491 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26492 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26493 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26494
a254b8c9
L
26495 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26496 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26497 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26498 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26499 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26500 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26501
b8dfdd92
L
26502 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26503 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26504
578cd270
L
26505 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26506 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26507
de662f5f
L
26508 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26510 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26511
25653439
L
26512 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26513 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26514 to ...
26515 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26516
6bad24a0
L
26517 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26518 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26519 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26520
42bbb1c3
L
26521 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26522 for x86-64.
26523 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26524
2d10d547
JM
265252012-05-31 Joseph Myers <joseph@codesourcery.com>
26526
26527 * math/math.h (M_El): Use two more decimal places.
26528 (M_LOG2El): Likewise.
26529 (M_LOG10El): Likewise.
26530 (M_LN2l): Likewise.
26531 (M_LN10l): Likewise.
26532 (M_PIl): Likewise.
26533 (M_PI_2l): Likewise.
26534 (M_PI_4l): Likewise.
26535 (M_1_PIl): Likewise.
26536 (M_2_PIl): Likewise.
26537 (M_2_SQRTPIl): Likewise.
26538 (M_SQRT2l): Likewise.
26539 (M_SQRT1_2l): Likewise.
26540
f230c29b
DM
265412012-05-31 David S. Miller <davem@davemloft.net>
26542
26543 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26544 values between float registers.
26545 * sysdeps/sparc/sparc64/memset.S: Likewise.
26546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26547
fed806c3
MF
265482012-05-31 Mike Frysinger <vapier@gentoo.org>
26549
26550 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26551 -D_FORTIFY_SOURCE=1.
26552 (CPPFLAGS-tst-longjmp_chk.c): Define.
26553 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26554 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26555 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26556 CFLAGS-tst-wchar-h.c.
26557
30917259
MP
265582012-05-31 Marek Polacek <polacek@redhat.com>
26559
26560 [BZ #14132]
26561 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26562 __endmntent_internal): Remove declaration.
26563 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26564 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26565 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26566
1c58d5dc
DM
265672012-05-30 David S. Miller <davem@davemloft.net>
26568
26569 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26570 (___Q_simulate_exceptions): Use real FP ops rather than writing
26571 into the %fsr.
26572 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26573 Likewise.
26574
7dc00e0d
L
265752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26576
26577 [BZ #14117]
0bd53985
L
26578 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26579 * sysdeps/x86/bits/xtitypes.h: This.
26580
3a257e66
L
26581 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26582 * sysdeps/x86/bits/wordsize.h: This.
26583
62f62904
L
26584 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26585 * sysdeps/x86/bits/huge_vall.h: This.
26586
404fe9d9
L
26587 * sysdeps/i386/bits/select.h: Removed.
26588 * sysdeps/x86_64/bits/select.h: Renamed to ...
26589 * sysdeps/x86/bits/select.h: This.
26590
d48d0446
L
26591 * sysdeps/i386/bits/setjmp.h: Removed.
26592 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26593 * sysdeps/x86/bits/setjmp.h: This.
26594
7dc00e0d
L
26595 * sysdeps/i386/bits/mathdef.h: Removed.
26596 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26597 * sysdeps/x86/bits/mathdef.h: This.
26598
03277f8f
AS
265992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26600
26601 [BZ #14132]
26602 * include/sys/socket.h (__connect_internal)
26603 (__libc_sa_len_internal): Remove declaration.
26604 (__connect, __libc_sa_len): Declare hidden_proto.
26605 (SA_LEN): Remove use of INTUSE.
26606 * socket/connect.c: Add libc_hidden_def.
26607 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26608 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26609 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26610 alias.
26611 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26612 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26613 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26614 of adding _internal alias.
26615
13764867
L
266162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26617
26618 [BZ #14117]
6bd97696
L
26619 * sysdeps/i386/bits/link.h: Removed.
26620 * sysdeps/i386/bits/linkmap.h: Likewise.
26621 * sysdeps/x86_64/bits/link.h: Renamed to ...
26622 * sysdeps/x86/bits/link.h: This.
26623 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26624 * sysdeps/x86/bits/linkmap.h: This.
26625
f726f0bb
L
26626 * sysdeps/i386/bits/endian.h: Removed.
26627 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26628 * sysdeps/x86/bits/endian.h: This.
26629
13764867
L
26630 * sysdeps/i386/bits/byteswap.h: Removed.
26631 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26632 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26633 * sysdeps/x86/bits/byteswap.h: This.
26634 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26635 * sysdeps/x86/bits/byteswap-16.h: This.
26636 * sysdeps/i386/Implies: Add x86.
26637 * sysdeps/x86_64/Implies: Likewise.
26638
ae251b0b
DM
266392012-05-30 David S. Miller <davem@davemloft.net>
26640
26641 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26642 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26643 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26644 (FP_TRAPPING_EXCEPTIONS): Define.
26645 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26646 (FP_TRAPPING_EXCEPTIONS): Define.
26647 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26648 subnormals only when inexact has been signalled or underflow
26649 exceptions are enabled.
26650 (_FP_PACK_CANONICAL): Likewise.
26651
d5c90867
L
266522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26653
26654 [BZ #14183]
26655 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26656 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26657
63f1549e
RH
266582012-05-30 Richard Henderson <rth@twiddle.net>
26659
8d8f2279
RH
26660 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26661 with #ifndef NOT_IN_libc.
26662
63f1549e
RH
26663 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26664 marked to avoid plt entry.
26665
0ab0291b
L
266662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26667
26668 [BZ #14112]
26669 * Makeconfig (default-abi): New macro.
26670 (abi-includes): Likewise.
26671 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26672 $(abi-$(default-abi)-lib-soname) for soname if defined.
26673 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26674 abi-variants.
26675 * Makefile (installed-stubs): Likewise.
26676 * include/stubs-biarch.h: Removed.
26677 * scripts/lib-names.awk: Only handle one library at a time.
26678 * scripts/soversions.awk: Remove WORDSIZE support.
26679 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26680 entries.
26681 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26682 Removed.
26683 (syscall-list-default-condition): Likewise.
26684 (syscall-list-default-condition): Likewise.
26685 (syscall-list-includes): Likewise.
26686 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26687 syscall-list-* with abi-*. Handle undefined abi-variants.
26688 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26689 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26690 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26691 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26692 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26693 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26694 Removed.
26695 (syscall-list-32-options): Likewise.
26696 (syscall-list-32-condition): Likewise.
26697 (syscall-list-64-options): Likewise.
26698 (syscall-list-64-condition): Likewise.
26699 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26700 macro.
26701 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26702 Renamed to ...
26703 (abi-*): This.
26704 (abi-64-ld-soname): New macro.
26705 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26706 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26707 Renamed to ...
26708 (abi-*): This.
26709 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26710 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26711
4da0431d
JM
267122012-05-30 Joseph Myers <joseph@codesourcery.com>
26713
3a85279c
JM
26714 * sysdeps/unix/sysv/linux/kernel-features.h
26715 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26716 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26717 include <kernel-features.h>.
26718 [!__NR_ftruncate64]: Remove conditional code.
26719 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26720 [__NR_ftruncate64]: Make code unconditional.
26721 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26722 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26723 include <kernel-features.h>.
26724 [!__NR_ftruncate64]: Remove conditional code.
26725 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26726 [__NR_ftruncate64]: Make code unconditional.
26727 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26729 include <kernel-features.h>.
26730 [!__NR_ftruncate64]: Remove conditional code.
26731 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26732 [__NR_ftruncate64]: Make code unconditional.
26733 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26735 include <kernel-features.h>.
26736 [!__NR_ftruncate64]: Remove conditional code.
26737 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26738 [__NR_ftruncate64]: Make code unconditional.
26739 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26740
4da0431d
JM
26741 * configure.in (libc_cv_fpie): Weaken to a compile test using
26742 LIBC_TRY_CC_OPTION.
26743 * configure: Regenerated.
26744
11ef492c
AK
267452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26746
26747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26751 Refreshed.
26752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26758 Refreshed.
26759
d66ef399
DM
267602012-05-27 David S. Miller <davem@davemloft.net>
26761
26762 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26763 (___Q_zero): New.
26764 (__Q_simulate_exceptions): Return void. Change to simulate
26765 exceptions by writing into the %fsr.
26766 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26767 (__Qp_handle_exceptions): Likewise.
26768 (numbers): Delete.
26769 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26770 __Qp_handle_exceptions.
26771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26772 __Qp_handle_exceptions.
26773 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26774 as unused and give dummy FP_RND_NEAREST initializer.
26775 (FP_INHIBIT_RESULTS): Define.
26776 (___Q_simulate_exceptions): Update declaration.
26777 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26778 formatting.
26779 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26780 as unused and give dummy FP_RND_NEAREST initializer.
26781 (__Qp_handle_exceptions): Update declaration.
26782 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26783 formatting.
26784
04fb54b5
TS
267852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26786
26787 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26788 the temporary FPU control word.
26789 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26790 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26791 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26792 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26793 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26794 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26795 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26796 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26797 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26798 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26799 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26800
3f99608f
KK
268012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26802
26803 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26804 fields.
26805
65a4de4e
CLT
268062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26807
26808 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26809 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26810 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26811 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26812 Likewise.
26813 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26814 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26815 Likewise.
26816
15749d40
UD
268172012-05-27 Ulrich Drepper <drepper@gmail.com>
26818
26819 * po/h.po: Update from translation team.
26820
25dbcb27
AS
268212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26822
3d3f8e55
AS
26823 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26824
25dbcb27
AS
26825 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26826 handling of denormals.
26827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26828 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26829 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26830 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26831 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26833 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26834 Likewise.
26835
7ad47a80 268362012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26837
26838 [BZ #14152]
26839 * math/libm-test.inc (fma_test): Don't always expect underflow
26840 exception.
26841
9c6ea9fa
SP
268422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26843
26844 [BZ #12416]
26845 * elf/tst-execstack.c: Include stackinfo.h.
26846 (do_test): Adjust test case to ensure that pthread_getattr_np
26847 behaviour remains the same after marking stack executable.
26848
a8239222
JM
268492012-05-25 Joseph Myers <joseph@codesourcery.com>
26850
26851 * sysdeps/unix/sysv/linux/kernel-features.h
26852 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26853 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26854 kernel-features.h.
26855 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26856 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26857 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26858 kernel-features.h.
26859 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26860 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26861
918b5606
L
268622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26863
26864 * configure.in: Define the default includes to being none.
26865 * configure: Regenerated.
26866
3a097cc7
RM
268672012-05-25 Roland McGrath <roland@hack.frob.com>
26868
8422c9a5
RM
26869 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26870 * sysdeps/x86_64/setjmp.S: Likewise.
26871 * sysdeps/i386/bsd-setjmp.S: Likewise.
26872 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26873 * sysdeps/i386/setjmp.S: Likewise.
26874 * sysdeps/i386/__longjmp.S: Likewise.
26875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26876 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26877
3a097cc7
RM
26878 * include/stap-probe.h: New file.
26879 * configure.in: Handle --enable-systemtap.
26880 * configure: Regenerated.
26881 * config.h.in (USE_STAP_PROBE): New #undef.
26882 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26883 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26884 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26885
21708942
JM
268862012-05-25 Joseph Myers <joseph@codesourcery.com>
26887
26888 [BZ #13717]
26889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26890 to 2.4.0 where earlier.
26891 * sysdeps/unix/sysv/linux/configure: Regenerated.
26892 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26893 <kernel-features.h>.
26894 [__ASSUME_32BITUIDS]: Make code unconditional.
26895 [!__ASSUME_32BITUIDS]: Remove conditional code.
26896 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26897 <kernel-features.h>.
26898 [__ASSUME_32BITUIDS]: Make code unconditional.
26899 [!__ASSUME_32BITUIDS]: Remove conditional code.
26900 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26901 [__ASSUME_32BITUIDS]: Make code unconditional.
26902 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26903 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26904 <kernel-features.h>.
26905 [__ASSUME_32BITUIDS]: Make code unconditional.
26906 [!__ASSUME_32BITUIDS]: Remove conditional code.
26907 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26908 <kernel-features.h>.
26909 [__ASSUME_32BITUIDS]: Make code unconditional.
26910 [!__ASSUME_32BITUIDS]: Remove conditional code.
26911 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26912 <kernel-features.h>.
26913 [__ASSUME_32BITUIDS]: Make code unconditional.
26914 [!__ASSUME_32BITUIDS]: Remove conditional code.
26915 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26916 <kernel-features.h>.
26917 [__ASSUME_32BITUIDS]: Make code unconditional.
26918 [!__ASSUME_32BITUIDS]: Remove conditional code.
26919 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26920 <kernel-features.h>.
26921 [__ASSUME_32BITUIDS]: Make code unconditional.
26922 [!__ASSUME_32BITUIDS]: Remove conditional code.
26923 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26924 <kernel-features.h>.
26925 [__ASSUME_32BITUIDS]: Make code unconditional.
26926 [!__ASSUME_32BITUIDS]: Remove conditional code.
26927 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26928 <kernel-features.h>.
26929 [__ASSUME_32BITUIDS]: Make code unconditional.
26930 [!__ASSUME_32BITUIDS]: Remove conditional code.
26931 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26932 <kernel-features.h>.
26933 [__ASSUME_32BITUIDS]: Make code unconditional.
26934 [!__ASSUME_32BITUIDS]: Remove conditional code.
26935 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26936 <kernel-features.h>.
26937 [__ASSUME_32BITUIDS]: Make code unconditional.
26938 [!__ASSUME_32BITUIDS]: Remove conditional code.
26939 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26940 <kernel-features.h>.
26941 [__ASSUME_32BITUIDS]: Make code unconditional.
26942 [!__ASSUME_32BITUIDS]: Remove conditional code.
26943 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26944 <kernel-features.h>.
26945 [__NR_setresgid] (__setresgid): Do not declare.
26946 [__ASSUME_32BITUIDS]: Make code unconditional.
26947 [!__ASSUME_32BITUIDS]: Remove conditional code.
26948 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26949 <kernel-features.h>.
26950 [__NR_setresuid] (__setresuid): Do not declare.
26951 [__ASSUME_32BITUIDS]: Make code unconditional.
26952 [!__ASSUME_32BITUIDS]: Remove conditional code.
26953 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26954 <kernel-features.h>.
26955 [__ASSUME_32BITUIDS]: Make code unconditional.
26956 [!__ASSUME_32BITUIDS]: Remove conditional code.
26957 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26958 <kernel-features.h>.
26959 [__ASSUME_32BITUIDS]: Make code unconditional.
26960 [!__ASSUME_32BITUIDS]: Remove conditional code.
26961 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26962 <kernel-features.h>.
26963 [__ASSUME_32BITUIDS]: Make code unconditional.
26964 [!__ASSUME_32BITUIDS]: Remove conditional code.
26965 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26966 <kernel-features.h>.
26967 [__ASSUME_32BITUIDS]: Make code unconditional.
26968 [!__ASSUME_32BITUIDS]: Remove conditional code.
26969 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26970 <kernel-features.h>.
26971 [__ASSUME_32BITUIDS]: Make code unconditional.
26972 [!__ASSUME_32BITUIDS]: Remove conditional code.
26973 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26974 <kernel-features.h>.
26975 [__ASSUME_32BITUIDS]: Make code unconditional.
26976 [!__ASSUME_32BITUIDS]: Remove conditional code.
26977 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26978 <kernel-features.h>.
26979 [__ASSUME_32BITUIDS]: Make code unconditional.
26980 [!__ASSUME_32BITUIDS]: Remove conditional code.
26981 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26982 <kernel-features.h>.
26983 [__ASSUME_32BITUIDS]: Make code unconditional.
26984 [!__ASSUME_32BITUIDS]: Remove conditional code.
26985 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26986 <kernel-features.h>.
26987 [__ASSUME_32BITUIDS]: Make code unconditional.
26988 [!__ASSUME_32BITUIDS]: Remove conditional code.
26989 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26990 <kernel-features.h>.
26991 [__ASSUME_32BITUIDS]: Make code unconditional.
26992 [!__ASSUME_32BITUIDS]: Remove conditional code.
26993 * sysdeps/unix/sysv/linux/kernel-features.h
26994 (__ASSUME_SETRESUID_SYSCALL): Remove.
26995 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26996 (__ASSUME_32BITUIDS): Likewise.
26997 (__ASSUME_LDT_WORKS): Likewise.
26998 (__ASSUME_O_DIRECTORY): Likewise.
26999 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27000 architecture but not kernel version.
27001 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27002 (__ASSUME_MMAP2_SYSCALL): Likewise.
27003 (__ASSUME_STAT64_SYSCALL): Likewise.
27004 (__ASSUME_IPC64): Likewise.
27005 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27006 <kernel-features.h>.
27007 [__ASSUME_32BITUIDS]: Make code unconditional.
27008 [!__ASSUME_32BITUIDS]: Remove conditional code.
27009 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27010 <kernel-features.h>.
27011 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27012 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27013 132096]: Remove conditional code.
27014 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27015 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27016 <kernel-features.h>.
27017 [__ASSUME_32BITUIDS]: Make code unconditional.
27018 [!__ASSUME_32BITUIDS]: Remove conditional code.
27019 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27020 <kernel-features.h>.
27021 [__ASSUME_32BITUIDS]: Make code unconditional.
27022 [!__ASSUME_32BITUIDS]: Remove conditional code.
27023 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27024 <kernel-features.h>.
27025 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27026 unconditional.
27027 (__setresgid): Do not declare.
27028 [__ASSUME_32BITUIDS]: Make code unconditional.
27029 [!__ASSUME_32BITUIDS]: Remove conditional code.
27030 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27031 <kernel-features.h>.
27032 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27033 unconditional.
27034 (__setresuid): Do not declare.
27035 [__ASSUME_32BITUIDS]: Make code unconditional.
27036 [!__ASSUME_32BITUIDS]: Remove conditional code.
27037 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27038 <kernel-features.h>.
27039 [__ASSUME_32BITUIDS]: Make code unconditional.
27040 [!__ASSUME_32BITUIDS]: Remove conditional code.
27041 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27042 <kernel-features.h>.
27043 [__ASSUME_32BITUIDS]: Make code unconditional.
27044 [!__ASSUME_32BITUIDS]: Remove conditional code.
27045
a386f1cc
RH
270462012-05-25 Richard Henderson <rth@twiddle.net>
27047
27048 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27049 dl_hwcap to ifunc resolver.
27050 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27051 elf_ifunc_invoke.
27052 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27053 dl_hwcap to ifunc resolver.
27054 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27055
b6550497
JM
270562012-05-24 Joseph Myers <joseph@codesourcery.com>
27057
27058 [BZ #14153]
27059 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27060 for |x| <= 2**-26, not 2**-57.
27061 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27062 exception.
27063
b0bc23a1
JL
270642012-05-24 Jeff Law <law@redhat.com>
27065
27066 * stdio-common/Makefile (tests): Add bug25.
27067 * stdio-common/bug25.c: New test.
27068
347c92e9
L
270692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27070
27071 [BZ #13576]
27072 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27073 multiple of MALLOC_ALIGNMENT in size.
27074 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27075
6bcc8b3f
JM
270762012-05-24 Joseph Myers <joseph@codesourcery.com>
27077
27078 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27079 Require >= 256.
27080 (FILENAME_MAX): Use macro-int-constant.
27081 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27082 (_IOFBF): Use macro-int-constant.
27083 (_IOLBF): Likewise.
27084 (_IONBF): Likewise.
27085 (SEEK_CUR): Likewise.
27086 (SEEK_END): Likewise.
27087 (SEEK_SET): Likewise.
27088 (TMP_MAX): Likewise.
27089 (EOF): Use macro-int-constant. Require < 0.
27090 (NULL): Use macro-constant. Require == 0.
27091 (stdin): Require type to be FILE *.
27092 (stdout): Likewise.
27093 (stderr): Likewise.
27094 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27095 macro-int-constant.
27096 (EXIT_SUCCESS): Likewise.
27097 (NULL): Use macro-constant. Require == 0.
27098 (RAND_MAX): Use macro-int-constant.
27099 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27100 [C99-based standards] (strtof): Require function.
27101 [C99-based standards] (strtold): Likewise.
27102 [C99-based standards] (strtoll): Likewise.
27103 [C99-based standards] (strtoull): Likewise.
27104 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27105 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27106 [ISO || ISO99 || ISO11] (math.h): Likewise.
27107 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27108 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27110
d18ea0c5
AS
271112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27112
27113 [BZ #14132]
56d25bb8
AS
27114 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27115 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27116 * intl/dgettext.c (DCGETTEXT): Likewise.
27117 * intl/gettext.c (DCGETTEXT): Likewise.
27118 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27119 * posix/regex_internal.h (gettext): Likewise.
27120 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27121 Remove declaration.
27122 * include/argz.h (__argz_count_internal)
27123 (__argz_stringify_internal): Remove declaration.
27124 (__argz_count, __argz_stringify): Declare hidden proto.
27125 * intl/dcgettext.c: Remove use of INTDEF.
27126 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27127 * string/argz-stringify.c: Likewise.
27128 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27129 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27130 Declare hidden proto.
d18ea0c5
AS
27131 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27132 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27133 Declare hidden proto.
27134 * include/stdio.h (__asprintf_internal): Don't declare.
27135 (__asprintf): Don't define as macro. Declare hidden proto.
27136 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27137 (__fsetlocking): Declare hidden proto.
27138 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27139 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27140 hidden proto.
27141 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27142 (_IO_setlinebuf): Remove use of INTUSE.
27143 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27144 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27145 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27146 Remove declaration.
27147 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27148 (_IO_do_flush): Remove use of INTUSE.
27149 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27150 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27151 (_IO_adjust_column, _IO_least_wmarker)
27152 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27153 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27154 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27155 (_IO_default_doallocate, _IO_wdefault_doallocate)
27156 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27157 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27158 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27159 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27160 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27161 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27162 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27163 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27164 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27165 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27166 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27167 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27168 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27169 proto.
27170 (_IO_flush_all_internal, _IO_adjust_column_internal)
27171 (_IO_default_uflow_internal, _IO_default_finish_internal)
27172 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27173 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27174 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27175 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27176 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27177 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27178 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27179 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27180 (_IO_file_close_internal, _IO_file_close_it_internal)
27181 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27182 (_IO_file_init_internal, _IO_file_attach_internal)
27183 (_IO_file_fopen_internal, _IO_file_read_internal)
27184 (_IO_file_sync_internal, _IO_file_seek_internal)
27185 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27186 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27187 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27188 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27189 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27190 (_IO_list_all_internal, _IO_link_in_internal)
27191 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27192 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27193 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27194 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27195 (_IO_do_write_internal, _IO_padn_internal)
27196 (_IO_getline_info_internal, _IO_getline_internal)
27197 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27198 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27199 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27200 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27201 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27202 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27203 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27204 with libc_hidden_ver, remove use of INTUSE.
27205 * libio/genops.c: Likewise.
27206 * libio/freopen.c: Likewise.
27207 * libio/freopen64.c: Likewise.
27208 * libio/iofclose.c: Likewise.
27209 * libio/iofdopen.c: Likewise.
27210 * libio/iofflush.c: Likewise.
27211 * libio/iofflush_u.c: Likewise.
27212 * libio/iofgets.c: Likewise.
27213 * libio/iofgets_u.c: Likewise.
27214 * libio/iofopen.c: Likewise.
27215 * libio/iofopncook.c: Likewise.
27216 * libio/iofread.c: Likewise.
27217 * libio/iofread_u.c: Likewise.
27218 * libio/ioftell.c: Likewise.
27219 * libio/iofwrite.c: Likewise.
27220 * libio/iogetline.c: Likewise.
27221 * libio/iogets.c: Likewise.
27222 * libio/iogetwline.c: Likewise.
27223 * libio/iopadn.c: Likewise.
27224 * libio/iopopen.c: Likewise.
27225 * libio/ioseekoff.c: Likewise.
27226 * libio/ioseekpos.c: Likewise.
27227 * libio/iosetbuffer.c: Likewise.
27228 * libio/iosetvbuf.c: Likewise.
27229 * libio/ioungetc.c: Likewise.
27230 * libio/ioungetwc.c: Likewise.
27231 * libio/iovdprintf.c: Likewise.
27232 * libio/iovsprintf.c: Likewise.
27233 * libio/iovsscanf.c: Likewise.
27234 * libio/memstream.c: Likewise.
27235 * libio/obprintf.c: Likewise.
27236 * libio/oldfileops.c: Likewise.
27237 * libio/oldiofclose.c: Likewise.
27238 * libio/oldiofdopen.c: Likewise.
27239 * libio/oldiofopen.c: Likewise.
27240 * libio/oldiopopen.c: Likewise.
27241 * libio/oldstdfiles.c: Likewise.
27242 * libio/putc.c: Likewise.
27243 * libio/setbuf.c: Likewise.
27244 * libio/setlinebuf.c: Likewise.
27245 * libio/stdfiles.c: Likewise.
27246 * libio/strops.c: Likewise.
27247 * libio/vasprintf.c: Likewise.
27248 * libio/vscanf.c: Likewise.
27249 * libio/vsnprintf.c: Likewise.
27250 * libio/vswprintf.c: Likewise.
27251 * libio/wfiledoalloc.c: Likewise.
27252 * libio/wfileops.c: Likewise.
27253 * libio/wgenops.c: Likewise.
27254 * libio/wmemstream.c: Likewise.
27255 * libio/wstrops.c: Likewise.
27256 * libio/__fpurge.c: Likewise.
27257 * libio/__fsetlocking.c: Likewise.
27258 * assert/assert.c: Likewise.
27259 * debug/fgets_chk.c: Likewise.
27260 * debug/fgets_u_chk.c: Likewise.
27261 * debug/fread_chk.c: Likewise.
27262 * debug/fread_u_chk.c: Likewise.
27263 * debug/gets_chk.c: Likewise.
27264 * debug/obprintf_chk.c: Likewise.
27265 * debug/vasprintf_chk.c: Likewise.
27266 * debug/vdprintf_chk.c: Likewise.
27267 * debug/vsnprintf_chk.c: Likewise.
27268 * debug/vsprintf_chk.c: Likewise.
27269 * malloc/mtrace.c: Likewise.
27270 * misc/error.c: Likewise.
27271 * misc/syslog.c: Likewise.
27272 * stdio-common/asprintf.c: Likewise.
27273 * stdio-common/fxprintf.c: Likewise.
27274 * stdio-common/getw.c: Likewise.
27275 * stdio-common/isoc99_fscanf.c: Likewise.
27276 * stdio-common/isoc99_scanf.c: Likewise.
27277 * stdio-common/isoc99_vfscanf.c: Likewise.
27278 * stdio-common/isoc99_vscanf.c: Likewise.
27279 * stdio-common/isoc99_vsscanf.c: Likewise.
27280 * stdio-common/printf-prs.c: Likewise.
27281 * stdio-common/printf_fp.c: Likewise.
27282 * stdio-common/printf_fphex.c: Likewise.
27283 * stdio-common/printf_size.c: Likewise.
27284 * stdio-common/putw.c: Likewise.
27285 * stdio-common/scanf.c: Likewise.
27286 * stdio-common/sprintf.c: Likewise.
27287 * stdio-common/tmpfile.c: Likewise.
27288 * stdio-common/vfprintf.c: Likewise.
27289 * stdio-common/vfscanf.c: Likewise.
27290 * stdlib/strfmon_l.c: Likewise.
27291 * sunrpc/openchild.c: Likewise.
27292 * sunrpc/xdr_stdio.c: Likewise.
27293 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27294 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27295
d6c33fda
RM
272962012-05-24 Roland McGrath <roland@hack.frob.com>
27297
c1487492
RM
27298 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27299
27300 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27301 in the third column, to generate for the shared library an IFUNC
27302 that uses _dl_vdso_vsym.
27303 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27304 * Makeconfig (object-suffixes-noshared): New variable.
27305
27306 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27307 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27308 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27309 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27310
d6c33fda
RM
27311 [BZ #14132]
27312 * include/sys/time.h (__gettimeofday): Remove macro.
27313 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27314 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27315 Remove INTDEF.
27316 (__gettimeofday): Add libc_hidden_def.
27317 (gettimeofday): Add libc_hidden_weak.
27318 * sysdeps/mach/gettimeofday.c: Likewise.
27319 * sysdeps/posix/gettimeofday.c: Likewise.
27320 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27321 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27323 (__gettimeofday_internal): Remove strong_alias.
27324 (__gettimeofday): Add libc_hidden_def.
27325 (gettimeofday): Add libc_hidden_weak.
27326 * sysdeps/unix/syscalls.list (gettimeofday):
27327 Remove __gettimeofday_internal alias.
27328
b5a2bbe6
L
273292012-05-24 Daniel Jacobowitz <drow@false.org>
27330 H.J. Lu <hongjiu.lu@intel.com>
27331
27332 [BZ #12495]
27333 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27334 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27335 (largebin_index_32_big): New.
27336 (largebin_index): Use it for 16-byte alignment.
27337 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27338 correction with front_misalign.
27339
cfba4fda
L
273402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27341
7f907421
L
27342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27344 Likewise.
27345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27346 Likewise.
27347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27348 Likewise.
27349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27350 Likewise.
27351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27352 Likewise.
27353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27354 Likewise.
27355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27356 Likewise.
27357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27358 Likewise.
27359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27360 Likewise.
27361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27362 Likewise.
27363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27364 Likewise.
27365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27366 Likewise.
27367
cfba4fda
L
27368 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27369 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27370
80bad0cc
JM
273712012-05-24 Joseph Myers <joseph@codesourcery.com>
27372
7a25eb06
JM
27373 [BZ #10846]
27374 [BZ #14036]
27375 * math/libm-test.inc (exp_test): Add test from bug 14036.
27376 (pow_test): Add test from bug 10846.
27377
795405f9
JM
27378 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27379 and other flags.
27380 (special_function): Do not include flags in test name.
27381 (parse_args): Likewise.
27382 * sysdeps/i386/fpu/libm-test-ulps: Update.
27383 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27384 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27385 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27387
80bad0cc
JM
27388 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27389 exceptions.
27390 * math/libm-test.inc ("Philosophy"): Update comment about
27391 exception testing.
27392 (UNDERFLOW_EXCEPTION): New macro.
27393 (UNDERFLOW_EXCEPTION_OK): Likewise.
27394 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27395 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27396 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27397 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27398 (INVALID_EXCEPTION_OK): Update value.
27399 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27400 (OVERFLOW_EXCEPTION_OK): Likewise.
27401 (IGNORE_ZERO_INF_SIGN): Likewise.
27402 (test_exceptions): Handle underflow exceptions.
27403 (acos_test): Update for underflow exception expectations.
27404 (cexp_test): Likewise.
27405 (clog_test): Likewise.
27406 (clog10_test): Likewise.
27407 (csqrt_test): Likewise.
27408 (ctan_test): Likewise.
27409 (ctanh_test): Likewise.
27410 (exp_test): Likewise.
27411 (exp10_test): Likewise.
27412 (exp2_test): Likewise.
27413 (expm1_test): Likewise.
27414 (fma_test): Likewise.
27415 (j0_test): Likewise.
27416 (jn_test): Likewise.
27417 (nexttoward_test): Likewise.
27418 (pow_test): Likewise.
27419 (scalbn_test): Likewise.
27420 (scalbln_test): Likewise.
27421 (tan_test): Likewise.
27422 (y1_test): Likewise.
27423 * sysdeps/i386/fpu/libm-test-ulps: Update.
27424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27425
9e0e3d0b
DM
274262012-05-23 David S. Miller <davem@davemloft.net>
27427
27428 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27429 (__libc_sigaction): Remove unused local variables.
27430
ccd0a08f
L
274312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27432
27433 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27434
62bdf9a6
PE
274352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27436
f8591f80
PE
27437 mktime: avoid signed integer overflow
27438 * time/mktime.c (__mktime_internal): Do not mishandle the case
27439 where diff == INT_MIN.
27440
94c7d826
PE
27441 mktime: simplify computation of average
27442 * time/mktime.c (ranged_convert): Use new time_t_avg function
27443 instead of rolling our own (probably-slower) code.
27444
ce73d683
PE
27445 mktime: do not assume signed right shift propagates sign bit
27446 * time/mktime.c (isdst_differ): New static function.
27447 (__mktime_internal): No need to normalize tm_isdst now.
27448 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27449 tm_isdst values.
27450
72a22e59
PE
27451 mktime: merge another wrapv change from gnulib
27452 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27453 from some compilers.
27454
68605433
PE
27455 mktime: remove incorrect attempt at unusual arithmetics
27456 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27457 The code didn't really work on such machines anyway.
27458 (TYPE_MINIMUM): Assume two's complement.
27459 (twos_complement_arithmetic): Verify that long_int and time_t
27460 are two's complement (or unsigned, in the latter case).
27461
03cf7fe3
PE
27462 mktime: check signed shifts on long_int and time_t, too
27463 * time/mktime.c (SHR): Check that shifts work as desired
27464 on the types long_int and time_t too, as SHR is used on
27465 such types.
27466
f04dfbc2
PE
27467 mktime: do not assume 'long' is wide enough
27468 * time/mktime.c (verify): Move decl up.
27469 (long_int): New type.
27470 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27471 to remove assumption in the code that 'long' is wide enough to
27472 store year values. This assumption is not true on x32 and on
27473 some non-glibc platforms.
27474
62bdf9a6
PE
27475 mktime: merge wrapv change from gnulib
27476 * time/mktime.c (WRAPV): New macro.
27477 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27478 (guess_time_tm, __mktime_internal): Do not assume that signed
27479 integer overflow wraps around; modern compilers generate code
27480 where this assumption is no longer valid.
27481
5e292e4f
L
274822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27483
27484 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27485 Replace "jmp L(pseudo_end)" with "ret".
27486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27487 Likewise.
27488
8caf8c87
AJ
274892012-05-23 Andreas Jaeger <aj@suse.de>
27490
27491 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27492 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27493
1a09dc56
AJ
274942012-05-23 Andreas Jaeger <aj@suse.de>
27495 Maximilian Attems <max@stro.at>
27496
27497 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27498 New macros.
27499
1c87aba0
L
275002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27501
27502 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27503 code so that pseudo_end is just ret and the stack pointer is
27504 correct also for static library in error case.
27505
40e45bd5
JM
275062012-05-23 Joseph Myers <joseph@codesourcery.com>
27507
c2670533
JM
27508 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27509 move to syscalls.list.
27510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27514
40e45bd5
JM
27515 * manual/install.texi (Running make install): Do not mention Linux
27516 kernel version for which pt_chown is not needed.
27517 (Linux): Do not mention problems with nscd with 2.0 kernels.
27518 * INSTALL: Regenerated.
27519
be08eda5
AJ
275202012-05-23 Andreas Jaeger <aj@suse.de>
27521
27522 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27523 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27524 macro.
27525 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27526 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27527 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27528 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27529 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27530 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27531 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27532 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27533 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27534 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27535 * sysdeps/unix/sysv/linux/bits/in.h
27536 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27537
a6a056bb
RM
275382012-05-22 Roland McGrath <roland@hack.frob.com>
27539
27540 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27541 (PREPARE_VERSION): Just use assert instead, it will be elided
27542 under [NDEBUG] anyway.
27543
c9009328
L
275442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27545
27546 * sysdeps/unix/sysv/linux/Makefile: Include
27547 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27548 (sysdep_routines): Remove sysctl.
c9009328
L
27549 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27550 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27551 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27552 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27553 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27554
73338355
AJ
275552012-05-22 Andreas Jaeger <aj@suse.de>
27556
27557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27558 that pseudo_end is just ret and the stack pointer is correct also
27559 for static library in error case.
27560
d44638b0
PP
275612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27562
27563 [BZ #14122]
27564 * nss/nsswitch.c (defconfig_entries): New variable.
27565 (__nss_database_lookup): Don't leak defconfig entries.
27566 (nss_parse_service_list): Don't leak on error paths.
27567 (free_database_entries): New function.
27568 (free_defconfig): New function.
27569 (free_mem): Move common code to free_database_entries.
27570
31a39bd8
L
275712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27572
da0331a8
L
27573 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27574 Add arch_prctl.
27575 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27576
31a39bd8
L
27577 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27578 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27580 New macro.
27581 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27582 (INTERNAL_SYSCALL_TYPES): Likewise.
27583 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27584 (LOAD_REGS_TYPES_[1-6]): Likewise.
27585 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27586 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27587
45470df3
AZ
275882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27589
27590 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27591 copysignl for GLIBC_2_0.
27592 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27593 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27595 logbl for GLIBC_2_0.
27596 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27597 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27598
98a61bcb
L
275992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27600
a4f6e481
L
27601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27602 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27603
f63d5db6
L
27604 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27605 Use "neg %eax".
27606
98a61bcb
L
27607 * time/mktime.c: Update copyright years.
27608
95770f14
PE
276092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27610
6226efbd
PE
27611 mktime: merge comment-quoting-style change from gnulib
27612 * time/mktime.c: Quote 'like this' in comments.
27613 The GNU coding standards suggest that we no longer quote `like this',
27614 as "`" and "'" are typically rendered asymmetrically nowadays.
27615 The typical gnulib style is to quote 'like this' when quoting
27616 code, and "like this" when quoting English.
27617
b99e4f78
PE
27618 * time/mktime.c (compile-command): Add "-I.".
27619
643e01e6
PE
27620 mktime: merge mktime-internal.h change from gnulib
27621 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27622
2554247d
PE
27623 mktime: merge time_r change from gnulib
27624 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27625
826dd0ab
PE
27626 mktime: merge DEBUG change from gnulib
27627 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27628 case system <time.h> has a #define.
27629
bd83aabe
PE
27630 mktime: merge <sys/types.h> change from gnulib
27631 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27632 since <time.t> is now guaranteed to define time_t.
27633
95770f14
PE
27634 mktime: merge HAVE_CONFIG_H change from gnulib
27635 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27636
5e1a27a9
L
276372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27638
0e44a77e
L
27639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27640 Use "neg %eax".
27641
5e1a27a9
L
27642 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27643 __rlim_t cast.
27644 (struct rusage): Use anonymous union to pad each field to
27645 __syscall_slong_t.
27646
46259bec
DM
276472012-05-21 David S. Miller <davem@davemloft.net>
27648
27649 * Makefules (o-iterator): Remove .s cases.
27650 (compile-command.s): Delete.
27651 (COMPILE.s): Delete.
27652 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27653
59f0c22e
JM
276542012-05-21 Joseph Myers <joseph@codesourcery.com>
27655
27656 * configure.in (libc_cv_predef_stack_protector): Only consider
27657 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27658 * configure: Regenerated.
27659
20c07380
L
276602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27661
bbb3154b
L
27662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27663 New macro. Use R*LP on int and pointer.
27664 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27665 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27666 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27667 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27668
20c07380
L
27669 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27670 [__WORDSIZE_TIME64_COMPAT32] instead of
27671 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27672 (struct utmp): Likewise.
27673 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27674 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27675 Renamed to ...
27676 (__WORDSIZE_TIME64_COMPAT32): This.
27677 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27678 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27679 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27680 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27681 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27682 (__WORDSIZE_TIME64_COMPAT32): New macro.
27683
d8d1017e
AJ
276842012-05-21 Andreas Jaeger <aj@suse.de>
27685
27686 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27687 only if [SHARED]. Add prototype for __wcschr_ia32.
27688
6c7fb145
RM
276892012-05-21 Roland McGrath <roland@hack.frob.com>
27690
27691 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27692 of %rbp unmolested in the jmp_buf while mangling the low bits.
27693 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27694 unmolested high bits of %rbp while demangling the low bits.
27695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27696
66274218
AJ
276972012-05-21 Andreas Jaeger <aj@suse.de>
27698
07c58f8f
AJ
27699 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27700 * sunrpc/svc_simple.c: Use it for registerrpc.
27701 * sunrpc/xcrypt.c: Use it for passwd2des.
27702
66274218
AJ
27703 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27704
61f65140
L
277052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27706
27707 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27708 Don't define if [__SYSCALL_WORDSIZE != 32].
27709 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27710 New macro.
27711
5fefb436
AJ
277122012-05-21 Bruno Haible <bruno@clisp.org>
27713 Andreas Jaeger <aj@suse.de>
27714
27715 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27716 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27717 inptr and inend for must_buffer_ch.
27718 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27719 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27720 * stdio-common/Makefile (tests): Remove bug15.
27721 (bug15-ENV): Remove macro.
27722 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27723 anymore.
27724
d8e272ab
AJ
277252012-05-19 Andreas Jaeger <aj@suse.de>
27726 Roland McGrath <roland@hack.frob.com>
27727
27728 * manual/contrib.texi: Completely rewritten. It contains now an
27729 alphabetical list of contributors and their contributions.
27730
4a56a162
RH
277312012-05-21 Richard Henderson <rth@twiddle.net>
27732
27733 * misc/getauxval.c (__getauxval): Use unsigned long int.
27734 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27735 (getauxval): Use unsigned long int.
27736
d024d23c
L
277372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27738
27739 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27740
cbc00a03
RM
277412012-05-21 Roland McGrath <roland@hack.frob.com>
27742
27743 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27744 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27745 __alignof__ (long double).
27746
478143fa
AZ
277472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27748
27749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27750
c7683a6d
RH
277512012-05-20 Richard Henderson <rth@twiddle.net>
27752
27753 * misc/getauxval.c: New file.
27754 * misc/sys/auxv.h: New file.
27755 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27756 (routines): Add getauxval.
27757 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27759 * elf/dl-sysdep.c (_dl_auxv): Remove.
27760 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27761 * elf/dl-support.c (_dl_auxv): New variable.
27762 (_dl_aux_init): Initialize it.
27763 * manual/startup.texi (Auxiliary Vector): New node.
27764 * sysdeps/generic/bits/hwcap.h: New file.
27765 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27766 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27767 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27768 * sysdeps/sparc/sysdep.h: ... here. Include it.
27769 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27770 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27772 Update.
c7683a6d
RH
27773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27781
a6f1845d
AZ
277822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27783
27784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27785
cbcbe830
DM
277862012-05-19 David S. Miller <davem@davemloft.net>
27787
27788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27789
e0b16cc2
JM
277902012-05-19 Joseph Myers <joseph@codesourcery.com>
27791
27792 [BZ #14123]
27793 * math/s_ccosh.c: Include <float.h>
27794 (__ccosh): Avoid internal overflow calculating sinh and cosh
27795 values before multiplying by sin and cos values.
27796 * math/s_ccoshf.c: Likewise.
27797 * math/s_ccoshl.c: Likewise.
27798 * math/s_csin.c: Likewise.
27799 * math/s_csinf.c: Likewise.
27800 * math/s_csinl.c: Likewise.
27801 * math/s_csinh.c: Likewise.
27802 * math/s_csinhf.c: Likewise.
27803 * math/s_csinhl.c: Likewise.
27804 * math/libm-test.inc (ccos_test): Add more tests.
27805 (ccosh_test): Likewise.
27806 (csin_test): Likewise.
27807 (csinh_test): Likewise.
27808 * sysdeps/i386/fpu/libm-test-ulps: Update.
27809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27810
6ad13e08
L
278112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27812
f66f0ce8
L
27813 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27814 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27815
6ad13e08
L
27816 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27817
b1d072a7
JM
278182012-05-19 Joseph Myers <joseph@codesourcery.com>
27819
27820 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27821 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27822 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27823 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27824 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27825 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27826 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27827 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27828 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27829 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27830 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27831 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27832 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27833 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27834 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27835 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27836 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27837 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27838 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27839 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27840 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27841 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27842 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27843 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27844 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27845 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27846 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27847 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27848 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27849 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27850 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27851
9eae47cb
AJ
278522012-05-18 Andreas Jaeger <aj@suse.de>
27853
27854 * csu/.gitignore: Delete.
27855
bb07f69f
L
278562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27857
27858 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27859 (timex): Use __syscall_slong_t.
27860
e6bdb741
AJ
278612012-05-18 Andreas Jaeger <aj@suse.de>
27862 Carlos O'Donell <carlos_odonell@mentor.com>
27863
27864 * manual/install.texi (Configuring and compiling): Update
27865 description about files modified in the source directory.
d6c33fda 27866 * INSTALL: Regenerated.
e6bdb741 27867
1b74487e
L
278682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27869
27870 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27871 value. Use "or" to set return value to -1.
27872 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27873 negate return value.
27874
a88b64b9
TMQMF
278752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27876
27877 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27878 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27879 failure if the compiler has Graphite support disabled.
27880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27881 Likewise.
27882 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27883 CFLAGS-memmove.c): Likewise.
27884 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27885 Likewise.
27886
3707636e
L
278872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27888
610b8622
L
27889 * sysdeps/x86_64/x32/_itoa.h: New file.
27890
7cd195df
L
27891 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27892 getdents system call only if kernel and user dirents have the
27893 same d_ino and d_off.
27894
94b07d20
L
27895 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27896 LLONG_MAX != LONG_MAX.
27897 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27898 (_fitoa_word): Likewise.
27899
18298070
L
27900 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27901 years.
27902 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27903 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27904 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27905
553c7ea4
L
27906 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27907 include <bits/wordsize.h>. Check __x86_64__ instead of
27908 __WORDSIZE.
27909 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27910 if __x86_64__ is defined. Use anonymous union on fpstate.
27911
3707636e
L
27912 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27913 anonymous union.
27914
b53ef01a
AS
279152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27916
37fb1dc0
AS
27917 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27918 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27919 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27920 Refer to _rtld_local_ro instead of _rtld_global_ro.
27921 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27922 Likewise.
27923 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27924 Likewise.
27925 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27926 Likewise.
27927 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27928 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27929 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27930
b53ef01a
AS
27931 * sysdeps/powerpc/powerpc32/dl-machine.c
27932 (__elf_machine_runtime_setup) [PROF]: Don't reference
27933 _dl_prof_resolve.
27934
7a185db2
AJ
279352012-05-18 Andreas Jaeger <aj@suse.de>
27936
27937 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27938 function only available for GCCs before 3.4 since GCC 3.4
27939 introduced a builtin.
27940 (lrint): Likewise.
27941 (llrintf): Likewise.
27942 (llrint): Likewise.
27943 (fmaxf): Likewise.
27944 (fmax): Likewise.
27945 (fminf): Likewise.
27946 (fmin): Likewise.
27947 (rint): Likewise.
27948 (rintf): Likewise.
27949 (nearbyint): Likewise.
27950 (nearbyintf): Likewise.
27951 (ceil): Likewise.
27952 (ceilf): Likewise.
27953 (floor): Likewise.
27954 (floorf): Likewise.
27955
3e5aef87
L
279562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27957
428bd707
L
27958 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27959 on both fields and cast pointer to __syscall_ulong_t.
27960
3e5aef87
L
27961 * bits/types.h (__fsword_t): New type.
27962 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27963 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27964 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27965 (__FSWORD_T_TYPE): Likewise.
27966 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27967 (__FSWORD_T_TYPE): Likewise.
27968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27969 (__FSWORD_T_TYPE): Likewise.
27970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27971 (__FSWORD_T_TYPE): Likewise.
27972 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27973 __SWORD_TYPE with __fsword_t.
27974 (statfs64): Likewise.
27975
1ba7c3dc
DM
279762012-05-17 David S. Miller <davem@davemloft.net>
27977
27978 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27979
59910343
AJ
279802012-05-17 Andreas Jaeger <aj@suse.de>
27981
27982 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27983 warning.
27984
2e4c1e9e
L
279852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27986
27987 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27988
de7f5ce7
AJ
279892012-05-17 Andreas Jaeger <aj@suse.de>
27990
27991 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27992 when it is used.
27993
286abc3d
CM
279942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27995
27996 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27997
477cc68e
L
279982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27999
28000 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28001 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28002
1a0994f5
CD
280032012-05-17 Andreas Jaeger <aj@suse.de>
28004 Carlos O'Donell <carlos_odonell@mentor.com>
28005
28006 [BZ #14059]
28007 * sysdeps/x86_64/multiarch/init-arch.h
28008 (bit_YMM_Usable): Rename to...
28009 (bit_AVX_Usable): ... this.
28010 (bit_FMA4_Usable): New macro.
28011 (bit_XMM_state): New macro.
28012 (bit_YMM_state): New macro.
28013 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28014 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28015 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28016 (CPUID_OSXSAVE): New macro.
28017 (CPUID_AVX): New macro.
28018 (CPUID_FMA4): New macro.
28019 (index_YMM_Usable): Rename to...
28020 (index_AVX_Usable): ... this.
28021 (HAS_AVX): Use HAS_ARCH_FEATURE.
28022 (HAS_FMA4): Likewise.
28023 (HAS_YMM_USABLE): Remove.
28024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28025 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28026 are present.
28027 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28028 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28029 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28030 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28031 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28032
0af797de
CM
280332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28034
28035 * math/libm-test.c: Support platforms without multiple rounding modes.
28036 * math/bug-nextafter.c: Support platforms without FP exceptions.
28037 * math/bug-nexttoward.c: Likewise.
28038 * math/test-fenv.c: Likewise.
28039 * math/test-misc.c: Likewise.
28040 * stdlib/bug-getcontext.c: Likewise.
28041
e39745ff
AJ
280422012-05-17 Andreas Jaeger <aj@suse.de>
28043
28044 * manual/examples/search.c (critter_cmp): Change signature to
28045 avoid warnings.
28046 * manual/string.texi (Collation Functions): Likewise.
28047
48970aba
L
280482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28049
28050 * bits/types.h: Fold copyright years.
28051 * bits/typesizes.h: Likewise.
28052 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28054 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28056 * time/time.h: Likewise.
28057
bedee953
PP
280582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28059
28060 [BZ #208]
28061 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28062 in instead of returning them. Return void.
28063 (__libc_mallinfo): Accumulate over all arenas.
28064 (__malloc_stats): Adjust for change in int_mallinfo interface.
28065
61653dfb
RM
280662012-05-16 Roland McGrath <roland@hack.frob.com>
28067
30b99d79
RM
28068 [BZ #10375]
28069 * configure.in (NM): Add AC_CHECK_TOOL for it.
28070 (libc_extra_cflags): New substituted variable.
28071 Check for -fstack-protector being used implicitly.
28072 * configure: Regenerated.
28073 * config.make.in (config-extra-cflags): New variable,
28074 gets @libc_extra_cflags@.
28075 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28076
61653dfb
RM
28077 [BZ #10375]
28078 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28079 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28080 * configure: Regenerated.
28081 * config.make.in (CPPUNDEFS): New substituted variable.
28082 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28083 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28084 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28085
661768bb
L
280862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28087
28088 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28089 (mq_attr): Use __syscall_slong_t.
28090
d4261567
L
280912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28092
28093 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28094 Check __x86_64__ instead of __WORDSIZE.
28095 (_STAT_VER_LINUX): Likewise.
28096 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28097 __syscall_ulong_t and __syscall_slong_t.
28098 (stat64): Likewise.
28099
cf3ff365
L
281002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28101
28102 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28103
76cf3e4d
L
281042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28105
28106 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28107
a637753a
L
281082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28109
28110 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28111 __syscall_ulong_t.
28112
d5e05119
L
28113 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28114 include <bits/wordsize.h>. Check __x86_64__ instead of
28115 __WORDSIZE.
28116 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28117 defined.
28118 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28119
f62ee380
L
28120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28121 include <bits/wordsize.h>. Check __x86_64__ instead of
28122 __WORDSIZE.
28123 (user_regs_struct): Use "__extension__ unsigned long long"
28124 instead of "unsigned long" if __x86_64__ is defined.
28125 (user): Likewise. Pad after pointer field if __ILP32__ is
28126 defined.
28127
4e124ced
JM
281282012-05-16 Joseph Myers <joseph@codesourcery.com>
28129
6a3951a0
JM
28130 * configure.in (makeinfo): Require version 4.5 or later. Allow
28131 versions 5 to 9.
28132 * configure: Regenerated.
28133 * manual/install.texi (texinfo): Increase version requirement to
28134 4.5 or later.
28135 * INSTALL: Regenerated.
28136
4e124ced
JM
28137 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28138
953ca31a
L
281392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28140
28141 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28142
617aca05
L
28143 * sysdeps/x86_64/x32/ffs.c: New file.
28144
5762f7ae
L
28145 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28146 __syscall_ulong_t.
28147 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28148 defined. Use __syscall_ulong_t.
28149 (shminfo): Use __syscall_ulong_t.
28150 (shm_info): Likewise.
28151
a26b6856
L
28152 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28153 __syscall_ulong_t.
28154
cb2b9ef7
L
28155 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28156 <bits/wordsize.h>.
28157 (msgqnum_t): Use __syscall_ulong_t.
28158 (msglen_t): Likewise.
28159 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28160 __syscall_ulong_t.
28161
34683bb0
L
28162 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28163 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28164
84a68786
L
28165 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28166
48baa5f1
L
28167 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28168 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28169
180be88b
L
28170 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28171 __syscall_slong_t.
28172
5e90c8ad
L
28173 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28174 include <bits/wordsize.h>. Check __x86_64__ instead of
28175 __WORDSIZE.
28176
23dfb58b
L
28177 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28178 "unsigned long long int" if __x86_64__ is defined.
28179 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28180
ce5d54b0
L
28181 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28182 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28183 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28184
13dc9eac
L
28185 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28186 <stdint.h>.
28187 (GET_PC): Cast to uintptr_t first.
28188 (GET_FRAME): Likewise.
28189 (GET_STACK): Likewise.
28190
a7895d15
L
28191 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28192 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28193 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28194 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28195 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28196 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28197 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28198 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28199 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28200 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28201 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28202 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28203 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28204 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28205 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28206 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28207 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28208 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28209 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28210 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28211 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28212 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28213 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28214 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28215 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28216 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28217 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28218 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28219 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28220
656416c9
AS
282212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28222
5bd66283
AS
28223 * Makerules (+depfiles): Also collect depfiles from .oS in
28224 $(extra-objs).
28225 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28226 .oS, $(libnldbl-routines)).
28227
656416c9
AS
28228 * Makerules (native-compile-mkdep-flags): Define.
28229 * sunrpc/Makefile (extra-objs): Add $(addprefix
28230 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28231 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28232 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28233 calling $(make-target-directory).
28234
a46f2169
L
282352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28236
28237 * bits/types.h (__snseconds_t): Removed.
28238 * time/time.h (struct timespec): Replace __snseconds_t with
28239 __syscall_slong_t.
28240 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28241 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28242 Likewise.
28243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28244 (__SNSECONDS_T_TYPE): Likewise.
28245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28246 (__SNSECONDS_T_TYPE): Likewise.
28247 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28248 (__SNSECONDS_T_TYPE): Likewise.
28249
6af6528b
L
282502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28251
28252 * sysdeps/mach/hurd/bits/typesizes.h
28253 (__SYSCALL_SLONG_TYPE): New macro.
28254 (__SYSCALL_ULONG_TYPE): Likewise.
28255
de986b56
L
282562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28257
28258 * bits/types.h (__syscall_slong_t): New type.
28259 (__syscall_ulong_t): Likewise.
28260
28261 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28262 (__SYSCALL_ULONG_TYPE): Likewise.
28263 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28264 (__SYSCALL_SLONG_TYPE): Likewise.
28265 (__SYSCALL_ULONG_TYPE): Likewise.
28266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28267 (__SYSCALL_SLONG_TYPE): Likewise.
28268 (__SYSCALL_ULONG_TYPE): Likewise.
28269 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28270 (__SYSCALL_SLONG_TYPE): Likewise.
28271 (__SYSCALL_ULONG_TYPE): Likewise.
28272
85736dc7
L
282732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28274
28275 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28276 Add sigaltstack-offsets.sym.
28277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28278 <sigaltstack-offsets.h>.
28279 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28280 longjmp_msg pointer.
28281 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28282 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28283 signal stack.
28284 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28285
cc03b296
JM
282862012-05-15 Joseph Myers <joseph@codesourcery.com>
28287
a9538892
JM
28288 * elf/stackguard-macros.h: Remove file.
28289 * sysdeps/generic/stackguard-macros.h: New file.
28290 * sysdeps/i386/stackguard-macros.h: Likewise.
28291 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28292 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28293 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28294 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28295 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28296 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28297 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28298 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28299 <elf/stackguard-macros.h>.
28300
cc03b296
JM
28301 [BZ #14109]
28302 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28303 __aligned__ in attribute.
28304 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28305 (gregset_t): Likewise.
28306
93171016
L
283072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28308
28309 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28310 * sysdeps/x86_64/64/Implies-after: Here. New file.
28311 * sysdeps/x86_64/x32/Implies-after: New file.
28312
d86813a0
L
283132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28314
28315 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28316 and access return value for _dl_profile_fixup. Use R10_LP to
28317 load frame size.
28318
2953ec75
L
283192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28320
28321 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28322
3b550e9e
L
283232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28324
28325 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28326 * sysdeps/x86_64/x32/sysdep.h: New file.
28327
eda41706
L
283282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28329
28330 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28331 * sysdeps/x86_64/setjmp.S: Likewise.
28332
9ea01d93
AZ
283332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28334
28335 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28336 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28337 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28338 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28339 remove unused global constant.
28340
02a91938
CM
283412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28342
28343 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28344 include of <not-cancel.h>.
28345
6540185f
RM
283462012-05-15 Roland McGrath <roland@hack.frob.com>
28347
28348 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28349
509072a0
AJ
283502012-05-15 Jeff Law <law@redhat.com>
28351 Andreas Jaeger <aj@suse.de>
28352
28353 [BZ #13594]
28354 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28355 out from...
28356 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28357 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28358 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28359 code changing __hst_map_handle.map.
28360
ba75122d
RM
283612012-05-15 Roland McGrath <roland@hack.frob.com>
28362
28363 * configure.in (sysnames): Look for Implies-before and Implies-after
28364 files.
28365 * configure: Regenerated.
28366
890d8bd8
L
283672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28368
28369 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28370 8-byte data alignment with LP_SIZE alignment.
28371
f6ee6623
L
283722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28373
28374 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28375 into R10_LP.
28376
ea2626f6
L
283772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28378
28379 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28380
085f715e
L
283812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28384 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28385 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28386 Likewise.
28387 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28388
be8498fc
L
283892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28392 (stackinfo_sub_sp): Likewise.
28393
70bc83b9
L
283942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28395
28396 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28397 RAX_LP.
28398
9bc0b730
L
283992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28400
28401 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28402 into R*_LP.
28403
6d2850e7
L
284042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28405
28406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28407 sizes into R*_LP.
28408
3cb84561
L
284092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28410
28411 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28412
54e2ed81
L
284132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28416 into R11_LP and load __x86_64_shared_cache_size_half into
28417 R8_LP.
28418
8a17f349
L
284192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28420
28421 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28422 R8_LP.
28423
777b1eea
AZ
284242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28425
28426 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28427 logb for POWER7.
28428 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28429 logbf for POWER7.
28430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28431 logbl for POWER7.
28432 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28433 powerpc32/power7/fpu/s_logb.c via #include.
28434 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28435 powerpc32/power7/fpu/s_logbf.c via #include.
28436 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28437 powerpc32/power7/fpu/s_logbl.c via #include.
28438
d20d4ac2
JM
284392012-05-15 Joseph Myers <joseph@codesourcery.com>
28440
28441 * README.libm: Remove file.
28442
6cdef1ab
L
284432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28446 count for x32. Use R*_LP and omit operand-size suffix.
28447
0b254d8f
L
284482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28449
28450 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28451 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28452 * sysdeps/x86_64/x32/shlib-versions: New file.
28453
ceb809dc
RM
284542012-05-14 Roland McGrath <roland@hack.frob.com>
28455
28456 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28457 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28458 Use _dl_fatal_printf instead.
28459
37f1abd4
JM
284602012-05-14 Joseph Myers <joseph@codesourcery.com>
28461
28462 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28463 set if not set by the user. Do not allow for being unset.
28464 * sysdeps/unix/sysv/linux/configure: Regenerated.
28465
11de3a33
L
284662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28467
28468 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28469 the `q' suffix from lea and replace .quad with ASM_ADDR.
28470
e02f153a
L
284712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28474 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28475 instead of $17.
28476 (PTR_DEMANGLE): Likewise.
28477
520ae0fd
L
284782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28479
28480 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28481 (LP_OP): Likewise.
28482 (ASM_ADDR): Likewise.
28483 (RAX_LP): Likewise.
28484 (RBP_LP): Likewise.
28485 (RBX_LP): Likewise.
28486 (RCX_LP): Likewise.
28487 (RDI_LP): Likewise.
28488 (RSI_LP): Likewise.
28489 (RSP_LP): Likewise.
28490 (R8_LP): Likewise.
28491 (R9_LP): Likewise.
28492 (R10_LP): Likewise.
28493 (R10_LP): Likewise.
28494 (R11_LP): Likewise.
28495 (R12_LP): Likewise.
28496 (R13_LP): Likewise.
28497 (R14_LP): Likewise.
28498 (R15_LP): Likewise.
28499
b985be81
L
285002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28501
28502 * sysdeps/x86_64/x32/dl-machine.h: New file.
28503
6a4888ff
AJ
285042012-05-14 Andreas Jaeger <aj@suse.de>
28505
28506 * manual/Makefile (subdir): Remove export of subdir.
28507 (all): Remove target.
28508 (.PHONY): Remove all from list.
28509 (mkinstalldirs): Remove.
28510 (.PHONY): Remove installdirs from list.
28511 ($(inst_infodir)/libc.info): Use make-target-directory.
28512 (installdirs): Remove.
28513 (subdir_%): Remove.
28514 (glibc-targets): Remove.
28515 (lib): Remove.
28516 (stubs): Remove.
28517 ($(objpfx)stubs ../po/manual.pot): Remove.
28518 ($(objpfx)stamp%): Remove.
28519 (make-target-directory): Remove.
28520 (subdir_install): Remove.
28521 (routines): Remove.
28522 (aux): Remove.
28523 (sources): Remove.
28524 (objects): Remove.
28525 (headers): Remove.
28526
28527 [BZ #13750]
28528 * manual/.gitignore: Remove, it's not needed anymore.
28529 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28530 all files in it.
28531 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28532 directory.
28533 (texis): Renamed to $(objpfx)texis.
28534 (texis-path): New, contains path to generated files.
28535 (chapters.%): Use texis-path for complete path, add extra argument
28536 libc-texinfo.sh.
28537 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28538 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28539 (summary,texi, stamp-summary): Use complete path of
28540 files. Generate files in build dir.
28541 (dir-add.texi): Build in build dir.
28542 (libm-err.texi,stamp-libm-err): Likewise.
28543 (version.texi, stamp-version): Likewise.
28544 (.%c.texi): Likewise.
28545 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28546 (mostlyclean): Remove target.
28547 (realclean): Remove target.
28548 (generated): Add new variable with contents from mostlyclean and
28549 realclean, remove entries duplicated in common-mostlyclean, add
28550 stamp-libm-err and stamp-version.
28551 (generated-dirs): Add libc directory.
28552 ($(inst_infodir)/libc.info): Install files from build dir.
28553
28554 * manual/install.texi (Configuring and compiling): Adjust since
28555 the info files are not part of the tar ball anymore.
28556
7ac77294
AJ
285572012-05-14 Andreas Jaeger <aj@suse.de>
28558
28559 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28560 variable.
28561
ffb7875d
JM
285622012-05-14 Joseph Myers <joseph@codesourcery.com>
28563
28564 [BZ #13717]
28565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28566 to 2.2.0 where earlier.
28567 * sysdeps/unix/sysv/linux/configure: Regenerated.
28568 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28569 Remove conditional code.
28570 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28571 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28572 Remove conditional code.
28573 [!__NR_lchown]: Likewise.
28574 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28575 [__NR_lchown]: Likewise.
28576 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28577 comment referencing __ASSUME_LCHOWN_SYSCALL.
28578 * sysdeps/unix/sysv/linux/i386/sigaction.c
28579 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28580 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28581 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28582 Remove conditional code.
28583 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28584 (__protocol_available): Remove #if 0 code.
28585 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28586 conditional code.
28587 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28588 * sysdeps/unix/sysv/linux/kernel-features.h
28589 (__ASSUME_GETCWD_SYSCALL): Don't define.
28590 (__ASSUME_REALTIME_SIGNALS): Likewise.
28591 (__ASSUME_PREAD_SYSCALL): Likewise.
28592 (__ASSUME_PWRITE_SYSCALL): Likewise.
28593 (__ASSUME_POLL_SYSCALL): Likewise.
28594 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28595 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28596 non-SPARC.
28597 (__ASSUME_SIOCGIFNAME): Don't define.
28598 (__ASSUME_MSG_NOSIGNAL): Likewise.
28599 (__ASSUME_SENDFILE): Define unconditionally.
28600 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28601 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28602 conditional code.
28603 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28604 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28605 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28606 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28607 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28608 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28609 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28611 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28614 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28617 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28620 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28621 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28623 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28626 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28627 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28629 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28632 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28634 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28635 Remove conditional code.
28636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28637 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28638 Remove conditional code.
28639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28640 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28641 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28642 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28643 Remove conditional code.
28644 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28645 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28646 Remove conditional code.
28647 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28648 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28649 Remove conditional code.
28650 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28651 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28652 Remove conditional code.
28653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28654 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28655 Remove conditional code.
28656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28657 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28658 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28660 * sysdeps/unix/sysv/linux/sigaction.c
28661 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28662 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28663 * sysdeps/unix/sysv/linux/sigpending.c
28664 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28665 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28666 * sysdeps/unix/sysv/linux/sigprocmask.c
28667 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28668 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28669 * sysdeps/unix/sysv/linux/sigsuspend.c
28670 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28671 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28672 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28673 (__libc_missing_rt_sigs): Remove.
28674 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28675 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28676 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28677 Remove conditional code.
28678 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28679 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28680 return 1.
28681 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28682 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28683 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28684 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28685
1bfb7291
AJ
286862012-05-14 Andreas Jaeger <aj@suse.de>
28687
caae5a81
AJ
28688 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28689 it's not used in glibc.
28690 (__coshm1): Likewise.
28691 (__acosh1p): Likewise.
28692 (__sgn): Likewise.
28693
1bfb7291
AJ
28694 * manual/string.texi (Copying and Concatenation): Add missing
28695 variable in concat example.
28696 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28697
c044d724
L
286982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28699
144c5467 28700 [BZ #14103]
c044d724
L
28701 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28702 __builtin_clzl with __builtin_clzll.
28703
2523c62b
L
287042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28705
28706 [BZ #14104]
28707 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28708 libc_freeres_ptr.
28709
d7bb4c42
LD
287102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28711
28712 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28713 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28714 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28715 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28716
9dc4e1fb
MF
287172012-05-14 Mike Frysinger <vapier@gentoo.org>
28718
28719 * NEWS: Update ia64 info.
28720
c7df0112
AS
287212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28722
28723 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28724 used as bcopy.
28725
dc70356c
TS
287262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28727
28728 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28729 * sysdeps/unix/syscalls.list (dup3): Likewise.
28730 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28731 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28732
9fb1a21f
L
287332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28736 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28737
4822a2a5
L
287382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28739
28740 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28741 thread pointer.
28742 (TLS_IE): Use mov/add instead of movq/addq to load thread
28743 pointer.
28744 (TLS_GD_PREFIX): New.
28745 (TLS_GD): Use it.
28746
842b81d6
DM
287472012-05-11 David S. Miller <davem@davemloft.net>
28748
28749 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28750 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28751 (_FPU_SETCW): Likewise.
28752
1cf463cd
L
287532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28754
28755 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28756 is 32-byte aligned.
28757
60cc4a18
AS
287582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28759
28760 [BZ #11837]
28761 * iconvdata/gb18030.c: Update tables.
28762 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28763 characters specially.
28764 (BODY for TO_LOOP): Add encoding of missing ranges.
28765
febb44a4
TS
287662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28767
28768 [BZ #13673]
28769 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28770 * sysdeps/mach/hurd/dup3.c: Likewise.
28771 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28772 * sysdeps/powerpc/memmove.c:: Likewise.
28773
0a10fb9e
L
287742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28775
28776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28777 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28778
df8a552f
L
287792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28780
28781 * elf/elf.h (R_X86_64_RELATIVE64): New.
28782 (R_X86_64_NUM): Updated.
28783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28784 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28785 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28786 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28787 tst-quad1pie tst-quad2pie
28788 (modules-names): Add tst-quadmod1 tst-quadmod2.
28789 ($(objpfx)tst-quad1): New dependency.
28790 ($(objpfx)tst-quad2): Likewise.
28791 ($(objpfx)tst-quad1pie): Likewise.
28792 ($(objpfx)tst-quad2pie): Likewise.
28793 * sysdeps/x86_64/tst-quad1.c: New file.
28794 * sysdeps/x86_64/tst-quad1pie.c: New file.
28795 * sysdeps/x86_64/tst-quad2.c: Likewise.
28796 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28797 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28798 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28799 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28800 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28801
f34d6f84
ST
288022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28803
f42d41d1
ST
28804 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28805 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28806 * streams/stropts.h (t_scalar_t): Define type.
28807
3c3571fc
ST
28808 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28809 (_PATH_PRESERVE): Set to "/var/lib".
28810 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28811
61f06bd3
ST
28812 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28813 instead of int.
28814
918d4d71
ST
28815 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28816 if __dir_mkfile succeeded.
28817
f34d6f84
ST
28818 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28819 checking for _hurd_dtablesize. Unlock it right after having
28820 finished _hurd_dtable allocation.
28821
10589b4a
TS
288222012-05-10 Thomas Schwinge <thomas@schwinge.name>
28823
674cdbc7
TS
28824 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28825 * sysdeps/mach/hurd/configure: Regenerated.
28826 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28827 special-casing to...
28828 * sysdeps/gnu/configure.in: ... this new file.
28829 * sysdeps/unix/sysv/linux/configure: Regenerated.
28830 * sysdeps/gnu/configure: New generated file.
28831
8e41b99f
TS
28832 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28833 for Linux: use nsec instead of usec, as well as:
28834 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28835 members of type struct timespec.
28836 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28837 New macros.
28838 (struct stat64): Likewise.
28839 (_STATBUF_ST_NSEC): New macro.
28840 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28841
10589b4a
TS
28842 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28843 __strtoul_internal rather than strtoul.
28844
63643c85
PT
288452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28846
28847 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28848 and reject them.
28849
3faebe6a
ST
288502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28851
28852 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28853 which preserves existing values.
28854 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28855
c6474b07
PT
288562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28857
28858 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28859 TIMEOUT values. Return EINVAL for NFDS values either negative or
28860 greater than FD_SETSIZE.
28861
1043890b
ST
288622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28863
28864 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28865 allocated, call __vm_protect to finish enabling the existing space, and
28866 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28867 allocate the remainder.
28868
37ed8b9b
PT
288692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28870
28871 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28872 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28873
db653660
ST
288742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28875
37ed8b9b
PT
28876 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28877 sysdeps/mach/hurd/readlink.c.
b29d4053 28878
db653660
ST
28879 * posix/tst-sysconf.c (posix_options): Only use
28880 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28881 _POSIX_SYNCHRONIZED_IO when they are defined
28882 * sysdeps/mach/hurd/bits/posix_opt.h:
28883 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28884 (_XOPEN_REALTIME): Undefine macro.
28885 (_XOPEN_REALTIME_THREADS): Undefine macro.
28886 (_XOPEN_SHM): Undefine macro.
28887 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28888 macro to -1.
28889 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28890 macro to -1.
28891 (_POSIX_ASYNC_IO): Undefine macro.
28892 (_POSIX_PRIORITIZED_IO): Undefine macro.
28893 (_POSIX_SPIN_LOCKS): Define macro to -1.
28894
ee16e894
ST
28895 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28896 SA_NODEFER, SA_RESETHAND.
28897 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28898 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28899 F_DUPFD_CLOEXEC.
28900
6103ae3b
TS
289012012-05-10 Thomas Schwinge <thomas@schwinge.name>
28902
28903 * elf/Makefile (pldd-modules): Define unconditionally.
28904
80b4e5f3
TS
289052012-05-10 Thomas Schwinge <thomas@schwinge.name>
28906
28907 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28908
edadcbd6
ST
289092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28910
28911 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28912 Return ENOENT when name is empty.
28913 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28914
80694780
TS
289152012-05-10 Thomas Schwinge <thomas@schwinge.name>
28916
1792c087
TS
28917 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28918
80694780
TS
28919 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28920
6b645f0d
ST
289212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28922
80694780
TS
28923 Fix mlock in all cases except non-readable pages.
28924 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28925 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28926
6b645f0d
ST
28927 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28928 (__mkdir): When path is `/', just fail with EEXIST.
28929 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28930
e468f8a3
TS
289312012-05-10 Thomas Schwinge <thomas@schwinge.name>
28932
28933 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28934 <sys/uio.h> (for writev).
28935 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28936 and <sys/param.h> (for MIN).
28937
a4186cff
PT
289382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28939
28940 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28941 REQUESTED_TIME. Properly set the remaining time and return EINTR
28942 if interrupted.
28943
510bbf14
TS
289442012-05-10 Thomas Schwinge <thomas@schwinge.name>
28945
28946 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28947 Depend on against $(link-rpcuserlibs).
28948
5d5722e8
ST
289492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28950
a4186cff
PT
28951 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28952 (__libc_stack_end): Do not use attribute_relro.
28953 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28954 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28955 to libthread-provided value.
a4186cff
PT
28956 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28957 attribute_relro.
5d5722e8 28958
37233df9
TS
289592012-05-10 Thomas Schwinge <thomas@schwinge.name>
28960
be971a2b
TS
28961 [BZ #3748]
28962 * bits/libc-lock.h (__libc_once_get): New macro.
28963 * sysdeps/mach/bits/libc-lock.h: Likewise.
28964 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28966 instead of using implementation details.
28967
37233df9
TS
28968 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28969 * libio/freopen.c: Likewise.
28970 * libio/freopen64.c: Likewise.
28971 * misc/syslog.c: Likewise.
28972 * nscd/connections.c: Likewise.
28973 * nscd/netgroupcache.c: Likewise.
28974 * sysdeps/posix/getcwd.c: Likewise.
28975
38de94a5
RM
289762012-05-10 Roland McGrath <roland@hack.frob.com>
28977
28978 * math/w_ilogbf.c: Add #include <limits.h>.
28979
67530489
ST
289802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28981
a4186cff 28982 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28983 path instead of returning without unlocking.
28984
67530489
ST
28985 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28986 immediate-write ioctls.
28987 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28988
5aa3a74a
TS
289892012-05-10 Thomas Schwinge <thomas@schwinge.name>
28990
18bad2ae
TS
28991 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28992 __builtin_frame_address instead of making assumptions about the
28993 location of the return address relative to DATA. Force early load of
28994 the return address.
28995 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28996 __builtin_frame_address.
28997
5aa3a74a
TS
28998 dup3 for GNU Hurd.
28999 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29000 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29001 implement dup3 and do some further code clean-ups.
29002 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29003 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29004
ecd0de9a
ST
290052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29006
cd9fa985
ST
29007 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29008
a4186cff
PT
29009 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29010 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29011 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29012 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29013 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29014 d->port.lock.
802ca5a5 29015
a4186cff
PT
29016 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29017 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29018 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29019
bcf55240
TS
290202012-05-10 Thomas Schwinge <thomas@schwinge.name>
29021
6960eb42
TS
29022 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29023 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29024 definitions.
29025
eb43375f
TS
29026 accept4 for GNU Hurd.
29027 * include/sys/socket.h (__libc_accept4): New prototype.
29028 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29029 to implement __libc_accept4.
29030 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29031 __libc_accept4.
29032 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29033
bcf55240
TS
29034 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29035 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29036 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29037 signal-defines.sym.
29038
6178c55b
ST
290392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29040
a4186cff 29041 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29042
6f080c2f
TS
290432012-05-10 Thomas Schwinge <thomas@schwinge.name>
29044
29045 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29046 assertion on O_CLOEXEC flag.
29047 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29048 * hurd/intern-fd.c: Likewise.
29049 * hurd/port2fd.c: Likewise.
29050
bcfe3a54
ST
290512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29052
29053 [BZ #3906]
29054 * bits/in.h (IPV6_PKTINFO): Define new macro.
29055 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29056
89c9aa49
AZ
290572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29058
29059 [BZ #13954]
29060 [BZ #13955]
29061 [BZ #13956]
29062 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29063 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29064 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29065 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29066 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29067 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29068 * math/libm-test.inc (logb_test) : Additional logb tests.
29069
021db4be
AJ
290702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29071 Andreas Jaeger <aj@suse.de>
29072
29073 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29074 * configure: Regenerated.
29075 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29076 * config.make.in (link-obsolete-rpc): New substituted variable.
29077 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29078 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29079 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29080 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29081 so that libc.a contains the symbols.
29082 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29083 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29084 * sunrpc/auth_none.c: Likewise.
29085 * sunrpc/auth_unix.c: Likewise.
29086 * sunrpc/authdes_prot.c: Likewise.
29087 * sunrpc/authuxprot.c: Likewise.
29088 * sunrpc/clnt_gen.c: Likewise.
29089 * sunrpc/clnt_perr.c: Likewise.
29090 * sunrpc/clnt_raw.c: Likewise.
29091 * sunrpc/clnt_simp.c: Likewise.
29092 * sunrpc/clnt_tcp.c: Likewise.
29093 * sunrpc/clnt_udp.c: Likewise.
29094 * sunrpc/clnt_unix.c: Likewise.
29095 * sunrpc/des_crypt.c: Likewise.
29096 * sunrpc/des_soft.c: Likewise.
29097 * sunrpc/get_myaddr.c: Likewise.
29098 * sunrpc/key_call.c: Likewise.
29099 * sunrpc/key_prot.c: Likewise.
29100 * sunrpc/netname.c: Likewise.
29101 * sunrpc/pm_getmaps.c: Likewise.
29102 * sunrpc/pm_getport.c: Likewise.
29103 * sunrpc/pmap_clnt.c: Likewise.
29104 * sunrpc/pmap_prot.c: Likewise.
29105 * sunrpc/pmap_prot2.c: Likewise.
29106 * sunrpc/pmap_rmt.c: Likewise.
29107 * sunrpc/publickey.c: Likewise.
29108 * sunrpc/rpc_cmsg.c: Likewise.
29109 * sunrpc/rpc_common.c: Likewise.
29110 * sunrpc/rpc_dtable.c: Likewise.
29111 * sunrpc/rpc_prot.c: Likewise.
29112 * sunrpc/rpc_thread.c: Likewise.
29113 * sunrpc/rtime.c: Likewise.
29114 * sunrpc/svc.c: Likewise.
29115 * sunrpc/svc_auth.c: Likewise.
29116 * sunrpc/svc_raw.c: Likewise.
29117 * sunrpc/svc_run.c: Likewise.
29118 * sunrpc/svc_tcp.c: Likewise.
29119 * sunrpc/svc_udp.c: Likewise.
29120 * sunrpc/svc_unix.c: Likewise.
29121 * sunrpc/svcauth_des.c: Likewise.
29122 * sunrpc/xcrypt.c: Likewise.
29123 * sunrpc/xdr.c: Likewise.
29124 * sunrpc/xdr_array.c: Likewise.
29125 * sunrpc/xdr_float.c: Likewise.
29126 * sunrpc/xdr_intXX_t.c: Likewise.
29127 * sunrpc/xdr_mem.c: Likewise.
29128 * sunrpc/xdr_rec.c: Likewise.
29129 * sunrpc/xdr_ref.c: Likewise.
29130 * sunrpc/xdr_sizeof.c: Likewise.
29131 * sunrpc/xdr_stdio.c: Likewise.
29132
b5c086a2
RM
291332012-05-10 Roland McGrath <roland@hack.frob.com>
29134
29135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29136 change. Update copyright years.
29137
6d74dd09
JM
291382012-05-10 Joseph Myers <joseph@codesourcery.com>
29139
29140 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29141
28e72501
MK
291422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29143 Joseph Myers <joseph@codesourcery.com>
29144 Paul Pluzhnikov <ppluzhnikov@google.com>
29145
29146 [BZ #14012]
29147 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29148 requiring rpcgen.
29149 [cross-compiling] (extra-libs): Likewise.
29150 [cross-compiling] (extra-libs-others): Likewise.
29151 [cross-compiling] (librpcsvc-routines): Likewise.
29152 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29153 [cross-compiling] (omit-deps): Likewise.
29154 (sunrpc-CPPFLAGS): New variable.
29155 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29156 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29157 (cross-rpcgen-objs): New variable.
29158 (extra-objs): Append $(cross-rpcgen-objs).
29159 ($(cross-rpcgen-objs)): New rule.
29160 ($(objpfx)cross-rpcgen): Likewise.
29161 (rpcgen-cmd): Define to use $(built-program-file). Expand
29162 comment.
29163 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29164 ($(objpfx)x%.stmp): Likewise.
29165 * sunrpc/proto.h [IS_IN_build] (_): Define.
29166 [IS_IN_build] (_libc_intl_domainname): Likewise.
29167
c8c59454
L
291682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29169
29170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29171 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29172 and R_X86_64_TPOFF64.
29173
6f27cd16
JM
291742012-05-10 Joseph Myers <joseph@codesourcery.com>
29175
29176 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29177 sysdeps/unix/sysv/syscalls.list.
29178 (stime): Likewise.
29179 (utime): Likewise.
29180 * sysdeps/unix/sysv/syscalls.list: Remove file.
29181
02467e1c
PE
291822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29183
29184 [BZ #3440]
29185 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29186 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29187 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29188 (__LC_IDENTIFICATION): Make these macros useful in #if
29189 expressions, as required by C99.
29190
da392631
AS
291912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29192
29193 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29194 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29195 after this.
29196
8115f29b
L
291972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29198
29199 * stdlib/longlong.h: Updated from GCC.
29200
bdd74070
AJ
292012012-05-09 Andreas Jaeger <aj@suse.de>
29202
edfe0dbe
AJ
29203 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29204 default is first entry.
29205 (run_mode): Set type.
29206 (main): Remove informal message about syslog.
29207 (options): Fix typo.
29208
bcfe3a54
ST
29209 [BZ #14053]
29210 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29211 to asm.
bcfe3a54
ST
29212 (lrint): Likewise.
29213 (llrintf): Likewise.
29214 (llrint): Likewise.
29215 (rint): Likewise.
29216 (rintf): Likewise.
29217 (nearbyint): Likewise.
29218 (nearbyintf): Likewise.
bdd74070 29219
91d8d69e
AJ
292202012-05-09 Andreas Jaeger <aj@suse.de>
29221 Pedro Alves <palves@redhat.com>
29222
29223 * nscd/nscd.c (run_mode): Use enum.
29224 (main): Cleanup coding style issue.
29225
bb90b80b
AJ
292262012-05-09 Alexandre Oliva <aoliva@redhat.com>
29227 Andreas Jaeger <aj@suse.de>
29228
bcfe3a54
ST
29229 * nscd/nscd.c (go_background): Replaced with...
29230 (run_mode): ... this.
bb90b80b 29231 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29232 (options): Add -F --foreground.
29233 (main): Implement it.
29234 (parse_opt): Parse it.
bb90b80b 29235
1a4b75a1
AJ
292362012-05-09 Andreas Jaeger <aj@suse.de>
29237
29238 [BZ #14083]
29239 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29240 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29241 -Wconversion warning.
29242 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29243 Likewise.
29244
b1cc2472
JM
292452012-05-09 Joseph Myers <joseph@codesourcery.com>
29246
29247 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29248 == 0.
29249 (LC_ALL): Use macro-int-constant.
29250 (LC_COLLATE): Likewise.
29251 (LC_CTYPE): Likewise.
29252 (LC_MESSAGES): Likewise.
29253 (LC_MONETARY): Likewise.
29254 (LC_NUMERIC): Likewise.
29255 (LC_TIME): Likewise.
29256 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29257 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29259 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29260 Specify type.
29261 [C99-based standards] (float_t): Expect type.
29262 [C99-based standards] (double_t): Expect type.
29263 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29264 type.
29265 [C99-based standards] (HUGE_VALL): Likewise.
29266 [C99-based standards] (INFINITY): Likewise.
29267 [C99-based standards] (NAN): Likewise.
29268 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29269 [C99-based standards] (FP_NAN): Likewise.
29270 [C99-based standards] (FP_NORMAL): Likewise.
29271 [C99-based standards] (FP_SUBNORMAL): Likewise.
29272 [C99-based standards] (FP_ZERO): Likewise.
29273 [C99-based standards] (FP_FAST_FMA): Use
29274 optional-macro-int-constant. Specify type. Require == 1.
29275 [C99-based standards] (FP_FAST_FMAF): Likewise.
29276 [C99-based standards] (FP_FAST_FMAL): Likewise.
29277 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29278 [C99-based standards] (FP_ILOGBNAN): Likewise.
29279 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29280 Specify type.
29281 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29282 [C99-based standards] (math_errhandling): Specify type.
29283 [ISO99 || ISO11] (signgam): Do not allow.
29284 [non-C99-based standards] (copysignf): Do not allow.
29285 [non-C99-based standards] (exp2f): Likewise.
29286 [non-C99-based standards] (log2f): Likewise.
29287 [non-C99-based standards] (modff): Allow.
29288 [non-C99-based standards] (erff): Do not allow.
29289 [non-C99-based standards] (erfcf): Likewise.
29290 [non-C99-based standards] (gammaf): Likewise.
29291 [non-C99-based standards] (hypotf): Likewise.
29292 [non-C99-based standards] (j0f): Likewise.
29293 [non-C99-based standards] (j1f): Likewise.
29294 [non-C99-based standards] (jnf): Likewise.
29295 [non-C99-based standards] (lgammaf): Likewise.
29296 [non-C99-based standards] (tgammaf): Likewise.
29297 [non-C99-based standards] (y0f): Likewise.
29298 [non-C99-based standards] (y1f): Likewise.
29299 [non-C99-based standards] (ynf): Likewise.
29300 [non-C99-based standards] (isnanf): Likewise.
29301 [non-C99-based standards] (acoshf): Likewise.
29302 [non-C99-based standards] (asinhf): Likewise.
29303 [non-C99-based standards] (atanhf): Likewise.
29304 [non-C99-based standards] (cbrtf): Likewise.
29305 [non-C99-based standards] (expm1f): Likewise.
29306 [non-C99-based standards] (ilogbf): Likewise.
29307 [non-C99-based standards] (log1pf): Likewise.
29308 [non-C99-based standards] (logbf): Likewise.
29309 [non-C99-based standards] (nextafterf): Likewise.
29310 [non-C99-based standards] (remainderf): Likewise.
29311 [non-C99-based standards] (rintf): Likewise.
29312 [non-C99-based standards] (scalbf): Likewise.
29313 [non-C99-based standards] (copysignl): Likewise.
29314 [non-C99-based standards] (exp2l): Likewise.
29315 [non-C99-based standards] (log2l): Likewise.
29316 [non-C99-based standards] (modfl): Allow.
29317 [non-C99-based standards] (erfl): Do not allow.
29318 [non-C99-based standards] (erfcl): Likewise.
29319 [non-C99-based standards] (gammal): Likewise.
29320 [non-C99-based standards] (hypotl): Likewise.
29321 [non-C99-based standards] (j0l): Likewise.
29322 [non-C99-based standards] (j1l): Likewise.
29323 [non-C99-based standards] (jnl): Likewise.
29324 [non-C99-based standards] (lgammal): Likewise.
29325 [non-C99-based standards] (tgammal): Likewise.
29326 [non-C99-based standards] (y0l): Likewise.
29327 [non-C99-based standards] (y1l): Likewise.
29328 [non-C99-based standards] (ynl): Likewise.
29329 [non-C99-based standards] (isnanl): Likewise.
29330 [non-C99-based standards] (acoshl): Likewise.
29331 [non-C99-based standards] (asinhl): Likewise.
29332 [non-C99-based standards] (atanhl): Likewise.
29333 [non-C99-based standards] (cbrtl): Likewise.
29334 [non-C99-based standards] (expm1l): Likewise.
29335 [non-C99-based standards] (ilogbl): Likewise.
29336 [non-C99-based standards] (log1pl): Likewise.
29337 [non-C99-based standards] (logbl): Likewise.
29338 [non-C99-based standards] (nextafterl): Likewise.
29339 [non-C99-based standards] (remainderl): Likewise.
29340 [non-C99-based standards] (rintl): Likewise.
29341 [non-C99-based standards] (scalbl): Likewise.
29342 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29343 [non-C99-based standards] (FP_*): Do not allow.
29344 [C99-based standards] (FP_*): Change to
29345 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29346 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29347 allow.
29348 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29349 (SIG_ERR): Likewise.
29350 [X/Open-based standards] (SIG_HOLD): Likewise.
29351 (SIG_IGN): Likewise.
29352 (SIGABRT): Use macro-int-constant. Specify type. Require
29353 positive value.
29354 (SIGFPE): Likewise.
29355 (SIGILL): Likewise.
29356 (SIGINT): Likewise.
29357 (SIGSEGV): Likewise.
29358 (SIGTER): Likewise.
29359 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29360 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29361 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29362 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29363 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29364 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29365 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29366 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29367 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29368 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29369 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29370 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29371 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29372 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29373 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29374 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29375 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29377 [X/Open-based standards] (SIGTRAP): Likewise.
29378 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29380 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29382 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29383 allow.
29384
b9f1922d
IW
293852012-05-08 Ian Wienand <ianw@vmware.com>
29386
29387 [BZ #14080]
29388 * time/tzset.c (__tzset_parse_tz): Update default rules for
29389 daylight time changes in the Energy Policy Act of 2005.
29390
1db86e88
AJ
293912012-05-09 Andreas Jaeger <aj@suse.de>
29392
29393 [BZ #13983]
29394 * elf/ldconfig.c (parse_conf): Change string to make clear that
29395 ldconfig only issued a warning if ld.so.conf does not exist.
29396
dee4a4e3
DM
293972012-05-08 David S. Miller <davem@davemloft.net>
29398
ee0db190
DM
29399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29400 movxtod instead of popping the value on the stack.
29401
dee4a4e3
DM
29402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29403
6a43ec98
CD
294042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29405
29406 * config.h.in: Add HAVE_ARM_PCS_VFP.
29407
05c2c961
RMG
294082012-05-08 Roland Mc Grath <roland@hack.frob.com>
29409
bcfe3a54
ST
29410 [BZ #13979]
29411 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29412 checking but the checks are disabled for any reason.
05c2c961 29413
4b30f61a
L
294142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29415
29416 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29417 and ELF64_R_TYPE with ELFW(R_TYPE).
29418
eee2bc67
JM
294192012-05-08 Joseph Myers <joseph@codesourcery.com>
29420
7ea5391a
JM
29421 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29422 (ulimit): Likewise.
29423
eee2bc67
JM
29424 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29425 (settimeofday): Likewise.
29426
abb66a67
MF
294272012-05-08 Mike Frysinger <vapier@gentoo.org>
29428
29429 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29430 a struct th_u2 inside the union, and move tu_block/tu_code into
29431 a new th_u3 union of tu_block/tu_code inside of that. Move
29432 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29433 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29434 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29435 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29436 (th_stuff): Change to th_u1.tu_stuff.
29437 (th_data): Define.
29438 (th_msg): Change to th_u1.th_u2.tu_data.
29439
7f18b530
DM
294402012-05-07 David S. Miller <davem@davemloft.net>
29441
05760585
DM
29442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29443
7f18b530
DM
29444 [BZ #14074]
29445 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29446 (SETUP_PIC_REG): Use it.
29447 (SETUP_PIC_REG_LEAF): Use it.
29448
495fd99f
JM
294492012-05-07 Joseph Myers <joseph@codesourcery.com>
29450
29451 [BZ #13885]
29452 [BZ #13923]
29453 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29454 USE_AS_EXPM1L.
29455 (EXPL_FINITE): Likewise.
29456 (FLDLOG): Likewise.
29457 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29458 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29459 e_expl.S.
29460 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29461 USE_AS_EXPM1L.
29462 (EXPL_FINITE): Likewise.
29463 (FLDLOG): Likewise.
29464 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29465 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29466 e_expl.S.
29467 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29468 test of -max_value argument for long double.
29469 * sysdeps/i386/fpu/libm-test-ulps: Update.
29470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29471
6693d694
DM
294722012-05-06 David S. Miller <davem@davemloft.net>
29473
29474 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29475 quad soft-float symbols whose references which are compiler
29476 generated.
29477 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29478
6c23e11c
JM
294792012-05-06 Joseph Myers <joseph@codesourcery.com>
29480
d8b82cad
JM
29481 [BZ #13884]
29482 [BZ #13914]
29483 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29484 USE_AS_EXP10L.
29485 (EXPL_FINITE): Likewise.
29486 (FLDLOG): Likewise.
29487 (c0): Likewise.
29488 (c1): Likewise.
29489 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29490 Adjust comments for base varying.
29491 (__expl_finite): Change alias to EXPL_FINITE.
29492 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29493 e_expl.S.
29494 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29495 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29496 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29497 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29498 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29499 USE_AS_EXP10L.
29500 (EXPL_FINITE): Likewise.
29501 (FLDLOG): Likewise.
29502 (c0): Likewise.
29503 (c1): Likewise.
29504 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29505 Adjust comments for base varying.
29506 (__expl_finite): Change alias to EXPL_FINITE.
29507 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29508 tests for bugs.
29509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29510
6c23e11c
JM
29511 [BZ #14064]
29512 * math/libm-test.inc (check_float_internal): Correct ulp
29513 calculation for subnormal expected results.
29514
29ba805c
AJ
295152012-05-06 Andreas Jaeger <aj@suse.de>
29516
29517 * Makeconfig (+math-flags): New, set to -frounding-math.
29518 (+cflags): Add +math-flags so that all of glibc gets compiled with
29519 it.
29520
29521 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29522
7b17aeda
JM
295232012-05-05 Joseph Myers <joseph@codesourcery.com>
29524
5779f134
JM
29525 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29526 Disable one test.
29527
41498f4d
JM
29528 [BZ #13787]
29529 [BZ #13922]
29530 [BZ #14036]
29531 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29532 (__ieee754_expl): Allow for and saturate large arguments.
29533 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29534 (u_threshold): Likewise.
29535 (__exp): Call __ieee754_exp before checking for overflow and
29536 underflow.
29537 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29538 (u_threshold): Likewise.
29539 (__expf): Call __ieee754_expf before checking for overflow and
29540 underflow.
29541 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29542 (u_threshold): Likewise.
29543 (__expl): Call __ieee754_expl before checking for overflow and
29544 underflow.
29545 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29546 (__ieee754_expl): Allow for and saturate large arguments.
29547 * math/libm-test.inc (exp_test): Add another test. Do not allow
29548 missing overflow exception on overflow.
29549 (expm1_test): Do not allow missing overflow exception on overflow.
29550
6698b8bf
JM
29551 * sysdeps/i386/fpu/e_expl.c: Move to ...
29552 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29553 rather than using inline asm.
29554 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29555 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29556 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29557
7b17aeda
JM
29558 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29559 (nice): Likewise.
29560 (poll): Likewise.
29561 (signal): Likewise.
29562 (time): Likewise.
29563 (times): Likewise.
29564
f7c85819
JM
295652012-05-04 Joseph Myers <joseph@codesourcery.com>
29566
29567 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29568 sysdeps/unix/common/syscalls.list.
29569 (fchmod): Likewise.
29570 (fchown): Likewise.
29571 (ftruncate): Likewise.
29572 (getrusage): Likewise.
29573 (gettimeofday): Likewise.
29574 (setpgid): Likewise.
29575 (setregid): Likewise.
29576 (setreuid): Likewise.
29577 (sigaction): Likewise.
29578 (truncate): Likewise.
29579 (vhangup): Likewise.
29580 * sysdeps/unix/common/syscalls.list: Remove file.
29581 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29582 * sysdeps/unix/sysv/linux/Implies: Likewise.
29583
336270d0
L
295842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29585
29586 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29588 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29589 Moved to ...
29590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29591 Here.
29592 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29593 to ...
29594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29595 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29596 to ...
29597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29598 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29599 to ...
29600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29601 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29602 to ...
29603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29604 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29605 to ...
29606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29607 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29608 to ...
29609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29610 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29611 to ...
29612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29613 Here.
29614 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29615 to ...
29616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29617 Here.
29618 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29619 to ...
29620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29621 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29622 Moved to ...
29623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29624 Here.
29625 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29626 to ...
29627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29628
d128e450
JM
296292012-05-04 Joseph Myers <joseph@codesourcery.com>
29630
fa8ee516
JM
29631 * sysdeps/unix/common/bits/dirent.h: Remove file.
29632 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29633
d128e450
JM
29634 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29635 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29636 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29637 * sysdeps/unix/bsd/isatty.c: Likewise.
29638 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29639 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29640 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29641
ff8faaf0 296422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29643
62881be4 29644 [BZ #13563]
31dc8730
AZ
29645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29646 long double comparison inaccuracies.
29647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29649
6fef930c
AS
296502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29651
29652 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29653 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29654
8f203e6c
JM
296552012-05-04 Joseph Myers <joseph@codesourcery.com>
29656
29657 [BZ #14049]
29658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29659 nonzero digits before rounding a hex value.
29660 * stdlib/tst-strtod.c (tests): Add another test.
29661
5197d9c2
AK
296622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29663
29664 * sysdeps/s390/fpu/libm-test-ulps: Update.
29665
f0c1dedf
AJ
296662012-05-03 Andreas Jaeger <aj@suse.de>
29667
29668 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29669 does not get optimized out.
29670 (malloc_opt_barrier): New.
29671
a65ef2ae 296722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29673 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29674
2b942cb7 29675 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29676 intermediate file deletion.
2b942cb7 29677 (generated): Add .symlist files.
a65ef2ae 29678
54b71e02
JM
296792012-05-03 Joseph Myers <joseph@codesourcery.com>
29680
29681 [BZ #13775]
29682 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29683 Redirect under this condition.
29684 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29685 [__USE_GNU] (__dprintf_chk): Not under this condition.
29686 [__USE_GNU] (__vdprintf_chk): Likewise.
29687 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29688 under this condition.
29689 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29690 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29691 [__USE_XOPEN2K8] (vdprintf): Likewise.
29692 [__USE_GNU] (__dprintf_chk): Not under this condition.
29693 [__USE_GNU] (__vdprintf_chk): Likewise.
29694 [__USE_GNU] (dprintf): Likewise.
29695 [__USE_GNU] (vdprintf): Likewise.
29696
d3dfcc41
RM
296972012-05-03 Roland McGrath <roland@hack.frob.com>
29698
29699 * elf/Makefile (common-generated): Set this instead of generated for
29700 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29701 $(all-built-dso)-derived lists.
29702
7ac30cc5
AJ
297032012-05-03 Andreas Jaeger <aj@suse.de>
29704
0c51e550
AJ
29705 * sysdeps/i386/fpu/libm-test-ulps: Update.
29706
7ac30cc5
AJ
29707 * FAQ: Removed.
29708 * FAQ.in: Likewise.
29709 * scripts/gen-FAQ.pl: Likewise.
29710 * manual/install.texi (Installation): Point to online location of
29711 FAQ.
29712 * Makefile (files-for-dist): Remove FAQ.
29713 (FAQ): Remove.
29714
d4c2917f
AM
297152012-05-02 Allan McRae <allan@archlinux.org>
29716
29717 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29718 (LDFLAGS-reldepmod5.so): Likewise.
29719 (LDFLAGS-reldep6mod1.so): Likewise.
29720 (LDFLAGS-reldep6mod4.so): Likewise.
29721 (LDFLAGS-reldep8mod3.so): Likewise.
29722 (LDFLAGS-unload4mod1.so): Likewise.
29723 (LDFLAGS-unload4mod2.so): Likewise.
29724 (LDFLAGS-tst-initorder): Likewise.
29725 (LDFLAGS-tst-initordera2.so): Likewise.
29726 (LDFLAGS-tst-initordera3.so): Likewise.
29727 (LDFLAGS-tst-initordera4.so): Likewise.
29728 (LDFLAGS-tst-initorderb2.so): Likewise.
29729 (LDFLAGS-noload): Likewise.
29730 (LDFLAGS-next): Likewise.
29731 (LDFLAGS-order2mod1.so): Likewise.
29732 (LDFLAGS-order2mod2.so): Likewise.
29733 (LDFLAGS-tst-initorder2): Likewise.
29734 (LDFLAGS-tst-initorder2a.so): Likewise.
29735 (LDFLAGS-tst-initorder2b.so): Likewise.
29736 (LDFLAGS-tst-initorder2c.so): Likewise.
29737 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29738
d77f993f
DM
297392012-05-02 David S. Miller <davem@davemloft.net>
29740
29741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29742
171a70b4
PP
297432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29744
29745 [BZ #14055]
29746 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29747
0be196ad
AJ
297482012-05-02 Andreas Jaeger <aj@suse.de>
29749
29750 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29751 since we manipulate rounding mode.
29752 (CPPFLAGS-test-idouble.c): Likewise.
29753 (CPPFLAGS-test-ifloat.c): Likewise.
29754 (CFLAGS-test-ldouble.c): Likewise.
29755 (CFLAGS-test-double.c): Likewise.
29756 (CFLAGS-test-float.c): Likewise.
29757 (CFLAGS-test-misc.c): Likewise.
29758 (CFLAGS-test-test-fenv.c): Likewise.
29759
4f9d04aa
AZ
297602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29761
2b942cb7
RM
29762 [BZ #2550]
29763 [BZ #2570]
29764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29765 comparisons to determine direction to adjust input.
4f9d04aa 29766
82a79e7d
RM
297672012-05-01 Roland McGrath <roland@hack.frob.com>
29768
f5a01ca9
RM
29769 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29770 output to the target.
29771
90fe4186
RM
29772 * scripts/localplt.awk: New file.
29773 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29774 (check-localplt-CFLAGS): Variable removed.
29775 ($(all-built-dso:=.jmprel)): New static pattern rule.
29776 (generated): Add those targets.
29777 (localplt-built-dso): New variable.
29778 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29779
29780 * elf/check-localplt.c: File removed.
29781
82397ed6
RM
29782 * scripts/check-execstack.awk: New file.
29783 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29784 (check-execstack-CFLAGS): Variable removed.
29785 ($(objpfx)check-execstack.h): Target removed.
29786 ($(objpfx)execstack-default): New target.
29787 (generated): Add that instead of check-execstack.h.
29788 ($(all-built-dso:=.phdr)): New static pattern rule.
29789 (generated): Add those targets.
29790 * elf/check-execstack.c: File removed.
29791
82a79e7d
RM
29792 * scripts/check-textrel.awk: New file.
29793 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29794 (check-textrel-CFLAGS): Variable removed.
29795 (all-built-dso): Use := to define.o
29796 ($(all-built-dso:=.dyn)): New static pattern rule.
29797 (generated): Add those targets.
29798 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29799 * config.make.in (READELF): New substituted variable.
29800 * elf/check-textrel.c: File removed.
29801
62fde54f 298022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29803
615605c9
JM
29804 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29805 allow.
29806 * conform/data/ctype.h-data [C99-based standards] (isblank):
29807 Expect function.
29808 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29809 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29811 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29812 Specify type. Require positive value.
29813 (EILSEQ): Likewise.
29814 (ERANGE): Likewise.
29815 [ISO || POSIX] (EILSEQ): Do not expect.
29816 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29817 Specify type. Require positive value.
29818 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29819 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29820 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29821 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29822 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29823 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29824 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29825 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29826 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29827 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29828 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29829 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29830 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29831 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29832 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29833 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29834 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29835 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29836 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29837 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29838 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29839 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29840 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29841 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29842 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29843 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29844 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29845 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29846 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29847 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29848 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29849 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29850 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29851 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29852 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29854 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29855 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29856 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29857 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29858 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29859 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29860 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29861 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29863 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29865 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29866 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29868 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29869 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29870 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29871 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29872 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29873 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29874 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29876 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29877 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29878 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29879 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29880 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29881 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29892 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29893 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29894 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29895 Require >= 2.
29896 (FLT_ROUNDS): Expect as macro, not constant.
29897 (FLT_MANT_DIG): Use macro-int-constant.
29898 (DBL_MANT_DIG): Likewise.
29899 (LDBL_MANT_DIG): Likewise.
29900 (FLT_DIG): Likewise.
29901 (DBL_DIG): Likewise.
29902 (LDBL_DIG): Likewise.
29903 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29904 (DBL_MIN_EXP): Likewise.
29905 (LDBL_MIN_EXP): Likewise.
29906 (FLT_MAX_EXP): Use macro-int-constant.
29907 (DBL_MAX_EXP): Likewise.
29908 (LDBL_MAX_EXP): Likewise.
29909 (FLT_MAX_10_EXP): Likewise.
29910 (DBL_MAX_10_EXP): Likewise.
29911 (LDBL_MAX_10_EXP): Likewise.
29912 (FLT_MAX): Use macro-constant.
29913 (DBL_MAX): Likewise.
29914 (LDBL_MAX): Likewise.
29915 (FLT_EPSILON): Use macro-constant. Give upper bound.
29916 (DBL_EPSILON): Likewise.
29917 (LDBL_EPSILON): Likewise.
29918 (FLT_MIN): Likewise.
29919 (DBL_MIN): Likewise.
29920 (LDBL_MIN): Likewise.
29921 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29922 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29923 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29924 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29925 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29926 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29927 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29928 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29929 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29930 [ISO11] (FLT_TRUE_MIN): Likewise.
29931 [ISO11] (LDBL_TRUE_MIN): Likewise.
29932 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29933 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29934 (SCHAR_MIN): Use macro-int-constant. Specify type.
29935 (SCHAR_MAX): Likewise.
29936 (UCHAR_MAX): Likewise.
29937 (CHAR_MIN): Likewise.
29938 (CHAR_MAX): Likewise.
29939 (MB_LEN_MAX): Use macro-int-constant.
29940 (SHRT_MIN): Use macro-int-constant. Specify type.
29941 (SHRT_MAX): Likewise.
29942 (USHRT_MAX): Likewise.
29943 (INT_MAX): Likewise.
29944 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29945 bound negative.
29946 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29947 bound with "U".
29948 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29949 bound with "L".
29950 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29951 bound negative. Suffix upper bound with "L".
29952 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29953 bound with "UL".
29954 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29955 Specify type.
29956 [C99-based standards] (LLONG_MAX): Likewise.
29957 [C99-based standards] (ULLONG_MAX): Likewise.
29958 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29959 == 0.
29960 [ISO11] (max_align_t): Require type.
29961 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29962
c9140a62
JM
29963 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29964 from $CFLAGS, without defining away __attribute__ calls.
29965 (checknamespace): Use $CFLAGS_namespace.
29966
9af0bf29
JM
29967 * conform/conformtest.pl (@keywords): Only include C99 keywords
29968 for standards based on C99 or C11.
29969
343222a2
JM
29970 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29971 Disable tests.
29972 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29973 UNIX98]: Likewise.
29974
661f8cf0
JM
29975 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29976 usability of symbols in #if.
29977
ee74b9cb
JM
29978 * conform/conformtest.pl: If macro or constant types start
29979 "promoted:", expect the symbol to be of the following type
29980 promoted by the integer promotions.
62fde54f 29981
aafc49b3
JM
29982 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29983 in one place. Also handle "macro-constant".
29984
fefdf574
JM
29985 * conform/conformtest.pl: Only accept expected macro values with
29986 "==". Parse all "macro" lines in one place.
29987 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29988
f2d922fe
JM
29989 * conform/conformtest.pl: Handle braced types on "constant" lines
29990 instead of handling "typed-constant".
29991 * conform/data/signal.h-data: Use "constant" instead of
29992 "typed-constant".
29993
d22956c9
JM
29994 * conform/conformtest.pl: Handle "optional-" at start of lines in
29995 one place rather than duplicating several cases. Handle each
29996 format of "macro" line with initial "optional-".
29997
028e2e38
JM
29998 * conform/conformtest.pl: Only accept expected constant or
29999 optional-constant values with "==". Parse all "constant" lines in
30000 one place. Parse all "optional-constant" lines in one place.
30001 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30002 * conform/data/fmtmsg.h-data: Likewise.
30003 * conform/data/netinet/in.h-data: Likewise.
30004 * conform/data/tar.h-data: Likewise.
30005 * conform/data/limits.h-data: Use "==" form on "constant" and
30006 "optional-constant" lines.
30007
1b8f2850
JM
30008 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30009 Use -std=c99 for XOPEN2K.
30010 (@knownproblems): Remove.
30011 (newtoken): Don't check %isknown.
30012
a05a144b
JM
30013 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30014 Do not expect macro.
30015 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30016 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30017 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30018 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30019 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30020 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30021 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30022 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30023 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30024 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30025 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30026 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30027 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30028 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30029 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30030 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30031 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30032 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30033 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30034 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30035 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30036 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30037 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30038 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30039 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30040 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30041 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30042 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30043 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30044 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30045 [XPG3] (acosh): Likewise.
30046 [XPG3] (asinh): Likewise.
30047 [XPG3] (atanh): Likewise.
30048 [XPG3] (cbrt): Likewise.
30049 [XPG3] (expm1): Likewise.
30050 [XPG3] (ilogb): Likewise.
30051 [XPG3] (log1p): Likewise.
30052 [XPG3] (logb): Likewise.
30053 [XPG3] (nextafter): Likewise.
30054 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30055 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30056 [XPG3] (remainder): Likewise.
30057 [XPG3] (rint): Likewise.
30058 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30059 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30060 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30061 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30062 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30063 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30064 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30065 [UNIX98 || XOPEN2K] (scalb): Expect.
30066 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30067 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30068 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30069 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30070 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30071 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30072 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30073 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30074 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30075 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30076 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30077 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30078 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30082 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30087 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30088 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30090 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30091 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30108 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30109 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30110 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30111 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30112 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30113 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30114 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30115 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30116 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30119 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30120 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30128 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30129 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30130 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30203
73c5ebe3
JM
30204 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30205 _XOPEN_SOURCE_EXTENDED for XPG4.
30206
39c33b6c
JM
30207 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30208
62fde54f
JM
30209 * Makeconfig (localtime): Remove variable.
30210 (inst_localtime-file): Likewise.
30211
0741d64c
AS
302122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30213
30214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30215 Update.
30216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30217 Update.
30218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30219 Update.
30220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30221 Update.
30222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30223 Update.
30224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30225 Update.
30226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30227 Update.
30228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30229 Update.
30230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30231 Update.
30232
7cb029ee
JM
302332012-05-01 Joseph Myers <joseph@codesourcery.com>
30234
30235 [BZ #2550]
30236 [BZ #2570]
30237 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30238 comparisons to determine direction to adjust input.
30239 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30240 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30241 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30242 Likewise.
30243 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30244 Likewise.
30245 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30246 Likewise.
30247 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30248 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30249 Likewise.
30250 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30251 Likewise.
30252 * math/libm-test.inc (nexttoward_test): Add more tests.
30253
412bd966
AS
302542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30255
30256 [BZ #14040]
30257 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30258 in version GLIBC_2.1, not GLIBC_2.0.
30259 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30260 Likewise.
30261
9568c0c2
JM
302622012-04-30 Joseph Myers <joseph@codesourcery.com>
30263
adfbc8ac
JM
30264 [BZ #13942]
30265 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30266 (1 - x) * (1 + x).
30267 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30268 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30269 * math/libm-test.inc (acos_test): Add more tests.
30270 (asin_test): Likewise.
30271 * sysdeps/i386/fpu/libm-test-ulps: Update.
30272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30273
5ba3cc69
JM
30274 [BZ #14034]
30275 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30276 of square root.
30277 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30278 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30279 * math/libm-test.inc (acos_test_tonearest): New function.
30280 (acos_test_towardzero): Likewise.
30281 (acos_test_downward): Likewise.
30282 (acos_test_upward): Likewise.
30283 (asin_test_tonearest): Likewise.
30284 (asin_test_towardzero): Likewise.
30285 (asin_test_downward): Likewise.
30286 (asin_test_upward): Likewise.
30287 (main): Call the new functions.
30288 * sysdeps/i386/fpu/libm-test-ulps: Update.
30289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30290
9568c0c2
JM
30291 [BZ #13884]
30292 [BZ #13924]
30293 * math/e_exp10.c: Include <float.h>.
30294 (__ieee754_exp10): Handle underflow here rather than multiplying
30295 large negative argument by M_LN10.
30296 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30297 of __ieee754_expf.
30298 * math/e_exp10l.c: Include <float.h>.
30299 (__ieee754_exp10l): Handle underflow here rather than multiplying
30300 large negative argument by M_LN10l.
30301 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30302 spurious overflow exception on underflow.
30303
5ac3ea17
MP
303042012-04-29 Marek Polacek <polacek@redhat.com>
30305
30306 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30307 (__fortify_function): New macro.
30308 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30309 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30310 __extern_always_inline.
30311 * libio/bits/stdio2.h: Likewise.
30312 * libio/bits/stdio.h: Likewise.
30313 * string/string.h: Likewise.
30314 * string/bits/string3.h: Likewise.
30315 * include/stdio.h: Likewise.
30316 * stdlib/bits/stdlib.h: Likewise.
30317 * stdlib/stdlib.h: Likewise.
30318 * rt/bits/mqueue2.h: Likewise.
30319 * rt/mqueue.h: Likewise.
30320 * posix/bits/unistd.h: Likewise.
30321 * posix/unistd.h: Likewise.
30322 * io/bits/poll2.h: Likewise.
30323 * io/bits/fcntl2.h: Likewise.
30324 * io/fcntl.h: Likewise.
30325 * io/sys/poll.h: Likewise.
30326 * misc/bits/syslog.h: Likewise.
30327 * misc/bits/syslog-ldbl.h: Likewise.
30328 * misc/sys/syslog.h: Likewise.
30329 * socket/bits/socket2.h: Likewise.
30330 * socket/sys/socket.h: Likewise.
30331 * debug/tst-chk1.c: Likewise.
30332 * wcsmbs/bits/wchar2.h: Likewise.
30333 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30334 * wcsmbs/wchar.h: Likewise.
30335
ecf0ebfb
AJ
303362012-04-29 Andreas Jaeger <aj@suse.de>
30337
30338 * Makerules (tests): Remove enable-check-abi protection.
30339 (check-abi-warn): Remove.
30340 (check-abi-%): Remove check-abi-warn usage.
30341
30342 * configure.in: Remove check-abi configure option.
30343 * configure: Regenerated.
30344 * config.make.in (enable-check-abi): Remove.
30345
6d5c57fa
AS
303462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30347
24c5d07e 30348 [BZ #14033]
ded5180a
AS
30349 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30350 double functions to double *_finite functions.
30351
7e0d315d
AS
30352 [BZ #13941]
30353 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30354 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30355 LDBL_MIN_EXP.
30356 * stdio-common/Makefile (tests): Add tst-sprintf3.
30357 * stdio-common/tst-sprintf3.c: New file.
30358
6d5c57fa
AS
30359 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30360 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30361
0749ff8b
JM
303622012-04-28 Joseph Myers <joseph@codesourcery.com>
30363
30364 * conform/conformtest.pl: Remove duplicate typed-constant
30365 handling.
30366
8dbd5d7b
DM
303672012-04-28 David S. Miller <davem@davemloft.net>
30368
30369 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30370 (check-abi-%): Remove AWK script prerequisite and explicit
30371 abilist directory.
30372 (check-abi): Rewrite to just diff the symlist with the abilist.
30373 (config-tls, config-abi-config): Delete, no longer used.
30374 (update-abi-%): Remove AWK script and explicit abilist directory.
30375 (update-abi): Rewrite to simply compare and conditionally copy the
30376 symlist and the sysdep abilist file. Remove update-abi-config
30377 checks.
30378 * abilist/ld.abilist: Remove.
30379 * abilist/libBrokenLocale.abilist: Remove.
30380 * abilist/libanl.abilist: Remove.
30381 * abilist/libcrypt.abilist: Remove.
30382 * abilist/libdl.abilist: Remove.
30383 * abilist/librt.abilist: Remove.
30384 * abilist/libthread_db.abilist: Remove.
30385 * abilist/libutil.abilist: Remove.
30386 * scripts/extract-abilist.awk: Remove.
30387 * scripts/merge-abilist.awk: Remove.
30388 * sysdeps/generic/libcidn.abilist: New file.
30389 * sysdeps/generic/libnss_compat.abilist: New file.
30390 * sysdeps/generic/libnss_db.abilist: New file.
30391 * sysdeps/generic/libnss_dns.abilist: New file.
30392 * sysdeps/generic/libnss_files.abilist: New file.
30393 * sysdeps/generic/libnss_hesiod.abilist: New file.
30394 * sysdeps/generic/libnss_nis.abilist: New file.
30395 * sysdeps/generic/libnss_nisplus.abilist: New file.
30396 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30397 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30398 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30399 file.
30400 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30401 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30402 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30403 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30404 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30405 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30406 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30407 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30408 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30409 file.
30410 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30411 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30412 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30413 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30414 file.
30415 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30416 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30417 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30418 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30419 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30420 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30421 file.
30422 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30423 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30424 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30425 file.
30426 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30428 New file.
30429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30430 New file.
30431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30432 New file.
30433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30434 New file.
30435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30436 New file.
30437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30438 New file.
30439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30440 New file.
30441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30442 New file.
30443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30444 New file.
30445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30446 New file.
30447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30448 New file.
30449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30450 New file.
30451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30452 New file.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30454 file.
30455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30456 New file.
30457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30458 New file.
30459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30460 file.
30461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30462 New file.
30463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30464 New file.
30465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30466 file.
30467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30468 New file.
30469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30470 New file.
30471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30472 New file.
30473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30474 New file.
30475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30476 New file.
30477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30478 New file.
30479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30481 file.
30482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30483 New file.
30484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30485 file.
30486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30487 file.
30488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30489 file.
30490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30491 file.
30492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30493 file.
30494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30495 New file.
30496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30497 file.
30498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30499 file.
30500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30501 New file.
30502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30503 file.
30504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30506 file.
30507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30508 New file.
30509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30510 file.
30511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30512 file.
30513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30514 file.
30515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30516 file.
30517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30518 file.
30519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30520 New file.
30521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30522 file.
30523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30524 file.
30525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30526 New file.
30527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30528 file.
30529 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30530 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30531 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30532 file.
30533 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30534 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30535 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30536 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30537 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30538 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30539 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30540 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30541 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30542 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30545 file.
30546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30547 New file.
30548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30549 file.
30550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30551 file.
30552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30553 file.
30554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30555 file.
30556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30557 file.
30558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30559 New file.
30560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30561 New file.
30562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30563 file.
30564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30565 New file.
30566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30567 file.
30568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30570 file.
30571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30572 New file.
30573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30574 file.
30575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30576 file.
30577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30578 file.
30579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30580 file.
30581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30582 file.
30583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30584 New file.
30585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30586 New file.
30587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30588 file.
30589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30590 New file.
30591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30592 file.
30593
41d73a1b
JM
305942012-04-28 Joseph Myers <joseph@codesourcery.com>
30595
30596 * conform/conformtest.pl: Fix typo in handling typed-constant from
30597 allow-header.
30598
28aeeda4
JM
305992012-04-27 Joseph Myers <joseph@codesourcery.com>
30600
adae8f5e
JM
30601 * README: Cut down references to pre-2.6 Linux kernels and
30602 Linuxthreads. Update lists of configurations in libc and ports
30603 and sort alphabetically. Say "or newer" with Linux kernel version
30604 requirements.
30605
28aeeda4
JM
30606 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30607
a462cb63
RA
306082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30609
30610 [BZ #887]
30611 * math/libm-test.inc (logb_test_downward): New test to expose
30612 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30613 rounding mode.
30614
6ad3493e
JM
306152012-04-27 Joseph Myers <joseph@codesourcery.com>
30616
30617 [BZ #14027]
30618 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30619 to be done.
30620 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30621 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30622
2ce4f015
JM
306232012-04-26 Joseph Myers <joseph@codesourcery.com>
30624
5aeb141a
JM
30625 * sysdeps/unix/i386/brk.S: Remove file.
30626 * sysdeps/unix/i386/dl-brk.S: Likewise.
30627 * sysdeps/unix/i386/pipe.S: Likewise.
30628 * sysdeps/unix/i386/sigreturn.S: Likewise.
30629 * sysdeps/unix/i386/syscall.S: Likewise.
30630 * sysdeps/unix/i386/vfork.S: Likewise.
30631 * sysdeps/unix/i386/wait.S: Likewise.
30632
7143acae
JM
30633 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30634 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30635
2ce4f015
JM
30636 * configure.in (arm*-none*): Do not allow without
30637 --enable-hacker-mode.
30638 (netbsd*): Remove case setting base_os.
30639 (386bsd*): Likewise.
30640 (freebsd*): Likewise.
30641 (bsdi*): Likewise.
30642 (osf*): Likewise.
30643 (sunos*): Likewise.
30644 (ultrix*): Likewise.
30645 (newsos*): Likewise.
30646 (dynix*): Likewise.
30647 (*bsd*): Likewise.
30648 (sysv*): Likewise.
30649 (isc*): Likewise.
30650 (esix*): Likewise.
30651 (sco*): Likewise.
30652 (minix*): Likewise.
30653 (irix4*): Likewise.
30654 (irix6*): Likewise.
30655 (solaris[2-9]*): Likewise.
30656 (none): Likewise.
30657 * configure: Regenerated.
30658
0ac229c8
AZ
306592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30660
30661 [BZ #11521]
30662 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30663 overflow or cancellation in calculating denominator.
30664 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30665 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30666 down expression to avoid unexpected rounding in newer GCCs.
30667 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30668
33f244f4
DM
306692012-04-26 David S. Miller <davem@davemloft.net>
30670
30671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30672 long-double compat symbols.
30673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30686
cfa1f3e8
DM
306872012-04-25 David S. Miller <davem@davemloft.net>
30688
30689 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30690 HWCAP_* values only after the memory barriers have been defined.
30691 (atomic_full_barrier): Define.
30692 (atomic_read_barrier): Define.
30693 (atomic_write_barrier): Define.
30694
6e236b92
SP
306952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30696
30697 * shlib-versions: Add libgcc_s version information.
30698 * sysdeps/generic/libgcc_s.h: Remove.
30699 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30700 libgcc_s.h.
30701 * sysdeps/gnu/unwind-resume.c: Likewise.
30702 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30703
aab39a09
DM
307042012-04-25 David S. Miller <davem@davemloft.net>
30705
30706 * sysdeps/unix/sparc/brk.S: Delete.
30707 * sysdeps/unix/sparc/dl-brk.S: Delete.
30708 * sysdeps/unix/sparc/pipe.S: Delete.
30709 * sysdeps/unix/sparc/sysdep.S: Delete.
30710 * sysdeps/unix/sparc/sysdep.h: Delete.
30711 * sysdeps/unix/sparc/vfork.S: Delete.
30712 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30713 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30714 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30715 ret_ERRVAL, r0, r1, MOVE): Define.
30716 (JUMPTARGET): Remove.
30717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30718 sysdeps/unix/sparc/sysdep.h
30719 (ENTRY, END): Remove.
30720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30721
a3cc4f48
JM
307222012-04-25 Joseph Myers <joseph@codesourcery.com>
30723
2ed8cda2
JM
30724 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30725 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30726 -DIS_IN_build.
30727
35d76d59
JM
30728 * timezone/README: Update upstream location and email address for
30729 tzcode and tzdata.
30730 * timezone/zdump.c: Update from tzcode 2012b.
30731 * timezone/zic.c: Likewise.
30732
a3cc4f48
JM
30733 * configure.in (libc_cv_as_needed): Remove test.
30734 * configure: Regenerated.
30735 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30736 conditional definition.
30737 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30738 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30739 * config.make.in (have-as-needed): Remove variable.
30740
ceab42c3
SP
307412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30742 Paul Pluzhnikov <ppluzhnikov@google.com>
30743
30744 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30745 strings correctly.
30746
3ce2865f
CLT
307472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30748
30749 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30750 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30751 * sysdeps/sh/strlen.S: Likewise.
30752
f37e0d68
JM
307532012-04-24 Joseph Myers <joseph@codesourcery.com>
30754
ae186e9a
JM
30755 * sysdeps/unix/fork.S: Remove file.
30756 * sysdeps/unix/i386/fork.S: Likewise.
30757 * sysdeps/unix/sparc/fork.S: Likewise.
30758
b96914af
JM
30759 * sysdeps/unix/system.c: Remove file.
30760 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30761
f37e0d68
JM
30762 * sysdeps/unix/getegid.S: Remove file.
30763 * sysdeps/unix/geteuid.S: Likewise.
30764
87ef29ca
RM
307652012-04-24 Roland McGrath <roland@hack.frob.com>
30766
83bcd236
RM
30767 * scripts/check-localplt.awk: New file.
30768 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30769 of diff.
30770 * scripts/data/localplt-generic.data: Add a comment.
30771
87ef29ca
RM
30772 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30773 NODE when __dir_mkfile failed.
30774 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30775 Reported by Ludovic Courtès <ludo@gnu.org>.
30776
e5a6e567
AJ
307772012-04-24 Andreas Jaeger <aj@suse.de>
30778
30779 * Makerules (common-clean): Also remove gen-as-const-headers
30780 files.
30781
c1820385
JM
307822012-04-24 Joseph Myers <joseph@codesourcery.com>
30783
30784 * Makerules (native-compile): Do not change working directory for
30785 build. Use $(OUTPUT_OPTION) in command.
30786 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30787
94e02fc4
AZ
307882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30789
30790 [BZ #13886]
30791 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30792 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30793 * math/libm-test.inc (floor_test): Add more tests.
30794 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30795
3a533ca3
JM
307962012-04-24 Joseph Myers <joseph@codesourcery.com>
30797
940ab4b3
JM
30798 * sysdeps/unix/getdents.c: Remove file.
30799 * sysdeps/unix/sysv/getdents.c: Likewise.
30800 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30801
90e037bd
JM
30802 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30803 sysdeps/unix/mman/syscalls.list.
30804 (mmap): Likewise.
30805 (mprotect): Likewise.
30806 (msync): Likewise.
30807 (munmap): Likewise.
30808 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30809 * sysdeps/unix/mman/syscalls.list: Remove.
30810 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30811
3a533ca3
JM
30812 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30813 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30814 * configure: Regenerated.
30815 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30816 $(libgcc_s_suffix).
30817 * config.make.in (libgcc_s_suffix): Remove variable.
30818
1ad743de
JM
308192012-04-23 Joseph Myers <joseph@codesourcery.com>
30820
4ad451e2
JM
30821 * sysdeps/unix/sysv/gethostname.c: Move to ...
30822 * sysdeps/posix/gethostname.c: ... here.
30823
5e37ce39
JM
30824 * sysdeps/unix/execve.S: Remove file.
30825
1ad743de
JM
30826 * sysdeps/unix/_exit.S: Remove file.
30827
4e681b5b
AJ
308282012-04-23 Andreas Jaeger <aj@suse.de>
30829
30830 [BZ #13739]
30831 * manual/Makefile: Remove make dist support, there's no
30832 need for a stand-alone documentation tar ball.
30833 (TEXI2DVI): Define always, it's not in Makeconfig.
30834 (dist): Removed.
30835 (tar-it): Removed.
30836 (edition): Removed.
30837 (glibc-doc-$(edition).tar): Removed
30838 (%.Z): Removed.
30839 (%.gz): Removed.
30840 (%.uu): Removed.
30841 (ETAGS): Remove, it's in Makeconfig.
30842 (move-if-change): Remove, it's in Makeconfig.
30843
38686a03 308442012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30845
30846 [BZ #13970]
30847 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30848 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30849 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30850 (strtod_l, strtof_l, strtold_l): Remove __wur.
30851 It is not necessarily an error to ignore strtol's return value.
30852 One can reliably look at the stored endptr to decide whether
30853 the number had valid syntax.
30854
7c0616fa
AJ
308552012-04-21 Andreas Jaeger <aj@suse.de>
30856
803cb6b7 30857 [BZ #13739]
7c0616fa
AJ
30858 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30859
b0fe253f
JM
308602012-04-21 Joseph Myers <joseph@codesourcery.com>
30861
30862 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30863 * sysdeps/unix/sysv/Versions: Remove file.
30864
8280f22d
MT
308652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30866
30867 [BZ #13927]
30868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30869
75ce411f 308702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30871
30872 [BZ #7064]
30873 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30874 version from __vm86.
30875
097d59fa
JM
308762012-04-20 Joseph Myers <joseph@codesourcery.com>
30877
a90f3bcb
JM
30878 * sysdeps/unix/common/lxstat.c: Remove file.
30879 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30880
edc7ea78
JM
30881 * sysdeps/unix/sysv/Makefile: Remove file.
30882
cb78c221
JM
30883 * sysdeps/unix/sysv/direct.h: Remove file.
30884
efa6a45f
JM
30885 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30886 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30887 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30888 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30889 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30890 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30891 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30892
9c9f2d0c
JM
30893 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30894
4541c83b
JM
30895 * sysdeps/unix/xmknod.c: Remove file.
30896 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30897
f5d153a0
JM
30898 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30899
aa746595
JM
30900 * sysdeps/unix/sysv/i386/time.S: Remove file.
30901
cce5905e
JM
30902 * sysdeps/unix/fxstat.c: Remove file.
30903 * sysdeps/unix/xstat.c: Likewise.
30904 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30905
37fa3841
JM
30906 * sysdeps/unix/sysv/sigaction.c: Remove file.
30907
ff1962a3
JM
30908 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30909 (sysdep_headers): Remove variable.
30910 [termio.h not in sysdep_headers] (generated): Likewise.
30911 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30912 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30913 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30914 * sysdeps/unix/sysv/tcflow.c: Likewise.
30915 * sysdeps/unix/sysv/tcflush.c: Likewise.
30916 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30917 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30918 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30919 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30920 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30921
e7740d31
JM
30922 * sysdeps/unix/siglist.c: Remove file.
30923
ee06f18b
JM
30924 * sysdeps/unix/getppid.S: Remove file.
30925
097d59fa
JM
30926 * sysdeps/unix/mkdir.c: Remove file.
30927 * sysdeps/unix/rmdir.c: Likewise.
30928
ff3d51ec
AS
309292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30930
30931 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30932 ERR_MAX value.
30933 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30934 errlist-compat value.
30935
50f81fd7
DM
309362012-04-18 David S. Miller <davem@davemloft.net>
30937
30938 * sysdeps/generic/memcopy.h (reg_char): Delete.
30939 * debug/strcat_chk.c: Use char, not reg_char.
30940 * debug/strcpy_chk.c: Likewise.
30941 * debug/strncat_chk.c: Likewise.
30942 * debug/strncpy_chk.c: Likewise.
30943 * string/memchr.c: Likewise.
30944 * string/memrchr.c: Likewise.
30945 * string/rawmemchr.c: Likewise.
30946 * string/strcat.c: Likewise.
30947 * string/strchr.c: Likewise.
30948 * string/strchrnul.c: Likewise.
30949 * string/strcmp.c: Likewise.
30950 * string/strcpy.c: Likewise.
30951 * string/strncat.c: Likewise.
30952 * string/strncmp.c: Likewise.
30953 * string/strncpy.c: Likewise.
30954
8ff41c46
WS
309552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30956
30957 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30958 __builtin_memcopy is called when src and dest ranges are known to not
30959 overlap.
30960
6b652f46
WS
309612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30962
30963 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30964 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30965 fwd_align_merge macro call.
30966 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30967 bwd_align_merge macro call.
30968 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30969
b282631e
WS
309702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30971
30972 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30973 bwd_align_merge macros.
30974 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30975 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30976 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30977
95aa737c
DM
309782012-04-18 David S. Miller <davem@davemloft.net>
30979
30980 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30981
7a99a614
AJ
309822012-04-18 Andreas Jaeger <aj@suse.de>
30983
30984 [BZ# 6794]
30985 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30986 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30987 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30988
30989 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30990 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30991 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30992
30993 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30994 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30995 Adjust for changed ldbl-128 files.
30996
30997 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30998 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30999 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31000
e5270c23
DM
310012012-04-17 David S. Miller <davem@davemloft.net>
31002
31003 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31004
fb5e92c9
AS
310052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31006
31007 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31008 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31009 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31010 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31011 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31012 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31013
76da7265
AZ
310142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31015
31016 [BZ #6794]
31017 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31018 * math/libm-test.inc: Add ilogb errno and exception tests.
31019 * math/w_ilogb.c: New file: ilogb wrapper.
31020 * math/w_ilogbf.c: New file: ilogbf wrapper.
31021 * math/w_ilogbl.c: New file: ilogbl wrapper.
31022 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31023 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31024 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31025 exception being thrown with 0.0 as argument.
31026 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31027 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31028 exception being thrown with 0.0 as argument.
31029 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31030 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31031 exception being thrown with 0.0 as argument.
31032 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31033 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31034 exception being thrown with 0.0 as argument.
31035 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31036 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31037 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31038 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31040 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31041 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31042 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31043 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31044
0396e69d
PB
310452012-04-17 Petr Baudis <pasky@ucw.cz>
31046
31047 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31048 with altivec.
31049
750b5926
MP
310502012-04-16 Marek Polacek <polacek@redhat.com>
31051
31052 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31053
751728a1
MP
310542012-04-16 Marek Polacek <polacek@redhat.com>
31055
31056 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31057 operands of fdivp instruction.
31058
34a27407
L
310592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31060
31061 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31062 * elf/tst-auditmod3b.c: Likewise.
31063 * elf/tst-auditmod4b.c: Likewise.
31064 * elf/tst-auditmod5b.c: Likewise.
31065 * elf/tst-auditmod6b.c: Likewise.
31066 * elf/tst-auditmod6c.c: Likewise.
31067 * elf/tst-auditmod7b.c: Likewise.
31068 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31069 * sysdeps/x86_64/preconfigure.in: Likewise.
31070 * sysdeps/x86_64/preconfigure: Regenerated.
31071
7e73e17d
L
310722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31073
31074 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31075 __ILP32__.
31076
c7a6ab72
AB
310772012-04-13 Antoine Balestrat <merkil33@gmail.com>
31078
31079 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31080 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31081
a9e8e0e0
CL
310822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31083
31084 [BZ #13973]
31085 * locale/iso-639.def: Fix gl language name. Spotted by
31086 Yaron Shahrabani.
31087
ec98af7d
RM
310882012-04-12 Roland McGrath <roland@hack.frob.com>
31089
31090 [BZ #2074]
31091 * libio/libio.h (__io_write_fn): Update comment.
31092
247c3ede
PB
310932012-04-12 Petr Baudis <pasky@ucw.cz>
31094
31095 [BZ #2074]
31096 * stdio.texi (Hook Functions): The user provided writer function
31097 is not allowed to return -1.
31098
55939d6d
DM
310992012-04-11 David S. Miller <davem@davemloft.net>
31100
31101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31102
90020f5a
MF
311032012-04-11 Mike Frysinger <vapier@gentoo.org>
31104
31105 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31106 Add a leading slash to rtkaio.
31107
288f9098
JM
311082012-04-11 Jim Meyering <meyering@redhat.com>
31109
90020f5a
MF
31110 [BZ #11959]
31111 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31112 It is not necessarily an error to ignore fwrite's return
31113 value. One can reliably use ferror to test for errors after
31114 the fact.
288f9098 31115
4be2b570
L
311162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31117
31118 * bits/types.h (__snseconds_t): New type.
31119 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31120
31121 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31123 (__SNSECONDS_T_TYPE): Likewise.
31124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31125 (__SNSECONDS_T_TYPE): Likewise.
31126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31127 (__SNSECONDS_T_TYPE): Likewise.
31128
288f9098 311292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31130
31131 [BZ #2636]
31132 * manual/time.texi (Processor Time): Return type of times is
31133 elapsed real time since an arbitrary point in the past.
31134 (CPU Time): Move CLK_TCK from here...
31135 (Processor Time): ...to here. Correct description.
31136 * manual/conf.texi (Constants for Sysconf): Correct description of
31137 _SC_CLK_TCK.
31138
d7dd4413
DM
311392012-04-10 David S. Miller <davem@davemloft.net>
31140
31141 [BZ #13967]
31142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31143 where the is a gap between DT_REL(A) and DT_JMPREL.
31144
b46068fc
L
311452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31146
31147 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31148 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31149 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31150
73d65cc3
SP
311512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31152
31153 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31154 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31155 (dl_main): Handle --inhibit-cache.
31156 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31157 _dl_inhibit_cache.
31158 * elf/dl-load.c (_dl_map_object): Use it.
31159 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31160
bcc8d661
JM
311612012-04-09 Joseph Myers <joseph@codesourcery.com>
31162
8f9a2fae
JM
31163 [BZ #13872]
31164 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31165 (__ieee754_powl): Saturate large exponents rather than testing for
31166 overflow of y*log2(x).
31167 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31168 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31169 exceptions.
31170
bcc8d661
JM
31171 [BZ #11521]
31172 * math/s_ctan.c: Include <float.h>.
31173 (__ctan): Avoid internal overflow or cancellation in calculating
31174 denominator.
31175 * math/s_ctanf.c: Likewise.
31176 * math/s_ctanl.c: Likewise.
31177 * math/s_ctanh.c: Likewise.
31178 * math/s_ctanhf.c: Likewise.
31179 * math/s_ctanhl.c: Likewise.
31180 * math/libm-test.inc (ctan_test): Add more tests.
31181 (ctanh_test): Likewise.
31182 * sysdeps/i386/fpu/libm-test-ulps: Update.
31183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31184
823fbbb4
AJ
311852012-04-09 Andreas Jaeger <aj@suse.de>
31186
03879793
AJ
31187 [BZ #6894]
31188 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31189 is an optional BSD extension.
31190
823fbbb4
AJ
31191 [BZ #10254]
31192 * manual/stdio.texi (Opening Streams): Document additional fopen
31193 parameters.
31194
8de131cb
RM
311952012-04-09 Roland McGrath <roland@hack.frob.com>
31196
31197 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31198 %eax without telling the compiler.
31199
c0ed9d7d
CD
312002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31201
31202 [BZ # 13963]
31203 * manual/install.texi: Use sourceware.org.
31204
c483f6b4
JM
312052012-04-09 Joseph Myers <joseph@codesourcery.com>
31206
d7dd9453
JM
31207 [BZ #13873]
31208 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31209 (__ieee754_pow): Generate overflow and underflow using huge*huge
31210 and tiny*tiny rather than just returning constant infinity or zero
31211 for large exponents.
31212 * math/libm-test.inc (pow_test): Require overflow exceptions for
31213 applicable cases of large exponents.
31214
c483f6b4
JM
31215 [BZ #706]
31216 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31217 (__ieee754_pow): Use iterative multiplication algorithm only for
31218 integer exponents with absolute value below 1024. Check for odd
31219 integer exponents when using algorithm for real exponents.
31220 * math/libm-test.inc (pow_test): Add more tests.
31221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31222
d2de7579
JM
312232012-04-08 Joseph Myers <joseph@codesourcery.com>
31224
31225 [BZ #13705]
31226 * math/libm-test.inc (exp_test): Do not allow overflow exception
31227 on underflow test.
31228
f77f1232
AJ
312292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31230
31231 [BZ #13705]
31232 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31233 instead of __kernel_standard_f.
31234
3884932b
MF
312352012-04-08 Mike Frysinger <vapier@gentoo.org>
31236
31237 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31238 * sysdeps/x86_64/memset_chk.S: Likewise.
31239
54472e9c
AJ
312402012-04-08 Andreas Jaeger <aj@suse.de>
31241
6ab0fbfc
AJ
31242 [BZ #10153]
31243 * manual/startup.texi (Environment Access): Describe return value
31244 for putenv and setenv.
31245
61efba8c
AJ
31246 [BZ #6895]
31247 * manual/filesys.texi (Directory Entries): Add description for
31248 DT_LNK.
31249
95c3f29a
AJ
31250 [BZ #6890]
31251 * manual/filesys.texi (Directory Entries): Clarify that it's file
31252 system not operating system in the description of DT_UNKNOWN.
31253
54472e9c
AJ
31254 [BZ #6578]
31255 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31256
624254b1
SC
312572012-04-08 Stephen Compall <s11@member.fsf.org>
31258
31259 [BZ #6649]
31260 * manual/llio.texi (Opening and Closing Files): Add cross
31261 reference to explain mode argument.
31262
1e4920e0
MF
312632012-04-07 Mike Frysinger <vapier@gentoo.org>
31264
31265 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31266 * sysdeps/x86_64/memset_chk.S: Likewise.
31267
5ed848f3
DM
312682012-04-07 David S. Miller <davem@davemloft.net>
31269
31270 * elf/elf.h (R_SPARC_WDISP10): Define.
31271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31272 R_SPARC_SIZE32.
31273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31274 R_SPARC_SIZE64 and R_SPARC_H34.
31275
96154cd8
CD
312762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31277
31278 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31279 conditions and remove no longer applicable assertion.
31280
9904dc47
L
312812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31282
31283 * bits/byteswap.h: Include <features.h>.
31284 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31285 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31286
f8887d0a
L
312872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31288
31289 * bits/byteswap.h (__bswap_16): Removed.
31290 Include <bits/byteswap-16.h> to get __bswap_16.
31291 * sysdeps/i386/bits/byteswap.h: Likewise.
31292 * sysdeps/s390/bits/byteswap.h: Likewise.
31293 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31294 * bits/byteswap-16.h: New file.
31295 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31296 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31297 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31298 * string/Makefile (headers): Add bits/byteswap-16.h.
31299
62470f60
PP
313002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31301
31302 [BZ #13895]
31303 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31304 extra indirection.
31305 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31306 * nss/tst-nss-static.c: New.
31307
4dad7bab
RM
313082012-04-06 Robert Millan <rmh@gnu.org>
31309
31310 [BZ #6486]
31311 * manual/llio.texi (File Position Primitive): lseek
31312 refers to WHENCE when it really means OFFSET.
31313
e9142a17
AJ
313142012-04-06 Andreas Jaeger <aj@suse.de>
31315
2c040eff
AJ
31316 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31317 strncmp declarations.
31318
e9142a17
AJ
31319 * abilist/libc.abilist: Add __poll and __ppoll.
31320
ff9f1c5f
DM
313212012-04-05 David S. Miller <davem@davemloft.net>
31322
dcd2ae90
DM
31323 * scripts/check-local-headers.sh: Accept a host triplet in the
31324 path matched by the exclude regexp.
31325
993eb054
DM
31326 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31327 definition.
31328 * sysdeps/powerpc/powerpc32/dl-machine.h
31329 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31330 * sysdeps/s390/s390-32/dl-machine.h
31331 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31332 * sysdeps/sparc/sparc32/dl-machine.h
31333 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31334 * sysdeps/sparc/sparc64/dl-machine.h
31335 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31336
ff9f1c5f
DM
31337 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31338 lazy binding.
48e2e132 31339 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31340 undefined symbol errors.
31341
48e2e132 31342 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31343 DT_NEEDED entries.
31344
e80d6f94
MM
313452012-04-05 Michael Matz <matz@suse.de>
31346
31347 [BZ #13592]
31348 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31349
349fa79f
AJ
313502012-04-05 Andreas Jaeger <aj@suse.de>
31351
31352 [BZ #13908]
31353 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31354 comment.
31355
f402708f
KK
313562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31357
31358 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31359 which ROUND is no valid rounding mode.
31360
2ecccfc9
KK
313612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31362
31363 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31364 read again.
31365 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31366
8a53f50f
KK
313672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31368
31369 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31370 an exception using FPU order intentionally.
31371
313722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31373
31374 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31375 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31376 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31377 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31378
d653abb7
SJ
313792012-04-05 Simon Josefsson <simon@josefsson.org>
31380
31381 [BZ #12340]
31382 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31383 EINVAL when BUFLEN is too smal.
31384
c3b1bf7d
TS
313852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31386
31387 [BZ #13553]
31388 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31389 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31390
b1aa60f3
AJ
313912012-04-03 Andreas Jaeger <aj@suse.de>
31392
c3b1bf7d 31393 [BZ #13938]
67f60a26
AJ
31394 * manual/setjmp.texi (System V contexts): Fix sentence.
31395
b1aa60f3
AJ
31396 [BZ #13926]
31397 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31398 New macro for this case.
31399 [!__GNUC__] (__bswap_64): New inline function for this case.
31400 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31401 * bits/byteswap.h: Likewise.
31402 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31403 ull, guard with __GLIBC_HAVE_LONG_LONG.
31404
31405 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31406 __GLIBC_HAVE_LONG_LONG.
31407
31408 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31409 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31410
39c59c35
TMQMF
314112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31412
31413 [BZ #13691]
31414 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31415 inptr and inend, rather than using last_ch.
31416
135ffda8
DM
314172012-04-02 David S. Miller <davem@davemloft.net>
31418
31419 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31420 * stdio-common/printf-parse.h (read_int): Change return type to
31421 'int', return -1 on INT_MAX overflow.
31422 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31423 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31424 overflows INT_MAX. Check for overflow of in-format-string precision
31425 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31426 SIZE_MAX not INT_MAX for integer overflow test.
31427 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31428 skip the construct in the format string but do not record anything.
31429 * stdio-common/bug22.c: Adjust to test both width/prevision
31430 INT_MAX overflow as well as total length INT_MAX overflow. Check
31431 explicitly for proper errno values.
31432
228c019e
TS
314332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31434
302cadd3
TS
31435 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31436 CHAR_MAX.
31437 * string/test-strcmp.c [! WIDE]: Likewise.
31438 * time/tst-mktime2.c: Likewise for INT_MAX.
31439 * string/test-string.h: #include <sys/param.h> for MIN.
31440
228c019e
TS
31441 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31442 * sysdeps/i386/init-first.c (init): Likewise.
31443 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31444 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31445 * sysdeps/sh/init-first.c (init): Likewise.
31446
cfa633f5
UD
314472012-04-01 Ulrich Drepper <drepper@gmail.com>
31448
31449 * po/ru.po: Update from translation team.
d1635ef8 31450 * po/vi.po: Likewise.
cfa633f5 31451
6cd0a5ea
SP
314522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31453
31454 * resolv/nss_dns/dns-host.c: Merge copyright years.
31455
4b43400f
LD
314562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31457
31458 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31459 Optimize memcpy with prefetch if
31460 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31461 src, dst pointers have unequal 16 byte alignments.
31462
48c41d04
SP
314632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31464
31465 [BZ #13928]
31466 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31467 from a CNAME entry and return the minimum ttl for the query.
31468 (gaih_getanswer_slice): Likewise.
31469
b8dc394d
JL
314702012-03-30 Jeff Law <law@redhat.com>
31471
31472 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31473 due to long keys.
31474 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31475 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31476
2f5a5ed0
JL
31477 * resolv/nss_dns/dns-host.c: Update copyright year.
31478
1d39e359
UD
314792012-03-30 Ulrich Drepper <drepper@gmail.com>
31480
c030f70c 31481 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31482 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31483
1d39e359
UD
31484 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31485 comments for sendmmsg.
31486
314872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31488
31489 [BZ #13691]
31490 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31491 with only 1 character between 0x0041 and 0x01b0.
31492 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31493 * wcsmbs/tst-mbsnrtowcs.c: New file.
31494
20fde227
DM
314952012-03-29 David S. Miller <davem@davemloft.net>
31496
31497 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31498 small copies by hand.
31499
984a4237
JL
315002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31501
31502 [BZ #13761]
31503 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31504 _nss_compat_initgroups_dyn): Fall back to malloc/free
31505 for large group memberships.
31506
18c9d62b
DM
315072012-03-28 David S. Miller <davem@davemloft.net>
31508
88d85d4f
DM
31509 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31510 that branches into memcpy.
31511 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31512 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31513 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31514 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31516 bits.
31517 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31518 implementation too.
31519 * sysdeps/sparc/mempcpy.S: New file.
31520
e5aa83e1
DM
31521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31522 the IFUNC routine in the libc case.
31523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31524
88570753
DM
31525 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31526 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31527 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31528 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31529 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31530 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31531 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31532 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31533
249d7567
DM
31534 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31535 loop to 256 bytes instead of 64 bytes and fix test signedness.
31536
18c9d62b
DM
31537 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31538 * sysdeps/sparc/sparc32/Makefile: rather than here...
31539 * sysdeps/sparc/sparc64/Makefile: and here.
31540
05f3d1f6
UD
315412012-03-28 Ulrich Drepper <drepper@gmail.com>
31542
31543 * malloc/mallocbug.c: Avoid warnings about unused variables.
31544
86ae07a8
JL
315452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31546
31547 [BZ #13760]
31548 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31549 in the right place. Discard and retry query if response is
31550 larger than input buffer size.
31551
41bf21a1
JM
315522012-03-28 Joseph Myers <joseph@codesourcery.com>
31553
d6270972
JM
31554 [BZ #369]
31555 [BZ #2678]
31556 [BZ #3866]
31557 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31558 x for large integer exponent.
31559 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31560 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31561 sign of result as needed afterwards.
31562 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31563 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31564 result for underflowing pow the same as for overflow.
31565 (__kernel_standard_l): Handle powl overflow and underflow here
31566 rather than calling __kernel_standard.
31567 * math/libm-test.inc (pow_test): Add more tests.
31568
414fca03 31569 [BZ #3868]
41bf21a1
JM
31570 [BZ #13879]
31571 [BZ #13910]
31572 [BZ #13911]
31573 [BZ #13912]
31574 [BZ #13913]
31575 [BZ #13915]
31576 [BZ #13916]
31577 [BZ #13917]
31578 [BZ #13918]
31579 [BZ #13919]
31580 [BZ #13920]
31581 [BZ #13921]
31582 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31583 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31584 (__kernel_standard_l): New function.
31585 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31586 __kernel_standard.
31587 * math/w_acosl.c (__acosl): Likewise.
31588 * math/w_asinl.c (__asinl): Likewise.
31589 * math/w_atan2l.c (__atan2l): Likewise.
31590 * math/w_atanhl.c (__atanhl): Likewise.
31591 * math/w_coshl.c (__coshl): Likewise.
31592 * math/w_exp10l.c (__exp10l): Likewise.
31593 * math/w_exp2l.c (__exp2l): Likewise.
31594 * math/w_fmodl.c (__fmodl): Likewise.
31595 * math/w_hypotl.c (__hypotl): Likewise.
31596 * math/w_j0l.c (__j0l, __y0l): Likewise.
31597 * math/w_j1l.c (__j1l, __y1l): Likewise.
31598 * math/w_jnl.c (__jnl, __ynl): Likewise.
31599 * math/w_lgammal.c (__lgammal): Likewise.
31600 * math/w_log10l.c (__log10l): Likewise.
31601 * math/w_log2l.c (__log2l): Likewise.
31602 * math/w_logl.c (__logl): Likewise.
31603 * math/w_powl.c (__powl): Likewise.
31604 * math/w_remainderl.c (__remainderl): Likewise.
31605 * math/w_scalbl.c (sysv_scalbl): Likewise.
31606 * math/w_sinhl.c (__sinhl): Likewise.
31607 * math/w_sqrtl.c (__sqrtl): Likewise.
31608 * math/w_tgammal.c (__tgammal): Likewise.
31609 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31610 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31611 * math/libm-test.inc (acos_test): Add more tests.
31612 (acosh_test): Likewise.
31613 (asin_test): Likewise.
31614 (atanh_test): Likewise.
31615 (exp_test): Likewise.
31616 (exp10_test): Likewise.
31617 (exp2_test): Likewise.
31618 (expm1_test): Likewise.
31619 (lgamma_test): Likewise.
31620 (log_test): Likewise.
31621 (log10_test): Likewise.
31622 (log1p_test): Likewise.
31623 (log2_test): Likewise.
31624 (pow_test): Do not allow some spurious overflow exceptions.
31625 (sqrt_test): Add more tests.
31626 (tgamma_test): Likewise.
31627 (y0_test): Likewise.
31628 (y1_test): Likewise.
31629 (yn_test): Likewise.
31630
dd62fda6
AB
316312012-03-27 Anton Blanchard <anton@samba.org>
31632
31633 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31634 MAP_HUGETLB.
31635 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31636 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31638
1e3cdfda
AJ
316392012-03-27 David S. Miller <davem@davemloft.net>
31640
b855ab85
DM
31641 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31642
1e3cdfda
AJ
31643 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31644 have-as-vis3 check.
31645
316462012-03-27 Andreas Jaeger <aj@suse.de>
31647
31648 * sysdeps/x86_64/elf/configure.in: Moved to ...
31649 * sysdeps/x86_64/configure.in: ... here.
31650 * sysdeps/x86_64/elf/start.S: Moved to ...
31651 * sysdeps/x86_64/start.S: ... here.
31652 * sysdeps/x86_64/elf/configure: Delete.
31653
31654 * sysdeps/x86_64/configure.in: Merge contents from
31655 sysdeps/i386/configure.in (without i686 check).
31656
31657 * sysdeps/i386/elf/Versions: Merge into ...
31658 * sysdeps/i386/Versions: ... this.
31659 * sysdeps/i386/elf/Versions: Delete file.
31660 * sysdeps/i386/elf/start.S: Moved to ...
31661 * sysdeps/i386/start.S: ...here.
31662 * sysdeps/i386/elf/configure.in: Merge into...
31663 * sysdeps/i386/configure.in: ...here.
31664 * sysdeps/i386/elf/configure.in: Delete file.
31665 * sysdeps/i386/elf/configure: Delete file.
31666
31667 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31668 * debug/backtracesyms.c: ... here.
31669 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31670 * debug/backtracesymsfd.c: ... here.
31671 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31672 * sysdeps/generic/ifunc-sel.h: ... here.
31673
31674 * sysdeps/unix/i386/start.c: Delete file.
31675 * sysdeps/unix/sparc/start.c: Delete file.
31676 * sysdeps/unix/start.c: Delete file.
31677
31678 * sysdeps/sh/elf/configure.in: Moved to ...
31679 * sysdeps/sh/configure.in: ... here.
31680 * sysdeps/sh/elf/start.S: Moved to ...
31681 * sysdeps/sh/start.S: ... here.
31682 * sysdeps/sh/elf/configure: Delete file.
31683
31684 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31685 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31686 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31687 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31688 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31689 * sysdeps/powerpc/powerpc64/start.S: here.
31690 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31691 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31692 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31693 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31694 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31695
31696 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31697 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31698 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31699 * sysdeps/powerpc/powerpc32/start.S: ... here.
31700 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31701 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31702 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31703
31704 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31705 * sysdeps/powerpc/ifunc-sel.h: ... here.
31706 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31707 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31708
31709 * sysdeps/sparc/elf/configure.in: Moved to ...
31710 * sysdeps/sparc/configure.in: ... here.
31711 * sysdeps/sparc/elf/configure: Delete file.
31712 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31713 * sysdeps/sparc/sparc32/start.S: ... here.
31714 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31715 * sysdeps/sparc/sparc64/start.S: ... here.
31716 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31717 * sysdeps/sparc/sparc32/Makefile: ... this.
31718 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31719 * sysdeps/sparc/sparc64/Makefile: ... this.
31720
31721 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31722 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31723 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31724 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31725 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31726 * sysdeps/s390/s390-32/setjmp.S: ... here.
31727 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31728 * sysdeps/s390/s390-32/configure.in: ... here.
31729 * sysdeps/s390/s390-32/elf/configure: Delete file.
31730 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31731 * sysdeps/s390/s390-32/start.S: ... here.
31732
31733 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31734 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31735 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31736 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31737 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31738 * sysdeps/s390/s390-64/setjmp.S: ... here.
31739 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31740 * sysdeps/s390/s390-64/configure.in: ... here
31741 * sysdeps/s390/s390-64/elf/configure: Delete file.
31742 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31743 * sysdeps/s390/s390-64/start.S: ... here.
31744 * sysdeps/s390/s390-64/elf/configure: Delete.
31745
31746 * configure.in: Remove support for elf directories in sysdeps.
31747
31748 * configure: Regenerated.
31749 * sysdeps/i386/configure: Regenerated.
31750 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31751 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31752 * sysdeps/s390/s390-32/configure: Regenerated.
31753 * sysdeps/s390/s390-64/configure: Regenerated.
31754 * sysdeps/sh/configure: Regenerated.
31755 * sysdeps/sparc/configure: Regenerated.
31756 * sysdeps/x86_64/configure: Regenerated.
31757
a3f61311
AS
317582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31759
c876e002
AS
31760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31761
a3f61311
AS
31762 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31763 denormal result into account.
31764
ac4c54f0
RM
317652012-03-25 Roland McGrath <roland@hack.frob.com>
31766
31767 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31768 Reported by Allan McRae <allan@archlinux.org>.
31769
6a9b9c02
JL
317702012-03-23 Jeff Law <law@redhat.com>
31771
31772 * nss/getnssent.c (__nss_getent): Fix typo.
31773
4c42a0c1
DM
317742012-03-23 David S. Miller <davem@davemloft.net>
31775
31776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31777
1532c7ac
L
317782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31779
31780 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31781 to pad to uint64_t for each field.
31782 (dl_tls_index): Replace unsigned long with uint64_t.
31783
3ff42526
PP
317842012-03-23 Daniel Jacobowitz <dmj@google.com>
31785 Paul Pluzhnikov <ppluzhnikov@google.com>
31786
31787 [BZ #6528]
31788 * grp/Makefile (otherlibs): Don't set it.
31789 * inet/Makefile (otherlibs): Likewise.
31790 * login/Makefile (otherlibs): Likewise.
31791 * nscd/Makefile (otherlibs): Likewise.
31792 * posix/Makefile (otherlibs): Likewise.
31793 * pwd/Makefile (otherlibs): Likewise.
31794 * rt/Makefile (otherlibs): Likewise.
31795 * sunrpc/Makefile (otherlibs): Likewise.
31796 * nss/Makefile (otherlibs): Likewise.
31797 Add libnss_files to routines and static-only-routines.
31798 ($(objpfx)getent): Remove rule.
31799 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31800 static-only-routines.
31801
7c69cd14
JM
318022012-03-22 Joseph Myers <joseph@codesourcery.com>
31803
31804 [BZ #13892]
31805 * math/s_cexp.c: Include <float.h>.
31806 (__cexp): Handle exp result overflowing not necessarily
31807 overflowing both real and imaginary parts of result.
31808 * math/s_cexpf.c: Likewise.
31809 * math/s_cexpl.c: Likewise.
31810 * math/libm-test.inc (cexp_test): Add more tests.
31811 * sysdeps/i386/fpu/libm-test-ulps: Update.
31812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31813
81b035fe
L
318142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31815
31816 * include/link.h (ELFW): New macro.
31817 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31818 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31819
1da7940c
L
318202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31821
31822 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31823 with uint64_t.
31824
b749dbb9
L
318252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31826
31827 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31828 declaration.
31829 (struct La_x32_retval): Likewise.
31830
2ff87f3f
L
318312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31832
31833 * sysdeps/x86_64/preconfigure.in: New file.
31834 * sysdeps/x86_64/preconfigure: New generated file.
31835
c0df8e69
JM
318362012-03-22 Joseph Myers <joseph@codesourcery.com>
31837
48e44791
JM
31838 [BZ #13824]
31839 * math/e_exp2l.c: Include <float.h>.
31840 (__ieee754_exp2l): Handle overflow and underflow cases
31841 separately. Only pass fractional part of argument to
31842 __ieee754_expl.
31843 * math/libm-test.inc (exp2_test): Add more tests.
31844
c0df8e69
JM
31845 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31846 negating x to take absolute value.
31847 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31848 Likewise.
31849 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31850 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31851 Likewise.
31852 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31853 computing low part if x was negated.
31854 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31855
c8e43ba7
L
318562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31857
31858 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31859 la_x32_gnu_pltexit.
31860 (pltexit): Cast int_retval to ptrdiff_t.
31861 * elf/tst-auditmod3b.c: Likewise.
31862 * elf/tst-auditmod4b.c: Likewise.
31863 * elf/tst-auditmod5b.c: Likewise.
31864 * elf/tst-auditmod6b.c: Likewise.
31865 * elf/tst-auditmod6c.c: Likewise.
31866 * elf/tst-auditmod7b.c: Likewise.
31867
31868 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31869 and x32_gnu_pltexit.
31870
31871 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31872 __ELF_NATIVE_CLASS.
31873 (La_x32_regs): New macro.
31874 (La_x32_retval): Likewise.
31875 (la_x32_gnu_pltenter): New function prototype.
31876 (la_x32_gnu_pltexit): Likewise.
31877
7998fa78
AS
318782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31879
dcb33988
AS
31880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31881 exponent.
31882
233fc563
AS
31883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31884
7998fa78
AS
31885 * configure.in (libc_cv_cc_nofma): Check for option to disable
31886 generation of FMA instructions.
31887 * configure: Regenerate.
31888 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31889 * sysdeps/ieee754/dbl-64/Makefile: New file.
31890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31891 Remove brandred-fma4.
31892 (CFLAGS-brandred-fma4.c): Remove.
31893 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31894 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31895 define.
31896 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31897 define.
31898
8e95c99a
L
318992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31900
31901 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31902 LLONG_MAX != LONG_MAX.
31903 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31904 (_fitoa_word): Likewise.
31905 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31906 LLONG_MAX != LONG_MAX.
31907 * stdio-common/_itowa.h: Include <_itoa.h>.
31908 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31909 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31910 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31911 only if not defined.
31912 (_ITOA_WORD_TYPE): Likewise.
31913 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31914 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31915
6f4db457
DM
319162012-03-21 David S. Miller <davem@davemloft.net>
31917
31918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31919
7785fe5a
L
319202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31921
31922 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31923 of x86_64 when setting libc_cv_slibdir, libdir and
31924 libc_cv_localedir.
31925 * sysdeps/unix/sysv/linux/configure: Regenerated.
31926
4535cd55
JM
319272012-03-21 Joseph Myers <joseph@codesourcery.com>
31928
31929 * manual/lang.texi (Old Varargs): Remove section.
31930 (How Variadic): Update menu.
31931 (va_start): Do not mention varargs.h.
31932
17228132
TS
319332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31934 Joseph Myers <joseph@codesourcery.com>
31935
31936 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31937 link test.
31938 * configure: Regenerated.
31939
8149f976
TS
319402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31941
05f3d1f6
UD
31942 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31943 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31944 conformtest.pl
8149f976 31945
1a4ac776
JM
319462012-03-21 Joseph Myers <joseph@codesourcery.com>
31947
be22ce65
JM
31948 * NOTES: Remove.
31949 * Makefile (files-for-dist): Remove NOTES.
31950 (NOTES): Remove rule.
31951 * README: Don't refer to NOTES.
31952 * manual/creature.texi: Don't include macros.texi.
31953 * manual/intro.texi (creature.texi): Remove comment referring to
31954 NOTES.
31955
40b601fb
JM
31956 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31957 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31958 * configure: Regenerated.
31959 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31960 LIBC_TRY_CC_OPTION.
31961 (libc_cv_as_i686): Likewise.
31962 (libc_cv_cc_avx): Likewise.
31963 (libc_cv_cc_sse2avx): Likewise.
31964 (libc_cv_cc_fma4): Likewise.
31965 (libc_cv_cc_novzeroupper): Likewise.
31966 * sysdeps/i386/configure: Regenerated.
31967
1a4ac776
JM
31968 [BZ #13883]
31969 * sysdeps/i386/fpu/s_cexp.S: Remove.
31970 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31971 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31972 * math/libm-test.inc (cexp_test): Add more tests.
31973 * sysdeps/i386/fpu/libm-test-ulps: Update.
31974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31975
a458e7fe
AM
319762012-03-21 Allan McRae <allan@archlinux.org>
31977
31978 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31979
0cb7efc5
JM
319802012-03-21 Joseph Myers <joseph@codesourcery.com>
31981
31982 [BZ #13871]
31983 * math/w_exp2.c: Do not include <float.h>.
31984 (o_threshold, u_threshold): Remove.
31985 (__exp2): Calculate result before checking finiteness and calling
31986 __kernel_standard.
31987 * math/w_exp2f.c: Likewise.
31988 * math/w_exp2l.c: Likewise.
31989 * math/libm-test.inc (exp2_test): Require overflow exception for
31990 1e6 input.
2460d3aa
JM
31991
31992 [BZ #3866]
31993 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31994 range of signed 64-bit integers before using fistpll. Remove
31995 checks for whether integers fit in mantissa bits.
31996 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31997 the range of signed 32-bit integers before using fistpl. Remove
31998 checks for whether integers fit in mantissa bits.
31999 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32000 (__ieee754_powl): Test for y outside the range of signed 64-bit
32001 integers before using fistpll. Reduce 64-bit values to 63-bit
32002 ones as needed.
32003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32004 divide-by-zero is raised for zero to large negative powers.
32005 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32006 (__ieee754_powl): Test for y outside the range of signed 64-bit
32007 integers before using fistpll. Reduce 64-bit values to 63-bit
32008 ones as needed.
32009 * math/libm-test.inc (pow_test): Add more tests.
32010
eb96ffb0
L
320112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32012
32013 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32014 <stdio-common/_itoa.h>.
32015 * debug/segfault.c: Likewise.
32016 * elf/dl-cache.c: Likewise.
32017 * elf/dl-minimal.c: Likewise.
32018 * elf/dl-misc.c: Likewise.
32019 * elf/dl-sysdep.c: Likewise.
32020 * elf/dl-version.c: Likewise.
32021 * elf/rtld.c: Likewise.
32022 * hurd/hurdsock.c: Likewise.
32023 * hurd/lookup-retry.c: Likewise.
32024 * malloc/malloc.c: Likewise.
32025 * malloc/mtrace.c: Likewise.
32026 * nscd/nscd_getgr_r.c: Likewise.
32027 * nscd/nscd_getpw_r.c: Likewise.
32028 * nscd/nscd_getserv_r.c: Likewise.
32029 * posix/getopt_init.c: Likewise.
32030 * posix/wordexp.c: Likewise.
32031 * stdio-common/_itoa.c: Likewise.
32032 * stdio-common/printf_fphex.c: Likewise.
32033 * stdio-common/vfprintf.c: Likewise.
32034 * string/_strerror.c: Likewise.
32035 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32036 * sysdeps/i386/i686/hp-timing.h: Likewise.
32037 * sysdeps/mach/_strerror.c: Likewise.
32038 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32039 * sysdeps/mach/hurd/sethostid.c: Likewise.
32040 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32041 * sysdeps/mach/xpg-strerror.c: Likewise.
32042 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32043 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32044 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32045 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32046 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32047 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32048 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32049 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32050 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32051 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32052 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32053 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32054 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32055 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32056 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32057 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32058 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32059 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32060 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32061 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32062 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32063
32064 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32065
32066 * stdio-common/_itoa.h: Moved to ...
32067 * sysdeps/generic/_itoa.h: Here.
32068
32069 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32070
32071 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32072 instead of "_itoa.h" and "_itowa.h".
32073 * stdio-common/vfprintf.: Likewise.
32074
d1af992d
L
320752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32076
32077 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32078 <bits/wordsize.h>.
32079 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32080 (__signbit): Likwise.
32081 (llrintf): Likwise.
32082 (llrint): Likwise.
32083
114883e0
L
320842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32085
32086 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32087 __WORDSIZE != 64.
32088
c135cc1b
JM
320892012-03-20 Joseph Myers <joseph@codesourcery.com>
32090
32091 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32092 OVERFLOW_EXCEPTION_OK.
32093 * math/libm-test.inc ("Philosophy"): Update comment about
32094 exception testing.
32095 (OVERFLOW_EXCEPTION): Define.
32096 (OVERFLOW_EXCEPTION_OK): Likewise.
32097 (INVALID_EXCEPTION_OK): Renumber.
32098 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32099 (IGNORE_ZERO_INF_SIGN): Likewise.
32100 (test_exceptions): Handle FE_OVERFLOW.
32101 (exp10_test): Expect overflow exceptions.
32102 (exp2_test): Likewise.
32103 (expm1_test): Likewise.
32104 (nextafter_test): Likewise.
32105 (pow_test): Likewise.
32106 (scalbn_test): Likewise.
32107 (scalbln_test): Likewise.
32108
95443d88
L
321092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32110
32111 * sysdeps/x86_64/bits/atomic.h
32112 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32113 64bit integer.
32114 (atomic_exchange_acq): Likewise.
32115 (__arch_exchange_and_add_body): Likewise.
32116 (__arch_add_body): Likewise.
32117 (atomic_add_negative): Likewise.
32118 (atomic_add_zero): Likewise.
32119
490df6c4
L
321202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32121
c2722551 32122 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32123 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32124
5e52b189
L
321252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32126
32127 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32128 Check __x86_64__ instead of __WORDSIZE.
32129
a9879d4c
L
321302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32131
32132 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32133
5df98260
DM
321342012-03-19 David S. Miller <davem@davemloft.net>
32135
e1497744
DM
32136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32137
5df98260
DM
32138 * sysdeps/sparc/fpu/fenv_private.h: New file.
32139 * sysdeps/sparc/fpu/math_private.h: Use it.
32140 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32141 Remove.
32142 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32143 (libc_feholdexcept_setroundl): Remove.
32144 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32145 Remove.
32146 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32147 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32148
b4c35121
L
321492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32150
32151 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32152 int64_t instead of long int.
32153 (INSERT_WORDS64): Likwise.
32154
56965fd7
L
321552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32156
32157 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32158 _Unwind_GetCFA return to _Unwind_Ptr first.
32159
83d1aec8
JM
321602012-03-19 Joseph Myers <joseph@codesourcery.com>
32161
1897ad44
JM
32162 [BZ #13629]
32163 * math/s_clog.c: Include <float.h>.
32164 (__clog): Scale large or subnormal inputs.
32165 * math/s_clogf.c: Likewise.
32166 * math/s_clogl.c: Likewise.
32167 * math/s_clog10.c: Include <float.h>.
32168 (M_LOG10_2): Define.
32169 (__clog10): Scale large or subnormal inputs.
32170 * math/s_clog10f.c: Likewise.
32171 * math/s_clog10l.c: Likewise.
32172 * math/libm-test.inc (clog_test): Add more tests.
32173 (clog10_test): Likewise.
32174 * sysdeps/i386/fpu/libm-test-ulps: Update.
32175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32176
7726d6a9
JM
32177 [BZ #11451]
32178 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32179 x and y.
32180 * math/libm-test.inc (atan2_test): Add another test.
32181
83d1aec8
JM
32182 * Makerules (common-objdir-compile): Remove.
32183 * sysdeps/unix/Makefile (config-generated): Do not add
32184 $(unix-generated) to variable.
32185 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32186 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32187 Remove rule.
32188 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32189 Likewise.
32190 [generic bits/local_lim.h] (before-compile): Do not append to
32191 variable.
32192 [generic bits/local_lim.h] (common-generated): Likewise.
32193 [generic sys/param.h] (before-compile): Do not append to variable.
32194 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32195 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32196 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32197 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32198 include.
32199 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32200 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32201 [generic sys/param.h] ($(addprefix
32202 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32203 [generic sys/param.h] (common-generated): Do not append to
32204 variable.
32205 [generic sys/param.h] (sysdep_headers): Likewise.
32206 [generic bits/errno.h] (before-compile): Do not append to
32207 variable.
32208 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32209 rule.
32210 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32211 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32212 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32213 [generic bits/errno.h] (common-generated): Do not append to
32214 variable.
32215 [generic bits/ioctls.h] (before-compile): Do not append to
32216 variable.
32217 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32218 rule.
32219 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32220 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32221 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32222 rule.
32223 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32224 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32225 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32226 [generic bits/ioctls.h] (common-generated): Do not append to
32227 variable.
32228 [generic sys/syscall.h] (syscall.h): Remove variable.
32229 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32230 rule.
32231 [generic sys/syscall.h] (before-compile): Do not append to
32232 variable.
32233 [generic sys/syscall.h] (common-generated): Likewise.
32234 * sysdeps/unix/errnos-tmpl.c: Remove file.
32235 * sysdeps/unix/errnos.awk: Likewise.
32236 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32237 * sysdeps/unix/ioctls.awk: Likewise.
32238 * sysdeps/unix/mk-local_lim.c: Likewise.
32239 * sysdeps/unix/snarf-ioctls: Likewise.
32240
4851a949
RH
322412012-03-19 Richard Henderson <rth@twiddle.net>
32242
bd37f2ee
RH
32243 * sysdeps/i386/fpu/fenv_private.h: New file.
32244 * sysdeps/i386/fpu/math_private.h: Use it.
32245 (math_opt_barrier, math_force_eval): Remove.
32246 (libc_feholdexcept_setround_53bit): Remove.
32247 (libc_feupdateenv_53bit): Remove.
32248 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32249 (math_opt_barrier, math_force_eval): Remove.
32250 (libc_feholdexcept): Remove.
32251 (libc_feholdexcept_setround): Remove.
32252 (libc_fetestexcept, libc_fesetenv): Remove.
32253 (libc_feupdateenv_test): Remove.
32254 (libc_feupdateenv, libc_feholdsetround): Remove.
32255 (libc_feresetround): Remove.
32256
d0adc922
RH
32257 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32258 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32259
0fe0f1f8
RH
32260 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32261 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32262 (libc_feupdateenv_testl): New.
32263 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32264 (libc_feupdateenv_testf): New.
32265 (libc_feupdateenv): Use libc_feupdateenv_test.
32266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32267 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32268
eb92c487
RH
32269 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32270 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32271 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32272 (libc_feresetround_noex): New.
32273 (libc_feresetround_noexf): New.
32274 (libc_feresetround_noexl): New.
32275 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32276 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32277 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32278 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32279 SET_RESTORE_ROUND.
32280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32282 (__cos): Likewise.
32283 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32284 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32285 SET_RESTORE_ROUND_NOEX.
32286 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32287 SET_RESTORE_ROUND_NOEXF.
32288 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32289 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32290 (libc_feholdsetroundf): New.
32291 (libc_feresetround, libc_feresetroundf): New.
32292
7d2e8012
RH
32293 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32294 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32295 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32296
b4dabbb4
RH
32297 * sysdeps/generic/math_private.h: Include <fenv.h>.
32298 (default_libc_feholdexcept): New.
32299 (default_libc_feholdexcept_setround): New.
32300 (default_libc_fesetenv, default_libc_feupdateenv): New.
32301 (libc_feholdexcept): Only define if undefined.
32302 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32303 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32304 (libc_feholdexcept_setroundl): Likewise.
32305 (libc_feholdexcept_setround_53bit): Likewise.
32306 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32307 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32308 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32309 (libc_feupdateenv_53bit): Likewise.
32310 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32311 (libc_feholdexcept): Convert from macro to inline function.
32312 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32313 (libc_fesetenv, libc_feupdateenv): Likewise.
32314
4851a949
RH
32315 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32316 not previously defined.
32317 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32318 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32319 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32320 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32321 * sysdeps/ieee754/flt-32/math_private.h: New file.
32322 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32323 math_private.h below SET_FLOAT_WORD.
32324 (__isnan, __isinf_ns, __finite): Remove.
32325 (__isnanf, __isinf_nsf, __finitef): Remove.
32326
e79d442e
AS
323272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32328
32329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32330
90b80344
DM
323312012-03-17 David S. Miller <davem@davemloft.net>
32332
32333 [BZ #6471]
32334 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32335 for 2.16.
32336
edc21804
DM
323372012-03-16 David S. Miller <davem@davemloft.net>
32338
77e927af
DM
32339 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32340 warnings.
32341
374976dd
DM
32342 [BZ #6471]
32343 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32344 properly.
32345 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32346 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32347 sysdep_routines when subdir is sysvipc.
32348 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32349 __getshmlba helper.
32350
edc21804
DM
32351 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32352
473c3ef3
L
323532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32354
32355 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32356 [__LP64__].
32357
eb0f39b6
L
323582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32359
32360 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32361 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32362 (__lround): Renamed to ...
32363 (__llround): This. Replace long int with long long int.
32364 Define lround functions as aliases of llround functions.
32365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32366
6b6cd74b
L
323672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32368
32369 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32370 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32371 adresses to uintptr_t. Replace "long int" and "unsigned long
32372 int" with "greg_t" on va_arg.
32373
f1a77b01
L
323742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32375
32376 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32377 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32378
32379 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32380 Move e_machine check before EI_CLASS check. Handle x32
32381 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32382 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32383 SKIP_EM_IA_64 and include
32384 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32385
32386 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32387 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32388 (add_system_dir): New macro.
32389
32390 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32391 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32392
11b90b9f
JM
323932012-03-16 Joseph Myers <joseph@codesourcery.com>
32394
c36e1d23
JM
32395 [BZ #2551]
32396 [BZ #2552]
32397 [BZ #2553]
32398 [BZ #2554]
32399 [BZ #2562]
32400 [BZ #2563]
32401 [BZ #2565]
32402 [BZ #2566]
32403 [BZ #2576]
32404 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32405 (y0): Likewise.
32406 * math/w_j0f.c (j0f): Likewise.
32407 (y0f): Likewise.
32408 * math/w_j0l.c (__j0l): Likewise.
32409 (__y0l): Likewise.
32410 * math/w_j1.c (j1): Likewise.
32411 (y1): Likewise.
32412 * math/w_j1f.c (j1f): Likewise.
32413 (y1f): Likewise.
32414 * math/w_j1l.c (__j1l): Likewise.
32415 (__y1l): Likewise.
32416 * math/w_jn.c (jn): Likewise.
32417 (yn): Likewise.
32418 * math/w_jnf.c (jnf): Likewise.
32419 (ynf): Likewise.
32420 * math/w_jnl.c (__jnl): Likewise.
32421 (__ynl): Likewise.
32422 * math/libm-test.inc (j0_test): Add more tests.
32423 (j1_test): Likewise.
32424 (jn_test): Likewise. Add trailing semicolon to existing test.
32425 (y0_test): Likewise.
32426 (y1_test): Likewise.
32427 * sysdeps/i386/fpu/libm-test-ulps: Update.
32428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32429
11b90b9f
JM
32430 [BZ #13851]
32431 [BZ #13854]
32432 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32433 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32434 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32435 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32436 (__tanl): Set errno for infinite argument.
32437 * sysdeps/i386/fpu/mptan.c: Remove.
32438 * sysdeps/i386/fpu/s_tan.S: Likewise.
32439 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32440 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32441 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32442 * math/libm-test.inc (tan_test): Add more tests and enable more
32443 tests for double and long double.
32444 * sysdeps/i386/fpu/libm-test-ulps: Update.
32445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32446
6a1bd2a1
JK
324472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32448
32449 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32450 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32451
10a803e0
RM
324522012-03-16 Roland McGrath <roland@hack.frob.com>
32453
32454 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32455 * configure.in: Use it for both main tree and add-ons.
32456 * configure: Regenerated.
32457
f196c7f7
L
324582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32459
32460 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32461
8848d99d
JM
324622012-03-16 Joseph Myers <joseph@codesourcery.com>
32463
96cbe7f4
JM
32464 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32465 in comment.
32466
8848d99d
JM
32467 [BZ #13851]
32468 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32469 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32470 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32471 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32472 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32473 infinite argument.
32474 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32476 != 0 for prec == 2.
32477 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32478 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32479 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32480 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32481 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32482 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32483 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32484 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32485 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32486 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32487 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32488 * math/libm-test.inc (cos_test): Add more tests and enable more
32489 tests for long double.
32490 (sin_test): Likewise.
32491 (sincos_test): Likewise.
32492 * sysdeps/i386/fpu/libm-test-ulps: Update.
32493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32494
dd7f4703
DM
324952012-03-16 David S. Miller <davem@davemloft.net>
32496
32497 * sysdeps/sparc/fpu/math_private.h: New file.
32498
006f1daa
DM
324992012-03-15 David S. Miller <davem@davemloft.net>
32500
c0c83bc8
DM
32501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32502 file.
e6a62e18 32503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32505 file.
e6a62e18
DM
32506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32512 sysdep routines.
32513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32514
88cb87d9
DM
32515 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32516 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32517
006f1daa 32518 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32520 sparc-ifunc.h
006f1daa 32521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32523 Likewise.
32524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32525 Likewise.
006f1daa
DM
32526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32530 Likewise.
006f1daa
DM
32531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32536 Likewise.
32537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32538 Likewise.
006f1daa
DM
32539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32561 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32563
11e0098e
AS
325642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32565
32566 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32567 scaling.
32568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32569
e85b09d0
AJ
325702012-03-15 Andreas Jaeger <aj@suse.de>
32571
32572 [BZ #13852]
32573 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32574 ieee754/flt-32 implementation for sin, cos and sincos.
32575 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32576 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32577 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32578 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32579 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32580 ieee754/flt-32 implementation for tan.
32581
32582 * math/libm-test.inc (cos_test): Enable some large input tests for
32583 float as well
32584 (sin_test): Likewise.
32585 (sincos_test): Likewise.
32586 (tan_test): Add tests for large input.
32587
32588 * sysdeps/i386/fpu/libm-test-ulps: Update.
32589
81c64153
AJ
325902012-03-15 Andreas Jaeger <aj@suse.de>
32591
32592 [BZ #13658]
32593 * math/libm-test.inc (cos_test): Add more test cases.
32594 (sin_test): Likewise.
32595 (sincos_test): Likewise.
32596
7bbfa5c6
AJ
325972012-03-15 Andreas Jaeger <aj@suse.de>
32598
32599 [BZ #13837]
32600 * math/libm-test.inc (cos_test): Add a test case for large input
32601 value.
32602 (sin_test): Likewise.
32603 (sincos_test): Likewise.
32604
326052012-03-15 Andreas Jaeger <aj@suse.de>,
32606 Joseph Myers <joseph@codesourcery.com>
32607
32608 [BZ #13658]
0671f479 32609 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32610 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32611 * sysdeps/i386/fpu/branred.c: Likewise.
32612 * sysdeps/i386/fpu/dosincos.c: Likewise.
32613 * sysdeps/i386/fpu/mpa.c: Likewise.
32614 * sysdeps/i386/fpu/s_cos.S: Likewise.
32615 * sysdeps/i386/fpu/s_sin.S: Likewise.
32616 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32617 * sysdeps/i386/fpu/sincos32.c: Likewise.
32618
32619 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32620 Define.
32621 (libc_feupdateenv_53bit): Define.
32622 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32623 Define.
32624 (libc_feupdateenv_53bit): Define.
32625
32626 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32627 53 bit (without extend i386 double precision).
32628
32629 * math/libm-test.inc (sincos_test): Add tests for large input.
32630 (sin): Likewise.
32631 (cos): Likewise.
32632
32633 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32634
9cad04ea
AS
326352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32636
32637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32638
f7062b9a
DM
326392012-03-15 David S. Miller <davem@davemloft.net>
32640
32641 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32642 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32643 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32644 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32657 file.
f7062b9a 32658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32660 file.
f7062b9a 32661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32663 file.
f7062b9a 32664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32666 file.
f7062b9a
DM
32667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32669 fmin/fmax sysdep routines.
32670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32671
7bd951ff
DM
326722012-03-14 David S. Miller <davem@davemloft.net>
32673
559398ab
DM
32674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32695 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32696 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32697 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32701 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32702 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32703 routines.
32704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32705 file.
559398ab 32706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32708 file.
559398ab 32709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32711 file.
559398ab 32712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32714 file.
559398ab 32715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32717 file.
559398ab 32718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32720 file.
32721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32722 file.
32723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32724 file.
32725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32726 file.
32727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32728 New file.
32729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32730 file.
32731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32732 file.
559398ab 32733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32735 file.
559398ab 32736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32738 file.
559398ab 32739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32741 file.
559398ab 32742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32744 VIS3 routines.
559398ab
DM
32745
32746 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32747 New file.
32748
5a1c1e32
DM
32749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32750
eae47a36
DM
32751 * sysdeps/sparc/configure.in: New file.
32752 * sysdeps/sparc/configure: Generate.
32753 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32754 * configure: Regenerate.
32755 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32756 * config.make.in (have-as-vis3): New.
32757 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32758 available use -Av9d instead of -Av9a.
32759 * sysdeps/sparc/sparc64/Makefile: Likewise.
32760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32762 New file.
32763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32764 file.
32765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32766 New file.
32767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32768 file.
eae47a36
DM
32769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32770 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32771 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32772 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32773 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32774
c0c83bc8
DM
32775 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32776 fzeros/fnegs to load 0x80000000 into a float register instead of
32777 using the stack.
7bd951ff
DM
32778 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32779
bd951ccb
JM
327802012-03-14 Joseph Myers <joseph@codesourcery.com>
32781
32782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32783 bits/syscall.h.
32784 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32785 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32786 ($(inst_includedir)/bits/syscall.h): Remove rule.
32787 ($(objpfx)bits/syscall.d): Include instead of
32788 $(objpfx)syscall-list.d.
32789 (generated): Change syscall-list.h and syscall-list.d to
32790 bits/syscall.h and bits/syscall.d.
32791
bb4e6db2
RM
327922012-03-14 Roland McGrath <roland@hack.frob.com>
32793
32794 [BZ #13846]
32795 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32796
aa4a2ae1
JM
327972012-03-14 Joseph Myers <joseph@codesourcery.com>
32798
e456826d
JM
32799 [BZ #13841]
32800 * math/s_csqrt.c: Include <float.h>.
32801 (__csqrt): Scale large or subnormal inputs.
32802 * math/s_csqrtf.c: Likewise.
32803 * math/s_csqrtl.c: Likewise.
32804 * math/libm-test.inc (csqrt_test): Add more tests.
32805 * sysdeps/i386/fpu/libm-test-ulps: Update.
32806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32807
aa4a2ae1
JM
32808 [BZ #13840]
32809 * math/libm-test.inc (hypot_test): Add more tests.
32810
7c10fd35
DM
328112012-03-13 David S. Miller <davem@davemloft.net>
32812
32813 [BZ #13840]
32814 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32815 double-precision for the calculation instead of scaling.
32816
f453b98b
JM
328172012-03-13 Joseph Myers <joseph@codesourcery.com>
32818
32819 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32820 manipulate bits before adding and subtracting TWO52[sx].
32821 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32822 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32823 Likewise.
32824 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32825
09a3453f
DM
328262012-03-13 David S. Miller <davem@davemloft.net>
32827
8e59da90
DM
32828 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32829 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32831 rtld-global-offsets.h
32832 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32833
2a8ab7f2
DM
32834 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32835 large parameters.
32836
10f62770
DM
32837 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32838
5f0bdb18
DM
32839 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32840 'err' in the ifdef scope in which it is actually used.
32841
09a3453f
DM
32842 * nss/nss_db/db-init.c: Include string.h
32843
b4b2eb5e
DM
328442012-03-12 David S. Miller <davem@davemloft.net>
32845
98bb2f1c
DM
32846 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32847 masking out of the most significant byte of random value used.
32848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32849 Fix coding style in previous change.
32850
b4b2eb5e
DM
32851 * sysdeps/unix/sysv/linux/kernel-features.h
32852 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32853 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32854 expression.
32855 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32856 later.
32857
6e226b09
DM
328582012-03-11 David S. Miller <davem@davemloft.net>
32859
a1bcbd40
DM
32860 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32861 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32862 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32863 for 'resultvar' otherwise things get truncated on 64-bit.
32864
cb9d6174
DM
32865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32866 Fix masking out of the most significant byte of random value used.
32867
6e226b09
DM
32868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32869
058c132d
AS
328702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32871
32872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32873
2d2cd515
DM
328742012-03-09 David S. Miller <davem@davemloft.net>
32875
32876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32877 variables with appropriate CPP guards.
32878 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32879 frame pointer, not the stack pointer. Correct layout comments. Fix test
32880 on resulting framesize and the management of the outregs buffer for pltexit.
32881 Preserve floating point return values across _dl_call_pltexit call.
32882 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32883 framesize and the management of the outregs buffer for pltexit.
32884 Preserve floating point return values across _dl_call_pltexit
32885 call.
32886 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32887 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32888 (print_exit): Fix format string for return register value.
32889
9a07f9d0
JM
328902012-03-10 Joseph Myers <joseph@codesourcery.com>
32891
32892 * sunrpc/Makefile (others): Add rpcgen.
32893 ($(objpfx)rpcgen): Remove special build rule and dependency on
32894 libc.
32895 * sunrpc/rpcgen.c: New file.
32896
547b5e30
PE
328972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32898
c524201a
PE
32899 [BZ #13673]
32900 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32901 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32902 * sysdeps/i386/crti.S: Likewise.
32903 * sysdeps/i386/crtn.S: Likewise.
32904 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32905 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32906 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32907 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32908 * sysdeps/sh/crti.S: Likewise.
32909 * sysdeps/sh/crtn.S: Likewise.
32910 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32911
7b6235f2
PE
32912 [BZ #13673]
32913 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32914 with URL.
32915 * locale/programs/locfile-kw.gperf: Likewise.
32916 * locale/programs/charmap-kw.h: Regenerated.
32917 * locale/programs/locfile-kw.h: Likewise.
32918
547b5e30
PE
32919 [BZ #13673]
32920 * intl/plural.y: Replace FSF snail mail address with URL.
32921 * intl/plural.c: Regenerated.
32922
5f0a5dae
RH
329232012-03-09 Richard Henderson <rth@twiddle.net>
32924
32925 * include/math_private.h: Remove file.
32926 * math/math_private.h: Move file ...
32927 * sysdeps/generic/math_private.h: ... here.
32928
b8c03620
RH
32929 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32930 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32931 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32932
4e234f5d 32933 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32934 and <math_private.h>.
32935 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32936 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32937 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32938 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32939 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32940 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32941 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32944 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32946 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32947 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32949 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32951 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32961 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32967 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32968 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32969 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32970 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32971 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32975 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32976 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32977 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32978 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32979 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32980 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32981 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33023 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33026 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33028 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33029 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33030 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33031 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33032 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33033 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33034 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33035 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33036 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33037 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33038 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33039 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33040 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33041 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33042 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33043 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33045 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33046 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33047 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33048 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33049 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33050 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33051 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33052 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33053 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33054 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33055 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33056 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33058 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33059 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33060 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33061 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33062 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33063 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33064 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33065 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33066 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33067 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33068 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33069 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33070 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33071 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33072 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33073 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33074 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33076 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33077 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33079 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33080 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33081 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33082 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33084 * sysdeps/ieee754/k_standard.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33200 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33204 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33205 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33207 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33212 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33245 * sysdeps/ieee754/s_lib_version.c: Likewise.
33246 * sysdeps/ieee754/s_matherr.c: Likewise.
33247 * sysdeps/ieee754/s_signgam.c: Likewise.
33248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33250 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33251 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33252 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33253 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33254 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33255 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33256 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33257 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33258 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33259 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33260 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33261 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33262 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33263 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33264 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33265 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33266 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33267 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33269
1991fa03
JM
332702012-03-09 Joseph Myers <joseph@codesourcery.com>
33271
33272 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33273 * sunrpc/rpc_main.c: Likewise.
33274 * sunrpc/rpc_svcout.c: Likewise.
33275
60d6f5a6
DM
332762012-03-09 David S. Miller <davem@davemloft.net>
33277
33278 * include/math_private.h: New file.
33279
4962050e
JM
332802012-03-09 Joseph Myers <joseph@codesourcery.com>
33281
02a6f887
JM
33282 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33283 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33284 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33285 from <bits/socket_type.h>.
33286 (enum __socket_type): Don't define here.
33287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33289 bits/socket_type.h.
33290
c6e013c1
JM
33291 [BZ #13566]
33292 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33293 checking __USE_GNU.
33294
4962050e
JM
33295 * Makerules ($(inst_includedir)/%.h): New rule.
33296 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33297 (install-others): Remove variable setting.
33298 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33299
38842f45
RH
333002012-03-08 Richard Henderson <rth@twiddle.net>
33301
67bb6da6
RH
33302 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33303 from macro to inline function; merge with the
33304 !__LIBC_INTERNAL_MATH_INLINES version.
33305 (__ieee754_sqrtf): Likewise.
33306
15194b4b
RH
33307 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33308 to inline function.
33309 (__rintf, __floor, __floorf): Likewise.
33310
64e21ede
RH
33311 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33312 macro to inline function.
33313 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33314
38842f45
RH
33315 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33316 not <math/math_private.h>.
33317
c64bf5fe
DM
333182012-03-08 David S. Miller <davem@davemloft.net>
33319
33320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33321 copyright year.
33322 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33323
82d86f28
TS
333242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33325
33326 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33327 normalization.
33328 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33329 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33330
aea5d727
UD
333312012-03-08 Ulrich Drepper <drepper@gmail.com>
33332
33333 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33334 be defined individually, they must be defined as a block. Define
33335 S for printing a string instead of hidint the different by using a
33336 macro for adding the 'l'.
33337 * stdio-common/tst-fphex-wide.c: Adjust.
33338
70bca0a3
MP
333392012-03-07 Marek Polacek <polacek@redhat.com>
33340
33341 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33342
65b81130
MP
333432012-03-08 Marek Polacek <polacek@redhat.com>
33344
33345 [BZ #13806]
33346 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33347 * stdio-common/tst-fphex.c: Define a few macros to make the
33348 test reusable. Use them.
33349 * stdio-common/tst-fphex-wide.c: New file.
33350
07037eeb
JM
333512012-03-08 Joseph Myers <joseph@codesourcery.com>
33352
a7a93d50
JM
33353 [BZ #6911]
33354 * manual/macros.texi (gnusystems): New macro.
33355 (nongnusystems): Likewise.
33356 (gnulinuxhurdsystems): Likewise.
33357 (gnuhurdsystems): Likewise..
33358 (gnulinuxsystems): Likewise.
33359 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33360 variants of the GNU system, not "GNU system".
33361 * manual/conf.texi: Likewise.
33362 * manual/errno.texi: Likewise. Update example of errno macro
33363 expansion.
33364 * manual/filesys.texi: Likewise.
33365 (getumask): Document as specific to GNU/Hurd.
33366 * manual/install.texi: Likewise. Reword some references to
33367 GNU/Linux.
33368 * manual/intro.texi: Likewise.
33369 * manual/io.texi: Likewise.
33370 (File Name Portability): Detail which constraints are inapplicable
33371 to all GNU systems and which are only inapplicable to GNU/Hurd.
33372 * manual/job.texi: Likewise.
33373 * manual/llio.texi: Likewise.
33374 (O_NOCTTY): Document as present on GNU/Linux.
33375 * manual/maint.texi: Likewise.
33376 * manual/memory.texi: Likewise.
33377 * manual/pattern.texi: Likewise.
33378 * manual/pipe.texi: Likewise.
33379 * manual/process.texi: Likewise.
33380 * manual/resource.texi: Likewise.
33381 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33382 child on GNU/Hurd.
33383 * manual/setjmp.texi: Likewise.
33384 * manual/signal.texi: Likewise.
33385 * manual/startup.texi: Likewise.
33386 * manual/stdio.texi: Likewise.
33387 * manual/terminal.texi: Likewise.
33388 (ONLCR): Document as POSIX.
33389 (OXTABS): Document availability on GNU/Linux as XTABS.
33390 (ONOEOT): Document availability separately from other bits.
33391 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33392 * manual/time.texi: Likewise.
33393 * manual/users.texi: Likewise.
33394 * INSTALL: Regenerated.
33395 * sysdeps/gnu/errlist.c: Regenerated.
33396
07037eeb
JM
33397 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33398 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33399 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33400 puts.
33401 * configure: Regenerated.
33402
d1d3431a
JM
334032012-03-07 Joseph Myers <joseph@codesourcery.com>
33404
af6a1e37
JM
33405 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33406 default includes instead of AC_HEADER_CHECK.
33407 * sysdeps/i386/configure: Regenerated.
33408
d1d3431a
JM
33409 [BZ #10716]
33410 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33411 * math/s_cacoshf.c (__cacoshf): Likewise.
33412 * math/s_cacoshl.c (__cacoshl): Likewise.
33413 * math/s_casinh.c (__casinh): Set signs of result from argument.
33414 * math/s_casinhf.c (__casinhf): Likewise.
33415 * math/s_casinhl.c (__casinhl): Likewise.
33416 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33417 (casinh_test): Add more tests.
33418 * sysdeps/i386/fpu/libm-test-ulps: Update.
33419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33420
482ff4da
UD
334212012-03-07 Ulrich Drepper <drepper@gmail.com>
33422
872fda05
UD
33423 * po/zh_TW.po: Update from translation team.
33424
a4300c7a
UD
33425 * login/Makefile (distribute): Remove variable.
33426 * catgets/Makefile: Likewise.
33427 * mach/Makefile: Likewise.
33428 * malloc/Makefile: Likewise.
33429 * misc/Makefile: Likewise.
33430 * iconv/Makefile: Likewise.
33431 * nscd/Makefile: Likewise.
33432 * hurd/Makefile: Likewise.
33433 * manual/Makefile: Likewise.
33434 * locale/Makefile: Likewise.
33435 * intl/Makefile: Likewise.
33436 * conform/Makefile: Likewise.
33437 * nss/Makefile: Likewise.
33438 * time/Makefile: Likewise.
33439 * soft-fp/Makefile: Likewise.
33440 * dirent/Makefile: Likewise.
33441 * gmon/Makefile: Likewise.
33442 * po/Makefile: Likewise.
33443 * rt/Makefile: Likewise.
33444 * socket/Makefile: Likewise.
33445 * math/Makefile: Likewise.
33446 * signal/Makefile: Likewise.
33447 * debug/Makefile: Likewise.
33448 * elf/Makefile: Likewise.
33449 * timezone/Makefile: Likewise.
33450 * stdlib/Makefile: Likewise.
33451 * iconvdata/Makefile: Likewise.
33452 * sunrpc/Makefile: Likewise.
33453 * io/Makefile: Likewise.
33454 * argp/Makefile: Likewise.
33455 * inet/Makefile: Likewise.
33456 * hesiod/Makefile: Likewise.
33457 * grp/Makefile: Likewise.
33458 * csu/Makefile: Likewise.
33459 * wctype/Makefile: Likewise.
33460 * crypt/Makefile: Likewise.
33461 * libio/Makefile: Likewise.
33462 * string/Makefile: Likewise.
33463 * nis/Makefile: Likewise.
33464 * resolv/Makefile: Likewise.
33465 * stdio-common/Makefile: Likewise.
33466 * wcsmbs/Makefile: Likewise.
33467 * dlfcn/Makefile: Likewise.
33468 * posix/Makefile: Likewise.
33469
3b7c4e74 33470 [BZ #6959]
482ff4da
UD
33471 * timezone/Makefile: Don't install timezone files, just the programs
33472 and scripts.
33473
f72ed77d
UD
334742012-03-06 Ulrich Drepper <drepper@gmail.com>
33475
a000466f
UD
33476 * nss/databases.def: Add missing gshadow entry.
33477
f72ed77d
UD
33478 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33479
a53b7a4e
MP
334802012-03-06 Marek Polacek <polacek@redhat.com>
33481
33482 [BZ #13726]
33483 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33484 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33485 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33486 * stdio-common/tst-long-dbl-fphex.c: New file.
33487
e9258400
DM
334882012-03-06 David S. Miller <davem@davemloft.net>
33489
33490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33491 (set_obp_int): New function.
33492 (get_obp_int): New function.
33493 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33494 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33495 Avoid unused variable warnings on 'val' and use builtin_expect.
33496 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33497 __builtin_expect.
e9258400
DM
33498 (INLINE_CLONE_SYSCALL): Likewise.
33499
3bd2c723
DM
335002012-03-05 David S. Miller <davem@davemloft.net>
33501
33502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33503
bbb78d03
AS
335042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33505
884c5db4
AS
33506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33507
bbb78d03
AS
33508 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33509 only for |x| >= 40.
33510 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33511
1c9f702a 335122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33513
33514 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33515 Replace gettimeofday with __vdso_gettimeofday.
33516
7be16f82
RM
33517 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33518 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33519 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33520
33521 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33522 time with __vdso_time.
33523
ed58a00f
JM
335242012-03-05 Joseph Myers <joseph@codesourcery.com>
33525
33526 * manual/lang.texi (size_t): Note types to which size_t may be
33527 equivalent with the GNU C Library, but do not describe when
33528 differences between them are significant.
33529
30ee4ced
AJ
335302012-03-05 Andreas Jaeger <aj@suse.de>
33531
33532 * sysdeps/i386/fpu/libm-test-ulps: Update.
33533
b7cd39e8
JM
335342012-03-05 Joseph Myers <joseph@codesourcery.com>
33535
33536 [BZ #3976]
33537 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33538 (__ieee754_pow): Save and restore rounding mode and use
33539 round-to-nearest for main computations.
33540 * math/libm-test.inc (pow_test_tonearest): New function.
33541 (pow_test_towardzero): Likewise.
33542 (pow_test_downward): Likewise.
33543 (pow_test_upward): Likewise.
33544 (main): Call the new functions.
33545 * sysdeps/i386/fpu/libm-test-ulps: Update.
33546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33547
33548 [BZ #3976]
33549 * math/libm-test.inc (cosh_test_tonearest): New function.
33550 (cosh_test_towardzero): Likewise.
33551 (cosh_test_downward): Likewise.
33552 (cosh_test_upward): Likewise.
33553 (sinh_test_tonearest): Likewise.
33554 (sinh_test_towardzero): Likewise.
33555 (sinh_test_downward): Likewise.
33556 (sinh_test_upward): Likewise.
33557 (main): Call the new functions.
33558 * sysdeps/i386/fpu/libm-test-ulps: Update.
33559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33560
6c6a98c9
TV
335612012-03-05 Tom de Vries <tom@codesourcery.com>
33562
33563 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33564 default stack guard is set in last bytes.
33565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33566
21bb2d2e 335672012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33568
21bb2d2e 33569 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33570
21bb2d2e
AJ
33571 [BZ #13656]
33572 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33573 possibly allocate from heap instead of stack.
33574 * stdio-common/bug-vfprintf-nargs.c: New file.
33575 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33576
c6922934
AS
335772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33578
33579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33580
bc957d53
MP
335812012-03-03 Marek Polacek <polacek@redhat.com>
33582
33583 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33584 * math/math_private.h: Likewise.
33585 * stdlib/tst-strtod.c: Likewise.
33586 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33587 * sysdeps/x86_64/bits/atomic.h: Likewise.
33588
6358490d
DM
335892012-03-02 David S. Miller <davem@davemloft.net>
33590
33591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33595 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33596 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33597 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33598 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33599
01ae168d
RM
336002012-03-02 Roland McGrath <roland@hack.frob.com>
33601
d9a17c07
RM
33602 [BZ #13792]
33603 * manual/examples/README: New file, says the example source files
33604 can be used under GPL>=2.
33605 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33606 line containing just "*/".
33607 * manual/examples/add.c: Add copyright header (GPL>=2).
33608 * manual/examples/argp-ex1.c: Likewise.
33609 * manual/examples/argp-ex2.c: Likewise.
33610 * manual/examples/argp-ex3.c: Likewise.
33611 * manual/examples/argp-ex4.c: Likewise.
33612 * manual/examples/atexit.c: Likewise.
33613 * manual/examples/db.c: Likewise.
33614 * manual/examples/dir.c: Likewise.
33615 * manual/examples/dir2.c: Likewise.
33616 * manual/examples/execinfo.c: Likewise.
33617 * manual/examples/filecli.c: Likewise.
33618 * manual/examples/filesrv.c: Likewise.
33619 * manual/examples/fmtmsgexpl.c: Likewise.
33620 * manual/examples/genpass.c: Likewise.
33621 * manual/examples/inetcli.c: Likewise.
33622 * manual/examples/inetsrv.c: Likewise.
33623 * manual/examples/isockad.c: Likewise.
33624 * manual/examples/longopt.c: Likewise.
33625 * manual/examples/memopen.c: Likewise.
33626 * manual/examples/memstrm.c: Likewise.
33627 * manual/examples/mkfsock.c: Likewise.
33628 * manual/examples/mkisock.c: Likewise.
33629 * manual/examples/mygetpass.c: Likewise.
33630 * manual/examples/pipe.c: Likewise.
33631 * manual/examples/popen.c: Likewise.
33632 * manual/examples/rprintf.c: Likewise.
33633 * manual/examples/search.c: Likewise.
33634 * manual/examples/select.c: Likewise.
33635 * manual/examples/setjmp.c: Likewise.
33636 * manual/examples/sigh1.c: Likewise.
33637 * manual/examples/sigusr.c: Likewise.
33638 * manual/examples/stpcpy.c: Likewise.
33639 * manual/examples/strdupa.c: Likewise.
33640 * manual/examples/strftim.c: Likewise.
33641 * manual/examples/strncat.c: Likewise.
33642 * manual/examples/subopt.c: Likewise.
33643 * manual/examples/swapcontext.c: Likewise.
33644 * manual/examples/termios.c: Likewise.
33645 * manual/examples/testopt.c: Likewise.
33646 * manual/examples/testpass.c: Likewise.
33647 * manual/examples/timeval_subtract.c: Likewise.
33648
01ae168d
RM
33649 [BZ #13792]
33650 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33651 function to ...
33652 * manual/timeval_subtract.c.texi: ... here, new file.
33653
49efa33d
DM
336542012-03-02 David S. Miller <davem@davemloft.net>
33655
33656 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33657
28afd92d
JM
336582012-03-02 Joseph Myers <joseph@codesourcery.com>
33659
804360ed
JM
33660 [BZ #3976]
33661 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33662 (__sin): Save and restore rounding mode and use round-to-nearest
33663 for all computations.
33664 (__cos): Save and restore rounding mode and use round-to-nearest
33665 for all computations.
33666 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33667 <fenv.h>.
33668 (tan): Save and restore rounding mode and use round-to-nearest for
33669 all computations.
33670 * math/libm-test.inc (cos_test_tonearest): New function.
33671 (cos_test_towardzero): Likewise.
33672 (cos_test_downward): Likewise.
33673 (cos_test_upward): Likewise.
33674 (sin_test_tonearest): Likewise.
33675 (sin_test_towardzero): Likewise.
33676 (sin_test_downward): Likewise.
33677 (sin_test_upward): Likewise.
33678 (tan_test_tonearest): Likewise.
33679 (tan_test_towardzero): Likewise.
33680 (tan_test_downward): Likewise.
33681 (tan_test_upward): Likewise.
33682 (main): Call the new functions.
33683 * sysdeps/i386/fpu/libm-test-ulps: Update.
33684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33685
a6d06d7b
JM
33686 [BZ #10135]
33687 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33688 small n, then large n, before computing and testing k+n.
33689 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33690 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33691 Likewise.
33692 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33693 Likewise.
33694 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33695 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33696 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33697 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33698 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33700 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33701 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33702 * math/libm-test.inc (scalbn_test): Add more tests.
33703 (scalbln_test): Likewise.
33704
07e12bb3
JM
33705 * manual/filesys.texi (mode_t): Describe constraints on size and
33706 signedness, not exact equivalence to a particular type.
33707 (ino_t): Likewise.
33708 (ino64_t): Likewise.
33709 (dev_t): Likewise.
33710 (nlink_t): Likewise.
33711 (blkcnt_t): Likewise.
33712 (blkcnt64_t): Likewise.
33713 * manual/llio.texi (off_t): Likewise.
33714
28afd92d
JM
33715 [BZ #3976]
33716 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33717 (__ieee754_exp): Save and restore rounding mode and use
33718 round-to-nearest for all computations.
33719 * math/libm-test.inc (exp_test_tonearest): New function.
33720 (exp_test_towardzero): Likewise.
33721 (exp_test_downward): Likewise.
33722 (exp_test_upward): Likewise.
33723 (main): Call the new functions.
33724 * sysdeps/i386/fpu/libm-test-ulps: Update.
33725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33726
b1eeb65d
CD
337272012-03-01 Chris Demetriou <cgd@google.com>
33728
33729 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33730 have predictable order.
33731
53362a4b
DM
337322012-03-01 David S. Miller <davem@davemloft.net>
33733
3c969083
DM
33734 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33735
759707de
DM
33736 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33737 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33738 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33739 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33740
dfdb8ff2
DM
33741 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33742 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33743 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33745 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33746 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33747 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33748 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33749 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33750
ead89f96
DM
33751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33752
7f66bd07
DM
33753 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33754 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33755 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33756
53362a4b
DM
33757 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33758 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33759 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33760 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33761 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33764 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33765 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33766 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33767 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33768 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33770 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33771 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33772 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33773 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33774 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33775 * sysdeps/sparc/elf/configure: Regenerated.
33776
7b1902cb
JM
337772012-03-01 Joseph Myers <joseph@codesourcery.com>
33778
bec039bc
JM
33779 * configure.in (AS, LD): Require binutils 2.20 or later.
33780 * configure: Regenerated.
33781 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33782 as required minimum version.
33783 * INSTALL: Regenerated.
33784
7b1902cb
JM
33785 [BZ #2541]
33786 [BZ #4108]
33787 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33788 before squaring exponent.
33789 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33790 bottom long double and 27 bits of top long double before squaring
33791 exponent.
33792 * math/libm-test.inc (erfc_test): Add more tests.
33793 * sysdeps/i386/fpu/libm-test-ulps: Update.
33794 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33796
f775c276
KT
337972012-03-01 Kai Tietz <ktietz@redhat.com>
33798
33799 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33800 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33801 containing bit-fields.
33802 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33803 * soft-fp/single.h (_FP_UNION_S): Likewise.
33804 * soft-fp/double.h (_FP_UNION_D): Likewise.
33805
5b8a4d4a
JM
338062012-02-29 Joseph Myers <joseph@codesourcery.com>
33807
0bab47b6
JM
33808 [BZ #13786]
33809 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33810 not include ../strcmp.S.
33811 [USE_AS_STRNCASECMP_L]: Likewise.
33812 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33813 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33814 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33815 (__strncasecmp_l_ia32): Define as alias to
33816 __strncasecmp_l_nonascii.
33817
0fcad3e2
JM
33818 [BZ #5794]
33819 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33820 * sysdeps/i386/fpu/libm-test-ulps: Update.
33821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33822
5b8a4d4a
JM
33823 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33825
8fdceb2e
JL
338262012-02-29 Jeff Law <law@redhat.com>
33827
33828 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33829 out of bounds read.
33830
1f393a11
MP
338312012-02-29 Marek Polacek <polacek@redhat.com>
33832
33833 [BZ #13706]
33834 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33835 * elf/Makefile: Add rules to run tst-unused-dep.out.
33836
8847f037
DM
338372012-02-28 David S. Miller <davem@davemloft.net>
33838
33839 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33840 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33841 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33843 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33844 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33845
169d7f11
JM
338462012-02-29 Joseph Myers <joseph@codesourcery.com>
33847
33848 * math/libm-test.inc (llround_test): Move one test from
33849 lround_test. Use TEST_f_L in moved test.
33850 (lround_test): Move misplaced test to llround_test. Add testcase
33851 from bug 2561.
33852
39adf059
UD
338532012-02-28 Ulrich Drepper <drepper@gmail.com>
33854
33855 * sysdeps/x86_64/fpu/e_expf.S: New file.
33856 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33857
71b5d1c5
SB
338582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33859
33860 [BZ #13637]
33861 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33862 of remain_len that may cause incomplete multi-byte character and
33863 false match.
33864 * posix/bug-regex33.c: New file.
33865 * posix/Makefile (tests): Add bug-regex33.
33866
1f77f049
JM
338672012-02-28 Joseph Myers <joseph@codesourcery.com>
33868
33869 * manual/macros.texi: New file.
33870 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33871 * manual/libc.texinfo: Include macros.texi.
33872 * manual/creatute.texi: Likewise.
33873 * manual/install.texi: Likewise.
33874 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33875 @glibcadj{} in references to the GNU C Library.
33876 * manual/charset.texi: Likewise.
33877 * manual/conf.texi: Likewise.
33878 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33879 when not using those macros.
33880 * manual/creature.texi: Likewise.
33881 * manual/crypt.texi: Likewise.
33882 * manual/errno.texi: Likewise.
33883 * manual/filesys.texi: Likewise.
33884 * manual/header.texi: Likewise.
33885 * manual/install.texi: Likewise.
33886 * manual/intro.texi: Likewise.
33887 * manual/io.texi: Likewise.
33888 * manual/job.texi: Likewise.
33889 * manual/lang.texi: Likewise.
33890 * manual/libc.texiinfo: Likewise.
33891 * manual/llio.texi: Likewise.
33892 * manual/locale.texi: Likewise.
33893 * manual/maint.texi: Likewise.
33894 * manual/math.texi: Likewise.
33895 * manual/memory.texi: Likewise.
33896 * manual/message.texi: Likewise.
33897 * manual/nss.texi: Likewise.
33898 * manual/pattern.texi: Likewise.
33899 * manual/process.texi: Likewise.
33900 * manual/resource.texi: Likewise.
33901 * manual/search.texi: Likewise.
33902 * manual/setjmp.texi: Likewise.
33903 * manual/signal.texi: Likewise.
33904 * manual/socket.texi: Likewise.
33905 * manual/startup.texi: Likewise.
33906 * manual/stdio.texi: Likewise.
33907 * manual/string.texi: Likewise.
33908 * manual/sysinfo.texi: Likewise.
33909 * manual/syslog.texi: Likewise.
33910 * manual/terminal.texi: Likewise.
33911 * manual/time.texi: Likewise.
33912 * manual/users.texi: Likewise.
33913 * INSTALL: Regenerated.
33914 * NOTES: Regenerated.
d40c5d54 33915 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33916
450bf206
AS
339172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33918
33919 * include/dirent.h: Include <dirstream.h> before
33920 <dirent/dirent.h>.
33921
741a235b
DM
339222012-02-28 David S. Miller <davem@davemloft.net>
33923
33924 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33925 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33926 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33927 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33928
d6b5aa58
DM
339292012-02-27 David S. Miller <davem@davemloft.net>
33930
1aff59a3
DM
33931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33933 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33934 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33935
d6b5aa58
DM
33936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33937 frame pointer instead of stack pointer relative arg slot.
33938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33939 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33940 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33941
433f48bf
CD
339422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33943
33944 [BZ #3992]
33945 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33946
d674b76d
DM
339472012-02-27 David S. Miller <davem@davemloft.net>
33948
33949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33953 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33954 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33955 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33956 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33957
0e7727f7
JM
339582012-02-27 Joseph Myers <joseph@codesourcery.com>
33959
33960 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33961 later. Allow versions 5-9.
43be4ca2 33962 * configure: Regenerated.
0e7727f7
JM
33963 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33964 required minimum version and 4.6 as recommended version. Do not
33965 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33966 * INSTALL: Regenerated.
0e7727f7 33967
a78bc654
DM
339682012-02-27 David S. Miller <davem@davemloft.net>
33969
428d5830
DM
33970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33976 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33977 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33978
a78bc654
DM
33979 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33980 manipulate bits before adding and subtracting TWO112[sx].
33981 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33982
4579f81c
RM
339832012-02-27 Roland McGrath <roland@hack.frob.com>
33984
36c8acb4
RM
33985 [BZ #13775]
33986 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33987 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33988 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33989 being in POSIX, because they are in 1003.1-2008.
33990
84ad622b
RM
33991 * rt/tst-aio.c: Include <fcntl.h>.
33992 * rt/tst-aio7.c: Likewise.
33993 * rt/tst-aio64.c: Likewise.
33994
4579f81c
RM
33995 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33996
abd923db
JM
339972012-02-27 Joseph Myers <joseph@codesourcery.com>
33998
33999 * manual/install.texi (--with-headers): Describe headers as
34000 interface headers, not private headers.
34001 (Specific advice for GNU/Linux systems): Describe use of headers
34002 from "make headers_install", not private headers from older
34003 kernels.
43be4ca2 34004 * INSTALL: Regenerated.
abd923db
JM
34005 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34006 Change to 2.6.19.
34007 * sysdeps/unix/sysv/linux/configure: Regenerated.
34008
6664049b
JM
34009 * manual/llio.texi (fclean): Remove documentation.
34010
bb8b6697
JM
34011 * manual/Makefile (libc-texi-generated): New variable. Include
34012 version.texi.
34013 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34014 $(libc-texi-generated), not duplicated list of files.
34015 (version.texi, stamp-version): New rules.
34016 (realclean): Remove $(libc-texi-generated), not individual files
34017 from that list. Do not remove dir-add.texinfo.
34018 * manual/libc.texinfo: Comment out uses of edition numbers and
34019 references to printed manual. Remove last-updated dates.
34020 (EDITION): Comment out.
34021 (ISBN): Likewise.
34022 (VERSION, UPDATED): Remove.
34023 (version.texi): Include.
34024
12e5c3b9
AS
340252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34026
34027 * sysdeps/posix/spawni.c: Include <signal.h>.
34028 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34029 * sysdeps/pthread/aio_fsync.c: Likewise.
34030
4efeffc1 340312012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34032
ba63ba08
UD
34033 * conform/Makefile (tests): Run only when not cross-compiling and
34034 when fast-check is not defined.
34035
d94a4670
UD
34036 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34037 * conform/data/limits.h-data: Fixes for POSIX2008.
34038 * conform/run-conformtest.sh: Run all tests.
34039 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34040 headers.
34041 * include/bits/dlfcn.h: Likewise.
34042 * include/langinfo.h: Likewise.
34043 * include/monetary.h: Likewise.
34044 * include/sys/poll.h: Likewise.
34045
34046 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34047 for __USE_GNU.
34048 * posix/spawn.h: Define __need_sigset_t.
34049 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34050 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34051 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34052 to get sigevent_t only.
34053 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34054 only for __USE_GNU.
34055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34056 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34057 process_vm_writev only for __USE_GNU.
34058 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34059
34060 * conform/Makefile: For now ignore errors from run-conformtest.
34061 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34062 POSIX to avoid namespace pollution. Don't prepend headers.
34063 * conform/data/aio.h-data: Fixes for POSIX testing.
34064 * conform/data/fcntl.h-data: Likewise.
34065 * conform/data/glob.h-data: Likewise.
34066 * conform/data/grp.h-data: Likewise.
34067 * conform/data/pthread.h-data: Likewise.
34068 * conform/data/pwd.h-data: Likewise.
34069 * conform/data/signal.h-data: Likewise.
34070 * conform/data/spawn.h-data: Likewise.
34071 * conform/data/stdio.h-data: Likewise.
34072 * conform/data/stdlib.h-data: Likewise.
34073 * conform/data/stropts.h-data: Likewise.
34074 * conform/data/sys/mman.h-data: Likewise.
34075 * conform/data/sys/stat.h-data: Likewise.
34076 * conform/data/sys/types.h-data: Likewise.
34077 * conform/data/sys/wait.h-data: Likewise.
34078 * conform/data/time.h-data: Likewise.
34079 * conform/data/unistd.h-data: Likewise.
34080 * conform/data/utime.h-data: Likewise.
34081
34082 * io/sys/stat.h: fchmod was always in POSIX.
34083 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34084 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34085 * rt/aio.h: Define __need_timespec before including <time.h>.
34086 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34087 struct. Add forward declaration of pthread_attr_t and use it in
34088 sigevent.
34089 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34090 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34091 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34092 always remove CLK_TCK definition.
34093
c20105c3
AS
340942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34095
34096 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34097
7a270350
UD
340982012-02-25 Ulrich Drepper <drepper@gmail.com>
34099
31341567
UD
34100 * conform/run-conformtest.sh: New file.
34101 * conform/Makefile: Run run-conformtest for tests.
34102 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34103 support.
34104
34105 * conform/data/uchar.h-data: New file.
34106 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34107 * conform/data/arpa/inet.h-data: Likewise.
34108 * conform/data/assert.h-data: Likewise.
34109 * conform/data/complex.h-data: Likewise.
34110 * conform/data/cpio.h-data: Likewise.
34111 * conform/data/ctype.h-data: Likewise.
34112 * conform/data/dirent.h-data: Likewise.
34113 * conform/data/dlfcn.h-data: Likewise.
34114 * conform/data/errno.h-data: Likewise.
34115 * conform/data/fcntl.h-data: Likewise.
34116 * conform/data/float.h-data: Likewise.
34117 * conform/data/fmtmsg.h-data: Likewise.
34118 * conform/data/fnmatch.h-data: Likewise.
34119 * conform/data/ftw.h-data: Likewise.
34120 * conform/data/glob.h-data: Likewise.
34121 * conform/data/grp.h-data: Likewise.
34122 * conform/data/iconv.h-data: Likewise.
34123 * conform/data/inttypes.h-data: Likewise.
34124 * conform/data/langinfo.h-data: Likewise.
34125 * conform/data/libgen.h-data: Likewise.
34126 * conform/data/limits.h-data: Likewise.
34127 * conform/data/locale.h-data: Likewise.
34128 * conform/data/math.h-data: Likewise.
34129 * conform/data/monetary.h-data: Likewise.
34130 * conform/data/mqueue.h-data: Likewise.
34131 * conform/data/ndbm.h-data: Likewise.
34132 * conform/data/net/if.h-data: Likewise.
34133 * conform/data/netdb.h-data: Likewise.
34134 * conform/data/netinet/in.h-data: Likewise.
34135 * conform/data/nl_types.h-data: Likewise.
34136 * conform/data/poll.h-data: Likewise.
34137 * conform/data/pthread.h-data: Likewise.
34138 * conform/data/pwd.h-data: Likewise.
34139 * conform/data/regex.h-data: Likewise.
34140 * conform/data/sched.h-data: Likewise.
34141 * conform/data/search.h-data: Likewise.
34142 * conform/data/semaphore.h-data: Likewise.
34143 * conform/data/setjmp.h-data: Likewise.
34144 * conform/data/signal.h-data: Likewise.
34145 * conform/data/spawn.h-data: Likewise.
34146 * conform/data/stdarg.h-data: Likewise.
34147 * conform/data/stdio.h-data: Likewise.
34148 * conform/data/stdlib.h-data: Likewise.
34149 * conform/data/string.h-data: Likewise.
34150 * conform/data/strings.h-data: Likewise.
34151 * conform/data/stropts.h-data: Likewise.
34152 * conform/data/sys/ipc.h-data: Likewise.
34153 * conform/data/sys/mman.h-data: Likewise.
34154 * conform/data/sys/msg.h-data: Likewise.
34155 * conform/data/sys/resource.h-data: Likewise.
34156 * conform/data/sys/select.h-data: Likewise.
34157 * conform/data/sys/sem.h-data: Likewise.
34158 * conform/data/sys/shm.h-data: Likewise.
34159 * conform/data/sys/socket.h-data: Likewise.
34160 * conform/data/sys/stat.h-data: Likewise.
34161 * conform/data/sys/statvfs.h-data: Likewise.
34162 * conform/data/sys/time.h-data: Likewise.
34163 * conform/data/sys/timeb.h-data: Likewise.
34164 * conform/data/sys/times.h-data: Likewise.
34165 * conform/data/sys/types.h-data: Likewise.
34166 * conform/data/sys/uio.h-data: Likewise.
34167 * conform/data/sys/un.h-data: Likewise.
34168 * conform/data/sys/utsname.h-data: Likewise.
34169 * conform/data/sys/wait.h-data: Likewise.
34170 * conform/data/syslog.h-data: Likewise.
34171 * conform/data/tar.h-data: Likewise.
34172 * conform/data/termios.h-data: Likewise.
34173 * conform/data/utime.h-data: Likewise.
34174 * conform/data/utmpx.h-data: Likewise.
34175 * conform/data/varargs.h-data: Likewise.
34176 * conform/data/wchar.h-data: Likewise.
34177 * conform/data/wctype.h-data: Likewise.
34178 * conform/data/wordexp.h-data: Likewise.
34179
34180 * include/stropts.h: New file.
34181 * include/uchar.h: New file.
34182 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34183 * include/assert.h: Likewise.
34184 * include/ctype.h: Likewise.
34185 * include/dirent.h: Likewise.
34186 * include/dlfcn.h: Likewise.
34187 * include/fcntl.h: Likewise.
34188 * include/fnmatch.h: Likewise.
34189 * include/glob.h: Likewise.
34190 * include/grp.h: Likewise.
34191 * include/libio.h: Likewise.
34192 * include/locale.h: Likewise.
34193 * include/math.h: Likewise.
34194 * include/net/if.h: Likewise.
34195 * include/netdb.h: Likewise.
34196 * include/netinet/in.h: Likewise.
34197 * include/pthread.h: Likewise.
34198 * include/pwd.h: Likewise.
34199 * include/regex.h: Likewise.
34200 * include/sched.h: Likewise.
34201 * include/search.h: Likewise.
34202 * include/setjmp.h: Likewise.
34203 * include/signal.h: Likewise.
34204 * include/stdio.h: Likewise.
34205 * include/stdlib.h: Likewise.
34206 * include/string.h: Likewise.
34207 * include/sys/cdefs.h: Likewise.
34208 * include/sys/mman.h: Likewise.
34209 * include/sys/msg.h: Likewise.
34210 * include/sys/resource.h: Likewise.
34211 * include/sys/select.h: Likewise.
34212 * include/sys/socket.h: Likewise.
34213 * include/sys/stat.h: Likewise.
34214 * include/sys/statvfs.h: Likewise.
34215 * include/sys/time.h: Likewise.
34216 * include/sys/times.h: Likewise.
34217 * include/sys/uio.h: Likewise.
34218 * include/sys/utsname.h: Likewise.
34219 * include/sys/wait.h: Likewise.
34220 * include/termios.h: Likewise.
34221 * include/time.h: Likewise.
34222 * include/ulimit.h: Likewise.
34223 * include/unistd.h: Likewise.
34224 * include/utime.h: Likewise.
34225 * include/wchar.h: Likewise.
34226 * include/wctype.h: Likewise.
34227 * include/wordexp.h: Likewise.
34228
34229 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34230
7a270350
UD
34231 * time/time.h: TIME_UTC must be a macro.
34232 Make timespec_get available for ISO C11 only as well.
34233
7724defc
UD
342342012-02-24 Ulrich Drepper <drepper@gmail.com>
34235
34236 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34237 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34238
6b1d1d46
JM
342392012-02-24 Joseph Myers <joseph@codesourcery.com>
34240
34241 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34242
0f8bbd69
JM
342432012-02-24 Joseph Myers <joseph@codesourcery.com>
34244
34245 * manual/texinfo.tex: Update to version 2012-01-19.16.
34246
66ab80bc
JM
342472012-02-24 Joseph Myers <joseph@codesourcery.com>
34248
34249 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34250
74981cc5
RM
342512012-02-24 Roland McGrath <roland@hack.frob.com>
34252
ee968201
RM
34253 [BZ #13738]
34254 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34255 * manual/fdl-1.3.texi: New file.
34256 * manual/fdl-1.1.texi: File removed.
34257
74981cc5
RM
34258 [BZ #13738]
34259 * manual/libc.texinfo (FDL_VERSION): New @set.
34260 Use it for mention of FDL in cover text.
34261 (Documentation License): Use it in @include file name.
34262
7bb764bc
JM
342632012-02-22 Joseph Myers <joseph@codesourcery.com>
34264 Roland McGrath <roland@hack.frob.com>
34265
34266 [BZ #5461]
34267 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34268 not LONG_LONG_MAX and LONG_LONG_MIN.
34269 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34270 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34271 name.
34272 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34273
6cbeae47
JM
342742012-02-22 Joseph Myers <joseph@codesourcery.com>
34275
34276 [BZ #2547]
34277 [BZ #11365]
34278 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34279 manipulate bits before adding and subtracting TWO23[sx].
34280 * math/libm-test.inc (nearbyint_test): Add more tests.
34281
fe45ce09
JM
342822012-02-22 Joseph Myers <joseph@codesourcery.com>
34283
34284 [BZ #2548]
34285 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34286 bits before adding and subtracting TWO23[sx].
34287 * math/libm-test.inc (rint_test): Add more tests.
34288 (rint_test_tonearest): Likewise.
34289 (rint_test_towardzero): Likewise.
34290 (rint_test_downward): Likewise.
34291 (rint_test_upward: Likewise.
34292
ff3b3d82
JM
342932012-02-22 Joseph Myers <joseph@codesourcery.com>
34294
34295 [BZ #10110]
34296 * include/stdc-predef.h: New file. Extracted from features.h.
34297 * include/features.h: Include stdc-predef.h.
34298 * Makefile (headers): Add stdc-predef.h.
34299 * CONFORMANCE (Compiler limitations): Update.
34300
ef0aab35
JM
343012012-02-22 Joseph Myers <joseph@codesourcery.com>
34302
34303 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34304
58639409
DM
343052012-02-21 David S. Miller <davem@davemloft.net>
34306
34307 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34308 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34309
c0e70b25
DM
343102012-02-20 David S. Miller <davem@davemloft.net>
34311
34312 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34313 using a normal save/restore sequence, rather than allocating a
34314 dummy stack frame just to store a frame pointer and restore.
34315 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34316
fb06851d
JM
343172012-02-21 Joseph Myers <joseph@codesourcery.com>
34318
34319 * manual/install.texi: Fix stray word in line-wrapped comment.
34320
7a8b71c3
DM
343212012-02-20 David S. Miller <davem@davemloft.net>
34322
d510c123
DM
34323 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34324 both binutils and gcc support GOTDATA.
34325
0722d7c2
DM
34326 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34327 "rd %pc" in the PIC register setup sequences.
34328
3d2b3019
DM
34329 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34330 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34331 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34332 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34333 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34334 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34335 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34338 (SYSCALL_ERROR_HANDLER): Likewise.
34339 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34340 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34342 (SYSCALL_ERROR_HANDLER): Likewise.
34343
c80098a9
DM
34344 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34345 (HAVE_GCC_GOTDATA): New.
34346 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34347 relocation support in both binutils and gcc.
34348 * sysdeps/sparc/elf/configure: Regenerate.
34349
3a2545a0
DM
34350 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34351 * sysdeps/sparc/sparc32/elf/configure: Delete.
34352 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34353 * sysdeps/sparc/sparc64/elf/configure: Delete.
34354 * sysdeps/sparc/elf/configure.in: New file.
34355 * sysdeps/sparc/elf/configure: Generate.
34356
7a8b71c3
DM
34357 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34358 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34359 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34360 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34361 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34362
f1e86fca
JM
343632012-02-21 Joseph Myers <joseph@codesourcery.com>
34364
34365 * manual/install.texi: Do not mention specific glibc version
34366 numbers.
34367 * manual/libc.texinfo (VERSION, UPDATED): Update.
34368 (@copying): Use @copyright{} and range of years.
34369
0e7dfaef
JM
343702012-02-21 Joseph Myers <joseph@codesourcery.com>
34371
34372 [BZ #13695]
34373 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34374 [crti.S not in sysdirs] (generated): Do not append.
34375 [crti.S not in sysdirs] (omit-deps): Likewise.
34376 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34377 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34378 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34379 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34380 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34381 Likewise.
34382 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34383 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34384 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34385 * csu/defs.awk: Remove file.
34386 * sysdeps/generic/initfini.c: Likewise.
34387 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34388 variable.
34389 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34390 Likewise.
34391
599af3ca
JM
343922012-02-20 Joseph Myers <joseph@codesourcery.com>
34393
34394 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34395 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34396 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34397 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34398 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34399 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34400 <bits/epoll.h>.
34401 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34402 (__EPOLL_PACKED): Define to empty if not defined by
34403 <bits/epoll.h>.
34404 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34406 bits/epoll.h.
34407
0e499750
JM
344082012-02-20 Joseph Myers <joseph@codesourcery.com>
34409
34410 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34411 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34412 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34413 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34414 <bits/timerfd.h>.
34415 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34417 bits/timerfd.h.
34418
5ad91f6e
JM
344192012-02-20 Joseph Myers <joseph@codesourcery.com>
34420
34421 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34422 in C locale.
34423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34424 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34425 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34427
06b99b02
AJ
344282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34429
34430 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34431 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34432
7638c0fd
AS
344332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34434
34435 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34436 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34437 defined.
34438 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34439 Likewise.
34440 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34441 entry for 2.16.
34442
92221550
AJ
344432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34444
34445 * math/w_acos.c: Use non-signaling floating-point comparisons.
34446 * math/w_acosf.c: Likewise.
34447 * math/w_acosh.c: Likewise.
34448 * math/w_acoshf.c: Likewise.
34449 * math/w_acoshl.c: Likewise.
34450 * math/w_acosl.c: Likewise.
34451 * math/w_asin.c: Likewise.
34452 * math/w_asinf.c: Likewise.
34453 * math/w_asinl.c: Likewise.
34454 * math/w_atanh.c: Likewise.
34455 * math/w_atanhf.c: Likewise.
34456 * math/w_atanhl.c: Likewise.
34457 * math/w_exp2.c: Likewise.
34458 * math/w_exp2f.c: Likewise.
34459 * math/w_exp2l.c: Likewise.
34460 * math/w_j0.c: Likewise.
34461 * math/w_j0f.c: Likewise.
34462 * math/w_j0l.c: Likewise.
34463 * math/w_j1.c: Likewise.
34464 * math/w_j1f.c: Likewise.
34465 * math/w_j1l.c: Likewise.
34466 * math/w_jn.c: Likewise.
34467 * math/w_jnf.c: Likewise.
34468 * math/w_log.c: Likewise.
34469 * math/w_log10.c: Likewise.
34470 * math/w_log10f.c: Likewise.
34471 * math/w_log10l.c: Likewise.
34472 * math/w_log2.c: Likewise.
34473 * math/w_log2f.c: Likewise.
34474 * math/w_log2l.c: Likewise.
34475 * math/w_logf.c: Likewise.
34476 * math/w_logl.c: Likewise.
34477 * math/w_sqrt.c: Likewise.
34478 * math/w_sqrtf.c: Likewise.
34479 * math/w_sqrtl.c: Likewise.
34480 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34481 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34482 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34483 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34484 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34485
ebaf36eb
JM
344862012-02-19 Joseph Myers <joseph@codesourcery.com>
34487
34488 [BZ #9739]
34489 * manual/string.texi (strnlen): Use correct parameter name in
34490 equivalent expression.
34491
71c254a6
JM
344922012-02-19 Joseph Myers <joseph@codesourcery.com>
34493
34494 [BZ #11174]
34495 * manual/users.texi (seteuid): Consistently use neweuid for
34496 argument name.
34497
16d2c631
JM
344982012-02-19 Joseph Myers <joseph@codesourcery.com>
34499
34500 [BZ #13704]
34501 * manual/nss.texi (Services in the NSS configuration): Correct
34502 list of services in example configuration file.
34503
cd837b09
NB
345042012-02-19 Nick Bowler <nbowler@draconx.ca>
34505
34506 [BZ #11322]
34507 * manual/arith.texi: Remove statements about negative zero
34508 behaving identically to zero.
34509
02c4bbad
JM
345102012-02-18 Joseph Myers <joseph@codesourcery.com>
34511
34512 [BZ #5993]
34513 * manual/install.texi: Do not document upgrading from libc5.
34514
366842e7
JM
345152012-02-18 Joseph Myers <joseph@codesourcery.com>
34516
34517 [BZ #4596]
34518 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34519
dd54084d
DM
345202012-02-18 David S. Miller <davem@davemloft.net>
34521
34522 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34523 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34524 %o7 across the call.
34525 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34526 instead.
34527 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34528 SETUP_PIC_REG_LEAF.
34529 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34530 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34531 * sysdeps/sparc/crtn.S: Likewise.
34532
2bcc53a3
UD
345332012-02-17 Ulrich Drepper <drepper@gmail.com>
34534
34535 * aout/Makefile: Remove.
34536
09c093b5
RK
345372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34538
34539 [BZ #13058]
34540 * manual/examples/argp-ex1.c (main): Format definition in GNU
34541 style.
34542 * manual/examples/argp-ex2.c (main): Likewise.
34543 * manual/examples/argp-ex3.c (main): Likewise.
34544 * manual/examples/argp-ex4.c (main): Likewise.
34545 * manual/examples/longopt.c (main): Use new-style prototype
34546 definition.
34547 * manual/examples/strncat.c (main): Specify return type and use
34548 (void) for arguments.
34549 * manual/examples/subopt.c (main): Use char **argv argument.
34550
2ee633a2
JM
345512012-02-17 Joseph Myers <joseph@codesourcery.com>
34552
34553 [BZ #5077]
34554 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34555 rounding modes.
34556
0520adde
FB
345572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34558
34559 [BZ #6907]
34560 * manual/string.texi (strchr): Change when strchrnul is
34561 recommended.
34562
3f4081cd
DGM
345632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34564
34565 [BZ #174]
34566 * manual/locale.texi (setlocale): Document LOCPATH.
34567
d1b10e78
JM
345682012-02-17 Joseph Myers <joseph@codesourcery.com>
34569
34570 [BZ #10210]
34571 * manual/process.texi (execle): Move @dots{} before last argument.
34572
79c6869c
PB
345732012-02-17 Paul Bolle <pebolle@tiscali.nl>
34574
34575 [BZ #12047]
34576 * manual/charset.texi (Generic Charset Conversion): Fix typo
34577 (LC_TYPE -> LC_CTYPE).
34578
cc6e48bc
NB
345792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34580
34581 [BZ #5805]
34582 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34583 (scalbnf): Likewise.
34584 (scalbnl): Likewise.
34585 (scalbln): Likewise.
34586 (scalblnf): Likewise.
34587 (scalblnl): Likewise.
34588 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34589 (vwarnx): Likewise.
34590 (verr): Likewise.
34591 (verrx): Likewise.
34592 * manual/filesys.texi (telldir): Use braces around return type.
34593 * manual/llio.texi (mmap): Add space after comma.
34594 (mmap64): Likewise.
34595 * manual/math.texi (jn): Use @var{} on parameter names.
34596 (jnf): Likewise.
34597 (jnl): Likewise.
34598 (yn): Likewise.
34599 (ynf): Likewise.
34600 (ynl): Likewise.
34601 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34602 line.
34603 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34604 "...".
34605 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34606 (sched_get_priority_max): Likewise.
34607 * manual/signal.texi (sigvec): Add space after comma.
34608 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34609 names.
34610 (if_indextoname): Likewise.
34611 (if_freenameindex): Likewise.
34612 (sendto): Use ',' instead of '.' in prototype.
34613 * manual/startup.texi (syscall): Use @dots{} instead of literal
34614 "...".
34615 * manual/stdio.texi (__fpending): Separate initial words of
34616 paragraph from @deftypefun line.
34617 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34618 "...".
34619 (vsyslog): Use @var{} on parameter names.
34620 * manual/terminal.texi (stty): Use @var{} on parameter names.
34621 * manual/users.texi (getutmp): Use @var{} on parameter names.
34622 (getutmpx): Likewise.
34623
5b23062f
JM
346242012-02-17 Joseph Myers <joseph@codesourcery.com>
34625
34626 [BZ #6884]
34627 * manual/stdio.texi (fopen): Fix typos in description of
34628 ",ccs=STRING".
34629
8dee4833
AJ
346302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34631
34632 [BZ #4026]
34633 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34634 get clock_id definition.
34635
9078ce93
TS
346362012-02-17 Thomas Schwinge <thomas@schwinge.name>
34637
34638 [BZ #4822]
34639 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34640 (madvise): Cast every argument to void on its own.
34641
3835c55f
JM
346422012-02-17 Joseph Myers <joseph@codesourcery.com>
34643
34644 [BZ #9902]
34645 * manual/startup.texi (Exit Status): Fix typo.
34646
35c47e37
JM
346472012-02-17 Joseph Myers <joseph@codesourcery.com>
34648
34649 [BZ #10140]
34650 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34651 * manual/examples/argp-ex2.c: Likewise.
34652 * manual/examples/argp-ex3.c: Likewise.
34653
e3b69ca7
RH
346542012-02-16 Richard Henderson <rth@redhat.com>
34655
34656 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34657 * sysdeps/s390/s390-32/initfini.c: Remove.
34658 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34659 * sysdeps/s390/s390-64/initfini.c: Remove.
34660
df83af67
KK
346612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34662
34663 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34664 compiler output for sysdeps/generic/initfini.c.
34665 * sysdeps/sh/elf/initfini.c: Remove file.
34666
f63f3380
DM
346672012-02-16 David S. Miller <davem@davemloft.net>
34668
fb59b3a4
DM
34669 [BZ #11494]
34670 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34671
f63f3380
DM
34672 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34673 * sysdeps/sparc/crti.S: New file.
34674 * sysdeps/sparc/crtn.S: New file.
34675 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34676 * sysdeps/sparc/sparc64/Makefile: Likewise.
34677
df6a4a4a
MF
346782012-02-15 Mike Frysinger <vapier@gentoo.org>
34679
6dd8f3dc 34680 [BZ #3335]
df6a4a4a
MF
34681 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34682
1cac7236
RM
346832012-02-15 Roland McGrath <roland@hack.frob.com>
34684
d2c736f8
RM
34685 [BZ #4822]
34686 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34687
1cac7236
RM
34688 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34689 (write, read, close): Likewise.
34690 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34691
8e475601
JM
346922012-02-15 Joseph Myers <joseph@codesourcery.com>
34693
34694 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34695 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34696 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34697 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34698 <bits/signalfd.h>.
34699 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34701 bits/signalfd.h.
34702
ed656b40
MP
347032012-02-14 Marek Polacek <polacek@redhat.com>
34704
34705 * sysdeps/x86_64/crti.S: New file.
34706 * sysdeps/x86_64/crtn.S: New file.
34707 * sysdeps/x86_64/elf/initfini.c: Remove file.
34708
2a979d3a
JM
347092012-02-13 Joseph Myers <joseph@codesourcery.com>
34710
34711 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34712 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34713 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34714 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34715 <bits/inotify.h>.
34716 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34718 bits/inotify.h.
34719
2a418ac3
JM
347202012-02-13 Joseph Myers <joseph@codesourcery.com>
34721
34722 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34723 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34724 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34725 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34726 <bits/eventfd.h>.
34727 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34729 bits/eventfd.h.
34730
fb779be7
TS
347312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34732
e19e83c5
RM
34733 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34734 __feraiseexcept instead of feraiseexcept.
7c35ffed 34735
fb779be7
TS
34736 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34737 nanosleep invocations.
34738 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34739 strings, and add error checking for a nanosleep invocations.
34740
59ba27a6
PE
347412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34742
34743 Replace FSF snail mail address with URLs, as per GNU coding standards.
34744 Most of the snail mail addresses were wrong anyway, and omitting
34745 them makes the source code easier to maintain. Almost all of the
34746 changes are to license notices and to locale LC_IDENTIFICATION
34747 addresses, except for this one:
34748 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34749 not its snail mail address.
34750
57b957eb
RH
347512012-02-09 Richard Henderson <rth@twiddle.net>
34752
af850b1c
RH
34753 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34754 of kernel-features.h.
34755
57b957eb
RH
34756 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34757
6b73181a
MP
347582012-02-08 Marek Polacek <polacek@redhat.com>
34759
34760 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34761 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34762 * sysdeps/gnu/_G_config.h: Likewise.
34763 * sysdeps/generic/_G_config.h: Likewise.
34764
26ecc33a
AS
347652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34766
6c6dbc63
AS
34767 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34768 tests.
34769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34770
e216c012
AS
34771 * sysdeps/powerpc/powerpc32/crti.S: New file.
34772 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34773 * sysdeps/powerpc/powerpc64/crti.S: New file.
34774 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34775
26ecc33a
AS
34776 * Makeconfig (have-initfini): Don't set.
34777 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34778 * configure.in (nopic_initfini): Don't substitute.
34779 * config.h.in (HAVE_INITFINI): Don't #undef.
34780 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34781 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34782
3add8e13
JM
347832012-02-08 Joseph Myers <joseph@codesourcery.com>
34784
34785 Support crti.S and crtn.S provided directly by architectures.
34786 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34787 [crti.S in sysdirs] (omit-deps): Likewise.
34788 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34789 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34790 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34791 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34792 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34793 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34794 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34795 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34796 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34797 compiler output for sysdeps/generic/initfini.c.
34798 * sysdeps/i386/elf/Makefile: Remove file.
34799 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34800
a22f12b4
MP
348012012-02-07 Marek Polacek <polacek@redhat.com>
34802
34803 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34804 * sysdeps/gnu/_G_config.h: Likewise.
34805 * sysdeps/mach/hurd/_G_config.h: Likewise.
34806
148cf100
MP
348072012-02-07 Marek Polacek <polacek@redhat.com>
34808
34809 * math/Makefile (tests): Add tst-CMPLX2.
34810 * math/tst-CMPLX2.c: New file.
34811
cfdc0dd7
AS
348122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34813
84ba42c4
AS
34814 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34815
cfdc0dd7
AS
34816 * math/libm-test.inc (jn_test): Add missing L suffix.
34817
622c86f4
MP
348182012-02-06 Marek Polacek <polacek@redhat.com>
34819
34820 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34821 * sysdeps/i386/fpu/e_powf.S: Likewise.
34822 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34823 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34824 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34825 * sysdeps/i386/fpu/e_pow.S: Likewise.
34826 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34827 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34828 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34829 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34830 * sysdeps/i386/fpu/e_log2.S: Likewise.
34831 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34832 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34833 * sysdeps/i386/fpu/e_powl.S: Likewise.
34834 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34835 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34836 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34837 * sysdeps/i386/fpu/e_logl.S: Likewise.
34838 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34839 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34840 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34841 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34842 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34843 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34844 * sysdeps/i386/fpu/e_log.S: Likewise.
34845 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34846 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34847 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34848 * sysdeps/i386/fpu/e_logf.S: Likewise.
34849 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34850 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34851 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34852 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34853 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34854 * sysdeps/i386/fpu/e_log10.S: Likewise.
34855 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34856 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34857 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34858 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34859 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34860 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34861 * sysdeps/i386/asm-syntax.h: Likewise.
34862 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34863 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34864 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34865 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34866 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34867 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34868 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34869 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34870 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34871 * sysdeps/powerpc/sysdep.h: Likewise.
34872 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34873 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34874
d4a54ac6
JM
348752012-02-06 Joseph Myers <joseph@codesourcery.com>
34876
34877 [BZ #411]
34878 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34879
314054ea
JM
348802012-02-06 Joseph Myers <joseph@codesourcery.com>
34881
34882 * sysdeps/i386/sysdep.h: Include <features.h>.
34883 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34884 version.
34885
d8e0ca50
JM
348862012-02-05 Joseph Myers <joseph@codesourcery.com>
34887
34888 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34889 Define.
34890 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34891 LOAD_PIC_REG_STR.
34892
b1da7dd9
JM
348932012-02-03 Joseph Myers <joseph@codesourcery.com>
34894
34895 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34896 (SETUP_PIC_REG): Use GET_PC_THUNK.
34897 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34898 macro.
34899
9a1d9254
JM
349002012-02-03 Joseph Myers <joseph@codesourcery.com>
34901
34902 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34903 for non-PIC compilation.
34904 (SETUP_PIC_REG): Add .p2align directive.
34905 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34906 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34907 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34908 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34909 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34910 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34911 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34912 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34913 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34914 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34915 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34916 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34917 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34918 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34919 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34920 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34921 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34922 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34923 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34924 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34925 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34926 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34927 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34928 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34929 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34931 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34932 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34933 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34934 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34935 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34936 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34937 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34938 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34940 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34941 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34942 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34943 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34944 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34945 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34946
65dc3b75
JM
349472012-02-03 Joseph Myers <joseph@codesourcery.com>
34948
34949 * math/tst-CMPLX.c: Include <stdio.h>.
34950
d55bf177
JM
349512012-01-31 Joseph Myers <joseph@codesourcery.com>
34952
34953 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34954 float.
34955 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34956 * sysdeps/sparc/bits/mathdef.h: Likewise.
34957
69db4f8f
MP
349582012-01-31 Marek Polacek <polacek@redhat.com>
34959
34960 * libio/libio.h: Don't define _PARAMS.
34961 * locale/programs/config.h: Don't define PARAMS.
34962 * stdlib/strtol_l.c: Likewise.
34963 (__strtol_l): Remove PARAMS from the prototype.
34964
41b81892
UD
349652012-01-31 Ulrich Drepper <drepper@gmail.com>
34966
3b49edc0
UD
34967 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34968 names. Just use the correct names. Remove unnecessary wrapper
34969 functions.
34970 * malloc/arena.c: Likewise.
34971 * malloc/hooks.c: Likewise.
34972
41b81892
UD
34973 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34974 ARENA_TEST says not to. Simplify test for creation of a new arena.
34975 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34976
27a25b6e
UD
349772012-01-30 Ulrich Drepper <drepper@gmail.com>
34978
34979 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34980 into tail calls.
34981 (update_get_addr): New function.
34982 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34983 GET_ADDR_MODULE parameter.
34984
c8a89e7d
JM
349852012-01-30 Joseph Myers <joseph@codesourcery.com>
34986
34987 * crypt/cert.c: Remove __STDC__ conditionals.
34988 * crypt/crypt-entry.c: Likewise.
34989 * crypt/crypt_util.c: Likewise.
34990 * libio/filedoalloc.c: Likewise.
34991 * libio/fileops.c: Likewise.
34992 * libio/genops.c: Likewise.
34993 * libio/iofclose.c: Likewise.
34994 * libio/iofdopen.c: Likewise.
34995 * libio/iofopen.c: Likewise.
34996 * libio/iofopen64.c: Likewise.
34997 * libio/iogetdelim.c: Likewise.
34998 * libio/iopopen.c: Likewise.
34999 * libio/obprintf.c: Likewise.
35000 * libio/oldfileops.c: Likewise.
35001 * libio/oldiofclose.c: Likewise.
35002 * libio/oldiofdopen.c: Likewise.
35003 * libio/oldiofopen.c: Likewise.
35004 * libio/oldiopopen.c: Likewise.
35005 * libio/wfiledoalloc.c: Likewise.
35006 * libio/wgenops.c: Likewise.
35007 * locale/programs/xmalloc.c: Likewise.
35008 * misc/syslog.c: Likewise.
35009 * stdio-common/xbug.c: Likewise.
35010 * string/memchr.c: Likewise.
35011 * string/memcmp.c: Likewise.
35012 * string/memrchr.c: Likewise.
35013 * string/rawmemchr.c: Likewise.
35014 * sysdeps/posix/getcwd.c: Likewise.
35015 * time/strftime_l.c: Likewise.
35016
3b100462
JM
350172012-01-30 Joseph Myers <joseph@codesourcery.com>
35018
35019 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35020 * config.make.in (config-cflags-sse2avx): Define.
35021 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35022 Fix typo.
35023
607998af
CM
350242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35025
35026 * scripts/config.guess: Update from upstream config git repository.
35027 * scripts/config.sub: Likewise.
35028
3601428f
CM
350292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35030
3ac8b282
CM
35031 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35032 (EM_NUM): Update.
35033 (R_TILEPRO_*, R_TILEGX_*): New macros.
35034
e034841e
CM
35035 * scripts/firstversions.awk: Fix bug in version range handling.
35036
540d7568
CM
35037 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35038
3601428f
CM
35039 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35040
463de862
CM
35041 * include/sys/epoll.h: New file.
35042 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35043 libc_hidden_def.
35044
73139a76
UD
350452012-01-28 Ulrich Drepper <drepper@gmail.com>
35046
96bc5b45
UD
35047 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35048 Avoid unnecessary __WORDSIZE == 64 test.
35049 (fmaxf): Use VEX format if possible.
35050 (fmax): Likewise.
35051 (fminf): Likewise.
35052 (fmin): Likewise.
35053
56f6f6a2
UD
35054 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35055 * math/math_private.h: Remove libc_fegetround* and
35056 libc_fesetround*.
35057 * sysdeps/i386/configure.in: Check for -msse2avx.
35058 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35059 also if SSE2AVX is defined.
35060 Remove libc_fegetround* and libc_fesetround*.
35061 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35062 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35063 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35064 of HAS_YMM_USABLE.
35065 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35066 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35067 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35068 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35069 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35070
73139a76
UD
35071 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35072
d73f93a4
AZ
350732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35074
35075 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35076 size is not set.
35077 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35078
6ee65ed6
UD
350792012-01-27 Ulrich Drepper <drepper@gmail.com>
35080
35081 [BZ #13618]
35082 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35083 relocation.
35084 * Makeconfig (libm): Define.
35085 * elf/Makefile: Add rules to build and run tst-relsort1.
35086 * elf/tst-relsort1.c: New file.
35087 * elf/tst-relsort1mod1.c: New file.
35088 * elf/tst-relsort1mod2.c: New file.
35089
8db21882
JM
350902012-01-27 Joseph Myers <joseph@codesourcery.com>
35091
35092 * math/s_ldexp.c: Remove __STDC__ conditionals.
35093 * math/s_ldexpf.c: Likewise.
35094 * math/s_ldexpl.c: Likewise.
35095 * math/s_nextafter.c: Likewise.
35096 * math/s_nexttowardf.c: Likewise.
35097 * math/s_significand.c: Likewise.
35098 * math/s_significandf.c: Likewise.
35099 * math/s_significandl.c: Likewise.
35100 * math/w_jnl.c: Likewise.
35101 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35102 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35103 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35104 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35105 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35106 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35107 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35108 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35109 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35110 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35111 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35112 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35113 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35114 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35115 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35116 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35117 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35118 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35119 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35120 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35121 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35122 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35123 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35124 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35125 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35126 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35127 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35128 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35129 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35130 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35131 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35132 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35133 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35134 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35135 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35136 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35137 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35138 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35139 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35140 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35141 * sysdeps/ieee754/k_standard.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35203 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35208 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35216 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35217 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35221 * sysdeps/ieee754/s_matherr.c: Likewise.
35222 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35223 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35226
965a54a4
JM
352272012-01-26 Joseph Myers <joseph@codesourcery.com>
35228
35229 * crypt/md5.h: Remove __STDC__ conditionals.
35230 * libio/libioP.h: Likewise.
35231 * locale/programs/config.h: Likewise.
35232 * sysdeps/generic/sysdep.h: Likewise.
35233 * sysdeps/i386/asm-syntax.h: Likewise.
35234 * sysdeps/s390/asm-syntax.h: Likewise.
35235 * sysdeps/unix/sysdep.h: Likewise.
35236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35238
7071ad79
JM
352392012-01-26 Joseph Myers <joseph@codesourcery.com>
35240
35241 * libio/libio.h: Remove __STDC__ conditionals.
35242 * malloc/obstack.h: Likewise.
35243 * math/complex.h: Likewise.
35244 * math/math.h: Likewise.
35245 * sysdeps/generic/_G_config.h: Likewise.
35246 * sysdeps/gnu/_G_config.h: Likewise.
35247 * sysdeps/mach/hurd/_G_config.h: Likewise.
35248 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35249 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35250 * sysdeps/sparc/bits/mathdef.h: Likewise.
35251
afc5ed09
UD
352522012-01-26 Ulrich Drepper <drepper@gmail.com>
35253
35254 [BZ #13583]
35255 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35256 Clean up HAS_* macros.
afc5ed09 35257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35258 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35259 possible.
35260 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35261 HAS_AVX.
35262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35263 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35264 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35267
bdb6de1d
JM
352682012-01-25 Joseph Myers <joseph@codesourcery.com>
35269
35270 * elf/tst-unique3.cc (gets): Remove declaration.
35271 * elf/tst-unique3lib.cc (gets): Likewise.
35272 * elf/tst-unique3lib2.cc (gets): Likewise.
35273 * elf/tst-unique4.cc (gets): Likewise.
35274
b15549e6
UD
352752012-01-24 Ulrich Drepper <drepper@gmail.com>
35276
35277 * include/stdio.h: Add C++ protection. Add gets declarations and
35278 definitions.
35279 * debug/tst-chk1.c: Don't declare gets here.
35280 * stdio-common/tst-gets.c: Likewise.
35281
a037381f
JM
352822012-01-24 Joseph Myers <joseph@codesourcery.com>
35283
35284 * posix/glob: Remove directory.
35285
f1d4aa75
JM
352862012-01-24 Joseph Myers <joseph@codesourcery.com>
35287
35288 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35289
81c0c964
PT
352902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35291
35292 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35293 of the non-standard EPFNOSUPPORT.
35294
0ea698ae
ST
352952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35296
35297 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35298 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35299 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35300
d220b117
UD
353012012-01-21 Ulrich Drepper <drepper@gmail.com>
35302
35303 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35304
3e1aa84e
UD
353052012-01-20 Ulrich Drepper <drepper@gmail.com>
35306
35307 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35308 transient errors.
35309 * nscd/grpcache.c (cache_addgr): Likewise.
35310 * nscd/hstcache.c (cache_addhst): Likewise.
35311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35312 * nscd/pwdcache.c (cache_addpw): Likewise.
35313 * nscd/servicescache.c (cache_addserv): Likewise.
35314
400aa020
UD
353152012-01-16 Ulrich Drepper <drepper@gmail.com>
35316
d77e7869
UD
35317 * malloc/malloc.c: Various cleanups.
35318 * malloc/hooks.c: Likewise.
35319
400aa020
UD
35320 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35321 * stdlib/bug-fmtmsg1.c: New file.
35322
35323 * stdlib/fmtmsg.c (init): Add missing unlock.
35324 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35325
e0a309cf
MP
353262012-01-12 Marek Polacek <polacek@redhat.com>
35327
35328 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35329 and _GNU_SOURCE.
35330
929d11c7
WS
353312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35332
35333 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35334 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35335 macro to ensure uniqueness of label name.
35336 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35337 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35338
41d0e869
UD
353392012-01-11 Ulrich Drepper <drepper@gmail.com>
35340
0cc5ed3b
UD
35341 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35342
41d0e869
UD
35343 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35344 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35345 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35347
a47a831a
UD
353482012-01-10 Ulrich Drepper <drepper@gmail.com>
35349
daa891c0
UD
35350 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35351
35352 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35353 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35354 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35355
e58ef0f2
UD
35356 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35357
a47a831a 35358 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35359 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35360 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35362
35363 * math/bits/math-finite.h: Add ldexp support.
35364
a0bfc9c7
MP
353652012-01-10 Marek Polacek <polacek@redhat.com>
35366
35367 * locale/programs/localedef.h (show_archive_content): Add noreturn
35368 attribute.
35369
d6e97a1d
UD
353702012-01-09 Ulrich Drepper <drepper@gmail.com>
35371
35372 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35373
d5835c26
UD
353742012-01-08 Ulrich Drepper <drepper@gmail.com>
35375
e5f484c6
UD
35376 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35377
d5835c26
UD
35378 * io/Makefile (headers): Add bits/poll2.h.
35379
d1f741e9
WS
353802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35381
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35383 typo #include statement.
35384
ec09c1c4
UD
353852012-01-08 Ulrich Drepper <drepper@gmail.com>
35386
35387 * include/sys/cdefs.h: Define __attribute_alloc_size.
35388 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35389 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35390 * elf/pldd.c: Likewise.
35391 * iconv/iconv_charmap.c: Likewise.
35392 * iconv/iconvconfig.c: Likewise.
35393 * iconv/strtab.c: Likewise.
35394 * locale/programs/locale.c: Likewise.
35395 * locale/programs/localedef.h: Likewise.
35396 * locale/programs/simple-hash.c: Likewise.
35397 * nscd/nscd.h: Likewise.
35398 * nss/makedb.c: Likewise.
35399 * sysdeps/generic/ldconfig.h: Likewise.
35400 * locale/programs/localedef.c: Remove xmalloc prototype.
35401 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35402
20b38e03
PP
354032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35404
35405 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35406 appropriate.
35407
a0da5fe1
UD
354082012-01-08 Ulrich Drepper <drepper@gmail.com>
35409
1d5a644a 35410 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35411 * math/tst-CMPLX.c: New file.
1d5a644a 35412
8784a6db
UD
35413 * math/complex.h (CMPLXL): Fix typo.
35414
d9a216c0
UD
35415 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35416 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35417 GLIBC_2.16.
35418 * debug/tst-chk1.c: Add poll and ppoll tests.
35419 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35420 * include/sys/poll.h: Add hidden proto for ppoll.
35421 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35422 * sysdeps/mach/hurd/ppoll.c: Likewise.
35423 * io/ppoll.c: Likewise.
35424 * debug/poll_chk.c: New file.
35425 * debug/ppoll_chk.c: New file.
35426 * include/bits/poll2.h: New file.
35427 * io/bits/poll2.h: New file.
35428
ac097f5c
UD
35429 [BZ #1350]
35430 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35431
2119dcfa
UD
35432 * configure.in: static is always set to yes. Remove.
35433 * config.make.in: Don't set build-static.
35434 * Makeconfig: Remove use of build-static.
35435 * dlfcn/Makefile: Likewise.
35436 * elf/Makefile: Likewise.
35437 * math/Makefile: Likewise.
35438 * misc/Makefile: Likewise.
35439 * nptl/Makefile: Likewise.
35440 * sysdeps/mach/hurd/Makefile: Likewise.
35441
121766a9
UD
35442 * configure.in: PWD_P is not used anymore.
35443 * config.make.in: Remove PWD_P entry.
35444
51a1d39c 35445 * configure.in: Remove last remnants of RANLIB.
8720d066 35446 No need to check for signed size_t anymore.
215f4bdc
UD
35447 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35448 and IA-64.
3857022a 35449 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35450 * aclocal.m4: Likewise.
35451
d3ed7225
UD
35452 * wcsmbs/mbrtoc16.c: Implement using towc function.
35453 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35454 * wcsmbs/wcsmbsload.c: Likewise.
35455 * iconv/gconv_simple.c: Likewise.
35456 * iconv/gconv_int.h: Likewise.
35457 * iconv/gconv_builtin.h: Likewise.
35458 * iconv/iconv_prog.c: Remove CHAR16 handling.
35459
35460 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35461
35462 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35463
a0da5fe1
UD
35464 * configure.in: Remove --with-elf and --enable-bounded options.
35465 Dont set base_machine for ia64. More non-ELF conditions removed.
35466 Remove testing and setting of leading underscore information.
35467 * config.make.in (build-bounded): Set to no.
35468 * config.h.in: Remove NO_UNDERSCORES entry.
35469 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35470 them.
35471 * csu/start.c: Remove !NO_UNDERSCORE code.
35472 * locale/localeinfo.h: Likewise.
35473 * sysdeps/generic/machine-gmon.h: Likewise.
35474 * sysdeps/generic/sysdep.h: Likewise.
35475 * sysdeps/i386/sysdep.h: Likewise.
35476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35477 * sysdeps/mach/sysdep.h: Likewise.
35478 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35479 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35480 * sysdeps/sh/sysdep.h: Likewise.
35481 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35482 * sysdeps/unix/i386/sysdep.S: Likewise.
35483 * sysdeps/unix/sparc/start.c: Likewise.
35484 * sysdeps/unix/sparc/sysdep.S: Likewise.
35485 * sysdeps/unix/sparc/sysdep.h: Likewise.
35486 * sysdeps/unix/start.c: Likewise.
35487 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35488 * sysdeps/x86_64/sysdep.h: Likewise.
35489
df78418a
UD
354902012-01-07 Ulrich Drepper <drepper@gmail.com>
35491
a784e502
UD
35492 [BZ #13553]
35493 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35494 for non-gcc.
35495 * argp/argp-fmtstream.h: Use const instead __const.
35496 * argp/argp.h: Likewise.
35497 * assert/assert.h: Likewise.
35498 * bits/fenv.h: Likewise.
35499 * bits/sched.h: Likewise.
35500 * bits/sigset.h: Likewise.
35501 * bits/sigthread.h: Likewise.
35502 * catgets/nl_types.h: Likewise.
35503 * conform/data/pthread.h-data: Likewise.
35504 * crypt/crypt-private.h: Likewise.
35505 * crypt/crypt.h: Likewise.
35506 * crypt/crypt_util.c: Likewise.
35507 * ctype/ctype.h: Likewise.
35508 * debug/execinfo.h: Likewise.
35509 * debug/mbsnrtowcs_chk.c: Likewise.
35510 * debug/mbsrtowcs_chk.c: Likewise.
35511 * debug/wcsnrtombs_chk.c: Likewise.
35512 * debug/wcsrtombs_chk.c: Likewise.
35513 * debug/wcstombs_chk.c: Likewise.
35514 * dirent/dirent.h: Likewise.
35515 * dlfcn/dlfcn.h: Likewise.
35516 * elf/neededtest4.c: Likewise.
35517 * grp/grp.h: Likewise.
35518 * gshadow/gshadow.h: Likewise.
35519 * iconv/gconv.h: Likewise.
35520 * iconv/gconv_int.h: Likewise.
35521 * iconv/gconv_simple.c: Likewise.
35522 * iconv/iconv.h: Likewise.
35523 * iconv/loop.c: Likewise.
35524 * iconv/skeleton.c: Likewise.
35525 * include/aio.h: Likewise.
35526 * include/aliases.h: Likewise.
35527 * include/argz.h: Likewise.
35528 * include/arpa/inet.h: Likewise.
35529 * include/assert.h: Likewise.
35530 * include/dirent.h: Likewise.
35531 * include/dlfcn.h: Likewise.
35532 * include/execinfo.h: Likewise.
35533 * include/fcntl.h: Likewise.
35534 * include/fenv.h: Likewise.
35535 * include/glob.h: Likewise.
35536 * include/grp.h: Likewise.
35537 * include/libintl.h: Likewise.
35538 * include/mntent.h: Likewise.
35539 * include/netdb.h: Likewise.
35540 * include/pwd.h: Likewise.
35541 * include/rpc/netdb.h: Likewise.
35542 * include/sched.h: Likewise.
35543 * include/search.h: Likewise.
35544 * include/shadow.h: Likewise.
35545 * include/signal.h: Likewise.
35546 * include/stdio.h: Likewise.
35547 * include/stdlib.h: Likewise.
35548 * include/string.h: Likewise.
35549 * include/sys/socket.h: Likewise.
35550 * include/sys/stat.h: Likewise.
35551 * include/sys/statfs.h: Likewise.
35552 * include/sys/statvfs.h: Likewise.
35553 * include/sys/syslog.h: Likewise.
35554 * include/sys/time.h: Likewise.
35555 * include/sys/uio.h: Likewise.
35556 * include/time.h: Likewise.
35557 * include/unistd.h: Likewise.
35558 * include/utmp.h: Likewise.
35559 * include/wchar.h: Likewise.
35560 * include/wctype.h: Likewise.
35561 * inet/aliases.h: Likewise.
35562 * inet/arpa/inet.h: Likewise.
35563 * inet/netinet/ether.h: Likewise.
35564 * inet/netinet/in.h: Likewise.
35565 * intl/libintl.h: Likewise.
35566 * io/bits/fcntl2.h: Likewise.
35567 * io/fcntl.h: Likewise.
35568 * io/ftw.h: Likewise.
35569 * io/sys/poll.h: Likewise.
35570 * io/sys/stat.h: Likewise.
35571 * io/sys/statfs.h: Likewise.
35572 * io/sys/statvfs.h: Likewise.
35573 * io/utime.h: Likewise.
35574 * libio/bits/stdio.h: Likewise.
35575 * libio/bits/stdio2.h: Likewise.
35576 * libio/libio.h: Likewise.
35577 * libio/libioP.h: Likewise.
35578 * libio/stdio.h: Likewise.
35579 * locale/lc-ctype.c: Likewise.
35580 * locale/locale.h: Likewise.
35581 * login/utmp.h: Likewise.
35582 * malloc/arena.c: Likewise.
35583 * malloc/malloc.c: Likewise.
35584 * malloc/malloc.h: Likewise.
35585 * malloc/mcheck.c: Likewise.
35586 * malloc/mtrace.c: Likewise.
35587 * math/bits/mathcalls.h: Likewise.
35588 * math/fenv.h: Likewise.
35589 * math/math_private.h: Likewise.
35590 * misc/bits/error.h: Likewise.
35591 * misc/bits/syslog.h: Likewise.
35592 * misc/err.h: Likewise.
35593 * misc/error.h: Likewise.
35594 * misc/fstab.h: Likewise.
35595 * misc/mntent.h: Likewise.
35596 * misc/regexp.h: Likewise.
35597 * misc/search.h: Likewise.
35598 * misc/sgtty.h: Likewise.
35599 * misc/sys/mman.h: Likewise.
35600 * misc/sys/syslog.h: Likewise.
35601 * misc/sys/uio.h: Likewise.
35602 * misc/sys/xattr.h: Likewise.
35603 * misc/ttyent.h: Likewise.
35604 * nis/rpcsvc/ypclnt.h: Likewise.
35605 * nss/nss.h: Likewise.
35606 * posix/bits/unistd.h: Likewise.
35607 * posix/fnmatch.h: Likewise.
35608 * posix/glob.h: Likewise.
35609 * posix/sched.h: Likewise.
35610 * posix/spawn.h: Likewise.
35611 * posix/sys/wait.h: Likewise.
35612 * posix/unistd.h: Likewise.
35613 * posix/wordexp.h: Likewise.
35614 * pwd/pwd.h: Likewise.
35615 * resolv/netdb.h: Likewise.
35616 * resource/sys/resource.h: Likewise.
35617 * rt/aio.h: Likewise.
35618 * rt/bits/mqueue2.h: Likewise.
35619 * rt/mqueue.h: Likewise.
35620 * shadow/shadow.h: Likewise.
35621 * signal/signal.h: Likewise.
35622 * socket/send.c: Likewise.
35623 * socket/sendto.c: Likewise.
35624 * socket/sys/socket.h: Likewise.
35625 * stdio-common/printf.h: Likewise.
35626 * stdlib/bits/stdlib.h: Likewise.
35627 * stdlib/fmtmsg.h: Likewise.
35628 * stdlib/monetary.h: Likewise.
35629 * stdlib/stdlib.h: Likewise.
35630 * stdlib/ucontext.h: Likewise.
35631 * streams/stropts.h: Likewise.
35632 * string/argz.h: Likewise.
35633 * string/bits/string2.h: Likewise.
35634 * string/string.h: Likewise.
35635 * string/strings.h: Likewise.
35636 * sunrpc/rpc/auth.h: Likewise.
35637 * sunrpc/rpc/auth_des.h: Likewise.
35638 * sunrpc/rpc/clnt.h: Likewise.
35639 * sunrpc/rpc/netdb.h: Likewise.
35640 * sunrpc/rpc/pmap_clnt.h: Likewise.
35641 * sunrpc/rpc/xdr.h: Likewise.
35642 * sysdeps/generic/inttypes.h: Likewise.
35643 * sysdeps/generic/net/if.h: Likewise.
35644 * sysdeps/generic/sys/swap.h: Likewise.
35645 * sysdeps/gnu/net/if.h: Likewise.
35646 * sysdeps/gnu/utmpx.h: Likewise.
35647 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35648 * sysdeps/i386/i486/bits/string.h: Likewise.
35649 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35650 * sysdeps/s390/bits/string.h: Likewise.
35651 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35652 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35653 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35654 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35655 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35656 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35657 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35658 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35659 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35660 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35661 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35662 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35663 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35664 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35665 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35666 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35667 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35669 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35670 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35671 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35672 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35673 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35674 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35675 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35676 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35677 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35678 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35679 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35680 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35681 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35682 * sysvipc/sys/ipc.h: Likewise.
35683 * sysvipc/sys/msg.h: Likewise.
35684 * sysvipc/sys/sem.h: Likewise.
35685 * sysvipc/sys/shm.h: Likewise.
35686 * termios/termios.h: Likewise.
35687 * time/sys/time.h: Likewise.
35688 * time/time.h: Likewise.
35689 * wcsmbs/bits/wchar2.h: Likewise.
35690 * wcsmbs/uchar.h: Likewise.
35691 * wcsmbs/wchar.h: Likewise.
35692 * wctype/wctype.h: Likewise.
35693
0269750c
UD
35694 [BZ #13551]
35695 * Makeconfig: Remove all but ELF support including AIX support.
35696 * Makerules: Likewise.
35697 * config.h.in: Likewise.
35698 * config.make.in: Likewise.
35699 * configure: Likewise.
35700 * configure.in: Likewise.
35701 * csu/Makefile: Likewise.
35702 * csu/version.c: Likewise.
35703 * debug/Makefile: Likewise.
35704 * dlfcn/Makefile: Likewise.
35705 * elf/Makefile: Likewise.
35706 * extra-lib.mk: Likewise.
35707 * iconv/Makefile: Likewise.
35708 * include/libc-symbols.h: Likewise.
35709 * include/shlib-compat.h: Likewise.
35710 * resolv/Makefile: Likewise.
35711 * resolv/res_libc.c: Likewise.
35712 * rt/Makefile: Likewise.
35713 * sysdeps/i386/asm-syntax.h: Likewise.
35714 * sysdeps/i386/sysdep.h: Likewise.
35715 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35716 * sysdeps/mach/sysdep.h: Likewise.
35717 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35718 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35719 * sysdeps/s390/asm-syntax.h: Likewise.
35720 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35721 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35722 * sysdeps/sh/sysdep.h: Likewise.
35723 * sysdeps/unix/sparc/sysdep.h: Likewise.
35724 * sysdeps/wordsize-32/divdi3.c: Likewise.
35725 * sysdeps/x86_64/sysdep.h: Likewise.
35726
00bbd29b
UD
35727 * argp/Versions: Remove _argp_unlock_xxx.
35728
35729 [BZ #13559]
35730 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35731 * abilist/libBrokenLocale.abilist: Likewise.
35732 * abilist/libanl.abilist: Likewise.
35733 * abilist/libc.abilist: Likewise.
35734 * abilist/libcrypt.abilist: Likewise.
35735 * abilist/libdl.abilist: Likewise.
35736 * abilist/libm.abilist: Likewise.
35737 * abilist/libnsl.abilist: Likewise.
35738 * abilist/libpthread.abilist: Likewise.
35739 * abilist/libresolv.abilist: Likewise.
35740 * abilist/librt.abilist: Likewise.
35741 * abilist/libthread_db.abilist: Likewise.
35742 * abilist/libutil.abilist: Likewise.
35743 * abilist/libnss_db.abilist: New file.
35744
35745 * scripts/abilist.awk: Add support for indirect functions.
35746
a2693a0e
UD
35747 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35748
3f05895f
UD
35749 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35750
ecb6fb48
UD
35751 * shlib-versions: Remove entries for ports architectures.
35752
664f8cb9
UD
35753 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35754 files in ports.
35755 * elf/stackguard-macros.h: Remove support for IA-64.
35756 * elf/tst-auditmod1.c: Likewise.
35757 * sysdeps/generic/ldsodefs.h: Likewise.
35758
7ae81d88
UD
35759 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35760 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35761 configure files.
35762
bdeba135
UD
35763 [BZ #13552]
35764 * configure.in: Remove --enable-omitfp support.
35765 * FAQ.in: Adjust.
35766 * config.make.in: Likewise.
35767 * Makeconfig: Likewise.
35768 * manual/install.texi: Likewise.
35769
d75a0a62
UD
35770 In case anyone cares, the IA-64 architecture could move to ports.
35771 * sysdeps/ia64/*: Removed.
35772 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35773 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35774
dcc9756b
UD
35775 [BZ #13555]
35776 * configure.in: Remove entries for unsupported architectures.
35777
d3761ebc 35778 [BZ #13533]
9954432e
UD
35779 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35780 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35781 routines.
35782 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35783 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35784 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35785 fall back to using wcrtomb.
35786 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35787 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35788 renaming.
35789 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35790 * wcsmbs/tst-c16c32-1.c: New file.
35791
35792 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35793 local variable.
35794
c3a87236
UD
35795 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35796
28926a1b
UD
35797 * elf/tst-unique3.cc: Add explicit declaration of gets.
35798 * elf/tst-unique3lib.cc: Likewise.
35799 * elf/tst-unique3lib2.cc: Likewise.
35800 * elf/tst-unique4.cc: Likewise.
35801
df78418a
UD
35802 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35803
8ecd6b2a
JM
358042012-01-06 Joseph Myers <joseph@codesourcery.com>
35805
35806 [BZ #13566]
35807 * assert/assert.h (static_assert): Don't define for C++.
35808 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35809 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35810
9f115170
UD
358112012-01-03 Ulrich Drepper <drepper@gmail.com>
35812
5e0d0300
UD
35813 * iconv/loop.c (single loop): Fix assertion in storing of
35814 remaining bytes.
35815
9f115170
UD
35816 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35817
81fb02b0
UD
358182012-01-01 Ulrich Drepper <drepper@gmail.com>
35819
35820 * posix/getconf.c: Update copyright year.
35821 * nss/getent.c: Likewise.
a316c1f6 35822 * nss/makedb.c: Likewise.
81fb02b0
UD
35823 * iconv/iconvconfig.c: Likewise.
35824 * iconv/iconv_prog.c: Likewise.
35825 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35826 * elf/pldd.c: Likewise.
35827 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35828 * catgets/gencat.c: Likewise.
35829 * csu/version.c: Likewise.
35830 * elf/ldd.bash.in: Likewise.
35831 * elf/sprof.c (print_version): Likewise.
35832 * locale/programs/locale.c: Likewise.
35833 * locale/programs/localedef.c: Likewise.
a316c1f6 35834 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35835 * nscd/nscd.c (print_version): Likewise.
35836 * debug/xtrace.sh: Likewise.
35837 * malloc/memusage.sh: Likewise.
35838 * malloc/mtrace.pl: Likewise.
35839 * debug/catchsegv.sh: Likewise.
35840
2ba92745
JJ
358412011-12-30 Jakub Jelinek <jakub@redhat.com>
35842
35843 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35844 pure attribute.
35845
dadebdae
UD
358462011-12-24 Ulrich Drepper <drepper@gmail.com>
35847
d3761ebc 35848 [BZ #13533]
db6af3eb
UD
35849 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35850 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35851 transformations.
35852 * iconv/gconv_int.h: Likewise.
35853 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35854 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35855 from libc for GLIBC_2.16.
35856 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35857 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35858 * wcsmbs/uchar.h: Really define mbstate_t.
35859 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35860 * wcsmbs/c16rtomb.c: New file.
35861 * wcsmbs/mbrtoc16.c: New file.
35862 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35863 for C/POSIX locale.
35864 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35865 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35866
dadebdae
UD
35867 * wcsmbs/wchar.h: Add missing __restrict.
35868
67371b56
UD
358692011-12-23 Ulrich Drepper <drepper@gmail.com>
35870
74033a25
UD
35871 [BZ #13532]
35872 * time/Makefile (routines): Add timespec_get.
35873 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35874 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35875 timespec for ISO C11.
35876 * time/timespec_get.c: New file.
35877 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35878 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35879
380d7e87
UD
35880 [BZ #13531]
35881 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35882 * stdlib/stdlib.h: Declare aligned_alloc.
35883 * Versions.def: Add GLIBC_2.16 for libc.
35884 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35885
4e9e7a35
UD
35886 [BZ 13527]
35887 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35888 ISO C11.
35889
380d7e87 35890 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35891 code.
35892
03a71829
UD
35893 [BZ #13528]
35894 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35895
839e283e
UD
35896 [BZ #13529]
35897 * assert/assert.h (static_assert): Define.
35898
ce5294e2 35899 * version.h: Update for 2.16 development version.
90fa7312 35900
8d44e150 35901 [BZ #13526]
d7809905
UD
35902 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35903 _ISOC11_SOURCE.
35904
c0da14cd
UD
35905 * version.h (RELEASE): Bump for 2.15 release.
35906 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35907
530a3249
MP
35908 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35909 Patch by Marek Polacek <mpolacek@redhat.com>.
35910
67371b56
UD
35911 * bits/byteswap.h: Protect long long constants with __extension__.
35912 * sysdeps/i386/bits/byteswap.h: Likewise.
35913 * sysdeps/ia64/bits/byteswap.h: Likewise.
35914 * sysdeps/s390/bits/byteswap.h: Likewise.
35915 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35916
15db4de1
LD
359172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35918
35919 [BZ #13540]
bbe315ea
LD
35920 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35921 destination buffer.
15db4de1
LD
35922 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35923
2b2596b1
MP
359242011-12-23 Marek Polacek <polacek@redhat.com>
35925
35926 * elf/dl-addr.c (determine_info): Add inline keyword.
35927 * elf/tst-auditmod4b.c (check_avx): Likewise.
35928 * elf/tst-auditmod6b.c (check_avx): Likewise.
35929 * elf/tst-auditmod6c.c (check_avx): Likewise.
35930 * elf/tst-auditmod7b.c (check_avx): Likewise.
35931
70c6c246
UD
359322011-12-23 Ulrich Drepper <drepper@gmail.com>
35933
35934 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35935 !__SSE_MATH__.
35936
c044cf14
LD
359372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35938
15db4de1 35939 [BZ #13540]
c044cf14
LD
35940 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35941 processing for last bytes.
35942
6b13d9d9
BH
359432011-08-06 Bruno Haible <bruno@clisp.org>
35944
d455f537
BH
35945 [BZ #13061]
35946 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35947 U+0385, not to U+1FEE.
35948
6b13d9d9
BH
35949 [BZ #13062]
35950 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35951 entry for U+00A5 U+0301.
35952
db910efd
UD
359532011-12-22 Ulrich Drepper <drepper@gmail.com>
35954
27deeafc
UD
35955 [BZ #13166]
35956 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35957 buffer for the output is too small.
35958
aed9d171
UD
35959 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35960 optimization.
35961
db910efd
UD
35962 [BZ #13185]
35963 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35964 SSE flags if possible.
35965
2bd779ae
LD
359662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35967
e7f9dac3 35968 [BZ #13540]
2bd779ae
LD
35969 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35970 processing for last bytes.
35971
154bfc16
JM
359722011-12-22 Joseph Myers <joseph@codesourcery.com>
35973
35974 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35975 (syscall-list-default-options, syscall-list-default-condition)
35976 (syscall-list-includes): Define.
35977 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35978 list of ABIs and options and #if conditions for each ABI. Do not
35979 handle common syscalls between ABIs specially.
35980 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35981 Remove.
35982 (syscall-list-variants, syscall-list-32bit-options)
35983 (syscall-list-32bit-condition, syscall-list-64bit-options)
35984 (syscall-list-64bit-condition): Define.
35985 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35995 Remove.
35996 (syscall-list-variants, syscall-list-32bit-options)
35997 (syscall-list-32bit-condition, syscall-list-64bit-options)
35998 (syscall-list-64bit-condition): Define.
35999
21eaf3a5
UD
360002011-12-22 Ulrich Drepper <drepper@gmail.com>
36001
16c6f992
UD
36002 * locale/iso-639.def: Add brx entry.
36003
41043168
UD
36004 [BZ #13328]
36005 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36006 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36007
21eaf3a5
UD
36008 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36009 __feraiseexcept_renamed.
36010
e3a851a2
UD
360112011-12-21 Ulrich Drepper <drepper@gmail.com>
36012
4920765e
UD
36013 [BZ #13538]
36014 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36015 EPOLLET with unsigned values.
36016 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36017 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36018
e3a851a2
UD
36019 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36020 to large cancellation.
36021 * math/s_cacoshf.c: Likewise.
36022 * math/s_cacoshl.c: Likewise.
36023
b27e24b8
RK
360242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36025
36026 [BZ #13305]
aebefeee 36027 [BZ #12786]
b27e24b8
RK
36028 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36029 * math/s_cacoshf.c: Likewise.
36030 * math/s_cacoshl.c: Likewise.
36031
ee190f67
UD
360322011-12-21 Ulrich Drepper <drepper@gmail.com>
36033
36034 [BZ #13439]
36035 * iconv/gconv.h: Define __GCONV_SWAP.
36036 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36037 * iconvdata/utf-16.c: Likewise.
36038 * iconvdata/utf-32.c: Likewise.
36039
707f25df
AS
360402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36041
36042 [BZ #13524]
36043 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36044 numerator after shifting it by one limb.
36045
d2daaa1e
RÁE
360462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36047
36048 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36049 under [__USE_EXTERN_INLINES].
36050
a4647e72
UD
360512011-12-17 Ulrich Drepper <drepper@gmail.com>
36052
36053 [BZ #13446]
36054 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36055
f0b264f1
AZ
360562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36057
36058 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36059 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36060 optimized code.
36061 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36062 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36063 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36064 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36065 for strncasecmp/strncasecmp_l compilation.
36066 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36067 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36068
8ef4f244
MP
360692011-12-08 Marek Polacek <mpolacek@redhat.com>
36070
36071 [BZ #13484]
36072 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36073 of __asm__.
36074
97ac2654
UD
360752011-12-17 Ulrich Drepper <drepper@gmail.com>
36076
36077 [BZ #13506]
36078 * time/tzfile.c (__tzfile_read): Check values from file header.
36079
91d2a845
WS
360802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36081
36082 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36083 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36084 * powerpc/powerpc32/dl-start.S: Likewise.
36085 * powerpc/powerpc32/elf/start.S: Likewise.
36086 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36087 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36088 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36089 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36090 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36091 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36092 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36093 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36094 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36095 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36096 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36097 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36098 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36099 * powerpc/powerpc32/memset.S: Likewise.
36100 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36101 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36102 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36103 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36104 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36105 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36106 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36107 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36108 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36109 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36110 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36111 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36112 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36113
a1267ba1
AZ
361142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36115
36116 * math/libm-test.inc: Added more nearbyint tests.
36117 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36119 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36120 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36121
ad8ac1bd
RL
361222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36123
36124 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36125 FD_CLOEXEC.
36126
1d3e4b61
UD
361272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36128
36129 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36130 Add wcscpy-ssse3 wcscpy-c.
36131 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36132 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36133 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36134 * sysdeps/x86_64/wcschr.S: New file.
36135 * sysdeps/x86_64/wcsrchr.S: New file.
36136 * string/test-strcmp.c: Remove checking of wcscmp function for
36137 wrong alignments.
36138 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36139 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36140 wcsrchr-sse2 wcsrchr-c.
36141 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36142 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36143 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36144 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36145 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36146 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36147 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36148 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36149 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36150 * wcsmbc/wcschr.c (WCSCHR): New macro.
36151
5b330a2d
UD
361522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36153
36154 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36155 * wcsmbs/test-wcsrchr.c: New file.
36156 * string/test-strrchr.c: Add wcsrchr support.
36157 (WIDE): New macro.
36158 * wcsmbs/test-wcscpy.c: New file.
36159 * string/test-strcpy.c: Add wcscpy support.
36160 (WIDE): New macro.
26428b7c 36161
f039c043
UD
361622011-12-10 Ulrich Drepper <drepper@gmail.com>
36163
36164 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36165 the inner loop.
36166
850fb039
AS
361672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36168
36169 [BZ #13472]
36170 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36171
4efbd5cb
UD
361722011-12-04 Ulrich Drepper <drepper@gmail.com>
36173
52ff5dd0 36174 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36175 Minor optimizations.
52ff5dd0 36176
4efbd5cb
UD
36177 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36178 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36179 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36180
8a426e12
UD
361812011-12-03 Ulrich Drepper <drepper@gmail.com>
36182
aff2453d
UD
36183 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36184 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36185 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36186 for gcc to avoid warnings.
36187 * inet/Makefile (tests): Add tst-checks.
36188 * inet/tst-checks.c: New file.
36189
36190 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36191 warning.
36192
36193 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36194 __wmemcmp_sse2.
36195
36196 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36197 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36198
8a426e12
UD
36199 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36200
9bea3473
UD
362012011-12-02 Ulrich Drepper <drepper@gmail.com>
36202
3a965496
UD
36203 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36204 problem.
36205
9bea3473
UD
36206 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36207
f101631b
UD
362082011-11-29 Joseph Myers <joseph@codesourcery.com>
36209
36210 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36211 conditional on GCC version.
36212 (__arch_compare_and_exchange_val_8_acq)
36213 (__arch_compare_and_exchange_val_16_acq)
36214 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36215 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36216 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36217
a98275aa
UD
362182011-12-02 Joseph Myers <joseph@codesourcery.com>
36219
36220 * sysdeps/sh/backtrace.c: New file.
36221
d4cc29a2
AS
362222011-12-02 Andreas Schwab <schwab@redhat.com>
36223
36224 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36225 parenthesis.
36226
6257af2d
AS
362272011-12-01 Andreas Schwab <schwab@redhat.com>
36228
36229 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36230 falling back to utime.
36231
b5f44c1a
AS
362322011-11-30 Andreas Schwab <schwab@redhat.com>
36233
36234 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36235 expectations for float.
36236
f3a6cc0a
AS
362372011-11-29 Andreas Schwab <schwab@redhat.com>
36238
36239 * locale/weight.h (findidx): Add parameter len.
36240 * locale/weightwc.h (findidx): Likewise.
36241 * posix/fnmatch_loop.c (FCT): Adjust caller.
36242 * posix/regcomp.c (build_equiv_class): Likewise.
36243 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36244 * posix/regexec.c (check_node_accept_bytes): Likewise.
36245 * string/strcoll_l.c (STRCOLL): Likewise.
36246 * string/strxfrm_l.c (STRXFRM): Likewise.
36247
9d65ea3a
UD
362482011-11-17 Ulrich Drepper <drepper@gmail.com>
36249
36250 * Makefile.in: Remove CVSOPT handling.
36251 * configure.in: Remove use of AC_REVISION.
36252 * iconvdata/Makefile (distribute): No need to filter out CVS.
36253 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36254 handling.
36255
5583a086
AS
362562011-11-16 Andreas Schwab <schwab@redhat.com>
36257
36258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36259 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36260 [USE_AS_STRNCASECMP_L]: Likewise.
36261 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36262 NO_TLS_DIRECT_SEG_REFS.
36263 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36264 Fix argument offsets for non-PIC.
36265 [USE_AS_STRNCASECMP_L]: Likewise.
36266 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36267 NO_TLS_DIRECT_SEG_REFS.
36268
d62a8200
UD
362692011-11-15 Ulrich Drepper <drepper@gmail.com>
36270
9d65ea3a 36271 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36272 O_CLOEXEC.
36273 * locale/loadlocale.c (_nl_load_locale): Likewise.
36274
09f93bd3
AS
362752011-11-15 Andreas Schwab <schwab@redhat.com>
36276
446514f9
AS
36277 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36278 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36279 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36280 (SYSCALL_GETTIME): Set errno on error.
36281
09f93bd3
AS
36282 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36283 count references to noai6ai_cached.
36284
312be3f9
UD
362852011-11-15 Ulrich Drepper <drepper@gmail.com>
36286
36287 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36288
36289 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36290 FD_CLOEXEC for /proc/self/maps.
36291
36292 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36293 FD_CLOEXEC for /proc/meminfo.
36294
36295 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36296 gai.conf.
36297
36298 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36299 FD_CLOEXEC for given file.
36300
36301 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36302
36303 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36304 FD_CLOEXEC for /etc/hosts.
36305 (_gethtent): Likewise.
36306
36307 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36308
36309 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36310 cancellation and set FD_CLOEXEC for /etc/netgroup.
36311
36312 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36313 reading /etc/publickey.
36314
36315 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36316 allow cancellation when reading /etc/group.
36317
36318 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36319 cancellation.
36320 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36321
36322 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36323 when using data file.
36324
36325 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36326
36327 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36328 (write_nis_obj): Use "c" and "e" in fopen.
36329
36330 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36331
36332 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36333
36334 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36335
36336 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36337
36338 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36339 locale.alias.
36340
36341 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36342
36343 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36344
36345 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36346
36347 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36348 file parsing and set FD_CLOEXEC.
36349
82af0fa8
UD
363502011-11-14 Ulrich Drepper <drepper@gmail.com>
36351
36352 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36353
a5fb313c
AS
363542011-11-14 Andreas Schwab <schwab@redhat.com>
36355
36356 * malloc/arena.c (arena_get2): Don't call reused_arena when
36357 _int_new_arena failed.
36358
6abf3465
UD
363592011-11-14 Ulrich Drepper <drepper@gmail.com>
36360
36361 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36362 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36363 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36364 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36365 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36367 to compile strcasecmp and strncasecmp.
36368 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36369 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36370
36371 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36372
76e3966e
UD
363732011-11-13 Ulrich Drepper <drepper@gmail.com>
36374
36375 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36376 locale-defines.sym to gen-as-const-headers.
36377 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36378 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36379 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36380 to compile strcasecmp and strncasecmp.
36381 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36382 strcasecmp_l and strncasecmp_l.
36383 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36384 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36385 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36386 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36387 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36388 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36389 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36390 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36391 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36392 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36393 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36394
ab26144e
UD
363952011-11-12 Ulrich Drepper <drepper@gmail.com>
36396
7edb22ef
UD
36397 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36398 result of SYSDEP_GETTIME_CPU to retval.
36399 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36400 parameter list to macro. Remove trailing semicolon. Adjust users.
36401
9694fc44
UD
36402 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36403 variable.
36404
8ad89ef8
UD
36405 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36406 mantissa words.
36407 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36408
0c822ef9
UD
36409 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36410 from unused variable.
36411
874e0564
UD
36412 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36413 DWARF definitions.
36414 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36415 for assembling.
36416
3a2edc79
UD
36417 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36418 over namespaces.
36419
f3c2577f
UD
36420 * sunrpc/rpc_prot.c (rejected): Fix case value.
36421
294ce126
UD
36422 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36423 unsigned long long int to avoid warnings in shift.
36424
5e2b63c6
UD
36425 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36426 of use of trans.
36427 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36428 variable tmp.
36429
e7f4b08e
UD
36430 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36431 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36432 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36433
ab26144e
UD
36434 * nis/nis_table.c (nis_list): Use variable of correct type for
36435 result of __follow_path call.
36436
8a6d5255
AZ
364372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36438
36439 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36440 of math functions ceil, trunc, floor, round, and sqrt, when
36441 avaliable on the platform.
36442 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36443 name clash.
36444 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36445 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36446 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36447
aaddc98c
MP
364482011-10-30 Marek Polacek <mpolacek@redhat.com>
36449
36450 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36451 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36452
95b7042b
RM
364532011-11-11 Roland McGrath <roland@hack.frob.com>
36454
36455 * include/unistd.h: Fix __readlink return type.
36456 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36457
57769839
UD
364582011-11-11 Ulrich Drepper <drepper@gmail.com>
36459
36460 * stdlib/ucontext.h: Undo last change for makecontext.
36461
edc5984d
AS
364622011-11-11 Andreas Schwab <schwab@redhat.com>
36463
98591e58
AS
36464 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36465
edc5984d
AS
36466 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36467 * setjmp/setjmp.h: Mark functions as non-leaf.
36468 * setjmp/bits/setjmp2.h: Likewise.
36469 * stdlib/ucontext.h: Likewise.
36470
77cdc054
AS
364712011-11-10 Andreas Schwab <schwab@redhat.com>
36472
36473 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36474 (reused_arena): Don't check arena limit.
36475 (arena_get2): Atomically check arena limit.
36476
fe72eebd
UD
364772011-11-08 Ulrich Drepper <drepper@gmail.com>
36478
5f078c32
UD
36479 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36480 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36481
fe72eebd
UD
36482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36483 instructions.
36484
ae1bc2fa
AS
364852011-11-07 Andreas Schwab <schwab@redhat.com>
36486
7583a88d
AS
36487 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36488 handler when locking.
36489
ae1bc2fa
AS
36490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36491 Fix size of allocated buffer.
36492
10fb0bfa
AS
364932011-11-04 Andreas Schwab <schwab@redhat.com>
36494
998832a4
AS
36495 [BZ #10103]
36496 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36497 declarations for long double functions.
36498 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36499
10fb0bfa
AS
36500 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36501
3d7ba52b
AS
365022011-11-03 Andreas Schwab <schwab@redhat.com>
36503
a9ae54a1
AS
36504 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36505 installed.
36506
3d7ba52b
AS
36507 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36508 is disabled.
36509
bc8db248
ST
365102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36511
36512 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36513
45b96dd6
AS
365142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36515
647776f6
AS
36516 * include/alloca.h (stackinfo_alloca_round): Define.
36517 (extend_alloca): Use it.
36518 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36519 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36520 here.
36521
d91a8b93
AS
36522 * scripts/check-local-headers.sh: Ignore libaudit.h.
36523
45b96dd6
AS
36524 * nscd/Makefile (extra-objs): Make recursively expanded.
36525
432d41ce
UD
365262011-11-01 Ulrich Drepper <drepper@gmail.com>
36527
34372fc6
UD
36528 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36529 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36530
fadb59f8
UD
36531 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36532 * posix/tst-rfc3484-2.c: Likewise.
36533 * posix/tst-rfc3484-3.c: Likewise.
36534
78239589
UD
36535 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36536 process_vm_writev.
36537 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36538 process_vm_writev.
36539 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36540 process_vm_writev from libc using GLIBC_2.15 version.
36541
432d41ce
UD
36542 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36543
02f9c6cf
PP
365442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36545
36546 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36547 stack usage.
36548
3a2c0242
UD
365492011-10-31 Ulrich Drepper <drepper@gmail.com>
36550
f4ec4833
UD
36551 [BZ #13367]
36552 * nss/getent.c (initgroups_keys): Show error message in case no group
36553 names are given.
36554
3a2c0242
UD
36555 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36556 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36557 __bump_nl_timestamp.
36558 * nscd/connections (nscd_init): When host database is served open
36559 netlink socket and request notification about configuration changes.
36560 (main_loop_poll): Track netlink file descriptor and bump timestamp
36561 in case data becomes available.
36562 (main_loop_epoll): Likewise.
36563 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36564 (database_pers_head): Add extra_data fileds.
36565 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36566 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36567 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36568 Adjust caller.
36569 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36570 in6ai data, call __free_in6ai.
36571 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36572 Add -DHAVE_NETLINK.
36573 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36574 interface information. Reuse previous data if netlink timestamp
36575 is not changed.
36576 (__bump_nl_timestamp): New function.
36577 (__free_in6ai): New function.
36578
636064eb
UD
365792011-10-30 Ulrich Drepper <drepper@gmail.com>
36580
36581 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36582 close_not_cancel_no_status here.
36583 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36584
9beb2334
UD
365852011-10-29 Ulrich Drepper <drepper@gmail.com>
36586
6ef76f3b
UD
36587 [BZ #13276]
36588 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36589 return value.
36590
0ffc4f3e 36591 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36592 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36593 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36594
cb95113e
UD
365952011-07-03 Andreas Jaeger <aj@suse.de>
36596
36597 [BZ #10709]
36598 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36599 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36600 * math/libm-test.inc (sin_test): Add test case.
36601
a1b560ff
UD
366022011-10-29 Ulrich Drepper <drepper@gmail.com>
36603
c9aaface
UD
36604 [BZ #13337]
36605 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36606 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36607
d272e7f1
UD
36608 * elf/chroot_canon.c (chroot_canon): Cleanups.
36609
1bc33071
UD
36610 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36611
1760874d
TJ
36612 [BZ #13335]
36613 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36614 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36615
51d91b18
UD
36616 * string/test-strchr.c: Make usable for strchrnul testing.
36617 * string/test-strchrnul.c: New file.
36618 * string/Makefile (strop-tests): Add strchrnul.
36619
a1b560ff 36620 * po/it.po: Update from translation team.
b611fb81 36621 * po/es.po: Likewise.
a1b560ff 36622
a5b81e1f
UD
366232011-10-28 Ulrich Drepper <drepper@gmail.com>
36624
fd52bc6d
UD
36625 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36626 the three constants needed as parameters. Drop the others.
36627 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36628 __m128i_strloadu_tolower.
52e4b9eb
UD
36629 Create and initialize variable zero and use it in all the places
36630 where _mm_setzero_si128 was used.
fd52bc6d 36631
a5b81e1f
UD
36632 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36633 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36634 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36635 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36636 anymore.
36637 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36638 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36639 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36640 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36641 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36642 __mpranred, __mptan.
36643 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36644 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36645 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36646 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36647 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36648 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36649 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36650 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36651 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36652
b4343346
AS
366532011-10-28 Andreas Schwab <schwab@redhat.com>
36654
0c92d8a8
AS
36655 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36656 redefine if SHARED.
36657 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36658
b4343346
AS
36659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36660 wide char related routines to wcsmbs subdir.
36661
3871f58f
AS
366622011-10-27 Andreas Schwab <schwab@redhat.com>
36663
36664 [BZ #13344]
36665 * misc/sys/cdefs.h (__THROWNL): Define.
36666 * posix/unistd.h: Use __THREADNL instead of __THREAD
36667 for memory synchronization functions.
36668
94d44d9f
RM
366692011-10-26 Roland McGrath <roland@hack.frob.com>
36670
21b64b15 36671 [BZ #13349]
94d44d9f
RM
36672 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36673 doesn't exist.
36674 * manual/stdio.texi (Obstack Streams): Node removed.
36675
f6ce9294
AS
366762011-10-26 Andreas Schwab <schwab@redhat.com>
36677
80479147
AS
36678 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36679 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36680 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36681
f6ce9294
AS
36682 * math/math_private.h (math_force_eval): Allow non-addressable
36683 arguments.
36684 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36685
618280a1
UD
366862011-10-25 Ulrich Drepper <drepper@gmail.com>
36687
e0016b11
UD
36688 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36689 file is not needed.
36690
36691 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36692 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36693 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36694 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36695 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36696 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36698 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36699 Add AVX variants.
36700 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36701 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36702 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36703 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36704 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36705 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36706 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36707 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36708 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36709 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36710 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36711 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36712 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36713 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36714 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36715 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36716 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36717 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36718 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36719
36720 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36721 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36722
618280a1
UD
36723 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36724 place. Use VEX encoding when compiling for AVX.
36725
37822576
AS
367262011-10-25 Andreas Schwab <schwab@redhat.com>
36727
1f1e1947
AS
36728 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36729 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36730
37822576
AS
36731 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36732
31ea014d
UD
367332011-10-25 Ulrich Drepper <drepper@gmail.com>
36734
d7826aa1 36735 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36736 useless if() expression.
d7826aa1
UD
36737 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36738 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36740 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36741 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36742 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36743 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36744 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36745 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36746 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36747 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36748 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36749 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36750 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36751 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36752 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36753 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36754 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36755 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36756
31ea014d
UD
36757 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36758
16437fec
AS
367592011-10-25 Andreas Schwab <schwab@redhat.com>
36760
36761 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36762 condition.
36763 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36764
31d3cc00
UD
367652011-10-25 Ulrich Drepper <drepper@gmail.com>
36766
36767 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36768 .text section. Avoid duplicate constants.
36769 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36771 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36773 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36777 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36778 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36779 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36780 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36781 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36782 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36783 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36784 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36785 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36786 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36788 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36789 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36790 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36791 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36792 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36793 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36794 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36795 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36796 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36797 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36798 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36799 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36800 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36801 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36802 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36803 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36804 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36805 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36806 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36807 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36808 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36809 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36810 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36811 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36812 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36813 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36814
58985aa9
UD
368152011-10-24 Ulrich Drepper <drepper@gmail.com>
36816
202c9deb
UD
36817 * sysdeps/x86_64/dla.h: Move to ...
36818 * sysdeps/x86_64/fpu/dla.h: ...here.
36819 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36820 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36821
af968f62
UD
36822 * config.make.in: Add have-mfma4 entry.
36823 * configure.in: Substitute libc_cv_cc_fma4.
36824 * math/Makefile (dbl-only-routines): Add sincostab.
36825 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36826 Use __sincostab not sincos.
36827 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36828 name is a macro.
36829 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36833 using __copysign.
36834 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36835 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36836 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36837 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36838 and __inv.
36839 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36840 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36841 __copysign.
36842 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36843 define aliases when function name is a macro.
36844 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36845 sysdeps/ieee754/dbl-64/sincos.tbl.
36846 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36847 fma4-enabled routines.
36848 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36849 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36850 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36851 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36852 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36853 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36854 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36855 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36856 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36857 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36858 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36859 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36860 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36861 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36862 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36863 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36864 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36865 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36866 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36867 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36868 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36869 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36871 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36873 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36875 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36876 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36877 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36878
58985aa9
UD
36879 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36880 rename.
36881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36889
a201fbcf
AS
368902011-10-24 Andreas Schwab <schwab@redhat.com>
36891
36892 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36893
fc2ee42a
LD
368942011-10-23 Ulrich Drepper <drepper@gmail.com>
36895
bb3129bd
UD
36896 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36897
0275fff8
UD
36898 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36899 prediction.
36900 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36901
2fa2ae85
UD
36902 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36903 Remove unused variable magic_bits.
36904 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36905
fc2ee42a
LD
36906 * string/strnlen.c: Define and use STRNLEN macro.
36907 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36908 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36909 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36910 * wcsmbs/wcslen.c: Define and use WCSLEN.
36911 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36912 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36913 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36914 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36915 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36916 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36917 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36918
ce7dd29f
LD
369192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36920
36921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36922 strnlen-sse2-no-bsf.
36923 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36925 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36926 Add strnlen support.
36927 (USE_AS_STRNLEN): New macro.
36928 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36929 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36930 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36931 * sysdeps/x86_64/wcslen.S: New file.
36932
979c70a3
MZ
369332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36934
36935 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36936 XMM-moves are used for copying on small sizes.
36937
2d09f82f
LD
369382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36939
36940 * wcsmbs/Makefile (strop-tests): Add wcschr.
36941 * wcsmbs/test-wcschr.c: New file.
36942 * string/test-strchr.c: Update.
36943 Add wcschr support.
36944 (WIDE): New macro.
36945
619fccca
LD
369462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36947
2d09f82f 36948 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36949 * wcsmbs/test-wcslen.c: New file.
36950 * string/test-strlen.c: Update.
36951 Add wcslen support.
36952 (WIDE): New macro.
36953
09f699ea
UD
369542011-10-23 Ulrich Drepper <drepper@gmail.com>
36955
36956 * po/it.po: Update from translation team.
36957
95584d3b
LD
369582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36959
36960 * sysdeps/x86_64/wcscmp.S: Update.
36961 Fix wrong comparison semantics.
36962 wcscmp shall use signed comparison not unsigned.
36963 Don't use substraction to avoid overflow bug.
36964 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36965 * wcsmbc/wcscmp.c: Likewise.
36966 * string/test-strcmp.c: Likewise.
36967 Add new tests to check cases with negative values.
36968
c8b3296b
UD
369692011-10-23 Ulrich Drepper <drepper@gmail.com>
36970
36971 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36972 * sysdeps/x86_64/dla.h: ...here. New file.
36973 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36978 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36982
246ad57a
AS
369832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36984
36985 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36986 __ynl_finite aliases.
36987
a1a87169
UD
369882011-10-22 Ulrich Drepper <drepper@gmail.com>
36989
0d355eb7
UD
36990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36991
a1a87169
UD
36992 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36993 define DLA_FMA.
36994 [DLA_FMA] (EMULV): Use DLA_FMA.
36995 [DLA_FMA] (MUL12): Use EMULV.
36996 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36997 that are not needed.
36998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37005
ee2aafe0
AS
370062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37007
37008 * math/s_nan.c: Undef __nan.
37009 * math/s_nanf.c: Undef __nanf.
37010 * math/s_nanl.c: Undef __nanl.
37011 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37012 "math_private.h".
37013
bc62c2fb
UD
370142011-10-22 Ulrich Drepper <drepper@gmail.com>
37015
77425c63
UD
37016 * math/s_catan.c: Add branch predictions.
37017 * math/s_catanf.c: Likewise.
37018 * math/s_catanh.c: Likewise.
37019 * math/s_catanhf.c: Likewise.
37020 * math/s_catanhl.c: Likewise.
37021 * math/s_catanl.c: Likewise.
37022 * math/s_cexp.c: Likewise.
37023 * math/s_cexpf.c: Likewise.
37024 * math/s_cexpl.c: Likewise.
37025 * math/s_clog.c: Likewise.
37026 * math/s_clog10.c: Likewise.
37027 * math/s_clog10f.c: Likewise.
37028 * math/s_clog10l.c: Likewise.
37029 * math/s_clogf.c: Likewise.
37030 * math/s_clogl.c: Likewise.
37031 * math/s_csqrt.c: Likewise.
37032 * math/s_csqrtf.c: Likewise.
37033 * math/s_csqrtl.c: Likewise.
37034 * math/s_ctanf.c: Likewise.
37035 * math/s_ctanh.c: Likewise.
37036 * math/s_ctanhf.c: Likewise.
37037 * math/s_ctanhl.c: Likewise.
37038 * math/s_ctanl.c: Likewise.
37039
bc62c2fb
UD
37040 * math/math_private.h: Define __nan, __nanf, __nanl.
37041 * math/s_cacosh.c: Include <math_private.h>.
37042 * math/s_cacoshl.c: Likewise.
37043 * math/s_casinh.c: Likewise.
37044 * math/s_casinhf.c: Likewise.
37045 * math/s_casinhl.c: Likewise.
37046 * math/s_ccos.c: Rely entire on ccosh.
37047 * math/s_ccosf.c: Rely entire on ccoshf.
37048 * math/s_ccosl.c: Rely entirely on ccoshl.
37049 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37050 Remove tests for FE_INVALID.
37051 * math/s_ccoshf.c: Likewise.
37052 * math/s_ccoshl.c: Likewise.
37053 * math/s_csin.c: Likewise.
37054 * math/s_csinf.c: Likewise.
37055 * math/s_csinh.c Likewise.
37056 * math/s_csinhf.c: Likewise.
37057 * math/s_csinhl.c: Likewise.
37058 * math/s_csinl.c: Likewise.
37059 * math/s_ctan.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37061 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37062 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37063
8ec250a4
UD
370642011-10-21 Ulrich Drepper <drepper@gmail.com>
37065
c196fed8
UD
37066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37067 compilation problems.
37068
8ec250a4
UD
37069 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37070 __builtin_expect.
37071
8d4f46c6
UD
370722011-10-20 Ulrich Drepper <drepper@gmail.com>
37073
ed72b654
UD
37074 * sysdeps/i386/configure.in: Test for -mfma4 option.
37075 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37076 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37077 COMMON_CPUID_INDEX_80000001.
37078 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37079 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37080 use it if FMA3 is not supported.
37081 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37082
8d4f46c6
UD
37083 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37084 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37085
d45c60c2
AS
370862011-10-20 Andreas Schwab <schwab@redhat.com>
37087
37088 [BZ #12892]
37089 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37090 it would create a cycle with a link time dependency.
37091
d9a4d2ab
UD
370922011-10-19 Ulrich Drepper <drepper@gmail.com>
37093
855d1560
UD
37094 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37095 instruction.
37096 * string/Makefile (strop-tests): Add rawmemchr.
37097 * string/test-rawmemchr.c: New file.
37098
d9a4d2ab
UD
37099 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37101 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37102 when compiling str{,n}casecmp and when AVX is available. Hook up
37103 new optimized code in initializers.
37104
8f3b1ffe
AS
371052011-10-19 Andreas Schwab <schwab@redhat.com>
37106
37107 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37108 __feraiseexcept instead of feraiseexcept.
37109
d38f1dba
UD
371102011-10-18 Ulrich Drepper <drepper@gmail.com>
37111
d9a8d0ab
UD
37112 * math/math_private.h: Define defaults for libc_fetestexcept and
37113 libc_feupdateenv.
37114 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37115 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37116 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37117 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37118 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37119 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37120 libc_fetestexcept and libc_feupdateenv.
37121
4855e3dd
UD
37122 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37123 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37124 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37125 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37126 libc_feholdexcept_setround.
37127
581d30e3
UD
37128 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37129 Add s_nearbyint-c and s_nearbyintf-c.
37130 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37131 nearbyintf inlines.
37132 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37133 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37134 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37135 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37136
d38f1dba
UD
37137 * math/math_private.h: Define defaults for libc_fegetround,
37138 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37139 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37140 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37141 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37142 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37143 standard functions.
37144 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37145 Remove comments and hacks for old compiler versions.
37146 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37147 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37148 libc_feholdexceptl.
37149
caa6c9d8
AS
371502011-10-18 Andreas Schwab <schwab@redhat.com>
37151
37152 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37153 (__feraiseexcept_renamed): Add __NTH.
37154 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37155 namespace violations.
37156
97c066e6
UD
371572011-10-17 Ulrich Drepper <drepper@gmail.com>
37158
99ce7b04
UD
37159 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37160
1004d182
UD
37161 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37162
228a984d
UD
37163 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37164 recently added interfaces.
37165 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37166
c8553a6a
UD
37167 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37168 about macro parameter expansion.
37169
ed22dcf6
UD
37170 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37171 __NO_MATH_INLINES is defined. Cleanups.
37172
37173 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37174 and __floorf is target has SSE4.1.
37175 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37176 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37177 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37178 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37179
b171c137
UD
37180 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37181 name.
37182 (floorf): Likewise.
37183
97c066e6
UD
37184 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37185
629f62ef
AS
371862011-10-17 Andreas Schwab <schwab@redhat.com>
37187
49a43d80
AS
37188 * misc/sys/cdefs.h: Fix last change.
37189
629f62ef
AS
37190 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37191 database lookup.
37192
e453f6cd
UD
371932011-10-16 Ulrich Drepper <drepper@gmail.com>
37194
aa78043a
UD
37195 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37196
ad0f5cad
UD
37197 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37198 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37199 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37200 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37201 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37202 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37203 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37204 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37206 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37207 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37208 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37209 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37210 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37211 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37212 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37213 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37214 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37215 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37216 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37217 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37218 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37219
37220 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37221 ceil, ceilf, floor, floorf.
37222
37223 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37224 Perform IRELATIVE relocations last.
37225
e453f6cd
UD
37226 * elf/do-rel.h: Add another parameter nrelative, replacing the
37227 local variable with the same name. Change name of the function
37228 to end in Rel or Rela (uppercase).
37229 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37230 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37231 elf_dynamic_do_##reloc function.
37232
fd5bdc09
UD
372332011-10-15 Ulrich Drepper <drepper@gmail.com>
37234
79b195b5
UD
37235 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37236 is sufficient, at least on modern CPUs.
37237
d4a28569
UD
37238 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37239
b61099b5
UD
37240 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37241 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37242
bcf01e6d
UD
37243 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37244 __expl_finite.
37245 * math/bits/math-finite.h: Add entries for exp.
37246 * math/e_expl.c: Add __*_finite alias.
37247 * sysdeps/i386/fpu/e_exp.S: Likewise.
37248 * sysdeps/i386/fpu/e_expf.S: Likewise.
37249 * sysdeps/i386/fpu/e_expl.c: Likewise.
37250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37251 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37254 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37255 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37256 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37257
ba1a0d59
UD
37258 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37259 is sufficient, at least on modern CPUs.
37260
fd5bdc09
UD
37261 * ctype/ctype-info.c (__ctype_init): Define.
37262 * include/ctype.h (__ctype_init): Declare.
37263 (__ctype_b_loc): The variable is always initialized.
37264 (__ctype_toupper_loc): Likewise.
37265 (__ctype_tolower_loc): Likewise.
37266 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37267 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37268
7872cfb0
AS
372692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37270
b468825a
AS
37271 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37272
7872cfb0
AS
37273 * configure.in: Also look in $cxxmachine/include for C++ system
37274 headers.
37275
be13f7bf
LD
372762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37277
37278 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37279 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37280 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37281 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37282 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37283 (USE_AS_WMEMCMP): New macro.
37284 Fixing indents.
37285 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37286 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37287 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37288 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37290 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37291 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37292 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37293 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37294 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37295 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37296 (USE_AS_WMEMCMP): New macro.
37297 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37298 * sysdeps/string/test-memcmp.c: Update.
37299 Fix simple_wmemcmp.
37300 Add new tests.
37301 * wcsmbs/wmemcmp.c: Update.
37302 (WMEMCMP): New macro.
37303 Fix overflow bug.
37304
556a2007
AJ
373052011-10-12 Andreas Jaeger <aj@suse.de>
37306
37307 [BZ #13268]
37308 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37309
538faaa7
UD
373102011-10-15 Ulrich Drepper <drepper@gmail.com>
37311
ab6737ff
UD
37312 * libio/iofwide.c (do_length): Avoid warning.
37313
538faaa7
UD
37314 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37315
396a21b1
UD
373162011-10-14 Ulrich Drepper <drepper@gmail.com>
37317
cdf2901f
UD
37318 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37319
38ad40ce
UD
37320 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37321 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37322 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37323 * sysdeps/i386/i686/fpu/e_log.S: New file.
37324 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37325 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37326
396a21b1
UD
37327 * ctype/ctype.h: Add support for inlined isXXX functions when
37328 compiling C++ code.
37329
6b1f68c9
AS
373302011-10-14 Andreas Schwab <schwab@redhat.com>
37331
349290c0
AS
37332 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37333
6b1f68c9
AS
37334 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37335
f2282d42
RM
373362011-10-13 Roland McGrath <roland@hack.frob.com>
37337
37338 [BZ #13291]
37339 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37340
5298ffa8
AS
373412011-10-13 Andreas Schwab <schwab@redhat.com>
37342
714fad23
AS
37343 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37344 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37345 feraiseexcept.
37346
81dcc7fb
AS
37347 * sysdeps/x86_64/memrchr.S: Check for zero size.
37348
5298ffa8
AS
37349 * string/stratcliff.c: Add memrchr tests.
37350
951fbcec
LD
373512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37352
37353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37354 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37355 rawmemchr-sse2 rawmemchr-sse2-bsf.
37356 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37357 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37358 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37359 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37360 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37361 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37362 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37363 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37364 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37365 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37366 * string/memrchr.c (MEMRCHR): New macro.
37367
0ac5ae23
UD
373682011-10-12 Ulrich Drepper <drepper@gmail.com>
37369
37370 Add integration with gcc's -ffinite-math-only and optimize wrapper
37371 functions in libm.
37372 * Versions.def: Define GLIBC_2.15 version for libm.
37373 * math/Makefile (headers): Add bits/math-finite.h.
37374 * math/bits/math-finite.h: New file.
37375 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37376 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37377 * math/e_acoshl.c: Add __*_finite alias.
37378 * math/e_acosl.c: Likewise.
37379 * math/e_asinl.c: Likewise.
37380 * math/e_atan2l.c: Likewise.
37381 * math/e_atanhl.c: Likewise.
37382 * math/e_coshl.c: Likewise.
37383 * math/e_exp10.c: Likewise.
37384 * math/e_exp10f.c: Likewise.
37385 * math/e_exp10l.c: Likewise.
37386 * math/e_exp2l.c: Likewise.
37387 * math/e_fmodl.c: Likewise.
37388 * math/e_gammal_r.c: Likewise.
37389 * math/e_hypotl.c: Likewise.
37390 * math/e_j0l.c: Likewise.
37391 * math/e_j1l.c: Likewise.
37392 * math/e_jnl.c: Likewise.
37393 * math/e_lgammal_r.c: Likewise.
37394 * math/e_log10l.c: Likewise.
37395 * math/e_log2l.c: Likewise.
37396 * math/e_logl.c: Likewise.
37397 * math/e_powl.c: Likewise.
37398 * math/e_sinhl.c: Likewise.
37399 * math/e_sqrtl.c: Likewise.
37400 * math/e_scalb.c: Completely rewritten and optimized.
37401 * math/e_scalbf.c: Likewise.
37402 * math/e_scalbl.c: Likewise.
37403 * math/w_acos.c: Likewise.
37404 * math/w_acosf.c: Likewise.
37405 * math/w_acosl.c: Likewise.
37406 * math/w_acosh.c: Likewise.
37407 * math/w_acoshf.c: Likewise.
37408 * math/w_acoshl.c: Likewise.
37409 * math/w_asin.c: Likewise.
37410 * math/w_asinf.c: Likewise.
37411 * math/w_asinl.c: Likewise.
37412 * math/w_atan2.c: Likewise.
37413 * math/w_atan2f.c: Likewise.
37414 * math/w_atan2l.c: Likewise.
37415 * math/w_atanh.c: Likewise.
37416 * math/w_atanhf.c: Likewise.
37417 * math/w_atanhl.c: Likewise.
37418 * math/w_exp10.c: Likewise.
37419 * math/w_exp10f.c: Likewise.
37420 * math/w_exp10l.c: Likewise.
37421 * math/w_fmod.c: Likewise.
37422 * math/w_fmodf.c: Likewise.
37423 * math/w_fmodl.c: Likewise.
37424 * math/w_j0.c: Likewise.
37425 * math/w_j0f.c: Likewise.
37426 * math/w_j0l.c: Likewise.
37427 * math/w_j1.c: Likewise.
37428 * math/w_j1f.c: Likewise.
37429 * math/w_j1l.c: Likewise.
37430 * math/w_jn.c: Likewise.
37431 * math/w_jnf.c: Likewise.
37432 * math/w_log.c: Likewise.
37433 * math/w_logf.c: Likewise.
37434 * math/w_logl.c: Likewise.
37435 * math/w_log10.c: Likewise.
37436 * math/w_log10f.c: Likewise.
37437 * math/w_log10l.c: Likewise.
37438 * math/w_log2.c: Likewise.
37439 * math/w_log2f.c: Likewise.
37440 * math/w_log2l.c: Likewise.
37441 * math/w_pow.c: Likewise.
37442 * math/w_powf.c: Likewise.
37443 * math/w_powl.c: Likewise.
37444 * math/w_remainder.c: Likewise.
37445 * math/w_remainderf.c: Likewise.
37446 * math/w_remainderl.c: Likewise.
37447 * math/w_scalb.c: Likewise.
37448 * math/w_scalbf.c: Likewise.
37449 * math/w_scalbl.c: Likewise.
37450 * math/w_sqrt.c: Likewise.
37451 * math/w_sqrtf.c: Likewise.
37452 * math/w_sqrtl.c: Likewise.
37453 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37454 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37455 used.
37456 * math/math_private.h: Declare __kernel_standard_f.
37457 * math/w_cosh.c: Remove cruft and optimize a bit.
37458 * math/w_coshf.c: Likewise.
37459 * math/w_coshl.c: Likewise.
37460 * math/w_exp2.c: Likewise.
37461 * math/w_exp2f.c: Likewise.
37462 * math/w_exp2l.c: Likewise.
37463 * math/w_hypot.c: Likewise.
37464 * math/w_hypotf.c: Likewise.
37465 * math/w_hypotl.c: Likewise.
37466 * math/w_lgamma.c: Likewise.
37467 * math/w_lgamma_r.c: Likewise.
37468 * math/w_lgammaf.c: Likewise.
37469 * math/w_lgammaf_r.c: Likewise.
37470 * math/w_lgammal.c: Likewise.
37471 * math/w_lgammal_r.c: Likewise.
37472 * math/w_sinh.c: Likewise.
37473 * math/w_sinhf.c: Likewise.
37474 * math/w_sinhl.c: Likewise.
37475 * math/w_tgamma.c: Likewise.
37476 * math/w_tgammaf.c: Likewise.
37477 * math/w_tgammal.c: Likewise.
37478 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37479 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37480 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37481 Minor optimizations. Pretty printing. Remove cruft.
37482 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37483 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37484 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37485 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37486 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37487 * sysdeps/i386/fpu/e_asin.S: Likewise.
37488 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37489 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37490 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37491 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37492 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37493 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37494 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37495 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37496 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37497 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37498 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37499 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37500 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37501 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37502 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37503 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37504 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37505 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37506 * sysdeps/i386/fpu/e_log.S: Likewise.
37507 * sysdeps/i386/fpu/e_log10.S: Likewise.
37508 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37509 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37510 * sysdeps/i386/fpu/e_log2.S: Likewise.
37511 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37512 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37513 * sysdeps/i386/fpu/e_logf.S: Likewise.
37514 * sysdeps/i386/fpu/e_logl.S: Likewise.
37515 * sysdeps/i386/fpu/e_pow.S: Likewise.
37516 * sysdeps/i386/fpu/e_powf.S: Likewise.
37517 * sysdeps/i386/fpu/e_powl.S: Likewise.
37518 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37519 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37520 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37521 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37522 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37523 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37524 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37525 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37526 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37538 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37540 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37541 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37543 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37548 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37549 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37550 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37551 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37552 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37553 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37554 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37555 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37556 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37557 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37558 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37559 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37560 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37561 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37562 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37563 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37564 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37565 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37566 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37567 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37568 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37569 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37570 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37571 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37572 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37573 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37574 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37575 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37576 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37577 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37578 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37579 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37580 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37581 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37582 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37583 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37584 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37585 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37586 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37587 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37588 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37589 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37591 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37592 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37593 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37595 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37596 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37597 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37598 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37599 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37600 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37601 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37603 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37604 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37605 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37606 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37607 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37608 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37609 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37610 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37611 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37612 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37613 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37614 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37615 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37616 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37617 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37618 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37620 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37621 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37622 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37623 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37624 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37625 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37626 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37627 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37628 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37629 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37630 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37631 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37632 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37633 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37634 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37635 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37636 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37637 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37638 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37639 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37640 (__isnanf): Likewise.
37641 (__isinf_ns): Likewise.
37642 (__isinf_nsf): Likewise.
37643 (__finite): Likewise.
37644 (__finitef): Likewise.
37645 (__ieee754_sqrt): Define as macro.
37646 (__ieee754_sqrtf): Define as macro.
37647 (__ieee754_sqrtl): Define as macro.
37648 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37649 inlined copy.
37650 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37651 __FINITE_MATH_ONLY__ consistent.
37652 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37653
12cc2fcd
AS
376542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37655
a843a204
AS
37656 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37657 of rawmemchr.
37658
12cc2fcd
AS
37659 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37660
c853acd5
UD
376612011-10-09 Ulrich Drepper <drepper@gmail.com>
37662
37663 * po/ja.po: Update from translation team.
37664
c658d255
RM
376652011-10-08 Roland McGrath <roland@hack.frob.com>
37666
110946e4
RM
37667 * locale/programs/locarchive.c (prepare_address_space): New function.
37668 (create_archive, enlarge_archive, open_archive): Use it.
37669
50604220
RM
37670 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37671 inside [SHARED], where it is used.
37672
c658d255
RM
37673 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37674
37675 * nss/getent.c (netgroup_keys): Remove unused variable.
37676 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37677
6a621eb7
UD
376782011-10-08 Ulrich Drepper <drepper@gmail.com>
37679
7edb55ce
UD
37680 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37681 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37683 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37684 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37685 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37686 * math/Makefile (libm-calls): Add s_isinf_ns.
37687 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37688 * math/multc3.c: Likewise.
37689 * math/s_casin.c: Likewise.
37690 * math/s_casinf.c: Likewise.
37691 * math/s_casinl.c: Likewise.
37692 * math/s_ccos.c: Likewise.
37693 * math/s_ccosf.c: Likewise.
37694 * math/s_ccosl.c: Likewise.
37695 * math/s_ctan.c: Likewise.
37696 * math/s_ctanf.c: Likewise.
37697 * math/s_ctanh.c: Likewise.
37698 * math/s_ctanhf.c: Likewise.
37699 * math/s_ctanhl.c: Likewise.
37700 * math/s_ctanl.c: Likewise.
37701 * math/w_fmod.c: Likewise.
37702 * math/w_fmodf.c: Likewise.
37703 * math/w_fmodl.c: Likewise.
37704 * math/w_remainder.c: Likewise.
37705 * math/w_remainderf.c: Likewise.
37706 * math/w_remainderl.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37708 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37709 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37710 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37711 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37712 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37713 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37714 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37715
187da0ae
UD
37716 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37717 of the number.
37718 * stdio-common/printf_fphex.c: Likewise.
37719 * stdio-common/printf_size.c: Likewise.
37720
9277c064
UD
37721 * math/e_exp10.c: Include math_private.h using <...> not "...".
37722 * math/e_exp10f.c: Likewise.
37723 * math/e_exp10l.c: Likewise.
37724 * math/e_exp2l.c: Likewise.
37725 * math/e_j0l.c: Likewise.
37726 * math/e_j1l.c: Likewise.
37727 * math/e_jnl.c: Likewise.
37728 * math/e_lgammal_r.c: Likewise.
37729 * math/e_rem_pio2l.c: Likewise.
37730 * math/e_scalb.c: Likewise.
37731 * math/e_scalbf.c: Likewise.
37732 * math/e_scalbl.c: Likewise.
37733 * math/k_cosl.c: Likewise.
37734 * math/k_sinl.c: Likewise.
37735 * math/k_tanl.c: Likewise.
37736 * math/s_cacoshf.c: Likewise.
37737 * math/s_catan.c: Likewise.
37738 * math/s_catanf.c: Likewise.
37739 * math/s_catanh.c: Likewise.
37740 * math/s_catanhf.c: Likewise.
37741 * math/s_catanhl.c: Likewise.
37742 * math/s_catanl.c: Likewise.
37743 * math/s_ccosh.c: Likewise.
37744 * math/s_ccoshf.c: Likewise.
37745 * math/s_ccoshl.c: Likewise.
37746 * math/s_cexp.c: Likewise.
37747 * math/s_cexpf.c: Likewise.
37748 * math/s_cexpl.c: Likewise.
37749 * math/s_clog.c: Likewise.
37750 * math/s_clog10.c: Likewise.
37751 * math/s_clog10f.c: Likewise.
37752 * math/s_clog10l.c: Likewise.
37753 * math/s_clogf.c: Likewise.
37754 * math/s_clogl.c: Likewise.
37755 * math/s_csin.c: Likewise.
37756 * math/s_csinf.c: Likewise.
37757 * math/s_csinh.c: Likewise.
37758 * math/s_csinhf.c: Likewise.
37759 * math/s_csinhl.c: Likewise.
37760 * math/s_csinl.c: Likewise.
37761 * math/s_csqrt.c: Likewise.
37762 * math/s_csqrtf.c: Likewise.
37763 * math/s_csqrtl.c: Likewise.
37764 * math/s_ctan.c: Likewise.
37765 * math/s_ctanf.c: Likewise.
37766 * math/s_ctanh.c: Likewise.
37767 * math/s_ctanhf.c: Likewise.
37768 * math/s_ctanhl.c: Likewise.
37769 * math/s_ctanl.c: Likewise.
37770 * math/s_ldexp.c: Likewise.
37771 * math/s_ldexpf.c: Likewise.
37772 * math/s_ldexpl.c: Likewise.
37773 * math/s_significand.c: Likewise.
37774 * math/s_significandf.c: Likewise.
37775 * math/s_significandl.c: Likewise.
37776 * math/w_acos.c: Likewise.
37777 * math/w_acosf.c: Likewise.
37778 * math/w_acosh.c: Likewise.
37779 * math/w_acoshf.c: Likewise.
37780 * math/w_acoshl.c: Likewise.
37781 * math/w_acosl.c: Likewise.
37782 * math/w_asin.c: Likewise.
37783 * math/w_asinf.c: Likewise.
37784 * math/w_asinl.c: Likewise.
37785 * math/w_atan2.c: Likewise.
37786 * math/w_atan2f.c: Likewise.
37787 * math/w_atan2l.c: Likewise.
37788 * math/w_atanh.c: Likewise.
37789 * math/w_atanhf.c: Likewise.
37790 * math/w_atanhl.c: Likewise.
37791 * math/w_cosh.c: Likewise.
37792 * math/w_coshf.c: Likewise.
37793 * math/w_coshl.c: Likewise.
37794 * math/w_dremf.c: Likewise.
37795 * math/w_exp10.c: Likewise.
37796 * math/w_exp10f.c: Likewise.
37797 * math/w_exp10l.c: Likewise.
37798 * math/w_exp2.c: Likewise.
37799 * math/w_exp2f.c: Likewise.
37800 * math/w_fmod.c: Likewise.
37801 * math/w_fmodf.c: Likewise.
37802 * math/w_fmodl.c: Likewise.
37803 * math/w_hypot.c: Likewise.
37804 * math/w_hypotf.c: Likewise.
37805 * math/w_hypotl.c: Likewise.
37806 * math/w_j0.c: Likewise.
37807 * math/w_j0f.c: Likewise.
37808 * math/w_j0l.c: Likewise.
37809 * math/w_j1.c: Likewise.
37810 * math/w_j1f.c: Likewise.
37811 * math/w_j1l.c: Likewise.
37812 * math/w_jn.c: Likewise.
37813 * math/w_jnf.c: Likewise.
37814 * math/w_jnl.c: Likewise.
37815 * math/w_lgamma.c: Likewise.
37816 * math/w_lgamma_r.c: Likewise.
37817 * math/w_lgammaf.c: Likewise.
37818 * math/w_lgammaf_r.c: Likewise.
37819 * math/w_lgammal.c: Likewise.
37820 * math/w_lgammal_r.c: Likewise.
37821 * math/w_log.c: Likewise.
37822 * math/w_log10.c: Likewise.
37823 * math/w_log10f.c: Likewise.
37824 * math/w_log10l.c: Likewise.
37825 * math/w_log2.c: Likewise.
37826 * math/w_log2f.c: Likewise.
37827 * math/w_log2l.c: Likewise.
37828 * math/w_logf.c: Likewise.
37829 * math/w_logl.c: Likewise.
37830 * math/w_pow.c: Likewise.
37831 * math/w_powf.c: Likewise.
37832 * math/w_powl.c: Likewise.
37833 * math/w_remainder.c: Likewise.
37834 * math/w_remainderf.c: Likewise.
37835 * math/w_remainderl.c: Likewise.
37836 * math/w_scalb.c: Likewise.
37837 * math/w_scalbf.c: Likewise.
37838 * math/w_scalbl.c: Likewise.
37839 * math/w_sinh.c: Likewise.
37840 * math/w_sinhf.c: Likewise.
37841 * math/w_sinhl.c: Likewise.
37842 * math/w_sqrt.c: Likewise.
37843 * math/w_sqrtf.c: Likewise.
37844 * math/w_sqrtl.c: Likewise.
37845 * math/w_tgamma.c: Likewise.
37846 * math/w_tgammaf.c: Likewise.
37847 * math/w_tgammal.c: Likewise.
37848
6a621eb7
UD
37849 * po/ja.po: Update from translation team.
37850
bf582445
AJ
378512011-09-29 Andreas Jaeger <aj@suse.de>
37852
f9efbf3a
AJ
37853 [BZ #13179]
37854 * sunrpc/netname.c (netname2host): Fix logic.
37855
bf582445
AJ
37856 [BZ #6779]
37857 [BZ #6783]
37858 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37859 correctly.
37860 * math/w_remainder.c (__remainder): Likewise.
37861 * math/w_remainderf.c (__remainderf): Likewise.
37862 * math/libm-test.inc (remainder_test): Add test cases.
37863
48693bea
AK
378642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37865
37866 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37867 sdiv_qrnnd.
37868
42622229
LD
378692011-10-07 Ulrich Drepper <drepper@gmail.com>
37870
37871 * string/test-memcmp.c: Avoid unncessary #defines.
37872 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37873
093ecf92
LD
378742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37875
37876 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37877 Use new sse2 version for core i3 - i7 as it's faster
37878 than sse42 version.
37879 (bit_Prefer_PMINUB_for_stringop): New.
37880 * sysdeps/x86_64/rawmemchr.S: Update.
37881 Replace with faster SSE2 version.
37882 * sysdeps/x86_64/memrchr.S: New file.
37883 * sysdeps/x86_64/memchr.S: Update.
37884 Replace with faster SSE2 version.
37885
fde56e5c
MP
378862011-09-12 Marek Polacek <mpolacek@redhat.com>
37887
37888 * elf/dl-load.c (lose): Add cast to avoid warning.
37889
21fd49a9
UD
378902011-10-07 Ulrich Drepper <drepper@gmail.com>
37891
5a06e643
UD
37892 * po/ca.po: Update from translation team.
37893
684ae515
UD
37894 * inet/getnetgrent_r.c: Hook up nscd.
37895 * nscd/Makefile (routines): Add nscd_netgroup.
37896 (nscd-modules): Add netgroupcache.
37897 (CFLAGS-netgroupcache.c): Define.
37898 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37899 (cache_search): Add const to second parameter.
37900 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37901 INNETGR.
37902 (dbs): Add netgrdb entry.
37903 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37904 (verify_persistent_db): Handle netgrdb.
37905 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37906 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37907 GETFDNETGR.
37908 (netgroup_response_header): Define.
37909 (innetgroup_response_header): Define.
37910 (datahead): Add netgroup_response_header and innetgroup_response_header
37911 elements.
37912 * nscd/nscd.conf: Add entries for netgroup cache.
37913 * nscd/nscd.h (dbtype): Add netgrdb.
37914 (_PATH_NSCD_NETGROUP_DB): Define.
37915 (netgroup_iov_disabled): Declare.
37916 (xmalloc, xcalloc, xrealloc): Move declarations here.
37917 (cache_search): Adjust prototype.
37918 Add netgroup-related prototypes.
37919 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37920 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37921 (__nscd_innetgr): Declare.
37922 * nscd/selinux.c (perms): Use access_vector_t as element type and
37923 add netgroup-related initializers.
37924 * nscd/netgroupcache.c: New file.
37925 * nscd/nscd_netgroup.c: New file.
37926 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37927 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37928 For four parameters use innetgr.
37929 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37930 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37931 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37932 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37933
21fd49a9
UD
37934 * nscd/connections.c (register_traced_file): Don't register file
37935 for disabled databases.
37936
054c0457
UD
379372011-10-06 Ulrich Drepper <drepper@gmail.com>
37938
32b63198
UD
37939 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37940
054c0457
UD
37941 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37942 from tree and freeing node.
37943
64031225
JO
379442011-09-25 Jiri Olsa <jolsa@redhat.com>
37945
37946 * nss/nsswitch.c (__nss_database_lookup): Handle
37947 nss_parse_service_list out of memory case.
37948
0490345c
JO
379492011-09-15 Jiri Olsa <jolsa@redhat.com>
37950
37951 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37952 out of memory case.
37953
3a62d00d
AS
379542011-10-04 Andreas Schwab <schwab@redhat.com>
37955
37956 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37957 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37958 pass it down.
37959 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37960 elf_machine_rela, elf_machine_lazy_rel.
37961 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37962 (ELF_DYNAMIC_DO_REL): Likewise.
37963 (ELF_DYNAMIC_DO_RELA): Likewise.
37964 (ELF_DYNAMIC_RELOCATE): Likewise.
37965 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37966 to ELF_DYNAMIC_DO_REL.
37967 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37968 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37969 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37970 elf_machine_rela.
37971 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37972 skip_ifunc, don't call ifunc function if non-zero.
37973 (elf_machine_rela): Likewise.
37974 (elf_machine_lazy_rel): Likewise.
37975 (elf_machine_lazy_rela): Likewise.
37976 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37977 (elf_machine_lazy_rel): Likewise.
37978 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37979 Likewise.
37980 (elf_machine_lazy_rel): Likewise.
37981 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37982 Likewise.
37983 (elf_machine_lazy_rel): Likewise.
37984 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37985 (elf_machine_lazy_rel): Likewise.
37986 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37987 (elf_machine_lazy_rel): Likewise.
37988 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37989 (elf_machine_lazy_rel): Likewise.
37990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37991 (elf_machine_lazy_rel): Likewise.
37992 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37993 (elf_machine_lazy_rel): Likewise.
37994 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37995 (elf_machine_lazy_rel): Likewise.
37996
68577918
UD
379972011-09-28 Ulrich Drepper <drepper@gmail.com>
37998
37999 * nss/nss_files/files-init.c (_nss_files_init): Use static
38000 initialization for all the *_traced_file variables.
38001
68822d74
AS
380022011-09-28 Andreas Schwab <schwab@redhat.com>
38003
38004 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38005
2056100b
RM
380062011-09-27 Roland McGrath <roland@hack.frob.com>
38007
38008 [BZ #13226]
38009 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38010
32c76b63
AS
380112011-09-27 Andreas Schwab <schwab@redhat.com>
38012
38013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38014 Reread the line before reparsing it.
38015
bf972c9d
AS
380162011-09-26 Andreas Schwab <schwab@redhat.com>
38017
38018 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38019
e057a1b5
JM
380202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38021 Maxim Kuvyrkov <maxim@codesourcery.com>
38022 Joseph Myers <joseph@codesourcery.com>
38023
38024 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38025 if needed for __stack_chk_guard.
38026
bc7e1c36
RM
380272011-09-19 Roland McGrath <roland@hack.frob.com>
38028
ecb1482f
RM
38029 * sysdeps/posix/spawni.c (script_execute): Always define it.
38030 It will be optimized away if unused.
38031 (maybe_script_execute): New function.
38032 (__spawni): Call it.
38033
bc7e1c36
RM
38034 * Makerules: Don't include tls.make.
38035 (config-tls): Always set to thread.
38036 * tls.make.c: File removed.
38037
1c3b002b
MF
380382011-09-19 Mike Frysinger <vapier@gentoo.org>
38039
38040 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38041 * config.make.in (CPPFLAGS-config): New substituted variable.
38042
2840865d
UD
380432011-09-15 Ulrich Drepper <drepper@gmail.com>
38044
88738eb6
UD
38045 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38046
cbf645a6 38047 [BZ #13192]
2840865d
UD
38048 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38049 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38050
b402e91a
RM
380512011-09-15 Roland McGrath <roland@hack.frob.com>
38052
38053 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38054 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38056 (CALL_FAIL): Likewise.
38057 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38058 (CALL_FAIL): Macro removed.
38059 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38060
4c1a1f71
UD
380612011-09-15 Ulrich Drepper <drepper@gmail.com>
38062
38063 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38064 for __FINITE_MATH_ONLY__ == 1.
38065
edc121be
AS
380662011-09-15 Andreas Schwab <schwab@redhat.com>
38067
38068 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38069 __ieee754_sqrt instead of sqrt.
38070 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38071 __ieee754_sqrtf instead of sqrtf.
38072 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38073 __floorf instead of floorf.
38074 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38075 __floorf, __truncf instead of floorf, truncf.
38076
cd205654
UD
380772011-09-14 Ulrich Drepper <drepper@gmail.com>
38078
ee4d0315
UD
38079 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38080
cd205654
UD
38081 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38082 __extern_always_inline.
38083 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38084 32-bit.
38085
48b67d71
AS
380862011-09-14 Andreas Schwab <schwab@redhat.com>
38087
38088 * elf/rtld.c (dl_main): Also relocate in dependency order when
38089 doing symbol dependency testing.
38090
1ae12c75
AS
380912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38092
38093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38094 Always define `refsym'.
38095
995a80df
AS
380962011-09-13 Andreas Schwab <schwab@redhat.com>
38097
e529793b
AS
38098 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38099 (__FD_ELT): Renamed from __FDELT.
38100 * misc/bits/select2.h (__FD_ELT): Likewise.
38101 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38102 __FD_MASK instead of __FDELT, __FDMASK.
38103 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38104 Likewise.
38105 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38106 Likewise.
38107
52d4fef8
AS
38108 * elf/Makefile (gen-ldd): Fix pattern.
38109
995a80df
AS
38110 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38111 (init_tls): Likewise.
38112
8682f8b0
UD
381132011-09-12 Ulrich Drepper <drepper@gmail.com>
38114
38115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38116
de82006d
AS
381172011-09-12 Andreas Schwab <schwab@redhat.com>
38118
a7c8e6a1
AS
38119 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38120 `struct cmsghdr *' instead of `void *'.
38121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38122 Likewise.
38123
0f31fe77
AS
381242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38125
38126 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38127 if non-absolute.
38128 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38129 ldd_rewrite_script.
0f31fe77 38130
32b4c839
UD
381312011-09-11 Ulrich Drepper <drepper@gmail.com>
38132
83cd1420
UD
38133 * configure.in: Remove --with-tls option.
38134 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38135 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38136 out in case it is missing.
38137 * sysdeps/ia64/elf/configure.in: Likewise.
38138 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38139 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38140 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38141 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38142 * sysdeps/sh/elf/configure.in: Likewise.
38143 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38144 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38145 * sysdeps/x86_64/elf/configure.in: Likewise.
38146 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38147 * sysdeps/mach/hurd/tls.h: Likewise.
38148
633f745d
UD
38149 [BZ #13067]
38150 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38151
f318beb8
UD
38152 [BZ #13090]
38153 * configure.in: Fix use of AC_INIT.
38154
32b4c839
UD
38155 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38156
3ce1f295
UD
381572011-09-10 Ulrich Drepper <drepper@gmail.com>
38158
bb016596
UD
38159 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38160 __set_errno.
8e58439c
UD
38161 * malloc/hooks.c: Likewise.
38162
aebae053 38163 [BZ #11929]
02d46fc4
UD
38164 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38165 variables statically.
38166 (narenas): Initialize.
38167 (list_lock): Initialize.
bb016596
UD
38168 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38169 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38170 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38171 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38172 Add initializers to main_arena and mp_.
38173 (malloc_state): Remove pagesize member. Change all users to use
38174 GLRO(dl_pagesize).
38175
38176 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38177 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38178 is always initialized.
38179
22a89187
UD
38180 * malloc/malloc.c: Removed unused configurations and dead code.
38181 * malloc/arena.c: Likewise.
38182 * malloc/hooks.c: Likewise.
02d46fc4 38183 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38184
d063d164
UD
38185 * include/tls.h: Removed. USE___THREAD must always be defined.
38186 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38187 * elf/dl-libc.c: Likewise.
38188 * elf/dl-tsd.c: Likewise.
38189 * include/errno.h: Likewise.
38190 * include/netdb.h: Likewise.
38191 * include/resolv.h: Likewise.
38192 * inet/herrno-loc.c: Likewise.
38193 * inet/herrno.c: Likewise.
38194 * malloc/arena.c: Likewise.
38195 * malloc/hooks.c: Likewise.
38196 * malloc/malloc.c: Likewise.
38197 * resolv/res-state.c: Likewise.
38198 * resolv/res_libc.c: Likewise.
38199 * sysdeps/i386/dl-machine.h: Likewise.
38200 * sysdeps/ia64/dl-machine.h: Likewise.
38201 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38202 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38203 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38204 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38205 * sysdeps/sh/dl-machine.h: Likewise.
38206 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38207 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38208 * sysdeps/unix/i386/sysdep.S: Likewise.
38209 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38210 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38211 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38212 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38215 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38219 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38220 * sysdeps/x86_64/dl-machine.h: Likewise.
38221 * tls.make.c: Likewise.
38222
3ce1f295
UD
38223 * configure.in: Remove --with-__thread option. Make tests for
38224 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38225 tls_model attribute fail if no support is available. Remove
38226 USE_IN_LIBIO.
38227 * Makeconfig: Adjust for dropped configure option. All features are
38228 now mandatory.
38229 * Makerules: Likewise.
38230 * Versions.def: Likewise.
38231 * argp/argp-fmtstream.c: Likewise.
38232 * argp/argp-fmtstream.h: Likewise.
38233 * argp/argp-help.c: Likewise.
38234 * assert/assert.c: Likewise.
38235 * config.h.in: Likewise.
38236 * config.make.in: Likewise.
38237 * configure: Likewise.
38238 * configure.in: Likewise.
38239 * csu/Versions: Likewise.
38240 * csu/init.c: Likewise.
38241 * elf/tst-audit2.c: Likewise.
38242 * elf/tst-tls10.c: Likewise.
38243 * elf/tst-tls10.h: Likewise.
38244 * elf/tst-tls11.c: Likewise.
38245 * elf/tst-tls12.c: Likewise.
38246 * elf/tst-tls14.c: Likewise.
38247 * elf/tst-tlsmod11.c: Likewise.
38248 * elf/tst-tlsmod12.c: Likewise.
38249 * elf/tst-tlsmod13.c: Likewise.
38250 * elf/tst-tlsmod13a.c: Likewise.
38251 * elf/tst-tlsmod14a.c: Likewise.
38252 * elf/tst-tlsmod15b.c: Likewise.
38253 * elf/tst-tlsmod16a.c: Likewise.
38254 * elf/tst-tlsmod16b.c: Likewise.
38255 * elf/tst-tlsmod7.c: Likewise.
38256 * elf/tst-tlsmod8.c: Likewise.
38257 * elf/tst-tlsmod9.c: Likewise.
38258 * gmon/gmon.c: Likewise.
38259 * grp/fgetgrent_r.c: Likewise.
38260 * grp/putgrent.c: Likewise.
38261 * hurd/fopenport.c: Likewise.
38262 * include/libc-symbols.h: Likewise.
38263 * include/tls.h: Likewise.
38264 * intl/gettextP.h: Likewise.
38265 * intl/loadinfo.h: Likewise.
38266 * locale/global-locale.c: Likewise.
38267 * locale/localeinfo.h: Likewise.
38268 * mach/devstream.c: Likewise.
38269 * malloc/arena.c: Likewise.
38270 * malloc/set-freeres.c: Likewise.
38271 * misc/err.c: Likewise.
38272 * misc/getttyent.c: Likewise.
38273 * misc/mntent_r.c: Likewise.
38274 * posix/getopt.c: Likewise.
38275 * posix/wordexp.c: Likewise.
38276 * pwd/fgetpwent_r.c: Likewise.
38277 * resolv/Versions: Likewise.
38278 * resolv/res_hconf.c: Likewise.
38279 * shadow/fgetspent_r.c: Likewise.
38280 * shadow/putspent.c: Likewise.
38281 * stdio-common/printf_fphex.c: Likewise.
38282 * stdio-common/tmpfile.c: Likewise.
38283 * stdlib/abort.c: Likewise.
38284 * stdlib/fmtmsg.c: Likewise.
38285 * sunrpc/auth_unix.c: Likewise.
38286 * sunrpc/clnt_perr.c: Likewise.
38287 * sunrpc/clnt_tcp.c: Likewise.
38288 * sunrpc/clnt_udp.c: Likewise.
38289 * sunrpc/clnt_unix.c: Likewise.
38290 * sunrpc/openchild.c: Likewise.
38291 * sunrpc/svc_simple.c: Likewise.
38292 * sunrpc/svc_tcp.c: Likewise.
38293 * sunrpc/svc_udp.c: Likewise.
38294 * sunrpc/svc_unix.c: Likewise.
38295 * sunrpc/xdr.c: Likewise.
38296 * sunrpc/xdr_array.c: Likewise.
38297 * sunrpc/xdr_rec.c: Likewise.
38298 * sunrpc/xdr_ref.c: Likewise.
38299 * sunrpc/xdr_stdio.c: Likewise.
38300
1248c1c4
PB
383012011-09-09 Ulrich Drepper <drepper@gmail.com>
38302
38303 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38304
383052011-07-03 Andreas Jaeger <aj@suse.de>
38306
38307 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38308 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38309 regenerate with gen-libm-tests.pl.
38310
383112010-05-12 Petr Baudis <pasky@suse.cz>
38312
38313 [BZ #11589]
38314 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38315 around j0() zero points by switching to j1().
38316 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38320
f22e1074
UD
383212011-09-09 Ulrich Drepper <drepper@gmail.com>
38322
f19009c1
UD
38323 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38324 instead of 0.
38325 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38326 instead of 0.
f19009c1
UD
38327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38328 Patch in part by Pavel Roskin <proski@gnu.org>.
38329
3f8cc204
UD
38330 [BZ #13138]
38331 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38332 realloc.
38333 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38334 Free memory block if necessary.
38335
f22e1074
UD
38336 [BZ #12847]
38337 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38338 be NULL. Don't lock in this case.
38339
0a2349f9
RM
383402011-09-09 Roland McGrath <roland@hack.frob.com>
38341
38342 * elf/elf.h (ELFOSABI_GNU): New macro.
38343 (ELFOSABI_LINUX): Define to that.
38344
f3cdd467
DZ
383452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38346
38347 * string/strncat.c (strncat): Undef the symbol in case it has been
38348 defined in bits/string.h.
38349
74718d13
UD
383502011-09-09 Ulrich Drepper <drepper@gmail.com>
38351
633e9e0f
UD
38352 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38353
0a2349f9 38354 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38355 link map.
38356
f9924780
AJ
383572011-08-17 Andreas Jaeger <aj@suse.de>
38358
38359 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38360
7f5517aa
PP
383612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38362 Ian Lance Taylor <iant@google.com>
38363
38364 * math/libm-test.inc (lround_test): New testcase.
38365 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38366
762011fe
UD
383672011-09-08 Ulrich Drepper <drepper@gmail.com>
38368
92963737
UD
38369 * Makefile: Remove support for automatic cvs check-ins.
38370 * Makerules: Likewise.
38371 * config.make.in: Likewise.
38372 * configure.in: Likewise.
38373 * intl/Makefile: Likewise.
38374 * locale/Makefile: Likewise.
38375 * po/Makefile: Likewise.
38376 * posix/Makefile: Likewise.
38377 * sysdeps/gnu/Makefile: Likewise.
38378 * sysdeps/mach/hurd/Makefile: Likewise.
38379 * sysdeps/sparc/sparc32/Makefile: Likewise.
38380
b0727fd8
JS
38381 [BZ #13118]
38382 * posix/Makefile (bug-regex32-ENV): Define.
38383 Patch by John Stanley <jpsinthemix@verizon.net>.
38384
a0f33f99
UD
38385 * misc/Makefile (headers): Add bits/select2.h.
38386 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38387 * misc/bits/select2.h: New file.
38388 * include/bits/select2.h: New file.
38389 * debug/Makefile (routines): Add fdelt_chk.
38390 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38391 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38392 FD_ISSET.
38393 * debug/fdelt_chk.c: New file.
38394
762011fe
UD
38395 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38396 * wcsmbs/test-wmemcmp.c: Likewise.
38397 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38398 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38399
384002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38401
38402 * string/Makefile (strop-tests): Add memcmp.
38403 * string/test-wmemcmp.c: New file.
38404 * string/test-memcmp.c: Add wmemcmp support.
38405
7f513ec8
RM
384062011-09-08 Roland McGrath <roland@hack.frob.com>
38407
0442afb4
RM
38408 [BZ #13153]
38409 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38410 2011-07-19 change.
38411
7f513ec8
RM
38412 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38413 garbage value in a __mach_port_mod_refs call in the cases of the
38414 task-self and thread-self ports.
38415
a12b2239
ST
384162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38417
38418 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38419
610f9ab4
AS
384202011-09-08 Andreas Schwab <schwab@redhat.com>
38421
7f513ec8 38422 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38423
48882a1a
LD
384242011-09-07 Ulrich Drepper <drepper@gmail.com>
38425
b49865be
UD
38426 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38427
fdc86bc9
UD
38428 * elf/dl-libc.c (dlerror_run): Pass back error code from
38429 dl_catch_error.
38430
c966526a
UD
38431 [BZ #13123]
38432 * elf/dl-load.c (lose): Free l_origin if it is valid.
38433
48882a1a
LD
38434 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38435 names.
38436 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38437 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38438 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38439 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38440 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38441 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38442
77a2a8b4
AZ
384432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38444
38445 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38446 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38447 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38448 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38449 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38450 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38451 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38452 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38453 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38454 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38455
24f579d8
AM
384562011-08-15 Alan Modra <amodra@gmail.com>
38457
38458 [BZ #13092]
38459 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38460 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38461 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38462 ppc_mcount to static-only-routines.
38463 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38464 __mcount_internal.
38465 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38466 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38467
3d4837df
UD
384682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38469
38470 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38471 for finite and infinity parameters.
38472
22700377
WS
384732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38474
38475 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38476 and add nop instructions for throughput optimization.
38477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38478
5025581e
WS
384792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38480
38481 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38482 aligned copy for power7 with vector-scalar instructions.
38483 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38484
08a300c9
L
384852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38486
38487 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38488 AVX check.
38489
59178ef9
AS
384902011-09-07 Andreas Schwab <schwab@redhat.com>
38491
38492 [BZ #13144]
38493 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38494 last change.
38495
e38ba7ab
UD
384962011-09-07 Ulrich Drepper <drepper@gmail.com>
38497
38498 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38499 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38500 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38501 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38502 clock_gettime.
38503
d53a73ac
UD
385042011-09-06 Ulrich Drepper <drepper@gmail.com>
38505
fc8bffcc
UD
38506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38507 Forgot to demangle the pointer.
38508
ceaa0c5d
UD
38509 * sysdeps/i386/sysdep.h: Define atom_text_section.
38510 * sysdeps/x86_64/sysdep.h: Likewise.
38511 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38512 section with atom_text_section.
38513 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38514 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38515 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38516 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38517 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38518
a77d3c17
UD
38519 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38520 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38521 already be defined. Change to take two parameters and don't assign
38522 result to variable. Adjust all users.
38523 Define INTERNAL_GETTIME if not already defined.
38524 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38525 call.
38526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38527 HAVE_CLOCK_GETTIME_VSYSCALL.
38528 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38529
d53a73ac
UD
38530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38531 gettimeofday vsyscall, just use time.
38532
a8f84144
AS
385332011-09-06 Andreas Schwab <schwab@redhat.com>
38534
38535 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38536 <errno.h>.
38537
ef606249
UD
385382011-09-06 Ulrich Drepper <drepper@gmail.com>
38539
38540 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38541 syscall on x86-64.
38542 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38543 syscall.
38544 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38545 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38546 syscall if possible.
38547
6585cb60
UD
385482011-09-05 Ulrich Drepper <drepper@gmail.com>
38549
38550 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38551 e_ident. Don't pass to find_mapsXX.
38552 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38553
a5f524e4
LD
385542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38555
38556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38557 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38558 * sysdeps/x86_64/multiarch/strchr.S: Update.
38559 Check bit_slow_BSF bit.
38560 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38561 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38562 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38563
554881ef
UD
385642011-09-05 Ulrich Drepper <drepper@gmail.com>
38565
d96de963
UD
38566 [BZ #13134]
38567 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38568 before glibc 2.15.
38569 (tryshell): Define.
38570 (__spawni): Change last parameter to be flag. Test
38571 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38572 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38573 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38574 * posix/spawni.c: Likewise.
38575 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38576 * posix/spawnp.c: Likewise. Change normal version to use
38577 SPAWN_XFLAGS_USE_PATH.
38578 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38579 SPAWN_XFLAGS_TRY_SHELL.
38580
d48e5868
UD
38581 [BZ #13150]
38582 * posix/glob.h: Remove gcc 1.x support.
38583
554881ef
UD
38584 [BZ #13068]
38585 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38586
693fb948
LD
385872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38588
38589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38590 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38591 strrchr-sse2-bsf
38592 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38593 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38594 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38596 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38597 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38598
1b48c537
UD
385992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38600
49d42c37
UD
38601 * sysdeps/x86_64/wcscmp.S: New file.
38602
1b48c537
UD
38603 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38604 wcscmp-c wcscmp-sse2
38605 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38606 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38607 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38608 * wcsmbs/wcscmp.c: Allow renaming.
38609
15c95c5d
DM
386102011-09-05 David S. Miller <davem@davemloft.net>
38611
38612 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38613 stack slot, rather than the struct return pointer slot.
38614 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38615 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38617 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38618
2f0ad8f3
UD
386192011-09-05 Ulrich Drepper <drepper@gmail.com>
38620
d88ae418
UD
38621 * po/ja.po: Update from translation team.
38622
2f0ad8f3
UD
38623 [BZ #13144]
38624 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38625 kernel in 64-bit binaries.
38626
5f4318d1
DM
386272011-09-01 David S. Miller <davem@davemloft.net>
38628
38629 * elf/elf.h (HWCAP_SPARC_*): Move to..
38630 * sysdeps/sparc/sysdep.h: this new file and add new values.
38631 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38632 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38633 _DL_HWCAP_COUNT to 24.
38634 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38635 entries.
38636 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38637 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38638 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38639 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38640 instead of magic constants.
38641 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38642
3ba57516
DM
386432011-08-31 David S. Miller <davem@davemloft.net>
38644
38645 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38647 Reimplement to do errno handling inline.
38648 (SYSCALL_ERROR_HANDLER): New macro.
38649 (__SYSCALL_STRING): Do not do errno handling in asm.
38650 (__CLONE_SYSCALL_STRING): Delete.
38651 (__INTERNAL_SYSCALL_STRING): Delete.
38652 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38653 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38654 (PSEUDO): Reimplement to do errno handling inline.
38655 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38656 (SYSCALL_ERROR_HANDLER): New macro.
38657 (__SYSCALL_STRING): Do not do errno handling in asm.
38658 (__CLONE_SYSCALL_STRING): Delete.
38659 (__INTERNAL_SYSCALL_STRING): Delete.
38660 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38661 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38662 i386.
38663 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38664 (inline_syscall*): Add 'err' argument.
38665 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38666 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38667 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38668 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38669
38670 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38671 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38672
2bc17433
AS
386732011-08-30 Andreas Schwab <schwab@redhat.com>
38674
38675 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38676
fbeb5f4d
JO
386772011-08-29 Jiri Olsa <jolsa@redhat.com>
38678
38679 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38680 directive.
38681
ad69cc26
DM
386822011-08-24 David S. Miller <davem@davemloft.net>
38683
38684 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38685
39dd69df
AS
386862011-08-24 Andreas Schwab <schwab@redhat.com>
38687
38688 * elf/Makefile: Add rules to build and run unload8 test.
38689 * elf/unload8.c: New file.
38690 * elf/unload8mod1.c: New file.
38691 * elf/unload8mod1x.c: New file.
38692 * elf/unload8mod2.c: New file.
38693 * elf/unload8mod3.c: New file.
38694
38695 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38696 it wasn't used.
38697
2c0b250a
DM
386982011-08-23 David S. Miller <davem@davemloft.net>
38699
38700 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38701 subtract stack bias.
38702 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38703 %sp not %fp in calculations.
38704 (_JMPBUF_UNWINDS_ADJ): Likewise.
38705
22044b48
DM
38706 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38707 (aio_suspend): Call it to force an exception region around the
38708 AIO_MISC_WAIT() invocation.
38709
2cae4995
AS
387102011-08-23 Andreas Schwab <schwab@redhat.com>
38711
38712 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38713 backslash.
38714
873a772e
AJ
387152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38716
38717 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38718 protection macro.
38719 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38720 and <dl-machine.h>.
38721 (Elf64_FuncDesc): Remove.
38722
25ad0df1
DM
387232011-08-22 David S. Miller <davem@davemloft.net>
38724
38725 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38726 sigaltstack check, add missing cfi directives.
38727 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38728 missing cfi directives, and sigaltstack handling.
38729
e888bcbe
AS
387302011-08-16 Andreas Schwab <schwab@redhat.com>
38731
38732 [BZ #11724]
38733 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38734 object is seen twice.
38735 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38736
38737 * elf/Makefile (distribute): Add tst-initorder2.c.
38738 (tests): Add tst-initorder2.
38739 (modules-names): Add tst-initorder2a tst-initorder2b
38740 tst-initorder2c tst-initorder2d. Add rules to build them.
38741 ($(objpfx)tst-initorder2.out): New rule.
38742 * elf/tst-initorder2.c: New file.
38743 * elf/tst-initorder2.exp: New file.
38744
87162f46
AS
387452011-08-22 Andreas Schwab <schwab@redhat.com>
38746
70538b7f
AS
38747 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38748
f55ffe58
AS
38749 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38750 dependencies back to end of function.
38751
87162f46
AS
38752 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38753 $(elfobjdir)/ld.so.
38754
91b392a4
UD
387552011-08-21 Ulrich Drepper <drepper@gmail.com>
38756
38757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38758 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38759 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38760 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38761 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38762 of __vdso_gettimeofday.
38763 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38764 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38765 attribute_hidden.
38766 (_libc_vdso_platform_setup): Remove initialization of
38767 __vdso_gettimeofday and __vdso_time.
38768
5c43483f
UD
387692011-08-20 Ulrich Drepper <drepper@gmail.com>
38770
775a77e7
UD
38771 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38772 and fgetc_unlocked.
38773 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38774 getc_unlocked.
89f447ed 38775
49c74ba9
UD
38776 * elf/dl-open.c (add_to_global): Report additions to the global scope
38777 for LD_DEBUG=scopes.
38778 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38779 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38780
5c43483f
UD
38781 [BZ #13114]
38782 * stdio-common/Makefile (tests): Add bug24.
38783 * stdio-common/bug24.c: New file.
38784
a101b025
AJ
387852011-08-19 Andreas Jaeger <aj@suse.de>
38786
38787 [BZ #13114]
38788 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38789 non-existant file when using close-on-exec mode.
38790
c88f1766
UD
387912011-08-20 Ulrich Drepper <drepper@gmail.com>
38792
0276a718
UD
38793 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38794 the very first instruction.
38795
c88f1766
UD
38796 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38797 the CFI state in the end.
38798 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38799 inclusion of dl-trampoline.h.
38800 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38801
51ccffa0
AS
388022011-08-19 Andreas Schwab <schwab@redhat.com>
38803
94d7165f
AS
38804 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38805 expectations for long double.
38806
51ccffa0
AS
38807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38808 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38809
fd708658 388102011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38811
38812 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38813 artificual limit depends upon the system page size.
38814
44f0a71e
UD
388152011-08-17 Ulrich Drepper <drepper@gmail.com>
38816
38817 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38818 * resolv/Makefile: Define CFLAGS-libresolv.
38819
8de79a24
AS
388202011-08-17 Andreas Schwab <schwab@redhat.com>
38821
38822 * nss/makedb.c (compute_tables): Make variables used in nested
38823 function static.
38824
27724598
UD
388252011-08-17 Ulrich Drepper <drepper@gmail.com>
38826
c5305d88
UD
38827 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38828 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38829 if buffer was too small.
38830
27724598
UD
38831 * elf/pldd.c (main): Attach to all threads in the process.
38832 Rewrite /proc handling to use *at functions.
38833
076fe015
UD
388342011-08-16 Ulrich Drepper <drepper@gmail.com>
38835
174baab3
UD
38836 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38837 specifies first scope to show.
38838 (dl_open_worker): Update callers. Move printing scope of new
38839 object to before the relocation.
44f0a71e 38840 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38841 * sysdeps/generic/ldsodefs.h: Update declaration.
38842
076fe015
UD
38843 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38844 string for the scope number.
38845
a60df2c3
UD
388462011-08-14 Ulrich Drepper <drepper@gmail.com>
38847
38848 * nscd/servicescache.c (cache_addserv): Make sure written is always
38849 initialized.
38850
5e4287d1
RM
388512011-08-14 Roland McGrath <roland@hack.frob.com>
38852
85ae0589
RM
38853 * sysdeps/i386/i486/bits/atomic.h
38854 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38855 statement expression, so as to suppress "set but not used" warning.
38856 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38857
69f63097
RM
38858 * string/strncat.c (STRNCAT): Use prototype definition.
38859
675456ef
RM
38860 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38861 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38862 -Iprograms here.
38863 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38864 (localedef-modules): Add localedef.
38865 (locale-modules): Add locale.
38866
5e4287d1
RM
38867 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38868 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38869 to avoid a warning.
38870
9c96ff23
DM
388712011-08-14 David S. Miller <davem@davemloft.net>
38872
38873 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38874 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38875
f9ddf089
UD
388762011-08-13 Ulrich Drepper <drepper@gmail.com>
38877
44f0a71e 38878 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38879 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38880 * elf/rtld.c (dl_main): Set l_name of vDSO.
38881 Call _dl_show_scope when DL_DEBUG_SCOPES.
38882 (process_dl_debug): Recognize scopes flag and also set it for all.
38883 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38884 Declare _dl_show_scope.
38885
1dc27704
UD
38886 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38887 (do_dlopen): Pass caller_dlopen to dl_open.
38888 (__libc_dlopen_mode): Initialize caller_dlopen.
38889
f9ddf089
UD
38890 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38891 of libc. Make tolower call locale-independent. Optimize a bit by
38892 using isdigit instead of isalnum.
38893 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38894
9ac533d3
UD
388952011-08-12 Ulrich Drepper <drepper@gmail.com>
38896
38897 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38898 was a dependency or dynamically loaded.
38899
89edf2e9
UD
389002011-08-11 Ulrich Drepper <drepper@gmail.com>
38901
8e999d29
UD
38902 * intl/l10nflist.c: Allow architecture-specific pop function.
38903 * sysdeps/x86_64/l10nflist.c: New file.
38904
89edf2e9
UD
38905 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38906 classification.
38907
14d96785
AS
389082011-08-10 Andreas Schwab <schwab@redhat.com>
38909
38910 * include/dirent.h: Add libc_hidden_proto for scandirat and
38911 scandirat64. Don't declare __scandirat64.
38912 * dirent/scandirat.c: Add libc_hidden_def.
38913 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38914 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38915
6761ac04
DM
389162011-08-10 David S. Miller <davem@davemloft.net>
38917
38918 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38919 enum.
38920 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38921 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38923
c55fbd1e
UD
389242011-08-09 Ulrich Drepper <drepper@gmail.com>
38925
38926 * Versions.def [libc]: Add GLIBC_2.15.
38927 * dirent/Makefile (routines): Add scandirat and scandirat64.
38928 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38929 GLIBC_2.15.
38930 * dirent/dirent.h: Declare scandirat and scandirat64.
38931 * dirent/scandirat.c: New file.
38932 * dirent/scandirat64.c: New file.
38933 * sysdeps/wordsize-64/scandirat.c: New file.
38934 * sysdeps/wordsize-64/scandirat64.c: New file.
38935 * dirent/opendir.c: Define opendirat.
38936 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38937 using scandirat.
38938 * dirent/scandir64.c: Adjust for scandir.c change.
38939 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38940 __scandirat64, and __scandir_cancel_handler.
38941 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38942 additional parameter and use openat instead of open (outside of ld.so).
38943 Add new __opendir as wrapper around __opendirat.
38944 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38945 here without requiring old scandirat implementation.
38946
879165f2
UD
389472011-08-08 Ulrich Drepper <drepper@gmail.com>
38948
38949 * dirent/scandir.c (cancel_handler): Renamed to
38950 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38951 defined. Adjust users.
38952 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38954
cb7e923b
UD
389552011-08-04 Ulrich Drepper <drepper@gmail.com>
38956
16292edd
UD
38957 * string/test-string.h (IMPL): Use __STRING to expand name and then
38958 stringify it.
38959
cb7e923b
UD
38960 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38961 of cleanups.
38962
cff82933
LD
389632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38964
38965 * string/Makefile: Update.
38966 (strop-tests): Append strncat.
38967 * string/test-wcscmp.c: New file.
38968 New comprehensive test for wcscmp.
38969 * string/test-strcmp.c: Update.
38970 (WIDE): New define.
38971
9be9bfcc
AS
389722011-07-22 Andreas Schwab <schwab@redhat.com>
38973
38974 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38975 line.
38976
2e96f1c7
AS
389772011-07-26 Andreas Schwab <schwab@redhat.com>
38978
38979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38980 encoding to ACE if AI_IDN.
38981
85188888
JJ
389822011-08-01 Jakub Jelinek <jakub@redhat.com>
38983
38984 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38985 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38986
5fa16e9b
LD
389872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38988
38989 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38990 Fix overflow bug in strncat.
38991 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38992
38993 * string/test-strncat.c: Update.
38994 Add new tests for checking overflow bugs.
38995
389962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38997
38998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38999 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39000 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39001 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39002 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39003 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39004 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39005 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39006 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39007
39008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39009 (USE_AS_STRCAT): Define.
39010 Add strcat and strncat support.
39011 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39012
8c1a459f
AS
390132011-07-25 Andreas Schwab <schwab@redhat.com>
39014
39015 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39016 __n bigger than INT_MAX+1.
39017 (__strncmp_g): Likewise.
39018
bba33c28
UD
390192011-07-23 Ulrich Drepper <drepper@gmail.com>
39020
798be72d
UD
39021 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39022 * libio/stido.h: Likewise.
39023
8accd4dc
UD
39024 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39025 (AF_NFC): Define.
39026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39027 (AF_NFC): Define.
39028
cbff0d96
UD
39029 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39030 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39031 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39032 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39034
9191c04a
UD
39035 [BZ #13021]
39036 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39037 installed.
39038
bba33c28
UD
39039 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39040 typo.
39041 (_dl_x86_64_save_sse): Likewise.
39042
90f139dd
UD
390432011-07-22 Ulrich Drepper <drepper@gmail.com>
39044
1aae088a
UD
39045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39046 OSXSAVE.
39047 (_dl_x86_64_save_sse): Likewise.
39048
8e2045f5
UD
39049 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39050
90f139dd
UD
39051 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39052
1d002f25
AS
390532011-07-21 Andreas Schwab <schwab@redhat.com>
39054
39055 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39056 change.
39057 (_dl_x86_64_save_sse): Use correct AVX check.
39058
21137f89
UD
390592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39060
39061 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39062 bug in strncpy/strncat.
39063 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39064
a65c0b7a
UD
390652011-07-21 Ulrich Drepper <drepper@gmail.com>
39066
39067 * string/tester.c (test_strcat): Add tests for different alignments
39068 of source and destination.
39069 (test_strncat): Likewise.
39070
6986b98a
UD
390712011-07-20 Ulrich Drepper <drepper@gmail.com>
39072
90bb2039
UD
39073 [BZ #12852]
39074 * posix/glob.c (glob): Check passed in values before using them in
39075 expressions to avoid some overflows.
39076 (glob_in_dir): Likewise.
39077
5644ef54
UD
39078 [BZ #13007]
39079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39080 check for AVX enablement so that we don't crash with old kernels and
39081 new hardware.
39082 * elf/tst-audit4.c: Add same checks here.
39083 * elf/tst-audit6.c: Likewise.
39084
39085 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39086
bfc9dc9b
AS
390872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39088
39089 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39090
702e64bb
UD
390912011-07-20 Ulrich Drepper <drepper@gmail.com>
39092
39093 * po/cs.po: Update from translation team.
39094 * po/bg.po: Likewise.
39095
295e904f
MP
390962011-07-12 Marek Polacek <mpolacek@redhat.com>
39097
39098 * misc/sys/cdefs.h: Add support for const attribute.
39099 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39100 to gnu_dev_{major,minor,makedev} functions.
39101
3ff94596
MP
391022011-07-20 Marek Polacek <mpolacek@redhat.com>
39103
39104 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39105
28b59fca
AS
391062011-07-20 Andreas Schwab <schwab@redhat.com>
39107
39108 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39109 strlen results.
39110
19df733e
AK
391112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39112
39113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39114 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39115 register in order to avoid conflicts with the soft frame pointer
39116 being held in r11 when necessary.
39117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39118 (INTERNAL_VSYSCALL_NCS): Likewise.
39119
c8835729
MP
391202011-07-14 Marek Polacek <mpolacek@redhat.com>
39121
39122 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39123 * elf/dl-fini.c (_dl_fini): Adjust caller.
39124 * elf/dl-close.c (_dl_close_worker): Likewise.
39125 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39126
b902330c
MP
391272011-07-15 Marek Polacek <mpolacek@redhat.com>
39128
8991e135
MP
39129 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39130 "aux_cache->nlibs < 0".
39131
b902330c
MP
39132 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39133 in the reload-count case.
39134
99710781
LD
391352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39136
39137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39138 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39139 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39140 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39141 * sysdeps/x86_64/multiarch/strcat.S: New file.
39142 * sysdeps/x86_64/multiarch/strncat.S: New file.
39143 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39144 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39145 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39146 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39148 (USE_AS_STRCAT): Define.
39149 Add strcat and strncat support.
39150 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39151 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39152 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39153 * string/strncat.c: Update.
39154 (USE_AS_STRNCAT): Define.
39155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39156 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39157 and i7.
39158 * sysdeps/x86_64/multiarch/init-arch.h
39159 (bit_Prefer_PMINUB_for_stringop): New.
39160 (index_Prefer_PMINUB_for_stringop): Likewise.
39161 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39162 bit_Prefer_PMINUB_for_stringop.
39163
7dc6bd90
UD
391642011-07-19 Ulrich Drepper <drepper@gmail.com>
39165
39166 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39167 buffer64.
39168 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39169 of casting of buffer.
39170 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39171 buffer32 and buffer64.
39172 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39173 writes instead of casting of buffer.
39174 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39175 buffer32.
39176 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39177 casting of buffer.
39178
e0e72284
AS
391792011-07-19 Andreas Schwab <schwab@redhat.com>
39180
39181 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39182
feb1eb0b
UD
391832011-07-19 Ulrich Drepper <drepper@gmail.com>
39184
39185 * nscd/nscd.c (termination_handler): Don't do anything for a database
39186 if it has not yet been initialized.
39187
298711ff
UD
391882011-07-18 Ulrich Drepper <drepper@gmail.com>
39189
39190 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39191
391922011-07-15 Marek Polacek <mpolacek@redhat.com>
39193
39194 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39195
f9d68389
UD
391962011-07-18 Ulrich Drepper <drepper@gmail.com>
39197
39198 * po/nl.po: Update from translation team.
39199 * po/sv.po: Likewise.
39200
db290cf5
RM
392012011-07-16 Roland McGrath <roland@hack.frob.com>
39202
39203 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39204 now disallowed by GCC.
5c550700 39205
fd5e21c7
RM
39206 * configure.in (use-default-link): Default to yes if a test -shared
39207 link meets our qualifications.
39208 * configure: Regenerated.
39209
5c550700
RM
39210 * config.make.in (output-format): New variable.
39211 * configure.in: Check for ld --print-output-format support.
39212 * configure: Regenerated.
39213 * Makerules ($(common-objpfx)format.lds)
39214 [$(output-format) != unknown]: Just use $(output-format),
39215 instead of the linker-script munging.
39216
9fa2c032
RM
392172011-07-14 Roland McGrath <roland@hack.frob.com>
39218
a6928d51
RM
39219 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39220 of $(common-objpfx)shlib.lds.
39221 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39222
661607b3
RM
39223 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39224 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39225
9fa2c032
RM
39226 * configure.in (-z relro check): Adjust test code to add a large
39227 writable data section after it.
39228 * configure: Regenerated.
39229
defe9061
RM
392302011-07-11 Roland McGrath <roland@hack.frob.com>
39231
39232 * configure.in (-z relro check): Fix test code to make the variable
39233 truly const.
39234 * configure: Regenerated.
39235
319b9ad4
UD
392362011-07-11 Ulrich Drepper <drepper@gmail.com>
39237
39238 * nscd/nscd.h (struct traced_file): Define.
39239 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39240 elements. Add traced_files.
39241 (inotify_fd): Declare.
39242 (register_traced_file): Declare.
39243 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39244 (inotify_fd): Export.
39245 (resolv_conf_descr): Remove.
39246 (nscd_init): Move inotify descriptor creation to main.
39247 Don't register files for notification here.
39248 (register_traced_file): New function.
39249 (invalidate_cache): Don't use reset_res to determine whether to call
39250 res_init, go through the list of registered files.
39251 (main_loop_poll): The inotify descriptors are now stored in the
39252 structures for the traced files.
39253 (main_loop_epoll): Likewise
39254 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39255 to __nss_disable_nscd.
39256 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39257 for a database anymore. Check the records for all the registered
39258 files instead.
39259 * nss/Makefile (libnss_files-routines): Add files-init.
39260 (libnss_db-routines): Add db-init.
39261 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39262 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39263 * nss/nss_db/db-init.c: New file.
39264 * nss/nss_files/files-init.c: New file.
39265 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39266 __nss_lookup_function.
39267 (__nss_lookup_function): Call nss_load_library.
39268 (nss_load_all_libraries): New function.
39269 (__nss_disable_nscd): Take parameter with callback function for files
39270 to register. Set is_nscd. Load all the DSOs for the NSS modules
39271 used for the cached services.
39272 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39273 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39274 options for features to all the files in nscd.
39275
39276 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39277
23bee3e8
RM
392782011-07-10 Roland McGrath <roland@hack.frob.com>
39279
39280 * csu/elf-init.c (__libc_csu_init): Comment typo.
39281
46a5b7f0
UD
392822011-07-09 Ulrich Drepper <drepper@gmail.com>
39283
39284 * po/pl.po: Update from translation team.
39285 * po/ja.po: Likewise.
39286 * po/ru.po: Likewise.
39287 * po/ko.po: Likewise.
39288 * po/fr.po: Likewise.
39289
d30cf5bb
RM
392902011-07-09 Roland McGrath <roland@hack.frob.com>
39291
113ddea4
RM
39292 * configure.in (.ctors/.dtors header and trailer check):
39293 Use an empirical test on a built program.
39294 * configure: Regenerated.
39295
574920b4
RM
39296 * configure.in (-z relro check): Use an empirical test on a built DSO.
39297 Detect, but do not require, on ia64.
39298 * configure: Regenerated.
39299
d30cf5bb
RM
39300 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39301 Update tests that use readelf to use $READELF instead.
39302 * configure: Regenerated.
39303
8538fdb3
UD
393042011-07-08 Ulrich Drepper <drepper@gmail.com>
39305
39306 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39307 if the result is not used.
39308
04d08991
AJ
393092011-07-05 Andreas Jaeger <aj@suse.de>
39310
39311 [BZ#9696]
39312 * stdlib/tst-strtod.c: Add testcase.
39313
de283087
AD
393142011-07-07 Ulrich Drepper <drepper@gmail.com>
39315
4e5f31c8 39316 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39317 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39318 The latter has a higher limit. Take additional parameter to pass to
39319 the new function.
39320 (__pathconf): Pass file to __statfs_link_max.
39321 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39322 __statfs_link_max.
39323 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39324 __statfs_link_max.
39325
de283087
AD
39326 [BZ #12868]
39327 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39328 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39329 Handle Lustre.
39330 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39331 (__statfs_filesize_max): Likewise.
39332 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39333
c75fa153
AJ
393342011-07-05 Andreas Jaeger <aj@suse.de>
39335
39336 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39337
1a544854
UD
393382011-07-06 Marek Polacek <mpolacek@redhat.com>
39339
39340 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39341 `status' variable.
39342 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39343 Likewise.
39344
6f0eec67
UD
393452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39346
39347 * Makefile (strop-tests): Add strncat.
39348 * string/test-strncat.c: New file.
39349
aae30307
UD
393502011-06-30 Marek Polacek <mpolacek@redhat.com>
39351
39352 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39353
c0cfb5eb
UD
393542011-06-21 Andreas Jaeger <aj@suse.de>
39355
39356 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39357 Copy rule from iconvdata/Makefile.
39358
01636b21
UD
393592011-07-06 Ulrich Drepper <drepper@gmail.com>
39360
39361 [BZ #12922]
39362 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39363 but no long options are defined, just return 'W'.
39364
9895c8bc
UD
393652011-06-22 Marek Polacek <mpolacek@redhat.com>
39366
39367 [BZ #9696]
39368 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39369
5d4cf042
UD
393702011-07-06 Ulrich Drepper <drepper@gmail.com>
39371
39372 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39373 netgroups to read.
960e5535 39374 (innetgr): Likewise.
5d4cf042 39375
751eb97e
RM
393762011-07-05 Roland McGrath <roland@hack.frob.com>
39377
39378 * config.make.in (install_root): Default to $(DESTDIR).
39379
f15f1e45
UD
393802011-07-05 Ulrich Drepper <drepper@gmail.com>
39381
39382 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39383
4e34ac6a
RM
393842011-07-02 Roland McGrath <roland@hack.frob.com>
39385
5e9b6af4
RM
39386 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39387
84f9ea0f
RM
39388 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39389 containing directory rather than embedding absolute directory names.
39390
ea5ee9f7
RM
39391 * scripts/check-local-headers.sh: Rewritten using awk.
39392 Match by word, not by line. Print error messages for matches.
39393 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39394
1b74661a
RM
39395 * Makerules [shlib-lds-flags empty]:
39396 ($(common-objpfx)libc_pic.opts): New target.
39397 ($(common-objpfx)libc_pic.os.clean): New target.
39398 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39399
39400 * config.make.in (OBJCOPY): New variable.
39401 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39402 * configure: Regenerated.
39403
f781ef40
RM
39404 * config.make.in (use-default-link): New variable.
39405 * configure.in (use_default_link): Grok --with-default-link to set it.
39406 * configure: Regenerated.
39407 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39408 (shlib-lds, shlib-lds-flags): Define to empty.
39409
2d4fa81e
RM
39410 * Makerules (shlib-lds): New variable.
39411 (shlib-lds-flags): New variable.
39412 (build-shlib, build-moduile, build-module-asneeded): Use it.
39413 ($(common-objpfx)libc.so): Use $(shlib-lds).
39414 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39415 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39416
31fffa6b
RM
39417 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39418 DT_FLAGS/DT_FLAGS_1 with zero flags.
39419
4e34ac6a
RM
39420 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39421 linker script munging.
39422
fcfc776b
UD
394232011-07-02 Ulrich Drepper <drepper@gmail.com>
39424
39425 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39426 as 128-bit value.
39427 * crypt/sha512.c (sha512_process_block): Perform total addition using
39428 128-bit if possible.
39429 (__sha512_finish_ctx): Likewise.
39430 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39431 as 64-bit value.
39432 * crypt/sha256.c (SWAP64): Define.
39433 (sha256_process_block): Perform total addition using 64-bit if
39434 possible.
39435 (__sha256_finish_ctx): Likewise.
39436
99231d9a
UD
394372011-07-01 Ulrich Drepper <drepper@gmail.com>
39438
39439 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39440 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39441 * nscd/hstcache.c (cache_addhst): Likewise.
39442 * nscd/grpcache.c (cache_addgr): Likewise.
39443 * nscd/aicache.c (addhstaiX): Likewise
39444 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39445
445b4a53
TK
394462011-07-01 Thorsten Kukuk <kukuk@suse.de>
39447
39448 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39450 * nscd/hstcache.c (cache_addhst): Likewise.
39451 * nscd/grpcache.c (cache_addgr): Likewise.
39452 * nscd/aicache.c (addhstaiX): Likewise
39453
6d4d8e8e
AS
394542011-07-01 Andreas Schwab <schwab@redhat.com>
39455
39456 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39457 domain only when needed.
39458
89f654c5
AS
394592011-06-30 Andreas Schwab <schwab@redhat.com>
39460
39461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39462 is always restored.
39463
cf3b23ff
UD
394642011-06-29 Ulrich Drepper <drepper@gmail.com>
39465
39466 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39467 are re-adding the entry.
39468 * nscd/servicescache.c (cache_addserv): Likewise.
39469
751626f9
AJ
394702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39471
39472 * sysdeps/generic/dl-irel.h: fix protection against multiple
39473 inclusions.
39474 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39475
9113ea1f
UD
394762011-06-28 Ulrich Drepper <drepper@gmail.com>
39477
5c0b8d90
UD
39478 [BZ #12935]
39479 * malloc/memusage.sh: Fix quoting in message.
39480 * debug/xtrace.sh: Likewise.
39481
9113ea1f
UD
39482 * configure.in: Remove support for --experimental-malloc option, make
39483 it the default.
39484 * config.make.in: Likewise.
39485 * malloc/Makefile: Likewise.
39486
a4172181
AS
394872011-06-27 Andreas Schwab <schwab@redhat.com>
39488
39489 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39490 two-byte characters.
39491
78a7eee7
RM
394922011-06-27 Roland McGrath <roland@hack.frob.com>
39493
62bede13
RM
39494 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39495 AC_CACHE_CHECK invocation.
39496 * configure: Regenerated.
39497
78a7eee7
RM
39498 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39499
5ce33a62
UD
395002011-06-27 Ulrich Drepper <drepper@gmail.com>
39501
034807a9
UD
39502 [BZ #12350]
39503 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39504 bit from old_res_options.
39505
4902da17
UD
39506 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39507
5ce33a62
UD
39508 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39509 value type for setfct.
39510
c2344f56
L
395112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39512
39513 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39514 __gettimeofday instead of gettimeofday.
39515
68468076
UD
395162011-06-26 Ulrich Drepper <drepper@gmail.com>
39517
39518 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39519
acb0d739
L
395202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39521
39522 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39523
39524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39525 info.
39526
8912479f
L
395272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39528
39529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39530 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39531 strcpy-sse2-unaligned strncpy-sse2-unaligned
39532 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39533 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39534 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39535 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39536 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39537 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39538 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39539 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39540 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39541 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39542 (STRCPY): Support SSE2 and SSSE3 versions.
39543
d5495a11
UD
395442011-06-24 Ulrich Drepper <drepper@gmail.com>
39545
39546 [BZ #12874]
39547 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39548 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39549 kernels which artificially limit size of requests.
39550
0b1cbaae
L
395512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39552
39553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39554 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39555 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39556 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39557 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39558 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39559 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39560 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39561 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39562 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39563 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39564 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39565 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39566 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39567 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39569 Enable unaligned load optimization for Intel Core i3, i5 and i7
39570 processors.
39571 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39572 Define.
39573 (index_Fast_Unaligned_Load): Define.
39574 (HAS_FAST_UNALIGNED_LOAD): Define.
39575
07f494a0
MP
395762011-06-23 Marek Polacek <mpolacek@redhat.com>
39577
39578 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39579
fa3fc0fe
UD
395802011-06-22 Ulrich Drepper <drepper@gmail.com>
39581
39582 [BZ #12907]
39583 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39584 until it is clear that the information is realy needed.
39585 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39586
e12df166
AS
395872011-06-22 Andreas Schwab <schwab@redhat.com>
39588
39589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39590
852eb34d
UD
395912011-06-22 Ulrich Drepper <drepper@gmail.com>
39592
84e2a551
UD
39593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39594 /sys/devices/system/cpu/online if it is usable.
39595
852eb34d
UD
39596 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39597 reading the information from the /proc filesystem to once a second.
39598
6e502e19
UD
395992011-06-21 Andreas Jaeger <aj@suse.de>
39600
39601 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39602 NULL after inclusion of kernel headers.
39603
75d39ff2
UD
396042011-06-21 Ulrich Drepper <drepper@gmail.com>
39605
51f9aa6a
UD
39606 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39607 calls to internal_setent.
39608
c0244a9d
UD
39609 [BZ #12885]
39610 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39611 addresses using gethostbyname4_r ignore IPv4 addresses.
39612
c5e3c2ae
UD
39613 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39614 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39615
75d39ff2
UD
39616 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39617
42675c6f
DM
396182011-06-20 David S. Miller <davem@davemloft.net>
39619
39620 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39621 inclusions.
39622 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39623
39624 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39625 (elf_irel): Use it.
39626 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39627 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39628 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39629 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39630 * sysdeps/x86_64/dl-irel.h: Likewise.
39631
39632 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39633 * elf/dl-sym.c: Likewise.
39634
57912a71
UD
396352011-06-15 Ulrich Drepper <drepper@gmail.com>
39636
39637 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39638 need to dereference resplen2.
39639
ee22793d
AS
396402011-06-14 Andreas Schwab <schwab@redhat.com>
39641
39642 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39643
a9e836b0
UD
396442011-06-15 Ulrich Drepper <drepper@gmail.com>
39645
77fb9117
UD
39646 * Makeconfig: Define vardbdir and inst_vardbdir.
39647 * nss/Makefile: Add rules to install db-Makefile.
39648
40c1b22c
UD
39649 * nss/nss_db/db-XXX.c: Cleanup.
39650
9f2da732
UD
39651 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39652 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39653 GLIBC_PRIVATE.
39654 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39655 * nss/makedb.c: Implement -g option to specify that value strings
39656 are generated and should not be added to table iterated over for
39657 get*ent calls.
39658 * nss/nss_db/db-initgroups.c: New file.
39659
82e9a1f7
UD
39660 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39661 interface.
39662
c41af17e
UD
39663 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39664 (internal_getgrouplist): Adjust to name change.
39665 Update use_initgroups_entry if this is not the first call.
39666 * nss/databases.def: Add initgroups entry.
39667
a9e836b0
UD
39668 * nss/makedb.c (compute_tables): Check result of multiple hash table
39669 sizes to minimize maximum chain length.
39670
2666d441
UD
396712011-06-14 Ulrich Drepper <drepper@gmail.com>
39672
39673 * Versions.def: Add entry for libnss_db.
39674 * shlib-versions: Likewise.
39675 * nss/Makefile: Add rules to build libnss_db.
39676 * nss/Versions: Add libnss_db information. Organize libnss_files
39677 entries better.
39678 * nss/db-Makefile: Add gshadow support. Change rules for the new
39679 makedb progra. Some minor improvements to generate smaller files.
39680 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39681 here from...
39682 * nss/makedb.c: ...here.
39683 Improve database format to be smaller and require less memory at
39684 runtime.
39685 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39686 db anymore.
39687 * nss/nss_db/db-netgrp.c: Likewise.
39688 * nss/nss_db/db-open.c: Likewise.
39689 * nss/nss_files/flies-XXX.x: Adjust comments.
39690 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39691 * nss/nss_files/files-grp.c: Likewise.
39692 * nss/nss_files/files-hosts.c: Likewise.
39693 * nss/nss_files/files-network.c: Likewise.
39694 * nss/nss_files/files-proto.c: Likewise.
39695 * nss/nss_files/files-pwd.c: Likewise.
39696 * nss/nss_files/files-rpc.c: Likewise.
39697 * nss/nss_files/files-service.c: Likewise.
39698 * nss/nss_files/files-sgrp.c: Likewise.
39699 * nss/nss_files/files-spwd.c: Likewise.
39700 * nss/nss_db/db-alias.c: Removed.
39701 * nss/nss_db/dummy-db.h: Removed.
39702
9ee76b5a
UD
397032011-06-02 Ulrich Drepper <drepper@gmail.com>
39704
39705 * nss/makedb.c: Rewritten to not use database library.
39706 * nss/Makefile: Update to build new makedb program.
39707
c71ca1f8
AJ
397082011-06-14 Andreas Jaeger <aj@suse.de>
39709
39710 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39711 memset declaration.
39712
3154bfb8
UD
397132011-06-10 Andreas Schwab <schwab@redhat.com>
39714
39715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39716 tmpbuf.
39717
b350afab
RM
397182011-06-10 Roland McGrath <roland@hack.frob.com>
39719
decd4e50
RM
39720 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39721 * elf/Makefile ($(objpfx)ld.so): Likewise.
39722
5615eaf2
RM
39723 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39724 Don't list ld.so twice in dependencies.
39725
39726 * posix/bug-regex31.c: Include <stdlib.h>.
39727
39728 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39729
39730 * nis/nss_compat/compat-spwd.c
39731 (getspent_next_nss_netgr): Remove unused variable.
39732 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39733
39734 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39735 nonmembers" output to use the right array.
39736
39737 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39738
39739 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39740
39741 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39742 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39743 * catgets/gencat.c (read_input_file): Likewise.
39744 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39745
39746 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39747 variable definition inside #if's controlling its use.
39748
39749 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39750
39751 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39752
39753 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39754
39755 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39756 unreachable code.
39757
39758 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39759
b68e08db
RM
39760 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39761 * configure: Regenerated.
39762
b350afab
RM
39763 * Makerules: Revert last change.
39764 * elf/Makefile: Likewise.
39765
28368601
RM
397662011-06-09 Roland McGrath <roland@hack.frob.com>
39767
39768 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39769 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39770 (reloc-link): Likewise.
39771
11988f8f
UD
397722011-06-09 Ulrich Drepper <drepper@gmail.com>
39773
39774 * elf/Makefile: Add rules to build pldd.
39775 * elf/pldd.c: New file.
39776 * elf/pldd-xx.c: New file.
39777
e80fab37
UD
397782011-06-07 Ulrich Drepper <drepper@gmail.com>
39779
39780 * version.h: Update for 2.15 development version.
39781
9b849836
DM
397822011-06-07 David S. Miller <davem@davemloft.net>
39783
39784 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39785 ifuncs.
39786 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39787 elf_machine_lazy_rel): Likewise.
39788 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39790 elf_machine_lazy_rel): Likewise.
39791 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39792 dl_hwcap via passed in argument.
39793 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39794 Likewise.
39795
5a31b283
AK
397962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39797
39798 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39799
069e52f8
RM
398002011-06-06 Roland McGrath <roland@hack.frob.com>
39801
39802 [BZ #12849]
39803 * manual/fdl-1.1.texi: New file, verbatim from:
39804 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39805 * manual/lgpl-2.1.texi: New file, verbatim from:
39806 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39807 * manual/Makefile (licenses): New variable, list those new file names.
39808 (texis): Use it.
39809 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39810
39811 * manual/fdl.texi: File removed.
39812 * manual/lesser.texi: File removed.
39813 * manual/libc.texinfo (Copying, Documentation License):
39814 Use new @include file names, put @appendix directive before @include.
39815
f16846a5
JJ
398162011-06-04 Jakub Jelinek <jakub@redhat.com>
39817
39818 [BZ #12841]
39819 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39820 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39821 (mq_open): Add __NTH.
39822
3d29045b
L
398232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39824
39825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39826 Assume Intel Core i3/i5/i7 processor if AVX is available.
39827
8c297311
UD
398282011-05-31 Ulrich Drepper <drepper@gmail.com>
39829
39830 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39831 typo.
39832
c8fc0c91
UD
398332011-05-31 Andreas Schwab <schwab@redhat.com>
39834
39835 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39836 memory. Use alloca_account. Fix memory leak when retrying.
39837
5b27a807
UD
398382011-05-31 Ulrich Drepper <drepper@gmail.com>
39839
356f8bc6
UD
39840 * version.h (RELEASE): Bump for 2.14 release.
39841 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39842
5b27a807
UD
39843 * config.make.in (RANLIB): Remove entry.
39844
01f16ab0
UD
398452011-05-30 Ulrich Drepper <drepper@gmail.com>
39846
41fce8bd
UD
39847 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39848 (libc.pot): Work around missing support for .ksh extension in xgettext.
39849
4769ae77
UD
39850 [BZ #12684]
39851 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39852 if both request failed.
39853 (send_dg): In case of server errors clear resplen or *resplen2.
39854
6b1e7d19
UD
39855 [BZ #12454]
39856 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39857 when there are multiple maps.
39858 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39859 (_dl_fini): Remove test here.
39860
01f16ab0
UD
39861 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39862
b1ebd700
UD
398632011-05-29 Ulrich Drepper <drepper@gmail.com>
39864
7ae22829
UD
39865 [BZ #12350]
39866 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39867 bit from old_res_options.
39868 (gaih_inet): Likewise.
39869
553149f6 39870 [BZ #11099]
18a84741 39871 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39872 as signed.
39873
652ffab1
UD
39874 * resolv/res_init.c (res_setoptions): Make the code more compact.
39875
16985fd0
UD
39876 [BZ #11558]
39877 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39878 set RES_USEVC.
39879
0464f746
UD
39880 [BZ #11634]
39881 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39882
7d17596c
UD
39883 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39884
cf6bbbd7
UD
39885 [BZ #11781]
39886 * malloc/malloc.h: Declare malloc hook variables as volatile.
39887
13f1ab36
UD
39888 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39889 in last patch.
39890
b1ebd700
UD
39891 [BZ #11799]
39892 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39893 raise in the comment.
80e2212d
UD
39894 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39895 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39896 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39897
ce67228d
UD
398982011-05-28 Ulrich Drepper <drepper@gmail.com>
39899
8887a920
UD
39900 [BZ #12811]
39901 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39902 grow the buffers more if it already has to be sufficient.
39903 (build_wcs_upper_buffer): Likewise.
39904 * posix/regexec.c (check_matching): Likewise.
39905 (clean_state_log_if_needed): Likewise.
39906 (extend_buffers): Don't enlarge buffers beyond size of the input
39907 buffer.
39908 Patches mostly by Emil Wojak <emil@wojak.eu>.
39909 * posix/bug-regex32.c: New file.
39910 * posix/Makefile (tests): Add bug-regex32.
39911
4f031072
UD
39912 * locale/findlocale.c (_nl_find_locale): Return right away if
39913 _nl_explode_name failed.
39914 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39915
d0478f0c
UD
39916 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39917
de81b246
UD
39918 * debug/xtrace.sh: Unify messages.
39919 * malloc/memusage.sh: Likewise.
39920
c738465a
UD
39921 [BZ #12813]
39922 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39923 time symbol from vDSO. Substitute with vsyscall if not available.
39924 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39925 __vdso_time.
39926
f1f929d7
UD
39927 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39928 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39929 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39930 Add sendmmsg and internal_sendmmsg.
39931 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39932 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39933 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39934
ce67228d
UD
39935 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39936 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39937 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39938
e57420c6
UD
399392011-05-27 Ulrich Drepper <drepper@gmail.com>
39940
a8509ca5
UD
39941 [BZ #12813]
39942 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39943 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39944 available.
39945 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39946 __vdso_getcpu.
39947
e57420c6
UD
39948 [BZ #12814]
39949 * iconvdata/Makefile (tests): Add bug-iconv9.
39950 * iconvdata/bug-iconv9.c: New file.
39951
4d07db15
AS
399522011-05-27 Andreas Schwab <schwab@redhat.com>
39953
39954 [BZ #12814]
39955 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39956
ea486f69
JJ
399572011-05-25 Jakub Jelinek <jakub@redhat.com>
39958
39959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39960 (struct user_regs_struct): Change intcs field back to cs.
39961
6f038433
UD
399622011-05-25 Ulrich Drepper <drepper@gmail.com>
39963
39964 * po/ja.po: Update from translation team.
39965
67f86a25
UD
399662011-05-23 Ulrich Drepper <drepper@gmail.com>
39967
39968 [BZ #12795]
39969 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39970 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39971
def7fbd6
AS
399722011-05-20 Andreas Schwab <schwab@redhat.com>
39973
39974 * stdlib/longlong.h: Update from GCC.
39975
f50ef8f1
AS
399762011-05-23 Andreas Schwab <schwab@redhat.com>
39977
39978 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39979 parameter name.
39980 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39981 Add parameter name.
39982 (__sysconf): Pass it down.
39983
de7ce8f1
UD
399842011-05-22 Ulrich Drepper <drepper@gmail.com>
39985
f2962a71
UD
39986 [BZ #12671]
39987 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39988 some situations.
39989 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39990 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39991 add in in __libc_use_alloca calls. Adjust callers.
39992 (glob): Use malloc in some situations.
39993
de7ce8f1
UD
39994 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39995 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39996 pltexit.
39997
aec84f53
UD
399982011-05-21 Ulrich Drepper <drepper@gmail.com>
39999
05bb4a68
UD
40000 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40001 and CLOCK_BOOTTIME_ALARM.
40002
7ea72f99
UD
40003 [BZ #12782]
40004 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40005 is returned.
40006
7e4afad5
UD
40007 * string/_strerror.c (__strerror_r): Print negative errors as signed
40008 numbers.
40009
8e211fec
UD
40010 [BZ #12777]
40011 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40012 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40013 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40014
f7d82dc9
UD
40015 * configure.in: Fix typo in redirection and correct removal of test
40016 files in two cases.
40017
cc9e536d
UD
40018 [BZ #12788]
40019 * locale/setlocale.c (new_composite_name): Fix test to check for
40020 identical name of all categories.
40021
aec84f53
UD
40022 [BZ #12792]
40023 * libio/filedoalloc.c (local_isatty): New function.
40024 (_IO_file_doallocate): Use local_isatty.
40025 * stdio-common/perror.c (perror): In case a new stream is used
40026 forward the stream error.
40027 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40028 error flag.
40029
78e64fdc
RT
400302011-05-20 Ulrich Drepper <drepper@gmail.com>
40031
34a9094f
UD
40032 [BZ #11869]
40033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40034 alloca.
40035 * include/alloca.h (extend_alloca_account): Define.
40036
78e64fdc
RT
40037 [BZ #11857]
40038 * posix/regex.h: Fix comments with documentation of user-accessible
40039 fields after compilation and describe correct free'ing of pattern
40040 after re_compile_pattern.
40041 Patch by Reuben Thomas <rrt@sc3d.org>.
40042
457bddfc
RA
400432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40044
40045 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40046 and -mno-altivec to prevent the compiler from using Altivec and/or
40047 VSX instructions when the corresponding registers are not available.
40048
a4527b51
AS
400492011-05-19 Andreas Schwab <schwab@redhat.com>
40050
40051 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40052
ed690b2f
UD
400532011-05-19 Ulrich Drepper <drepper@gmail.com>
40054
40055 * libio/freopen.c (freopen): Use __dup2, not dup2.
40056 * libio/freopen64.c (freopen64): Likewise.
40057
8db73634
L
400582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40059
40060 [BZ #12775]
40061 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40062 * math/Makefile (tests): Add test-powl.
40063 (CFLAGS-test-powl.c): Define.
40064 * math/test-powl.c: New file.
40065
0a197a9d
L
400662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40067
40068 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40069
ee30c380
UD
400702011-05-17 Ulrich Drepper <drepper@gmail.com>
40071
40072 [BZ #11837]
40073 * iconvdata/gb18030.c: Update to GB18020-2005.
40074
6ce75379
UD
400752011-05-16 Ulrich Drepper <drepper@gmail.com>
40076
a4b89fd8
AR
40077 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40078 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40079 Patch by Aharon Robbins <arnold@skeeve.com>.
40080
ea389b12
UD
40081 [BZ #11892]
40082 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40083 on the stack.
40084
68a3f91f
UD
40085 [BZ #11895]
40086 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40087 through underflows.
40088
15cc7dd1
UD
40089 [BZ #12766]
40090 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40091 point to strings before performing equality test for error_one_per_line
40092 mode.
40093
f3799213
UD
40094 [BZ #11697]
40095 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40096
d79a9c94
UD
40097 [BZ #11820]
40098 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40099 (struct user_fpregs_struct): Avoid __uint*_t types.
40100
56e5eb46
UD
40101 [BZ #6420]
40102 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40103 symbol info. Use it instead of calling _dl_addr locally.
40104 (lock_and_info): New function.
40105 (tr_freehook): Call lock_and_info and pass symbol info as additional
40106 parameter to tr_where.
40107 (tr_mallochook): Likewise.
40108 (tr_reallochook): Likewise.
40109 (tr_memalignhook): Likewise.
40110
6ce75379
UD
40111 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40112 used and couldn't be at all thread-safe.
40113
f8a3b5bf
UD
401142011-05-15 Ulrich Drepper <drepper@gmail.com>
40115
94b7cc37
UD
40116 * libio/freopen.c (freopen): Don't close old file descriptor
40117 before the new one is opened. Instead dup the new file descriptor
40118 to the old one after the new stream is created.
40119 * libio/freopen64.c (freopen64): Likewise.
40120 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40121 * libio/fileops.c (_IO_new_file_close_it): Handle new
40122 _IO_FLAGS2_NOCLOSE flag.
40123 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40124 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40125 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40126 _IO_FLAGS2_NOCLOSE flag.
40127 * include/unistd.h: Add hidden_proto for dup3.
40128 Define __have_dup3.
40129 * io/dup3.c: Define hidden symbol.
40130 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40131
bd25564e
UD
40132 [BZ #7101]
40133 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40134 when an incomplete long option is used.
40135 * posix/tst-getopt_long1.c: New file.
40136 * posix/Makefile (tests): Add tst-getopt_long1.
40137
c84cfef4
UD
40138 [BZ #10138]
40139 * scripts/config.guess: Update from autoconf-2.68.
40140 * scripts/config.sub: Likewise.
40141
3b85df27
UD
40142 [BZ #10157]
40143 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40144 tests into ...
40145 (has_cpuclock): ...this. New function.
40146 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40147 macro here based on has_cpuclock code.
40148
15a856b1
UD
40149 [BZ #10149]
40150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40151 First byte (not low byte) is now always NUL.
40152 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40153
05f399e6
UD
40154 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40155 Use non-cancelable interfaces.
40156
10a52685 40157 [BZ #9809]
94ecc67d
UD
40158 * locale/iso-639.def: Add entry for Sorani.
40159
f8a3b5bf
UD
40160 [BZ #11901]
40161 * include/stdlib.h: Move include protection to the right place.
40162 Define abort_msg_s. Declare __abort_msg with it.
40163 * stdlib/abort.c (__abort_msg): Adjust type.
40164 * assert/assert.c (__assert_fail_base): New function. Majority
40165 of code from __assert_fail. Allocate memory for __abort_msg with
40166 mmap.
40167 (__assert_fail): Now call __assert_fail_base.
40168 * assert/assert-perr.c: Remove bulk of implementation. Use
40169 __assert_fail_base.
40170 * include/assert.hL Declare __assert_fail_base.
40171 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40172 mmap.
40173 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40174
1af4e298
UD
401752011-05-14 Ulrich Drepper <drepper@gmail.com>
40176
f8a3b5bf 40177 [BZ #11952]
d26dfc60
MG
40178 [BZ #12453]
40179 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40180 until all modules are registered in the DTV.
40181 * elf/Makefile: Add rules to build and run tst-tls19.
40182 * elf/tst-tls19.c: New file.
40183 * elf/tst-tls19mod1.c: New file.
40184 * elf/tst-tls19mod2.c: New file.
40185 * elf/tst-tls19mod3.c: New file.
40186 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40187
2fc54d6f
UD
40188 [BZ #12083]
40189 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40190 correctly.
40191
98d76b46
UD
40192 [BZ #12601]
40193 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40194 two-byte sequence errors.
40195 * iconvdata/Makefile (tests): Add bug-iconv8.
40196 * iconvdata/bug-iconv8.c: New file.
40197
da3c19ef
UD
40198 [BZ #12626]
40199 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40200 buf2 definition.
40201
ca408c15
UD
40202 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40203
d6f67f7d
UD
40204 [BZ #12432]
40205 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40206 (dummy_getcfa): New function.
40207 (init): Get _Unwind_GetCFA address, use dummy if not found.
40208 (backtrace_helper): In recursion check, also check whether CFA changes.
40209 (__backtrace): Completely initialize arg.
40210
1af4e298 40211 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40212 storing incomplete byte sequence in state object. Avoid testing for
40213 guaranteed too small input if we know there is enough data available.
1af4e298 40214
da62f81b
AS
402152011-05-11 Andreas Schwab <schwab@redhat.com>
40216
40217 * Makeconfig (+link-pie): Indent.
40218 * Rules (binaries-pie): Define if $(have-fpie) and
40219 $(build-shared).
40220 (binaries-shared): Also filter out $(binaries-pie).
40221 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40222 * nscd/Makefile (others-pie): Add nscd.
40223 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40224 ($(objpfx)nscd): Remove command override.
40225 * login/Makefile (others-pie): Add pt_chown.
40226 ($(objpfx)pt_chown): Remove command override.
40227 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40228 remove command overrides.
40229
fcabc0f8
UD
402302011-05-13 Ulrich Drepper <drepper@gmail.com>
40231
20030ae6
UD
40232 * libio/tst_putwc.c: Fix error messages.
40233
fcabc0f8
UD
40234 [BZ #12724]
40235 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40236 currently writing and seek to current position when not.
40237 * libio/Makefile (tests): Add bug-fclose1.
40238 * libio/bug-fclose1.c: New file.
40239
320a5dc0
PB
402402011-05-12 Ulrich Drepper <drepper@gmail.com>
40241
40242 [BZ #12511]
40243 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40244 don't set DF_1_NODELETE here.
40245 (do_lookup_x): When entering new entry test for copy relocation
40246 and if necessary set DF_1_NODELETE flag.
40247 * elf/tst-unique4.cc: New file.
40248 * elf/tst-unique4.h: New file.
40249 * elf/tst-unique4lib.cc: New file.
40250 * elf/Makefile: Add rules to build and run tst-unique4.
40251 Patch by Piotr Bury <pbury@goahead.com>.
40252
22836f52
UD
402532011-05-11 Ulrich Drepper <drepper@gmail.com>
40254
f574184a
UD
40255 [BZ #12052]
40256 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40257
e1fb097f
UD
40258 [BZ #12625]
40259 * misc/mntent_r.c (addmntent): Flush the stream after the output
40260
22836f52
UD
40261 [BZ #12393]
40262 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40263 (is_trusted_path_normalize): Skip initial colon. Append slash
40264 to empty buffer. Duplicate is_trusted_path code but allow
40265 constructed patch to be prefix.
40266 (is_dst): Allow $ORIGIN followed by /.
40267 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40268 Correct testing of result of is_trusted_path_normalize
40269 (decompose_rpath): Fix warning.
40270
7b3b0b2a
UD
402712011-05-10 Ulrich Drepper <drepper@gmail.com>
40272
40273 [BZ #11257]
40274 * grp/initgroups.c (internal_getgrouplist): When we found the service
40275 list through the initgroups entry in nsswitch.conf do not always
40276 continue on a successful lookup. Don't always use the
eac80ce2 40277 __nss_group_database value if it is set.
7b3b0b2a
UD
40278 * nss/nsswitch.conf (initgroups): Change action for successful db
40279 lookup to continue for compatibility.
40280
2a81eaa5
UD
402812011-05-09 Ulrich Drepper <drepper@gmail.com>
40282
be97a69e
UD
40283 [BZ #11532]
40284 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40285 and CP774 modules.
40286 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40287 and CP774 modules.
40288 * iconvdata/tst-tables.sh: Likewise.
40289 * iconvdata/cp770.c: New file.
40290 * iconvdata/cp771.c: New file.
40291 * iconvdata/cp772.c: New file.
40292 * iconvdata/cp773.c: New file.
40293 * iconvdata/cp774.c: New file.
40294 * iconvdata/testdata/CP770: New file.
40295 * iconvdata/testdata/CP770..UTF8: New file.
40296 * iconvdata/testdata/CP771: New file.
40297 * iconvdata/testdata/CP771..UTF8: New file.
40298 * iconvdata/testdata/CP772: New file.
40299 * iconvdata/testdata/CP772..UTF8: New file.
40300 * iconvdata/testdata/CP773: New file.
40301 * iconvdata/testdata/CP773..UTF8: New file.
40302 * iconvdata/testdata/CP774: New file.
40303 * iconvdata/testdata/CP774..UTF8: New file.
40304
40305 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40306 END CHARMAP line.
40307 * iconvdata/gen-8bit-gap.sh: Likewise.
40308 * iconvdata/gen-8bit.sh: Likewise.
40309
c1e9e399
UD
40310 * locale/iso-639.def: Add ary entry.
40311
24c55fb3 40312 [BZ #11258]
96b4b1b0
UD
40313 * locale/C-translit.h.in: Add U20A1 transliteration.
40314
bdc2f971
KB
40315 [BZ #12178]
40316 * locale/iso-639.def: Add wae entry.
40317 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40318
2952b117
UD
40319 [BZ #12545]
40320 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40321 for n.
40322
2a81eaa5
UD
40323 [BZ #12711]
40324 * locale/C-translit.h.in: Add entry for U20B9.
40325 Patch by pravin.d.s@gmail.com.
40326
28377d1b
UD
403272011-05-08 Ulrich Drepper <drepper@gmail.com>
40328
7fb90fb8
UD
40329 [BZ #12713]
40330 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40331 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40332 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40333 in rtld. Use *stat64.
7fb90fb8 40334 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40335 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40336 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40337 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40338 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40339 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40340 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40341 __fstatat64 macros.
7fb90fb8
UD
40342 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40343 * dirent/rewinddir.c: Add libc_hidden_def.
40344 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40345 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40346
28377d1b
UD
40347 * include/dirent.h (__alloc_dir): Add flags parameter.
40348 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40349 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40350 __alloc_dir.
40351 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40352 from fdopendir if O_CLOEXEC is already set.
40353
66bdbaa4
AM
403542011-03-15 Alan Modra <amodra@gmail.com>
40355
40356 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40357 l_tls_firstbyte_offset non-zero. Save padding offset in
40358 l_tls_firstbyte_offset for later use.
40359 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40360 freeing static tls block.
40361
95721191
JN
403622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40363
40364 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40365 where #ifdef was intended. The intent is to prevent ARG_MAX from
40366 being defined by the kernel headers.
40367
f87dfb1f
UD
403682011-05-07 Ulrich Drepper <drepper@gmail.com>
40369
40370 [BZ #12734]
40371 * resolv/resolv.h: Define RES_NOTLDQUERY.
40372 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40373 no-tld-query and set RES_NOTLDQUERY.
40374 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40375 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40376 modern BIND to search name as TLD unless forbidden.
40377
47c3cd7a
UD
403782011-05-07 Petr Baudis <pasky@suse.cz>
40379 Ulrich Drepper <drepper@gmail.com>
40380
40381 [BZ #12393]
40382 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40383 (is_trusted_path): ...to here.
c1e9ea35 40384 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40385 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40386 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40387
8a35c912
PP
403882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40389
40390 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40391 __BEGIN/__END_DECLS.
40392
acd41f47
UD
403932011-05-06 Ulrich Drepper <drepper@gmail.com>
40394
40395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40396 NSS_STATUS_NOTFOUND if no record was found.
40397
597df647
AS
403982011-05-05 Andreas Schwab <schwab@redhat.com>
40399
40400 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40401 (headers-not-in-tirpc): Remove rpc/netdb.h
40402 * resolv/netdb.h: Revert last change.
40403
b9af1301
PP
404042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40405
40406 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40407 circular dependency between libgcc.a and libc.a.
40408
4e34d5f5
AS
404092011-05-05 Andreas Schwab <schwab@redhat.com>
40410
40411 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40412 * nis/Makefile: Don't install rpcsvc/*.
40413 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40414 instead of <rpc/types.h>.
40415 (MAXHOSTNAMELEN): Define.
40416
00ee369c
AS
404172011-05-03 Andreas Schwab <schwab@redhat.com>
40418
40419 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40420
0b592a30
MB
404212011-04-28 Maciej Babinski <mbabinski@google.com>
40422
40423 [BZ #12714]
40424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40425 gethostbyname4_r when IPv6 results are possible.
40426
6e04cbbe
UD
404272011-05-02 Ulrich Drepper <drepper@gmail.com>
40428
40429 [BZ #12723]
40430 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40431 _PC_PIPE_BUF handling.
40432
e4ecafe0
BH
404332011-04-30 Bruno Haible <bruno@clisp.org>
40434
40435 [BZ #12717]
40436 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40437 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40438 to 'int'.
40439 * inet/getnameinfo.c (getnameinfo): Likewise.
40440
125ee683
UD
404412011-04-29 Ulrich Drepper <drepper@gmail.com>
40442
40443 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40444 to groups setting in database lookup.
40445 * nss/nsswitch.conf: Add initgroups entry.
40446
b722481a
EB
404472011-04-22 Ulrich Drepper <drepper@gmail.com>
40448
40449 [BZ #12685]
40450 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40451 mode string.
40452 Patch by Eric Blake <eblake@redhat.com>.
40453
4df46dbd
L
404542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40455
40456 * sunrpc/Makefile (need-export-routines): Add svc_run.
40457 (routines): Remove svc_run.
40458 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40459 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40460 * sunrpc/svc_run.c (svc_run): Likewise.
40461 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40462
e84142d2
UD
404632011-04-21 Ulrich Drepper <drepper@gmail.com>
40464
40465 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40466 problem in reallocation in last patch.
40467
877175d8
UD
404682011-04-20 Ulrich Drepper <drepper@gmail.com>
40469
40470 * sunrpc/Makefile: Move inclusion of Rules.
40471
ab8eed78
UD
404722011-04-19 Ulrich Drepper <drepper@gmail.com>
40473
40474 * nss/nss_files/files-initgroups.c: New file.
40475 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40476 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40477 _nss_files_initgroups_dyn.
40478
e3d8f584
RS
404792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40480
40481 * elf/elf.h (R_ARM_IRELATIVE): Define.
40482
af190f45
UD
404832011-04-19 Ulrich Drepper <drepper@gmail.com>
40484
40485 * po/ru.po: Update from translation team.
40486
53cf59ef
UD
404872011-04-17 Ulrich Drepper <drepper@gmail.com>
40488
40489 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40490 dependencies.
40491
4c559bcd
MF
404922011-02-06 Mike Frysinger <vapier@gentoo.org>
40493
40494 [BZ #12653]
40495 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40496 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40499 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40500
4420675c
AS
405012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40502
40503 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40504 differing bytes.
40505 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40508
75ea32ab
UD
405092011-04-17 Ulrich Drepper <drepper@gmail.com>
40510
40511 [BZ #12420]
40512 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40513 storing it.
40514 * stdlib/bug-getcontext.c: New file.
40515 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40516
27390476
AK
405172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40518
40519 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40520 instructions into .machine "z9-109".
40521 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40522 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40523
10442705
AK
405242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40525
40526 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40527 between environment variables and auxiliary vector.
40528
7b57bfe5
UD
405292011-04-16 Ulrich Drepper <drepper@gmail.com>
40530
40531 * Makefile: Add rules to build linkobj/libc.so.
40532 * include/libc-symbols.h: Define libc_hidden_nolink.
40533 * include/rpc/auth.h: Mark functions which are to be hidden.
40534 * include/rpc/auth_des.h: Likewise.
40535 * include/rpc/auth_unix.h: Likewise.
40536 * include/rpc/clnt.h: Likewise.
40537 * include/rpc/des_crypt.h: Likewise.
40538 * include/rpc/key_prot.h: Likewise.
40539 * include/rpc/pmap_clnt.h: Likewise.
40540 * include/rpc/pmap_prot.h: Likewise.
40541 * include/rpc/pmap_rmt.h: Likewise.
40542 * include/rpc/rpc_msg.h: Likewise.
40543 * include/rpc/svc.h: Likewise.
40544 * include/rpc/svc_auth.h: Likewise.
40545 * include/rpc/xdr.h: Likewise.
40546 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40547 * nss/Makefile: Likewise.
40548 * sunrpc/Makefile: Don't install headers. Build library with normal
40549 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40550 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40551 for the compat linking library. Remove use of INTDEF/INTUSE.
40552 * sunrpc/auth_none.c: Likewise.
40553 * sunrpc/auth_unix.c: Likewise.
40554 * sunrpc/authdes_prot.c: Likewise.
40555 * sunrpc/authuxprot.c: Likewise.
40556 * sunrpc/clnt_gen.c: Likewise.
40557 * sunrpc/clnt_perr.c: Likewise.
40558 * sunrpc/clnt_raw.c: Likewise.
40559 * sunrpc/clnt_simp.c: Likewise.
40560 * sunrpc/clnt_tcp.c: Likewise.
40561 * sunrpc/clnt_udp.c: Likewise.
40562 * sunrpc/clnt_unix.c: Likewise.
40563 * sunrpc/des_crypt.c: Likewise.
40564 * sunrpc/des_soft.c: Likewise.
40565 * sunrpc/get_myaddr.c: Likewise.
40566 * sunrpc/key_call.c: Likewise.
40567 * sunrpc/key_prot.c: Likewise.
40568 * sunrpc/netname.c: Likewise.
40569 * sunrpc/pm_getmaps.c: Likewise.
40570 * sunrpc/pm_getport.c: Likewise.
40571 * sunrpc/pmap_clnt.c: Likewise.
40572 * sunrpc/pmap_prot.c: Likewise.
40573 * sunrpc/pmap_prot2.c: Likewise.
40574 * sunrpc/pmap_rmt.c: Likewise.
40575 * sunrpc/publickey.c: Likewise.
40576 * sunrpc/rpc_cmsg.c: Likewise.
40577 * sunrpc/rpc_common.c: Likewise.
40578 * sunrpc/rpc_dtable.c: Likewise.
40579 * sunrpc/rpc_prot.c: Likewise.
40580 * sunrpc/rpc_thread.c: Likewise.
40581 * sunrpc/rtime.c: Likewise.
40582 * sunrpc/svc.c: Likewise.
40583 * sunrpc/svc_auth.c: Likewise.
40584 * sunrpc/svc_authux.c: Likewise.
40585 * sunrpc/svc_raw.c: Likewise.
40586 * sunrpc/svc_run.c: Likewise.
40587 * sunrpc/svc_simple.c: Likewise.
40588 * sunrpc/svc_tcp.c: Likewise.
40589 * sunrpc/svc_udp.c: Likewise.
40590 * sunrpc/svc_unix.c: Likewise.
40591 * sunrpc/svcauth_des.c: Likewise.
40592 * sunrpc/xcrypt.c: Likewise.
40593 * sunrpc/xdr.c: Likewise.
40594 * sunrpc/xdr_array.c: Likewise.
40595 * sunrpc/xdr_float.c: Likewise.
40596 * sunrpc/xdr_intXX_t.c: Likewise.
40597 * sunrpc/xdr_mem.c: Likewise.
40598 * sunrpc/xdr_rec.c: Likewise.
40599 * sunrpc/xdr_ref.c: Likewise.
40600 * sunrpc/xdr_sizeof.c: Likewise.
40601 * sunrpc/xdr_stdio.c: Likewise.
40602
e6c61494
UD
406032011-04-10 Ulrich Drepper <drepper@gmail.com>
40604
40605 [BZ #12650]
40606 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40607 * sysdeps/ia64/dl-tls.h: Likewise.
40608 * sysdeps/powerpc/dl-tls.h: Likewise.
40609 * sysdeps/s390/dl-tls.h: Likewise.
40610 * sysdeps/sh/dl-tls.h: Likewise.
40611 * sysdeps/sparc/dl-tls.h: Likewise.
40612 * sysdeps/x86_64/dl-tls.h: Likewise.
40613 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40614
34fe483e
AS
406152011-03-14 Andreas Schwab <schwab@redhat.com>
40616
40617 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40618 rpath element also skip the following colon.
40619 (expand_dynamic_string_token): Add is_path parameter and pass
40620 down to DL_DST_REQUIRED and _dl_dst_substitute.
40621 (decompose_rpath): Call expand_dynamic_string_token with
40622 non-zero is_path. Ignore empty rpaths.
40623 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40624 with zero is_path.
40625
f12a32e6
AS
406262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40627
40628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40629 Make cancelable.
40630
38a7d692
UD
406312011-04-09 Ulrich Drepper <drepper@gmail.com>
40632
40633 [BZ #12655]
40634 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40635 Patch by Filipe David Manana <fdmanana@apache.org>.
40636
e451d22b
AS
406372011-04-07 Andreas Schwab <schwab@redhat.com>
40638
40639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40640 Maintain aligned stack.
40641 (CHECK_RSP): Remove unused macro.
40642
dedc7c7b
UD
406432011-04-03 Ulrich Drepper <drepper@gmail.com>
40644
40645 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40646 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40647
94521213
UD
406482011-04-02 Ulrich Drepper <drepper@gmail.com>
40649
40650 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40651
8cb700c0 40652 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40653
0354e355
L
406542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40655
40656 [BZ #12518]
40657 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40658 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40659 * sysdeps/x86_64/memmove.c: New file.
40660 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40661 (memcpy): Renamed to ...
40662 (__new_memcpy): This.
40663 (memcpy): Provide GLIBC_2_14 memcpy.
40664 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40665 (memcpy): Provide GLIBC_2_2_5 memcpy.
40666
8593482f
UD
406672011-04-01 Ulrich Drepper <drepper@gmail.com>
40668
40669 [BZ #12631]
40670 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40671
81a5726b
AS
406722011-03-30 Andreas Schwab <schwab@redhat.com>
40673
40674 * misc/syncfs.c: New file.
40675 * misc/Makefile (routines): Add syncfs.
40676 * posix/unistd.h: Declare syncfs.
40677 * sysdeps/unix/syscalls.list: Add syncfs.
40678
00e5419f
AS
406792011-04-01 Andreas Schwab <schwab@redhat.com>
40680
40681 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40682 open_by_handle_at.
40683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40684 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40686 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40688 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40690
748876bf
UD
406912011-04-01 Ulrich Drepper <drepper@gmail.com>
40692
658e451d
UD
40693 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40694 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40695 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40699 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40700
748876bf
UD
40701 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40702 sync_file_range.c with -fexceptions.
40703 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40704 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40705 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40706 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40707 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40708 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40710 sync_file_range as cancellation point
40711 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40712 now a wrapper around __call_sync_file_range with cancellation handling.
40713 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40714 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40715 function name to __call_sync_file_range.
40716 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40717 Add call_sync_file_range.
748876bf 40718
6e63d5e1
AS
407192011-04-01 Andreas Schwab <schwab@redhat.com>
40720
40721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40722 bits/timex.h.
6e63d5e1 40723
46998f74
UD
407242011-04-01 Ulrich Drepper <drepper@gmail.com>
40725
4c1423ed
UD
40726 * iconv/iconv.h: Fix typo in comment.
40727 * io/fcntl.h: Likewise.
40728 * libio/stdio.h: Likewise.
40729 * posix/spawn.h: Likewise.
40730 * posix/unistd.h: Likewise.
40731 * stdlib/stdlib.h: Likewise.
40732 * time/time.h: Likewise.
40733 * wcsmbs/wchar.h: Likewise.
40734
158648c0
UD
40735 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40736 open_by_handle): Add.
40737 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40738 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40739 Augment a few comments.
40740 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40744 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40745 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40746 open_by_handle.
40747
46998f74
UD
40748 * io/fcntl.h (AT_EMPTY_PATH): Define.
40749
83fe108b
UD
407502011-03-30 Ulrich Drepper <drepper@gmail.com>
40751
40752 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40753 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40754 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40755 to...
40756 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40757 * Versions.def: Add GLIBC_2.14.
40758 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40759 Export.
83fe108b 40760
bb242059
UD
407612011-03-22 Ulrich Drepper <drepper@gmail.com>
40762
40763 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40764 round counter.
40765 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40766
c97a1282
L
407672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40768
40769 [BZ #12597]
40770 * string/test-strncmp.c (do_page_test): New function.
40771 (check2): Likewise.
40772 (test_main): Call check2.
40773 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40774
2a115601
UD
407752011-03-20 Ulrich Drepper <drepper@gmail.com>
40776
40777 [BZ #12587]
40778 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40779 Handle cache information in CPU leaf 4.
40780 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40781
8126d904
UD
407822011-03-18 Ulrich Drepper <drepper@gmail.com>
40783
042c49c6 40784 [BZ #12583]
8126d904
UD
40785 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40786 character representation.
40787 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40788
ccfe366e
RA
407892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40790
40791 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40792 END(__isnan) to END(__isnanf) to match function entry point/label
40793 EALIGN(__isnanf,...).
40794
c6e13027
JJ
407952011-03-10 Jakub Jelinek <jakub@redhat.com>
40796
40797 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40798
33f85a3f
UD
407992011-03-10 Ulrich Drepper <drepper@gmail.com>
40800
028478fa
UD
40801 [BZ #12510]
40802 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40803 copy from the symbol referenced in the relocation to initialize the
40804 used variable.
40805 Patch by Piotr Bury <pbury@goahead.com>.
40806 * elf/Makefile: Add rules to build and tst-unique3.
40807 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40808 * elf/tst-unique3.cc: New file.
40809 * elf/tst-unique3.h: New file.
40810 * elf/tst-unique3lib.cc: New file.
40811 * elf/tst-unique3lib2.cc: New file.
40812
33f85a3f
UD
40813 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40814
03592fc7
MF
408152011-03-10 Mike Frysinger <vapier@gentoo.org>
40816
40817 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40818 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40819 to _start.
03592fc7 40820
6a5ee102
UD
408212011-03-06 Ulrich Drepper <drepper@gmail.com>
40822
40823 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40824 to-be-loaded object along a path to loader is ld.so.
40825
7e4ba49c
HJ
408262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40827 Ulrich Drepper <drepper@gmail.com>
40828
40829 * sysdeps/x86_64/memset.S: After aligning destination, code
40830 branches to different locations depending on the value of
40831 misalignment, when multiarch is enabled. Fix this.
40832
408332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40834
40835 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40836 Set _x86_64_preferred_memory_instruction for AMD processsors.
40837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40838 Set bit_Prefer_SSE_for_memop for AMD processors.
40839
13a804de
UD
408402011-03-04 Ulrich Drepper <drepper@gmail.com>
40841
40842 * libio/fmemopen.c (fmemopen): Optimize a bit.
40843
9d25c392
AS
408442011-03-03 Andreas Schwab <schwab@redhat.com>
40845
40846 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40847
a5543c6a
RM
408482011-03-03 Roland McGrath <roland@redhat.com>
40849
40850 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40851
012d35f7
DM
408522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40853
7e4ba49c 40854 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40855 __bzero_ultra1 instead of __memset_ultra1.
40856
4bff6e01
AS
408572011-02-23 Andreas Schwab <schwab@redhat.com>
40858 Ulrich Drepper <drepper@gmail.com>
40859
40860 [BZ #12509]
40861 * include/link.h (struct link_map): Add l_orig_initfini.
40862 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40863 returning unsuccessfully.
40864 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40865 close of a file loaded at startup, restore the original l_initfini
40866 list.
40867 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40868 list, store the pointer.
40869 * elf/Makefile ($(objpfx)noload-mem): New rule.
40870 (noload-ENV): Define.
40871 (tests): Add $(objpfx)noload-mem.
40872 * elf/noload.c: Include <memcheck.h>.
40873 (main): Call mtrace. Close all opened handles.
40874
f2092faf
AS
408752011-02-17 Andreas Schwab <schwab@redhat.com>
40876
40877 [BZ #12454]
40878 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40879 dependencies are missing.
40880
6c8a2e88
ST
408812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40882
f2092faf 40883 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40884 Hurd needs munmap.
40885 * sysdeps/mach/hurd/ifreq.h: New file.
40886
84a42118
PB
408872011-01-27 Petr Baudis <pasky@suse.cz>
40888 Ulrich Drepper <drepper@gmail.com>
40889
071f805e 40890 [BZ 12445]#
84a42118
PB
40891 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40892 to extend_alloca().
40893 * stdio-common/bug23.c: New file.
40894 * stdio-common/Makefile (tests): Add bug23.
40895
e23fe25b
AS
408962010-09-28 Andreas Schwab <schwab@redhat.com>
40897 Ulrich Drepper <drepper@gmail.com>
40898
40899 [BZ #12489]
40900 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40901 before performing relro protection. At old place add assertion
40902 to make sure nothing changed.
40903
d3f02e10
NS
409042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40905 Glauber de Oliveira Costa <glommer@gmail.com>
40906
40907 * elf/elf.h: Add new ARM TLS relocs.
40908
d55fd7a5
RA
409092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40910
40911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40912 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40913 cast from r3.
40914 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40915 'tests' variable.
40916 * sysdeps/wordsize-64/tst-writev.c: New file.
40917
2206397e
RA
409182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40919
40920 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40921 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40922 insns in _dl_start to prevent a TOC reference before relocs are
40923 resolved.
40924
e9433893
UD
409252011-02-15 Ulrich Drepper <drepper@gmail.com>
40926
40927 [BZ #12469]
40928 * Makeconfig: Remove RANLIB definition.
40929 * Makerules: Don't use RANLIB.
40930 * aclocal.m4: Remove ranlib test.
40931 * configure.in: No need to check for ranlib.
40932 * elf/rtld-Rules: Don't use RANLIB.
40933
f75286c6
ST
409342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40935
8e31c82d
ST
40936 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40937 protection macro.
40938 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40939 inclusion protection macro.
40940
f75286c6
ST
40941 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40942 SIGRTMIN and SIGRTMAX and print information in that case only when
40943 SIGRTMIN is defined.
40944
c1d0e639
JJ
409452011-02-11 Jakub Jelinek <jakub@redhat.com>
40946
40947 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40948 arginfo fn returning -1.
40949
40950 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40951 and thousands string is zero terminated.
40952
edf9294e
AS
409532011-02-03 Andreas Schwab <schwab@redhat.com>
40954
40955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40956 sysdeps/unix/sysv/linux/bits/socket.h.
40957
2b7e92df
ST
409582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40959
edf9294e
AS
40960 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40961 (__CPU_COUNT): Remove old macros.
40962 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40963 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40964 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40965 (__sched_cpualloc, __sched_cpufree): Add declarations.
40966
a4c7ea7b
UD
409672011-02-05 Ulrich Drepper <drepper@gmail.com>
40968
40969 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40970 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40971 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40972 (readdhstai): Return value of addhstaiX call.
40973 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40974 (addgrbyX): Return value returned by cache_addgr.
40975 (readdgrbyname): Return value returned by addgrbyX.
40976 (readdgrbygid): Likewise.
40977 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40978 (addpwbyX): Return value returned by cache_addpw.
40979 (readdpwbyname): Return value returned by addhstbyX.
40980 (readdpwbyuid): Likewise.
40981 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40982 (addservbyX): Return value returned by cache_addserv.
40983 (readdservbyname): Return value returned by addservbyX:
40984 (readdservbyport): Likewise.
40985 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40986 (addhstbyX): Return value returned by cache_addhst.
40987 (readdhstbyname): Return value returned by addhstbyX.
40988 (readdhstbyaddr): Likewise.
40989 (readdhstbynamev6): Likewise.
40990 (readdhstbyaddrv6): Likewise.
40991 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40992 (readdinitgroups): Return value returned by addinitgroupsX.
40993 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40994 (prune_cache): Keep track of timeout value of re-added entries.
40995 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40996 * nscd/nscd.h: Adjust prototypes of readd* functions.
40997
a0bf67cc
RM
409982011-02-04 Roland McGrath <roland@redhat.com>
40999
41000 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41001 (nis_stats): Likewise.
41002 * nis/nis_modify.c (nis_modify): Likewise.
41003 * nis/nis_remove.c (nis_remove): Likewise.
41004 * nis/nis_add.c (nis_add): Likewise.
41005
41006 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41007
41008 * posix/fnmatch_loop.c: Add some consts.
41009
41010 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41011
435b95eb
L
410122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41013
41014 [BZ #12460]
41015 * config.make.in (config-cflags-novzeroupper): Define.
41016 * configure.in: Substitute libc_cv_cc_novzeroupper.
41017 * elf/Makefile (AVX-CFLAGS): Define.
41018 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41019 (CFLAGS-tst-auditmod4a.c): Likewise.
41020 (CFLAGS-tst-auditmod4b.c): Likewise.
41021 (CFLAGS-tst-auditmod6b.c): Likewise.
41022 (CFLAGS-tst-auditmod6c.c): Likewise.
41023 (CFLAGS-tst-auditmod7b.c): Likewise.
41024 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41025
8517b15e
UD
410262011-02-02 Ulrich Drepper <drepper@gmail.com>
41027
41028 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41029 function to the callback.
41030 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41031
10a656fe
AS
410322011-02-02 Andreas Schwab <schwab@redhat.com>
41033
41034 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41035 of errno.
41036
968dad0a
UD
410372011-01-19 Ulrich Drepper <drepper@gmail.com>
41038
9f94d2ea 41039 [BZ #11724]
968dad0a
UD
41040 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41041 of constructors.
41042 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41043 of destructors.
41044 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41045
41046 [BZ #11724]
41047 * elf/Makefile: Add rules to build and run new test.
41048 * elf/tst-initorder.c: New file.
41049 * elf/tst-initorder.exp: New file.
41050 * elf/tst-initordera1.c: New file.
41051 * elf/tst-initordera2.c: New file.
41052 * elf/tst-initordera3.c: New file.
41053 * elf/tst-initordera4.c: New file.
41054 * elf/tst-initorderb1.c: New file.
41055 * elf/tst-initorderb2.c: New file.
41056 * elf/tst-order-a1.c: New file.
41057 * elf/tst-order-a2.c: New file.
41058 * elf/tst-order-a3.c: New file.
41059 * elf/tst-order-a4.c: New file.
41060 * elf/tst-order-b1.c: New file.
41061 * elf/tst-order-b2.c: New file.
41062 * elf/tst-order-main.c: New file.
41063 New test case by George Gensure <werkt0@gmail.com>.
41064
86e92359
UD
410652010-10-01 Andreas Schwab <schwab@redhat.com>
41066
41067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41068 decoding ACE if AI_CANONIDN.
41069
5d5732b0
UD
410702011-01-18 Ulrich Drepper <drepper@gmail.com>
41071
41072 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41073
a77e8cbc
UD
410742011-01-17 Ulrich Drepper <drepper@gmail.com>
41075
6392473f
UD
41076 * version.h (RELEASE): Bump for 2.13 release.
41077 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41078
620a0529
UD
41079 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41080
18ba70a5
UD
41081 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41082 MADV_NOHUGEPAGE.
32465c3e
UD
41083 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41084 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41085 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41086 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41087 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41088 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41089
c0dafcf1
UD
41090 * posix/getconf.c: Update copyright year.
41091 * catgets/gencat.c: Likewise.
41092 * csu/version.c: Likewise.
41093 * debug/catchsegv.sh: Likewise.
41094 * debug/xtrace.sh: Likewise.
41095 * elf/ldconfig.c: Likewise.
41096 * elf/ldd.bash.in: Likewise.
41097 * elf/sprof.c (print_version): Likewise.
41098 * iconv/iconv_prog.c: Likewise.
41099 * iconv/iconvconfig.c: Likewise.
41100 * locale/programs/locale.c: Likewise.
41101 * locale/programs/localedef.c: Likewise.
41102 * malloc/memusage.sh: Likewise.
41103 * malloc/mtrace.pl: Likewise.
41104 * nscd/nscd.c (print_version): Likewise.
41105 * nss/getent.c: Likewise.
41106
a77e8cbc
UD
41107 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41108 PF_CAIF, and PF_ALG.
41109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41110
77e8bddf
AS
411112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41112
1f20b93a
AS
41113 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41114 (modules-names): Use them.
41115 (ifunc-test-modules, ifunc-pie-tests): Define.
41116 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41117 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41118 (test-extras): Likewise.
41119 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41120 $(compile-command.c).
41121 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41122 (all-built-dso): Define.
41123 (check-textrel.out, check-execstack.out): Depend on it.
41124
77e8bddf
AS
41125 * configure.in: Don't override --enable-multi-arch.
41126
bc425b33
UD
411272011-01-15 Ulrich Drepper <drepper@gmail.com>
41128
41129 [BZ #6812]
41130 * nscd/hstcache.c (tryagain): Define.
41131 (cache_addhst): Return tryagain not notfound for temporary errors.
41132 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41133 failed.
41134
794c3ad3
UD
411352011-01-14 Ulrich Drepper <drepper@gmail.com>
41136
70181fdd
UD
41137 [BZ #10563]
41138 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41139 to make the syscall.
41140 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41141
794c3ad3
UD
41142 [BZ #12378]
41143 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41144 and fall back to matching as normal character if the string ends before
41145 the matching ']' is found. This is what POSIX requires.
41146 * posix/testfnm.c: Adjust test result.
41147 * posix/globtest.sh: Adjust test result. Add new test.
41148 * posix/tst-fnmatch.input: Likewise.
41149 * posix/tst-fnmatch2.c: Add new test.
41150
68dc9497
AS
411512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41152
41153 * elf/Makefile (check-execstack): Revert last change. Depend on
41154 check-execstack.h.
41155 (check-execstack.h): New target.
41156 (generated): Add check-execstack.h.
41157 * elf/check-execstack.c: Include "check-execstack.h".
41158 (main): Revert last change.
41159 (handle_file): Return zero if GNU_STACK is absent and
41160 DEFAULT_STACK_PERMS doesn't include PF_X.
41161
451f001b
UD
411622011-01-13 Ulrich Drepper <drepper@gmail.com>
41163
cfa28e56
UD
41164 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41165 in child fails because the descriptor is already closed.
8cf8ce17
UD
41166 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41167 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41168 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41169
1086d70d
UD
41170 [BZ #12397]
41171 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41172 syscall.
41173
451f001b
UD
41174 [BZ #10484]
41175 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41176 temporary buffer used to handle multi lookups locally.
a85b5cb4 41177 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41178
08769175
UD
411792011-01-12 Ulrich Drepper <drepper@gmail.com>
41180
41181 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41182 loader is ld.so.
41183
5e49c52e
UD
411842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41185
41186 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41187 alignment for SSE2.
41188
60522a5f
UD
411892011-01-12 Ulrich Drepper <drepper@gmail.com>
41190
41191 [BZ #12394]
41192 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41193 characters. When rounding increased number of integer digits recompute
41194 number of groups.
41195 * stdio-common/tst-grouping.c: New file.
41196 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41197
f257bbd7
UD
411982011-01-09 Ulrich Drepper <drepper@gmail.com>
41199
41200 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41201 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41202
41203 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41204 void.
41205 * bits/select.h: Likewise.
41206
fa9c15cb
UD
412072011-01-08 Ulrich Drepper <drepper@gmail.com>
41208
41209 * po/ja.po: Update from translation team.
41210
16c2895f
DM
412112011-01-04 David S. Miller <davem@sunset.davemloft.net>
41212
41213 [BZ #11155]
41214 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41215 implementation just like for lxstat, fxstatat, et al.
41216
2543fef2
JM
412172010-12-27 Jim Meyering <meyering@redhat.com>
41218
41219 [BZ #12348]
41220 * posix/regexec.c (build_trtable): Return failure indication upon
41221 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41222
98727dbe
UD
412232010-12-25 Ulrich Drepper <drepper@gmail.com>
41224
5bd6dc5c
UD
41225 [BZ #12201]
41226 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41227 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41228 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41229 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41230
97983464
UD
41231 [BZ #12207]
41232 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41233
98727dbe
UD
41234 [BZ #12204]
41235 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41236 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41237
4a531bb0
L
412382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41239
41240 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41241 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41242 script has SORT_BY_INIT_PRIORITY.
41243 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41244 NO_CTORS_DTORS_SECTIONS is defined.
41245 * elf/soinit.c: Likewise.
41246 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41247 NO_CTORS_DTORS_SECTIONS is defined.
41248 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41249 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41250 * sysdeps/sh/init-first.c: Likewise.
41251 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41252
07eb4b71
UD
412532010-12-24 Ulrich Drepper <drepper@gmail.com>
41254
41255 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41256 always use the slow path.
41257
30950a5f
RA
412582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41259
41260 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41261 similar rule which adds the sysdep directories to the header search in
41262 order to pick up the correct platform stackinfo.h.
41263 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41264 perform test if it is, otherwise return successfully without testing.
41265 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41266 DEFAULT_STACK_PERMS define in stackinfo.h.
41267 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41268 defined in stackinfo.h.
41269 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41270 DEFAULT_STACK_PERMS defined in stackinfo.h.
41271 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41272 * sysdeps/ia64/stackinfo.h: Likewise.
41273 * sysdeps/s390/stackinfo.h: Likewise.
41274 * sysdeps/sh/stackinfo.h: Likewise.
41275 * sysdeps/sparc/stackinfo.h: Likewise.
41276 * sysdeps/x86_64/stackinfo.h: Likewise.
41277 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41278 PF_X for powerpc64. Retain PF_X for powerpc32.
41279
db753e2c
UD
412802010-12-19 Ulrich Drepper <drepper@gmail.com>
41281
14b697f7
UD
41282 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41283 accurately.
db753e2c
UD
41284 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41285 GETDENTS_64BIT_ALIGNED.
41286
28300719
UD
412872010-12-14 Ulrich Drepper <dreper@gmail.com>
41288
14b697f7 41289 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41290
4f197237
AS
412912010-12-10 Andreas Schwab <schwab@redhat.com>
41292
dbb0472f
AS
41293 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41294 _GNU_SOURCE.
41295
4f197237
AS
41296 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41297 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41298 Remove __restrict.
41299 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41300 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41301
fb88ac72
UD
413022010-12-09 Ulrich Drepper <drepper@gmail.com>
41303
41304 [BZ #11655]
41305 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41306 are initialized.
41307
42acbb92
JJ
413082010-12-09 Jakub Jelinek <jakub@redhat.com>
41309
41310 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41311
c038d98d
UD
413122010-12-03 Ulrich Drepper <drepper@gmail.com>
41313
41314 * po/it.po: Update from translation team.
41315
3a4a2499
L
413162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41317
41318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41319 unused codes.
41320
1e24cf6e
UD
413212010-11-30 Ulrich Drepper <drepper@gmail.com>
41322
41323 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41324
a7690819
AS
413252010-11-24 Andreas Schwab <schwab@redhat.com>
41326
41327 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41328 specially.
41329 (gaih_getanswer_slice): Likewise.
41330
3bf8d1b1
JJ
413312010-10-20 Jakub Jelinek <jakub@redhat.com>
41332
41333 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41334
6db52fbb
PB
413352010-05-31 Petr Baudis <pasky@suse.cz>
41336
41337 [BZ #11149]
41338 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41339 silently even in the chroot mode.
41340
eaca7569
UD
413412010-11-22 Ulrich Drepper <drepper@gmail.com>
41342
41343 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41344 last patch a bit. Pretty printing
41345
3056dcdb
UD
413462010-05-31 Petr Baudis <pasky@suse.cz>
41347
41348 [BZ #10085]
41349 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41350 initialization of skip_initgroups_dyn.
41351
cf7c9078
UD
413522010-11-19 Ulrich Drepper <drepper@gmail.com>
41353
41354 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41355 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41356
a1fb5e3e
UD
413572010-11-16 Ulrich Drepper <drepper@gmail.com>
41358
41359 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41360
3540d66b
AS
413612010-11-11 Andreas Schwab <schwab@redhat.com>
41362
41363 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41364 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41365 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41366 ($(objpfx)tst-fnmatch-mem): New rule.
41367 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41368 * posix/tst-fnmatch.c (main): Call mtrace.
41369
13b69574
L
413702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41371
41372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41373 Support Intel processor model 6 and model 0x2c.
41374
da93d214
LM
413752010-11-10 Luis Machado <luisgpm@br.ibm.com>
41376
41377 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41378 signed comparison.
41379
8ca52c6e
L
413802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41381
41382 [BZ #12205]
41383 * string/test-strncasecmp.c (check_result): New function.
41384 (do_one_test): Use it.
41385 (check1): New function.
41386 (test_main): Use it.
41387 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41388 Support strcasecmp and strncasecmp.
41389
69da074d
UD
413902010-11-08 Ulrich Drepper <drepper@gmail.com>
41391
41392 [BZ #12194]
41393 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41394 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41395
ff02d528
L
413962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41397
41398 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41399 IFUNC support.
41400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41401 memset-x86-64.
41402 * sysdeps/x86_64/multiarch/bzero.S: New file.
41403 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41404 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41405 * sysdeps/x86_64/multiarch/memset.S: New file.
41406 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41408 Set bit_Prefer_SSE_for_memop for Intel processors.
41409 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41410 Define.
41411 (index_Prefer_SSE_for_memop): Define.
41412 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41413
344d0b54
LM
414142010-11-04 Luis Machado <luisgpm@br.ibm.com>
41415
41416 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41417 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41418
c0dde15b
UD
414192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41420
41421 [BZ #12191]
41422 * sysdeps/i386/i686/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
41427 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41428 (__x86_64_raw_data_cache_size_half): Likewise.
41429 (__x86_64_raw_shared_cache_size): Likewise.
41430 (__x86_64_raw_shared_cache_size_half): Likewise.
41431 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41432 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41433 and __x86_64_raw_shared_cache_size_half. Round
41434 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41435 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41436 to multiple of 256 bytes.
41437
0e516e0e
MS
414382010-11-03 Ulrich Drepper <drepper@gmail.com>
41439
41440 [BZ #12167]
41441 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41442 of inacessible symlinks. Verify result of symlink before returning it.
41443 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41444 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41445
0e012e87
ER
414462010-10-28 Erich Ritz <erichritz@gmail.com>
41447
41448 * math/math.h (isinf): Fix typo in comment.
41449
de0ff7bc
UD
414502010-11-01 Ulrich Drepper <drepper@gmail.com>
41451
41452 * po/da.po: Update from translation team.
41453
fa41c84d
UD
414542010-10-26 Ulrich Drepper <drepper@gmail.com>
41455
41456 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41457 is added to the list.
41458
f0967738
AK
414592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41460 Ulrich Drepper <drepper@gmail.com>
41461
41462 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41463 the global list here. Move code to...
41464 (_dl_add_to_namespace_list): ...here. New function.
41465 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41466 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41467 * elf/dl-load.c (lose): Don't remove the element from the list.
41468 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41469 (_dl_map_object): Likewise.
41470
414712010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41472
41473 [BZ #12159]
41474 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41475 into all bytes of SSE register.
41476 Patch by Richard Li <richardpku@gmail.com>.
41477
f0967738 414782010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41479
41480 [BZ #12140]
41481 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41482 perturbing.
41483
d0b9e94f
MB
414842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41485
41486 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41487 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41488 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41489 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41491 submachine.
41492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41493
8e9f92e9
AS
414942010-10-22 Andreas Schwab <schwab@redhat.com>
41495
41496 * include/dlfcn.h (__RTLD_SECURE): Define.
41497 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41498 mode & __RTLD_SECURE instead.
41499 (open_path): Rename preloaded parameter to secure.
41500 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41501 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41502 * elf/dl-deps.c (openaux): Likewise.
41503 * elf/rtld.c (struct map_args): Remove is_preloaded.
41504 (map_doit): Don't use it.
41505 (dl_main): Likewise.
41506 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41507 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41508
bc96fbda
AS
415092010-09-09 Andreas Schwab <schwab@redhat.com>
41510
41511 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41512 (sysd-rules-targets): Remove duplicates.
41513 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41514 rtld-%.$o dependency.
41515
22cd1c9b
AS
415162010-10-18 Andreas Schwab <schwab@redhat.com>
41517
41518 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41519 _dl_map_object do it.
41520
18edac48
UD
415212010-10-19 Ulrich Drepper <drepper@gmail.com>
41522
41523 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41524 fast fma builtins, define the macros in the C99 standard.
41525 (FP_FAST_FMAF): Likewise.
41526 (FP_FAST_FMAL): Likewise.
41527 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41528
41529 * bits/mathdef.h: Update copyright year.
41530 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41531
d2050124
MM
415322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41533
41534 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41535 builtins, define the macros in the C99 standard.
41536 (FP_FAST_FMAF): Likewise.
41537 (FP_FAST_FMAL): Likewise.
41538 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41539 multiply/add.
41540 (FP_FAST_FMAF): Likewise.
41541
475facd1
JJ
415422010-10-15 Jakub Jelinek <jakub@redhat.com>
41543
41544 [BZ #3268]
41545 * math/libm-test.inc (fma_test): Some new testcases.
41546 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41547 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41548 y and infinite z. Do multiplication by C already in long double.
41549 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41551 y and infinite z. Do bitwise or of inexact bit into u.d.
41552 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41553 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41554 * sysdeps/i386/fpu/s_fma.S: Removed.
41555 * sysdeps/i386/fpu/s_fmal.S: Removed.
41556
7c08a05c
JJ
415572010-10-16 Jakub Jelinek <jakub@redhat.com>
41558
41559 [BZ #3268]
41560 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41562 computation is not scheduled after fetestexcept. Fix value
41563 of minimum denormal long double.
41564
f3f7372d
JJ
415652010-10-14 Jakub Jelinek <jakub@redhat.com>
41566
41567 [BZ #3268]
41568 * math/libm-test.inc (fma_test): Add some more tests.
41569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41570 correctly.
41571
14d43591
AS
415722010-10-15 Andreas Schwab <schwab@redhat.com>
41573
41574 * scripts/data/localplt-s390-linux-gnu.data: New file.
41575 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41576
5e908464
JJ
415772010-10-13 Jakub Jelinek <jakub@redhat.com>
41578
41579 [BZ #3268]
41580 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41581 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41582 instead of dbl-64.
41583 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41584 inlines.
41585 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41587 if one of x and y is very large and the other is subnormal.
41588 * sysdeps/s390/fpu/s_fmaf.c: New file.
41589 * sysdeps/s390/fpu/s_fma.c: New file.
41590 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41591 * sysdeps/powerpc/fpu/s_fma.S: New file.
41592 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41593 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41594 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41595
415962010-10-12 Jakub Jelinek <jakub@redhat.com>
41597
41598 [BZ #3268]
41599 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41600 fma tests.
41601 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41602 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41603 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41604 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41605 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41606 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41607 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41608
b833d51f
UD
416092010-10-12 Ulrich Drepper <drepper@redhat.com>
41610
41611 [BZ #12078]
41612 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41613 * posix/bug-regex31.input: Add test case.
41614
1751705d
UD
416152010-10-11 Ulrich Drepper <drepper@gmail.com>
41616
e9b9cbf5
UD
41617 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41618 * posix/bug-regex31.input: New file.
41619
41620 [BZ #12078]
41621 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41622 (parse_sub_exp): Fix last change, use postorder.
41623
ef06edbe
UD
41624 * posix/bug-regex31.c: New file.
41625 * posix/Makefile: Add rules to build and run bug-regex31.
41626
a129c80d
UD
41627 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41628
41629 [BZ #12078]
41630 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41631
b76b818e
UD
41632 [BZ #12108]
41633 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41634 to have entries in sys_siglist.
41635
1751705d
UD
41636 [BZ #12093]
41637 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41638 be NULL.
41639
9ff8d36f
JJ
416402010-10-07 Jakub Jelinek <jakub@redhat.com>
41641
41642 [BZ #3268]
41643 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41644 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41645 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41646 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41647 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41648 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41649 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41650 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41651 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41652 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41653 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41654 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41655 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41656 * math/ftestexcept.c (fetestexcept): Likewise.
41657 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41658 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41659 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41660 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41661 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41662 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41663 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41664
af325969
UD
416652010-10-11 Ulrich Drepper <drepper@gmail.com>
41666
c579b202 41667 [BZ #12107]
af325969
UD
41668 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41669 newline.
41670
67a67b95
UD
416712010-10-06 Ulrich Drepper <drepper@gmail.com>
41672
41673 * string/bug-strstr1.c: New file.
41674 * string/Makefile: Add rules to build and run bug-strstr1.
41675
5fb308bc
EB
416762010-10-05 Eric Blake <eblake@redhat.com>
41677
41678 [BZ #12092]
41679 * string/str-two-way.h (two_way_long_needle): Always clear memory
41680 when skipping input due to the shift table.
41681
45db99c7
UD
416822010-10-03 Ulrich Drepper <drepper@gmail.com>
41683
3b111893
UD
41684 [BZ #12005]
41685 * malloc/mcheck.c: Handle large requests.
41686
45db99c7
UD
41687 [BZ #12077]
41688 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41689 for strncmp and strncasecmp.
41690 * string/stratcliff.c: Add tests for strcmp and strncmp.
41691 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41692
cf7a1eb8
NI
416932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41694
41695 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41696 __set_fpscr.
41697
6484ba5e
AJ
416982010-09-30 Andreas Jaeger <aj@suse.de>
41699
41700 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41701 (CGROUP_SUPER_MAGIC): Define.
41702 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41703 Handle btrfs and cgroup file systems.
41704 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41705 Likewise.
41706
91c42559
LM
417072010-09-27 Luis Machado <luisgpm@br.ibm.com>
41708
41709 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41710 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41711
87a97932
AK
417122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41713
41714 [BZ #12067]
41715 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41716 trying to locate the ELF header.
41717
c21cc9bc
AS
417182010-09-27 Andreas Schwab <schwab@redhat.com>
41719
41720 [BZ #11611]
41721 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41722 Mask out sign-bit copies when constructing f_fsid.
41723
315970f6
PB
417242010-09-24 Petr Baudis <pasky@suse.cz>
41725
41726 * debug/stack_chk_fail_local.c: Add missing licence exception.
41727 * debug/warning-nop.c: Likewise.
41728
1ac7a2c7
JM
417292010-09-15 Joseph Myers <joseph@codesourcery.com>
41730
41731 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41732 implementing getdents64 using getdents syscall, set d_type if
41733 __ASSUME_GETDENTS32_D_TYPE.
41734
56801c50
AS
417352010-09-16 Andreas Schwab <schwab@redhat.com>
41736
41737 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41738 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41739
dda51327
UD
417402010-09-21 Ulrich Drepper <drepper@redhat.com>
41741
41742 [BZ #12037]
41743 * posix/unistd.h: Undo change of feature selection for ftruncate from
41744 2010-01-11.
41745
8ffcee4a
UD
417462010-09-20 Ulrich Drepper <drepper@redhat.com>
41747
a545ecd9 41748 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41749 detection.
41750
e24f0a8b
AS
417512010-09-20 Andreas Schwab <schwab@redhat.com>
41752
41753 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41754 fanotify_mark.
41755 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41756
7291c56f
AS
417572010-09-14 Andreas Schwab <schwab@redhat.com>
41758
41759 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41760 variables after CHECK_SP call.
41761 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41762
bc5fb037
AS
417632010-09-13 Andreas Schwab <schwab@redhat.com>
41764 Ulrich Drepper <drepper@redhat.com>
41765
41766 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41767 re-relocationg ld.so.
41768 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41769 _dl_init_paths call.
41770 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41771 here anymore.
41772
e66e7419
UD
417732010-09-14 Ulrich Drepper <drepper@redhat.com>
41774
41775 * resolv/res_init.c (__res_vinit): Count the default server we added.
41776
c044aa75
CLT
417772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41778 Ulrich Drepper <drepper@redhat.com>
41779
41780 [BZ #11968]
41781 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41782 (____longjmp_chk): Use %ebx for saving value across system call.
41783 Add unwind info.
41784
32cf4069
AS
417852010-09-06 Andreas Schwab <schwab@redhat.com>
41786
41787 * manual/Makefile: Don't mix pattern rules with normal rules.
41788
817328ee
AS
417892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41790
41791 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41792 operation.
41793 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41794 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41795 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41796 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41798 Likewise.
41799
29fddf61
UD
418002010-09-04 Ulrich Drepper <drepper@redhat.com>
41801
41802 [BZ #11979]
41803 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41804 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41805
0959ffc9
UD
418062010-09-02 Ulrich Drepper <drepper@redhat.com>
41807
41808 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41809 * sysdeps/x86_64/addmul_1.S: Likewise.
41810 * sysdeps/x86_64/lshift.S: Likewise.
41811 * sysdeps/x86_64/mul_1.S: Likewise.
41812 * sysdeps/x86_64/rshift.S: Likewise.
41813 * sysdeps/x86_64/sub_n.S: Likewise.
41814 * sysdeps/x86_64/submul_1.S: Likewise.
41815
ece29840
ST
418162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41817
0959ffc9
UD
41818 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41819 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41820 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41821 * bits/sched.h [__need_schedparam]
ece29840 41822 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41823 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41824 (__defined_schedparam): Define to 1.
ece29840
ST
41825 (__sched_param): New structure, identical to sched_param.
41826 (__need_schedparam): Undefine.
41827
e53a31fe
MF
418282010-08-31 Mike Frysinger <vapier@gentoo.org>
41829
fdc0c10d
MF
41830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41831 (epoll_create1): Declare.
41832
e53a31fe
MF
41833 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41834
a726d796
AS
418352010-08-31 Andreas Schwab <schwab@redhat.com>
41836
41837 [BZ #7066]
41838 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41839 shifting retval into place.
41840
2f3e3dc7
UD
418412010-09-01 Ulrich Drepper <drepper@redhat.com>
41842
f2933da9
UD
41843 * nis/rpcsvc/nis.h: Update copyright notice.
41844 * nis/rpcsvc/nis.x: Likewise.
41845 * nis/rpcsvc/nis_callback.h: Likewise.
41846 * nis/rpcsvc/nis_callback.x: Likewise.
41847 * nis/rpcsvc/nis_object.x: Likewise.
41848 * nis/rpcsvc/nis_tags.h: Likewise.
41849 * nis/rpcsvc/yp.h: Likewise.
41850 * nis/rpcsvc/yp.x: Likewise.
41851 * nis/rpcsvc/ypupd.h: Likewise.
41852 * nis/yp_xdr.c: Likewise.
41853 * nis/ypupdate_xdr.c: Likewise.
41854
2f3e3dc7
UD
41855 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41856 mainly the body of pmap_getport. Add parameters to specify timeouts.
41857 (pmap_getport): Use __libc_rpc_getport.
41858 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41859 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41860 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41861
f3dcc2f9
AS
418622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41863
41864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41865 fanotify_mark.
41866
6d34eb5b
RM
418672010-08-27 Roland McGrath <roland@redhat.com>
41868
41869 * sysdeps/i386/i686/multiarch/Makefile
41870 (CFLAGS-varshift.c): New variable.
41871
9ea3de11
UD
418722010-08-27 Ulrich Drepper <drepper@redhat.com>
41873
c96d23fc
UD
41874 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41875 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41876
9ea3de11
UD
41877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41878
41879 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41880
623aac7f
L
418812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41882
41883 * sysdeps/x86_64/strlen.S: Unroll the loop.
41884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41885 strlen-sse2 strlen-sse2-bsf.
41886 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41887 __strlen_no_bsf if bit_Slow_BSF is set.
41888 (__strlen_sse42): Removed.
41889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41890 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41891
8b2b7715
RM
418922010-08-25 Roland McGrath <roland@redhat.com>
41893
41894 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41895 * sysdeps/x86_64/multiarch/varshift.c: New file.
41896 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41897 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41898 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41899 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41900
e73015f2
L
419012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41902
41903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41904 strlen-sse2 strlen-sse2-bsf.
41905 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41906 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41907 (__strlen_sse2): Removed.
41908 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41909 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41911 bit_Slow_BSF for Atom.
41912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41913 (index_Slow_BSF): Define.
41914 (HAS_SLOW_BSF): Define.
41915
df24a73e
UD
419162010-08-25 Ulrich Drepper <drepper@redhat.com>
41917
41918 [BZ #10851]
41919 * resolv/res_init.c (__res_vinit): When no server address at all
41920 is given default to loopback.
41921
f2ac4868
RM
419222010-08-24 Roland McGrath <roland@redhat.com>
41923
09055553
RM
41924 * configure.in: Remove config-name.h generation.
41925 * configure: Regenerated.
41926 * config-name.in: File removed.
41927 * scripts/config-uname.sh: New file.
41928 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41929 ($(objdir)config-name.h): New target.
41930
f2ac4868
RM
41931 * sunrpc/rpc_parse.h: Avoid nested comment.
41932
73f27d5e
RH
419332010-08-24 Richard Henderson <rth@redhat.com>
41934 Ulrich Drepper <drepper@redhat.com>
41935 H.J. Lu <hongjiu.lu@intel.com>
41936
41937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41939 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41940 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41941 _mm_alignr_epi8 with _mm_loadu_si128.
41942 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41943 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41944 (__m128i_shift_right): Removed.
41945 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41946 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41947 * sysdeps/x86_64/multiarch/varshift.h: New file.
41948 * sysdeps/x86_64/multiarch/varshift.S: New file.
41949
84b9230c
MF
419502010-08-21 Mike Frysinger <vapier@gentoo.org>
41951
41952 * configure.in: Move assembler checks to before sysdep dir checking.
41953
9bbd0ddc
PB
419542010-08-20 Petr Baudis <pasky@suse.cz>
41955
41956 * LICENSES: Sync the sunrpc license.
41957
9da4bb31
UD
419582010-08-19 Ulrich Drepper <drepper@redhat.com>
41959
a7ab6ec8
UD
41960 * sunrpc/auth_des.c: Update copyright notice once again.
41961 * sunrpc/auth_none.c: Likewise.
41962 * sunrpc/auth_unix.c: Likewise.
41963 * sunrpc/authdes_prot.c: Likewise.
41964 * sunrpc/authuxprot.c: Likewise.
41965 * sunrpc/bindrsvprt.c: Likewise.
41966 * sunrpc/clnt_gen.c: Likewise.
41967 * sunrpc/clnt_perr.c: Likewise.
41968 * sunrpc/clnt_raw.c: Likewise.
41969 * sunrpc/clnt_simp.c: Likewise.
41970 * sunrpc/clnt_tcp.c: Likewise.
41971 * sunrpc/clnt_udp.c: Likewise.
41972 * sunrpc/clnt_unix.c: Likewise.
41973 * sunrpc/des_crypt.c: Likewise.
41974 * sunrpc/des_soft.c: Likewise.
41975 * sunrpc/get_myaddr.c: Likewise.
41976 * sunrpc/getrpcport.c: Likewise.
41977 * sunrpc/key_call.c: Likewise.
41978 * sunrpc/key_prot.c: Likewise.
41979 * sunrpc/openchild.c: Likewise.
41980 * sunrpc/pm_getmaps.c: Likewise.
41981 * sunrpc/pm_getport.c: Likewise.
41982 * sunrpc/pmap_clnt.c: Likewise.
41983 * sunrpc/pmap_prot.c: Likewise.
41984 * sunrpc/pmap_prot2.c: Likewise.
41985 * sunrpc/pmap_rmt.c: Likewise.
41986 * sunrpc/rpc/auth.h: Likewise.
41987 * sunrpc/rpc/auth_unix.h: Likewise.
41988 * sunrpc/rpc/clnt.h: Likewise.
41989 * sunrpc/rpc/des_crypt.h: Likewise.
41990 * sunrpc/rpc/key_prot.h: Likewise.
41991 * sunrpc/rpc/netdb.h: Likewise.
41992 * sunrpc/rpc/pmap_clnt.h: Likewise.
41993 * sunrpc/rpc/pmap_prot.h: Likewise.
41994 * sunrpc/rpc/pmap_rmt.h: Likewise.
41995 * sunrpc/rpc/rpc.h: Likewise.
41996 * sunrpc/rpc/rpc_des.h: Likewise.
41997 * sunrpc/rpc/rpc_msg.h: Likewise.
41998 * sunrpc/rpc/svc.h: Likewise.
41999 * sunrpc/rpc/svc_auth.h: Likewise.
42000 * sunrpc/rpc/types.h: Likewise.
42001 * sunrpc/rpc/xdr.h: Likewise.
42002 * sunrpc/rpc_clntout.c: Likewise.
42003 * sunrpc/rpc_cmsg.c: Likewise.
42004 * sunrpc/rpc_common.c: Likewise.
42005 * sunrpc/rpc_cout.c: Likewise.
42006 * sunrpc/rpc_dtable.c: Likewise.
42007 * sunrpc/rpc_hout.c: Likewise.
42008 * sunrpc/rpc_main.c: Likewise.
42009 * sunrpc/rpc_parse.c: Likewise.
42010 * sunrpc/rpc_parse.h: Likewise.
42011 * sunrpc/rpc_prot.c: Likewise.
42012 * sunrpc/rpc_sample.c: Likewise.
42013 * sunrpc/rpc_scan.c: Likewise.
42014 * sunrpc/rpc_scan.h: Likewise.
42015 * sunrpc/rpc_svcout.c: Likewise.
42016 * sunrpc/rpc_tblout.c: Likewise.
42017 * sunrpc/rpc_util.c: Likewise.
42018 * sunrpc/rpc_util.h: Likewise.
42019 * sunrpc/rpcinfo.c: Likewise.
42020 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42021 * sunrpc/rpcsvc/key_prot.x: Likewise.
42022 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42023 * sunrpc/rpcsvc/mount.x: Likewise.
42024 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42025 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42026 * sunrpc/rpcsvc/rex.x: Likewise.
42027 * sunrpc/rpcsvc/rstat.x: Likewise.
42028 * sunrpc/rpcsvc/rusers.x: Likewise.
42029 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42030 * sunrpc/rpcsvc/spray.x: Likewise.
42031 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42032 * sunrpc/rtime.c: Likewise.
42033 * sunrpc/svc.c: Likewise.
42034 * sunrpc/svc_auth.c: Likewise.
42035 * sunrpc/svc_authux.c: Likewise.
42036 * sunrpc/svc_raw.c: Likewise.
42037 * sunrpc/svc_run.c: Likewise.
42038 * sunrpc/svc_simple.c: Likewise.
42039 * sunrpc/svc_tcp.c: Likewise.
42040 * sunrpc/svc_udp.c: Likewise.
42041 * sunrpc/svc_unix.c: Likewise.
42042 * sunrpc/svcauth_des.c: Likewise.
42043 * sunrpc/xcrypt.c: Likewise.
42044 * sunrpc/xdr.c: Likewise.
42045 * sunrpc/xdr_array.c: Likewise.
42046 * sunrpc/xdr_float.c: Likewise.
42047 * sunrpc/xdr_mem.c: Likewise.
42048 * sunrpc/xdr_rec.c: Likewise.
42049 * sunrpc/xdr_ref.c: Likewise.
42050 * sunrpc/xdr_sizeof.c: Likewise.
42051 * sunrpc/xdr_stdio.c: Likewise.
42052
9da4bb31
UD
42053 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42054 handling.
42055
bdaa77bc
AS
420562010-08-19 Andreas Schwab <schwab@redhat.com>
42057
42058 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42059
fe2f79db
LM
420602010-08-19 Luis Machado <luisgpm@br.ibm.com>
42061
42062 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42063 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42064 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42065 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42066 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42067 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42068 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42069 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42070 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42071 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42072 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42073 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42074 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42075 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42076
b9b42ee0
AB
420772010-07-26 Anton Blanchard <anton@samba.org>
42078
42079 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42080 * malloc/arena.c (heap_trim): Likewise.
42081
1c06ba31
UD
420822010-08-16 Ulrich Drepper <drepper@redhat.com>
42083
42084 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42085 here. Not...
42086 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42087 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42088
f8392f40
L
420892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42090
42091 * sysdeps/i386/elf/Makefile: New file.
42092
3162f12e
AS
420932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42094
42095 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42096 from fanotify_init.
42097 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42098 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42099
28c90b2c
UD
421002010-08-15 Ulrich Drepper <drepper@redhat.com>
42101
42102 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42103 of strncasecmp_l.
1feccb6c 42104 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42105
ca6bb004
UD
421062010-08-14 Ulrich Drepper <drepper@redhat.com>
42107
e9f82e0d
UD
42108 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42109 strncase_l-nonascii.
42110 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42111 Add strncase_l-ssse3.
42112 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42113 * sysdeps/x86_64/strcmp.S: Likewise.
42114 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42115 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42116 * sysdeps/x86_64/strncase.S: New file.
42117 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42118 * sysdeps/x86_64/strncase_l.S: New file.
42119 * string/Makefile (strop-tests): Add strncasecmp.
42120 * string/test-strncasecmp.c: New file.
42121
42122 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42123 warning.
42124
ca6bb004
UD
42125 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42126 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42127
052fa7b3
AS
421282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42129
42130 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42131
962dba78
UD
421322010-08-12 Ulrich Drepper <drepper@redhat.com>
42133
42134 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42135 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42136 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42137
bebff237
AM
421382010-05-01 Alan Modra <amodra@gmail.com>
42139
42140 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42141 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42142 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42143 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42144 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42145 tidying. Don't tail-call __sigjmp_save for static lib.
42146 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42147 save location.
42148 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42149 (CALL_MCOUNT): Add eh info, and nop after bl.
42150 (TAIL_CALL_SYSCALL_ERROR): New macro.
42151 (PSEUDO_RET): Use it.
42152 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42153 Correct save location of integer regs and cr.
42154 (_dl_profile_resolve): Correct cr save location. Delete nops
42155 after bl when SHARED. Reduce cfi size a little by better
42156 placement of cfi directives.
42157 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42158 make a stack frame. Instead use parm save area as a temp.
42159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42160 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42162 Don't make a stack frame for parent, use parm save area.
42163 Increase child stack frame to 112 bytes. Don't save unused reg,
42164 and adjust reg usage. Set up cfi on error recovery and
42165 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42167 (__makecontext): Add dummy nop after jump to exit.
42168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42169 Use correct parm save area and cr save, reduce stack frame.
42170 Correct cfi for possible PSEUDO_RET frame setup.
42171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42172 Branch to local label emitted by PSEUDO_RET rather than
42173 __syscall_error.
42174
02637374
AS
421752010-08-12 Andreas Schwab <schwab@redhat.com>
42176
42177 [BZ #11904]
42178 * locale/programs/locale.c (print_assignment): New function.
42179 (show_locale_vars): Use it.
42180
c3e2f19b
UD
421812010-08-11 Ulrich Drepper <drepper@redhat.com>
42182
3cdaa6ad
UD
42183 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42184 field.
42185 (struct statfs64): Likewise.
42186 (_STATFS_F_FLAGS): Define.
42187 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42188 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42189 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42190 (ST_VALID): Define locally.
42191 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42192 __statvfs_getflags, use the provided value.
42193 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42194 __ASSUME_STATFS_F_FLAGS.
42195
754f7da3
UD
42196 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42197
10b3bedc
UD
42198 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42199 Add sys/fanotify.h.
42200 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42201 fanotify_mask for GLIBC_2.13.
42202 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42203 fanotify_init and fanotify_mark.
42204 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42205 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42206
c08fb0d7
UD
42207 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42208 Add prlimit.
42209 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42210 prlimit64 for GLIBC_2.13.
42211 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42212 prlimit64.
42213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42214 syscall.
42215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42216 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42217 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42218 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42219 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42220 add prlimit alias.
42221 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42222
15bac72b
UD
42223 [BZ #11903]
42224 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42225 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42226
c3e2f19b
UD
42227 * nss/Makefile: Add rules to build and run tst-nss-test1.
42228 * shlib-versions: Add entry for libnss_test1.
42229 * nss/nss_test1.c: New file.
42230 * nss/tst-nss-test1.c: New file.
42231
42232 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42233 (__nss_configure_lookup): Set appropriate entry in
42234 __nss_configure_lookup to true.
42235 * nss/nsswitch.h: Define enum with indeces of databases in
42236 databases and __nss_database_custom arrays. Declare
42237 __nss_database_custom.
42238 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42239 to avoid using nscd when custom rules are installed.
42240 * nss/getXXbyYY_r.c: Likewise.
42241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42242
42243 * nss/nss_files/files-parse.c: Whitespace fixes.
42244
f15ce4d8
UD
422452010-08-09 Ulrich Drepper <drepper@redhat.com>
42246
42247 [BZ #11883]
42248 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42249 * posix/fnmatch_loop.c: Likewise.
42250
d22e4cc9
AK
422512010-07-17 Andi Kleen <ak@linux.intel.com>
42252
42253 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42254 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42255 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42256 * Versions.def [GLIBC_2.13]: Add.
42257
805bc17d
UD
422582010-08-06 Ulrich Drepper <drepper@redhat.com>
42259
42260 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42261 Also fail if tpwd after pwuid call is NULL.
42262
5a42321d
ST
422632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42264
42265 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42266 when converting to ms.
42267
fd3ebeda
ST
422682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42269
42270 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42271 EOPNOTSUPP errors with ENOTTY.
42272 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42273 EOPNOTSUPP errors with ENOTTY.
42274
73507d3a
UD
422752010-07-31 Ulrich Drepper <drepper@redhat.com>
42276
42277 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42278 Add strcasecmp_l-ssse3.
42279 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42280 strcasecmp.
42281 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42282 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42283 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42284
fe36dd02
UD
422852010-07-30 Ulrich Drepper <drepper@redhat.com>
42286
66f6765a
UD
42287 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42288
42e08a54
UD
42289 * string/Makefile (strop-tests): Add strcasecmp.
42290 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42291 strcasecmp_l-nonascii.
42292 (gen-as-const-headers): Add locale-defines.sym.
42293 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42294 * sysdeps/x86_64/strcasecmp.S: New file.
42295 * sysdeps/x86_64/strcasecmp_l.S: New file.
42296 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42297 * sysdeps/x86_64/locale-defines.sym: New file.
42298 * string/test-strcasecmp.c: New file.
42299
fe36dd02
UD
42300 * string/test-strcasestr.c: Test both ends of the range of characters.
42301 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42302
48cbc0d6
RM
423032010-07-29 Roland McGrath <roland@redhat.com>
42304
76e6d6bc 42305 [BZ #11856]
48cbc0d6
RM
42306 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42307
880113d9
UD
423082010-07-27 Ulrich Drepper <drepper@redhat.com>
42309
42310 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42311 for ld.so.
42312
deb9cabb
AS
423132010-07-27 Andreas Schwab <schwab@redhat.com>
42314
42315 * manual/memory.texi (Malloc Tunable Parameters): Document
42316 M_PERTURB.
42317
1c7570ff
RM
423182010-07-26 Roland McGrath <roland@redhat.com>
42319
42320 [BZ #11840]
42321 * configure.in (-fgnu89-inline check): Set and substitute
42322 gnu89_inline, not libc_cv_gnu89_inline.
42323 * configure: Regenerated.
42324 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42325
24fb0f88
UD
423262010-07-26 Ulrich Drepper <drepper@redhat.com>
42327
42328 * string/test-strnlen.c: New file.
42329 * string/Makefile (strop-tests): Add strnlen.
42330 * string/tester.c (test_strnlen): Add a few more test cases.
42331 * string/tst-strlen.c: Better error reporting.
42332
42333 * sysdeps/x86_64/strnlen.S: New file.
42334
8e96b93a
UD
423352010-07-24 Ulrich Drepper <drepper@redhat.com>
42336
42337 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42338 lower-latency instructions.
42339
dbc676d4
UD
423402010-07-23 Ulrich Drepper <drepper@redhat.com>
42341
42342 * string/test-strcasestr.c: New file.
42343 * string/test-strstr.c: New file.
42344 * string/Makefile (strop-tests): Add strstr and strcasestr.
42345 * string/str-two-way.h: Don't undefine MAX.
42346 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42347
f6a31e0e
AS
423482010-07-21 Andreas Schwab <schwab@redhat.com>
42349
42350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42351 strcasestr-nonascii.
42352 (CFLAGS-strcasestr-nonascii.c): Define.
42353 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42354 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42355 Remove unused attribute.
42356
5dbc3b6c
RM
423572010-07-20 Roland McGrath <roland@redhat.com>
42358
42359 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42360 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42361 ld.so.cache was broken. With it, there is no way to disable dsocaps
42362 like LD_HWCAP_MASK can disable hwcaps.
42363
23d101d8
EPM
423642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42365
42366 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42367
cc9f2e47
UD
423682010-07-16 Ulrich Drepper <drepper@redhat.com>
42369
42370 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42371 call in strcasestr.
42372 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42373 __strcasestr_sse42_nonascii.
42374 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42375 strcasestr-nonascii.c.
42376 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42377
77c1b069
LM
423782010-06-15 Luis Machado <luisgpm@br.ibm.com>
42379
42380 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42381 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42382 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42383 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42384
440566c3
UD
423852010-07-09 Ulrich Drepper <drepper@redhat.com>
42386
42387 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42388 fcntl.
42389
5be9d05d
AS
423902010-07-06 Andreas Schwab <schwab@redhat.com>
42391
c30b7ee2 42392 [BZ #11577]
5be9d05d
AS
42393 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42394 dl_signal_cerror.
42395
8a492a67
UD
423962010-07-06 Ulrich Drepper <drepper@redhat.com>
42397
42398 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42399 _PC_PIPE_BUF using F_GETPIPE_SZ.
42400
713df3d5
RM
424012010-07-05 Roland McGrath <roland@redhat.com>
42402
42403 * manual/arith.texi (Rounding Functions): Fix rint description
42404 implicit in round description.
42405
702e8f14
UD
424062010-07-02 Ulrich Drepper <drepper@redhat.com>
42407
42408 * elf/Makefile: Fix linking for a few tests to make recent linker
42409 happy.
42410
52ed8be9
AS
424112010-06-30 Andreas Schwab <schwab@redhat.com>
42412
42413 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42414 $(common-objpfx)libc_nonshared.a.
42415
f47c9a11
LM
424162010-06-21 Luis Machado <luisgpm@br.ibm.com>
42417
42418 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42419 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42420 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42421 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42422 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42423 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42424 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42425 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42440 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42441 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42442 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42443 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42444 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42445 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42446 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42447 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42448 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42449 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42450 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42451 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42466
6fb8cbcb
L
424672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42468
42469 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42470 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42471 * string/memmove.c (memmove): Renamed to ...
42472 (MEMMOVE): ...this. Default to memmove.
42473 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42474 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42475 (END_CHK): Define.
42476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42477 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42478 mempcpy-ssse3-back memmove-ssse3-back.
42479 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42481 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42482 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42483 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42484 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42485 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42486 * sysdeps/x86_64/multiarch/memmove.c: New file.
42487 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42488 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42489 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42490 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42491 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42492 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42493 Define.
42494 (index_Fast_Copy_Backward): Define.
42495 (HAS_ARCH_FEATURE): Define.
42496 (HAS_FAST_REP_STRING): Define.
42497 (HAS_FAST_COPY_BACKWARD): Define.
42498
4e733bac 424992010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42500
42501 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42502 Restore proper fallback handling.
42503
63c4ed22
UD
425042010-06-19 Ulrich Drepper <drepper@redhat.com>
42505
ac2b484c
UD
42506 [BZ #11701]
42507 * posix/group_member.c (__group_member): Correct checking loop.
42508
63c4ed22
UD
42509 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42510 OOM in getpwuid_r correctly. Return error number when the caller
42511 should return, otherwise -1.
42512 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42513 call returning > 0 value.
42514 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42515
765ade4b
AS
425162010-06-07 Andreas Schwab <schwab@redhat.com>
42517
42518 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42519 libc_nonshared.a from targets in modules-names.
42520
80da2e09
KS
425212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42522
42523 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42524 requires it.
42525
158db122
LM
425262010-06-10 Luis Machado <luisgpm@br.ibm.com>
42527
42528 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42529 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42530 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42531 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42532
caa78cf8
AS
425332010-06-02 Andreas Schwab <schwab@redhat.com>
42534
42535 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42536
b2ef2c01
UD
425372010-06-14 Ulrich Drepper <drepper@redhat.com>
42538
42539 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42540 and F_GETPIPE_SZ.
42541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42545 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42546 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42547
fbd643b6
RM
425482010-06-14 Roland McGrath <roland@redhat.com>
42549
42550 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42551
f32f2869
JJ
425522010-06-07 Jakub Jelinek <jakub@redhat.com>
42553
42554 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42555 __REDIRECT followed by __THROW.
42556 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42557 * posix/getopt.h (getopt): Likewise.
42558
2a50c078
EPM
425592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42560
42561 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42562 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42563 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42564 in AT_FLAGS.
42565 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42566 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42567
eb5ad2eb
LM
425682010-05-28 Luis Machado <luisgpm@br.ibm.com>
42569
42570 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42571
3c88fe1e
L
425722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42573
42574 [BZ #11640]
42575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42576 Properly check family and model.
42577
d2f73151
TY
425782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42579
42580 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42581
ebd2e13d
LM
425822010-05-24 Luis Machado <luisgpm@br.ibm.com>
42583
42584 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42585
b32b8b45
UD
425862010-05-21 Ulrich Drepper <drepper@redhat.com>
42587
42588 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42589 symbol reference.
42590
9acbe24d
AS
425912010-05-19 Andreas Schwab <schwab@redhat.com>
42592
42593 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42594 symbol reference.
42595
f0ccf6ea
AS
425962010-05-21 Andreas Schwab <schwab@redhat.com>
42597
3d04ff3a
AS
42598 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42599 and internal_recvmmsg.
42600 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42601 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42602 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42603 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42604
f0ccf6ea
AS
42605 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42606 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42607 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42608
5b08ac57
AS
426092010-05-20 Andreas Schwab <schwab@redhat.com>
42610
42611 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42612
4828935d
LM
426132010-05-17 Luis Machado <luisgpm@br.ibm.com>
42614
42615 POWER7 optimizations.
42616 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42617 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42618
373d545e
UD
426192010-05-19 Ulrich Drepper <drepper@redhat.com>
42620
42621 * version.h: Update for 2.13 development version.
42622
21a2b1ae
AS
426232010-05-12 Andrew Stubbs <ams@codesourcery.com>
42624
42625 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42626 exceptions. Return 0.
42627
3f7dcb2b
RM
426282010-05-07 Roland McGrath <roland@redhat.com>
42629
42630 * elf/ldconfig.c (main): Add a const.
42631
5f24d53a 426322010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42633
a160f8d8
UD
42634 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42635 (args_options): Add no-idn option.
42636 (ahosts_keys_int): Add idn_flags to ai_flags.
42637 (parse_option): Handle 'i' option to clear idn_flags.
42638
5f24d53a
UD
42639 * malloc/malloc.c (_int_free): Possible race in the most recently
42640 added check. Only act on the data if no current modification
42641 happened.
265bb1ce
UD
42642
42643See ChangeLog.17 for earlier changes.